Netbotz.
Networks
networks at wi.rr.com
Thu Apr 10 22:30:00 CEST 2003
Jeremy ~
I am having on of our developers write a some perl code to check the
device. I am using a snmpwalk to view the temps of the sensor.
The command should be something like this..
snmpwalk -m +NETBOTZ-MIB -c public -v 1 192.168.1.1 netBotz-prd-bot-temp
Now this assumes a few things. First off it assumes you downloaded the
netbotz.mib and saved it as NETBOTZ-MIB.TXT in the /usr/share/snmp/mibs
directory. second it assumes that the community string is left to the
default of public, the 192.168.1.1 can be replaced with the IP addy of
your netbotz box, and the last part is the OID. You need to change the
OID to what you want to look for on the device..
if you do this command snmpwalk -m +NETBOTZ-MIB -c public -v 1
192.168.1.1 netBotz
and leave the oid as just neetBotz, it will return the entire subtree..
basically giving you a list of stuff you can choose from.
If you have any other questions let me know. Hopefully from there you
can create a plugin to use...
Best of Luck,
Josh
PS. On a side note.. snmptranslate +M +NETBOTZ %OID% is a command you
can use to check if snmp knows what the heck you are talking about..
the -m +NETBOTZ is used to tell snmp to load that MIB.
On Thu, 2003-04-10 at 10:01, Jeremy Russell wrote:
> Hello list!
> Has anyone used Nagios the monitor the temp sensor on the
> Netbotz net appliances? I have SNMP enabled on the device, so I assume
> you could pull that info through there, just don't know the MIB.
> Thanks.
>
> Jeremy Russell
> Network Administrator, CNI
> 580-272-2707
>
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list