Jun 13, 2012 8:03 AM
decreasing modeler time
-
Like (0)
Dear all
does any body know how to decrease modlere time. Because the default time is about i guess 6 hours. I want it to be 10-20 seconds. Does anybody know how to do it...it sreally urgent
thanks...any help is appreciated
I really doubt that you want to do this!
In a standard, single-collector Zenoss, you only have one zenmodeler daemon and it collects all modeler plugin data for all devices. If you take it down to seconds then you will almost certainly crud your Zenoss, your network and, probably your targets.
That said, if you want to change the modeler cycle, as the zenoss user, edit $ZENHOME/etc/zenmodeler.conf and change the cycletime - it is in minutes. You then need to restart zenmodeler. Depending on your exact version of Zenoss, you should not change this parameter through the GUI from ADVANCED -> Settings -> Daemons - Edit Config as there has been a bug whereby changing it this way doesn't actually have any effect.
Cheers,
Jane
Jane you have been a source of understanding zenoss for me. you have written a guide that helped me a lot to develop zenpack infact became basis of my development. jane i am monitring ports so i want it to be real time if modeler will model it after every 10 seconds only then it will be good to know that port is up or down. will u suggest any other technique to overcome this because when i model device from gui only then its state changes. which obvioulsy i dont want.
thanks for ur help
You really want a performance template to do this sort of frequent monitoring. If you REALLY need to check things, say, every minute (and I wouldn't go more frequent than that) then you probably need to use a command template as you can then control the cycle time, whereas with an SNMP template you may be back to a single zenperfsnmp daemon with a single polling interval, typically of 5 minutes. If you have 3.2.1 then you can apply an SNMP polling interval per device which gives you lots more flexibility.
It also depends on how many of these devices you have. If you use a command template then it is a performance hog so don't go this way unless you only have a few devices you need to monitor.
The next question is what you mean by "ports up or down". What is this device? Does it have an SNMP OID that you can monitor that gives port status? If it is a switch then most devices do provide an enterprise-specific OID for port status or you may get it out of the Bridge MIB if the device supports that. If you are simply talking interface monitoring on servers, then you can use the standard ifOperStatus from MIB-2 - this is what is used by zenmodeler to determine status. It is perfectly possible to use the same variable in a performance template and then have a threshold on >1 (ifOperStatus is defined in RFC1213 MIB as 1=up, 2=down, 3=testing). Have a look at this item - docs/DOC-2494 .
Cheers,
Jane
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||