Netbotz Devices host Template

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
lmorair
Posts: 3
Joined: Wed Jan 05, 2005 6:04 am

Netbotz Devices host Template

Post by lmorair »

Hello again,
To complete my former post (Uptime Devices Host Template) , we also have a Netbotz 300B in one of our locations.
Thanks to that device, we monitor the air flow, humidity, temperature and have a camera there. The problem is that the device has a very good interface but a poor SNMP implementation (MIBs are included) allowing us to monitor it, but not through an indexed SNMP query :cry: .
As we have only three things to monitor, it is not a big deal, so here you will find the host template, exported with "dependencies".
Please feel free to send me any feedback or comments!
Regards,
Lmorair
Attachments
Netbotz monitoring Result
Netbotz monitoring Result
netbotz_monitoring_result.png (19.91 KiB) Viewed 36070 times
cacti_host_template_netbotz.xml
Netbotz 300B Sensors Host Template
(33.62 KiB) Downloaded 3724 times
kurgoth
Posts: 12
Joined: Fri Apr 09, 2004 10:22 am

Error

Post by kurgoth »

I keep getting an error when trying to look at this template. Any suggestions?
JBs
Posts: 11
Joined: Sat Oct 23, 2004 9:55 am

Post by JBs »

Not 100% sure but this template has been designed for cacti 0.8.6b. Maybe this is a version connflict?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Templates are not currently version portable. To import a Template from a 0.8.6c system, it must have been exported on one.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
jtnfoley
Posts: 5
Joined: Tue Aug 15, 2006 12:56 pm
Location: MA, USA

Post by jtnfoley »

What are the odds that somebody's already got this ported to Version 0.8.6h?
shanekennedy
Posts: 45
Joined: Tue Oct 10, 2006 10:35 am

Post by shanekennedy »

this query should work for version H

snmpget -v1 -c adllc <hostname> .1.3.6.1.4.1.5528.30.10.1.0 .1.3.6.1.4.1.5528.30.10.2.0 | awk 'BEGIN{ RS = "" }{print "temp:"$4" humd:"$8}'
mrjibbles
Posts: 7
Joined: Thu Dec 07, 2006 9:06 am

Post by mrjibbles »

HI,
Has anyone got this working on i release?
Getting XML parse errors on importing.
Cheers
yetdog
Posts: 20
Joined: Mon Aug 08, 2005 9:40 am

Post by yetdog »

Anyone have this for the i version of Cacti?
aleto
Posts: 39
Joined: Wed May 25, 2005 3:57 am

Post by aleto »

Anyone got this working for latest cacti yet?
Splash
Posts: 2
Joined: Wed Nov 07, 2007 10:18 am

Post by Splash »

I have a NetBotz 520 and using Cacti 0.8.7 I was able to import the NetBotz templates with no problem. To get it to graph however I had to change the OID strings in the Data Templates with the data below. I still can't find the threshold values, once I do I will post them. I also picked up that even though I specified a RO SNMP community, it stuck to the default "public".


Temp: .1.3.6.1.4.1.5528.100.4.1.1.1.8.21604919
Humidity: .1.3.6.1.4.1.5528.100.4.1.2.1.7.20490798
AirFlow: .1.3.6.1.4.1.5528.100.4.1.5.1.8.18717296
ebjers
Posts: 3
Joined: Mon Jul 09, 2007 8:39 pm

Post by ebjers »

you may need to remove the degree symbol ° from the xml code before inporting into Cacti
guanno
Posts: 38
Joined: Mon Aug 27, 2007 3:19 pm

Netbotz 420 Template

Post by guanno »

Here is an updated template for a Netbotz 420 using (F) Degrees.
The OID's are different than the 520.
Using 8.7a
Attachments
cacti_host_template_netbotz.xml
(34.55 KiB) Downloaded 1701 times
surferboy
Posts: 2
Joined: Thu Jul 28, 2011 2:44 am

Re: Netbotz Devices host Template

Post by surferboy »

I'm getting "-nan" on my graphs. I have a Netbotz 550 appliance. How do I find my OID that I'm meant to use and where do I have to place the value once I've found it? I don't know what to look for with SNMPWalk.
eschoeller
Cacti User
Posts: 234
Joined: Mon Dec 13, 2004 3:03 pm

Re: Netbotz Devices host Template

Post by eschoeller »

@surferboy, et al.

I hate to break it to you but the updated templates will not work for anyone but guanno. In their sheer brilliance it looks like netbotz decided to use the sensor unique identifier as the index value. Take the following example:

Code: Select all

$ snmpwalk -v2c -c public 192.X.X.X .1.3.6.1.4.1.5528.100.4.1.1.1.9 -m  ALL
NETBOTZ320-MIB::tempSensorValueIntF.242089423 = INTEGER: 71
NETBOTZ320-MIB::tempSensorValueIntF.636159851 = INTEGER: 74
NETBOTZ320-MIB::tempSensorValueIntF.882181375 = INTEGER: 87
NETBOTZ320-MIB::tempSensorValueIntF.1619732064 = INTEGER: 106
NETBOTZ320-MIB::tempSensorValueIntF.1665932156 = INTEGER: 74
NETBOTZ320-MIB::tempSensorValueIntF.1751899818 = INTEGER: 71
NETBOTZ320-MIB::tempSensorValueIntF.2628357572 = INTEGER: 71
NETBOTZ320-MIB::tempSensorValueIntF.2716713264 = INTEGER: 109
NETBOTZ320-MIB::tempSensorValueIntF.3103062985 = INTEGER: 75
NETBOTZ320-MIB::tempSensorValueIntF.3406802758 = INTEGER: 74

Code: Select all

snmpwalk -v2c -c public 192.X.X.X NETBOTZ320-MIB::tempSensorLabel -m  ALL
NETBOTZ320-MIB::tempSensorLabel.242089423 = STRING: A-07 Temperature  (2)
NETBOTZ320-MIB::tempSensorLabel.636159851 = STRING: A-04 Temperature  (4)
NETBOTZ320-MIB::tempSensorLabel.882181375 = STRING: A-13 Back Temperature  (1)
NETBOTZ320-MIB::tempSensorLabel.1619732064 = STRING: A-04 Back Temperature  (2)
NETBOTZ320-MIB::tempSensorLabel.1665932156 = STRING: A-09 Temperature  (4)
NETBOTZ320-MIB::tempSensorLabel.1751899818 = STRING: A-11 Temperature  (2)
NETBOTZ320-MIB::tempSensorLabel.2628357572 = STRING: A-05 Temperature  (1)
NETBOTZ320-MIB::tempSensorLabel.2716713264 = STRING: A-09 Back Temperature  (1)
NETBOTZ320-MIB::tempSensorLabel.3103062985 = STRING: A-13 Temperature  (4)
NETBOTZ320-MIB::tempSensorLabel.3406802758 = STRING: A-02 Temperature  (3)
From a developer's standpoint I can certainly understand the desire to do this. But it wreaks total havoc for Cacti, Nagios, or anything else that would need to have some sort of standard. Plus, if you have a sensor fail, the IDs will all change when you swap it out. Perhaps this is part of the desired behaviour.

Either way, a more complex approach needs to be taken to accurately handle the newer netbotz appliances .. most likely a script data query. One of these days I'm going to tackle this but if someone beats me to it ... please let me know :)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest