TECHZEN Zenoss User Community ARCHIVE  

Controlling ping cycle in Zenoss 5 / 6

Subject: Controlling ping cycle in Zenoss 5 / 6
Author: Jane Curry
Posted: 2019-01-22 10:45

OK - how DO you do this post Zenoss 4?  The ping cycle used to default to every 1 minute and you could configure from the ADVANCED -> Collectors menu which had default polling cycle intervals for various daemons.  That option is no longer available (or even displayed) with Zenoss 5/6.

The Admin manual for Zenoss 5 says
Follow these steps to modify the ping cycle time:
Open Control Center and click your instance of Zenoss Core to open the application overview page.
In the Services section, click zenping to open the zenping Overview page.
In the Configuration Files section, click Edit next to the /opt/zenoss/etc/zenping.conf file. The
Edit Configuration window appears.
Uncomment the zenhubpinginterval line and edit the default value of 30 to your desired ping cycle
time.
Click Save.

But I am not convinced. I thought the zenhubpinginterval controlled how frequently the zenping daemon checked that zenhub was still there - not how often zenping would check on target devices?

Can anyone confirm / clarify?

Thanks,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------


Subject: RE: Controlling ping cycle in Zenoss 5 / 6
Author: Jason Olson
Posted: 2019-01-23 10:44

I did some investigation, and I can confirm that the zenhubpinginterval *is* to ping ZenHub only, and not to control the ping cycle on devices. Near as I can tell, there's no way within the Zenoss user interface to change that value...all we can do now is attach to the Docker instance and modify a config file directly to change the ping poll value any longer. I didn't dig too deep into which file needs to be modified, as any internal configuration file will be overwritten at the next upgrade anyway, kind of rendering the exercise moot, hey?

------------------------------
Jason Olson
------------------------------

Subject: RE: Controlling ping cycle in Zenoss 5 / 6
Author: Jane Curry
Posted: 2019-01-24 12:34

OK - so it is confirmed that the manual is incorrect and that zenhubping interval in zenping.conf is nothing to do with how frequently the zenping daemon pings each target system - thanks Jason!  I have logged this in JIRA as https://jira.zenoss.com/browse/ZEN-31276 

With thanks to Ryan, the way to change the ping cycle time, select ADVANCED -> Control Center -> <name of collector, eg. localhost>. Do not expand the collector name to show its daemons but select the collector itself. The bottom panel with the "Details" dropdown then shows various parameters and cycle times, including the ping cycle time which still defaults to 60 seconds. These parameters can be modified and "Saved".

Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------


Subject: RE: Controlling ping cycle in Zenoss 5 / 6
Author: Jason Olson
Posted: 2019-01-24 16:23

Well, how about that! So *that's* where that was moved to. Thanks, Jane!

------------------------------
Jason Olson
------------------------------


< Previous
Query db for server status
  Next
System Rebooted Trigger
>