Thanks. That helped out quite a bit. I have figured out how to use the mibs with snmpwalk. Now I am trying to integrate them in to Nagios.
My check command is:
command_line snmpwalk $HOSTADDRESS$ -c xxxxxx -v 1 -m /usr/local/nagios/MIBs/xylan.mib iso.22.214.171.124.126.96.36.199
My service definition is
When I run this I am getting:
(Return code of 127 is out of bounds - plugin may be missing)
I can run:
snmpwalk 10.1.1.x -c xxxxxx -v 1 -m /usr/local/nagios/MIBs/xylan.mib iso.188.8.131.52.184.108.40.206
and I get back:
RFC1155-SMI::mgmt.220.127.116.11 = Timeticks: (105950127) 12 days, 6:18:21.27
which is what I expect.
Any idea why I am getting an error from Nagios? I have checked my file permissions and I do not think they are an issue. I am able to run the snmpwalk logged in as nagios as well.
I think the issue is that it is just not being checked. When I look at the last check time, it is almost an hour ago. The next scheduled check is several minutes ago from when I told it to reschedule the next check of this service. I did see it come up for a brief second and display the correct information and list the service as up, but then, it reverted back to critical and the last check time almost an hour ago. It is almost as if the status.dat file was reverted or something.
Thank you for any help you can give.