root@nagios:/usr/local/nagios/libexec# snmptranslate .1.3.6.1.2.1.1.3.0
SNMPv2-MIB::sysUpTime.0
root@nagios:/usr/local/nagios/libexec# snmptranslate .1.3.6.1.2.1.1.3
SNMPv2-MIB::sysUpTime
root@nagios:/usr/local/nagios/libexec#
MIBS problem
Re: MIBS problem
I put the output of snmptranslate if you think about that but here its again
-
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: MIBS problem
OK so translate understands the oids now, can you successfully restart snmpt?
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.
Re: MIBS problem
Well i try but iv got failed .... here is the output ....
root@nagios:/# /etc/init.d/smartd restart
Stopping S.M.A.R.T. daemon: smartd.
Starting S.M.A.R.T. daemon: smartd (failed)
root@nagios:/# /etc/init.d/smartd stop
Stopping S.M.A.R.T. daemon: smartd.
root@nagios:/# /etc/init.d/smartd start
Starting S.M.A.R.T. daemon: smartd (failed)
root@nagios:/#
Re: MIBS problem
Try restarting snmpd, not SMART
Code: Select all
service snmpd restart
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: MIBS problem
oooooo sorry ....
here it is the output
here it is the output
root@nagios:/# service snmpd restart
* Restarting network management services:
root@nagios:/# snmptranslate .1.3.6.1.2.1.1.3
SNMPv2-MIB::sysUpTime
root@nagios:/#
Re: MIBS problem
Its all good. Do your checks now work?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: MIBS problem
So here is what iv understand so far, the path for mibs is in "/usr/share/mibs/netsnmp/" and for example now im trying to use the "check_ups_pow.pl pluging and iv goth this error
The plugin is for UPS and the UPS is EATON and i guess i have to download the mibs and put them in "/usr/share/mibs/netsnmp/", and should be ok ??root@nagios:/usr/local/nagios/libexec# /usr/bin/perl ./check_ups_pow.pl -H 192.168.100.200 -C Test123
Status is a WARNING level - SNMP OID does not exist|
root@nagios:/usr/local/nagios/libexec#
Re: MIBS problem
Don't forget to add the new mib to /etc/snmp/snmp.conf as you did with the SNMPv2-MIB mib:
Code: Select all
mibs +<mib name>
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: MIBS problem
Thank you all for helping me about this ...