monitoring linux with snmp

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: monitoring linux with snmp

Post by lmiltchev »

Core Config Manager->Services->select 192.168.0.132 from the "Filter by Config Name" drop-down menu->click on the "View Text Config" action button (the diskette icon).
Be sure to check out our Knowledgebase for helpful articles and solutions!
srikanth.kallu
Posts: 243
Joined: Thu Jul 26, 2012 10:48 am

Re: monitoring linux with snmp

Post by srikanth.kallu »

I see that, i specified different community name in snmpd.conf file

I corrected that and it started working.

Also is there any procedure i can follow to monitor AIX server with SNMP instead of agent ?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: monitoring linux with snmp

Post by sreinhardt »

If you can start an snmp daemon on the aix system, and identify what oids you want to monitor, yes you can. However this is information you are likely going to need to research.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
srikanth.kallu
Posts: 243
Joined: Thu Jul 26, 2012 10:48 am

Re: monitoring linux with snmp

Post by srikanth.kallu »

[root@nagiosxi libexec]# ./check_snmp -H 10.0.12.100 -o sysUpTime.o -C mycommunity
SNMP problem - No data received from host
CMD: /usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 [authpriv] 10.0.12.100:161 sysUpTime.o

I am getting this error can i get help if this is a know error
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: monitoring linux with snmp

Post by lmiltchev »

Can you run snmpwalk against the AIX box successfully?

Code: Select all

snmpwalk 10.0.12.100 -v2c -c <community>
...or try this to limit the output:

Code: Select all

snmpwalk 10.0.12.100 -v2c -c <community> system
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked