Hi I have installed nagios on one of my server and now i am tring to understand how to query my client machine using OIDs. But i just not understaing is one thing is how does one determine a a OID. I am following a tutorial by http://www.debianhelp.co.uk/linuxoids.htm . But what i don't seem to understand is how do they determin a OID.
Can some on help me with the concept of OIDs and how do i come up with my own OID
i followed the above tutorial and tried to query my clinet server to get the path where the disk is mounted but was not successful here ..
[root@vps libexec]# ./check_snmp -H 121.XXX.XX.11 -C public -o 1.3.6.1.4.1.2021.9.1.2.1 SNMP problem - No data received from host CMD: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] 121.XX.XX.XX:161 1.3.6.1.4.1.2021.9.1.2.1
can some one help me here
Thanks a million !!
[root@vps libexec]# ./check_snmp -H 121.XXX.XX.11 -C public -o 1.3.6.1.4.1.2021.9.1.2.1 SNMP problem - No data received from host CMD: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] 121.XX.XX.XX:161 1.3.6.1.4.1.2021.9.1.2.1
Is snmpd(the agent) running on the host you are querying. Did you set the read only community(hint set it to something other than public) string in the host where your agent is running. http://en.wikipedia.org/wiki/Simple_Network_Management_Protocol seems to be a good place to start looking for information.
-Tarun