Archived community.zenoss.org | full text search
Skip navigation
1224 Views 3 Replies Latest reply: Jun 13, 2012 3:09 PM by jcurry RSS
PM guy Rank: White Belt 56 posts since
Mar 22, 2012
Currently Being Moderated

Jun 13, 2012 8:03 AM

decreasing modeler time

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

  • jcurry ZenossMaster 1,021 posts since
    Apr 15, 2008
    Currently Being Moderated
    1. Jun 13, 2012 8:11 AM (in response to PM guy)
    Re: decreasing modeler time

    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

  • jcurry ZenossMaster 1,021 posts since
    Apr 15, 2008
    Currently Being Moderated
    3. Jun 13, 2012 3:09 PM (in response to PM guy)
    Re: decreasing modeler time

    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

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points