TECHZEN Zenoss User Community ARCHIVE  

Changing the polling interval for a zenpack?

Subject: Changing the polling interval for a zenpack?
Author: Joan
Posted: 2015-11-02 02:52

I am using the zenpack to monitor ssl and domain expiration here (http://wiki.zenoss.org/ZenPack:Domain/SSL_Certificate_Expiration_Monitor), other than some minor tweaks to be able to work with subdomains, it's workging fantastically.
But it's run with the default polling frequeny of 300 sec grouped with the rest of the zencommand commands, in this case run it once a day would be enough.
I read in the forum that this can be changed for the snmp calls (http://www.zenoss.org/forum/8981), is that possible with the zencommand calls



Subject: Re: [Zenoss] Changing the polling interval for a zenpack?
Author: Joan
Posted: 2015-11-02 08:20

You can, but note that would make all command datasources only run once a day - i.e. it's for the collector, not a specific check. You could read up on making another local collector just for that device maybe, but there's not a way I'm aware of to change just one command datasource interval. James Pulver CLASSE Computer Group Cornell University

Subject: Thanks for your reply, that
Author: Joan
Posted: 2015-11-02 08:50

Thanks for your reply, that confirms what I feared, fortunately these checks are quite lightweight so even every 5 mins i overkill it shouldn't affect much the checked server.



Subject: I don't have this ZenPack
Author: Jane Curry
Posted: 2015-11-04 08:46

I don't have this ZenPack installed but looking at the code on github ( https://github.com/zenoss/ZenPacks.Iwillfearnoevil.Domain/blob/master/Ze... ) it looks like your monitoring template is simply a COMMAND type template so whatever you put in the "Cycle Time" box determines how often this template is run.

Cheers,
Jane

Email: jane.curry@skills-1st.co.uk    Web: https://www.skills-1st.co.uk



Subject: Thanks Jane, just what I
Author: Joan
Posted: 2015-11-05 10:30

Thanks Jane, just what I wanted, I just changed the value for the device class.



< Previous
Predictive Threshold Zenpack
  Next
zendmd: command not found. (auto-deploy installation)
>