Re: Host load monitoring
Dhanasekaran Anbalagan <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAJzooYeWJsGfQVGg=KBM+D0kBUFiH5LbmdJsnn7qaS5dwhKjNg@mail.gmail.com> |
Hi John, can you try, load variable in snmpd.conf This requires that the agent was built with support for either the *ucd-snmp/loadave* module or the *ucd-snmp/memory* module respectively (both of which are included as part of the default build configuration).load MAX1 [MAX5 [MAX15]]monitors the load average of the local system, specifying thresholds for the 1-minute, 5-minute and 15-minute averages. If any of these loads exceed the associated maximum value, then the corresponding laErrorFlag instance will be set to 1, and a suitable description message reported via the laErrMessage instance. Note :: In my case * load 30 35 35. *may be you can write small script, it's automatically write no. cpu cores and max1,max5 and max15 in snmpd.conf file. -Dhanasekaran. Did I learn something today? If not, I wasted it. On Fri, Apr 17, 2015 at 10:43 AM, bh cm <[email protected]> wrote: > Hi. > > I'm trying to configure net-snmp so that it raises SNMP traps when system > load goes above a certain threshold. My configuration is at > http://pastebin.com/ZZBRN2bh > > I've created some load on the system using stress-ng, but no traps are > being generated. Any suggestions please? I'm using version 5.5 on RHEL. > > Any help would be much appreciated. > > best regards, > John. > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live > exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Net-snmp-users mailing list > [email protected] > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users > > ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users