Re: [Nagios-users] Netbotz.

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-users] Netbotz.

Post by Guest »

Alright, I took your advice here, and used Net:SNMP to write a plugin,
its not done but I have it returning the TEMP and Uptime, I'll look up
the OIDs for other stuff and add them in. If anyone wants the code let
me know. I tried to follow the Plugin guidelines so far, I will send it
the the plugin developers as contrib. when I finally finish.

Jeremy Russell
Network Administrator, CNI
580-272-2707


-----Original Message-----
From: Networks [mailto:networks@wi.rr.com]=20
Sent: Thursday, April 10, 2003 3:30 PM
To: Jeremy Russell
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Netbotz.

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=20

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...=20

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..=20
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.
> =20
> Jeremy Russell
> Network Administrator, CNI
> 580-272-2707
> =20







This post was automatically imported from historical nagios-devel mailing list archives
Original poster: etworks [mailto:networks@wi.rr.com]=2
Locked