IS it possible to configure snmpd.conf to send trap on an "instance" of an oid?
neo3 matrix <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAGF-39_MZPJgUD7eoP2HYaDGPThKtMQ5Na2J3q_pPjrq3cCFgA@mail.gmail.com> |
Hi friends, I am a newbie to net-snmp and have little knowledge on traps. So far, I can get automatic traps for hrProcessorLoad when CPU load exceeds the threshold limit set by me in snmpd.conf. No issues. eg. snmpd.conf entry looks like this: monitor -r 10 machineTooBusy hrProcessorLoad > 40 OR following also works with OID as: monitor -r 10 machineTooBusy .1.3.6.1.2.1.25.3.3.1.2 > 40 Now, I have 2 questions:- 1. I have 6 CPU cores on my machine. And if I try to monitor a particular core, even if it exceeds the limit, I don't get the trap. monitor -r 10 machineTooBusy .1.3.6.1.2.1.25.3.3.1.2.770 > 40 (here, 770 is one of the core). So, is it possible to monitor a particular "instance" of standard OID like above for hrProcessorLoad?? 2. Does same thing is applicable for "enterprise" OIDs where I have my custom MIB?? Thanks in advance. Regards, Nainesh ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ 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