SNMP and eventLogDateName
Mark.Baxter at visma.com
Tue Mar 24 08:59:07 CDT 2009
I'm implementing some SNMP checks in Nagios for all my PowerEdge servers. I'm thinking of having the latest eventLogRecord along with the eventLogDateName and eventLogSeverityStatus. So I am using these OIDs for my checks:
These checks are working fine for eventLogRecord and eventLogDateName on the R300 I am testing on, but I have a problem with eventLogDateName. Basically there is no .1.1 entry, the latest being .1.4.
I am guessing that this means that the first four entries have the same date/time, however unlikely that may be, which leaves me asking what is the best way to get the most recent event's eventLogDateTime? If there exists a .1.1 then snmptget will return it, however if there is no .1.1 then I guess I need to use snmptgetnext. However, if there is a .1.1 snmpgetnext seems to return the .1.2 entry.
Does anyone have any suggestions as to how I should solve this? I am trying to do it using the check_snmp included with the Nagios Plugins package.
Visma Proceedo AB
Rålambsvägen 17, vån 12, S-112 59 Stockholm, Sweden
: +46 8 522 930 30
: +46 8 522 930 60
: +46 73 978 92 60
: +46 8 58 88 48 29
: http://www.vismaproceedo.com <http://www.vismaproceedo.com/>
: mark.baxter at visma.com
Ekonomisystem - Elektronisk fakturahantering - Redovisning - Tid- och projektstyrning - Säljstödssystem - Lön - Inkassotjänster - Inköp - Butiksdatalösningar - E-handels- och webblösningar
This communication is intended for the person(s) named above only. It contains information that is confidential and legally privileged. If received in error, please delete this e-mail and notify the sender.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Linux-PowerEdge