Xymon Mailing List Archive search

rrd graphs for bb-xsnmp.pl script

3 messages in this thread

list Richard Deal · Tue, 5 Apr 2005 09:33:29 -0400 ·
I had a lot of graphs for several routers, ups, etc but they seem to be
rather hosed.  It looks like the data that was transferred is graphed
well but no new data is going in correctly.  It seems that any script
sending data in a status message is not working.  I suspect due to the
formatting.

One example is bb-xsnmp.pl script.  I am using against routers, switches
and apc ups.  Using an APC ups as an example I get this in the web page:

Tue Apr 5 09:23:03 2005

green UPS Temperature: 37? C


bb-xsnmp.pl Version: 1.78


but in hobbit/data/rrd/apc1.tigr.org
I have:
tcp.conn.rrd
tcp.telnet.rrd
temperature.UPS_Temperature:_37&deg_C.rrd
temperature.UPS_Temperature:_38&deg_C.rrd

and the graph on the temperature page has no data but two entries at the
bottom for 
UPS_Temperature:_37&deg_C   and UPS_Temperature:_38&deg_C   

This problem is much worse on my switches and routers which have a
different line for each sensor and every temperature ever reported.
list Henrik Størner · Tue, 5 Apr 2005 17:49:00 +0200 ·
quoted from Richard Deal
On Tue, Apr 05, 2005 at 09:33:29AM -0400, Deal, Richard wrote:
I had a lot of graphs for several routers, ups, etc but they seem to be
rather hosed.  It looks like the data that was transferred is graphed
well but no new data is going in correctly.  It seems that any script
sending data in a status message is not working.  I suspect due to the
formatting.
Hobbit does handle all of the graphs that LARRD knew about, and a few
more. However, it is quite likely that you installed a script that
sends in messages with a different format, that Hobbit does not
understand.
quoted from Richard Deal
One example is bb-xsnmp.pl script.  I am using against routers, switches
and apc ups.  Using an APC ups as an example I get this in the web page:

Tue Apr 5 09:23:03 2005

green UPS Temperature: 37? C


bb-xsnmp.pl Version: 1.78
I suppose that shows up in a column labelled "temperature" ?

Hobbit does know about "temperature" reports, but it assumes that are
formatted differently than what bb-xsnmp.pl sends (You can see what it
expects in the hobbitd/larrd/do_temperature.c file).

If you can send me a sample of the status-messages that bb-xsnmp.pl
generates, I can probably tweak Hobbit's RRD modules to recognize
those reports. The best way of getting those data is to run

~/server/bin/bb 127.0.0.1 "hobbitdlog HOSTNAME.COLUMN" >COLUMN.txt

since that preserves any formatting (tabs, newlines etc) that the
report uses.


Regards,
Henrik
list Marco Avvisano · Tue, 27 Sep 2005 11:45:37 +0200 ·
Hi,
where it's possible to download bb-xsnmp.pl version 1.78 ?
i can't find it on deadcat
thanks for help

Marco
quoted from Henrik Størner
On Tue, Apr 05, 2005 at 09:33:29AM -0400, Deal, Richard wrote:
I had a lot of graphs for several routers, ups, etc but they seem to be
rather hosed.  It looks like the data that was transferred is graphed
well but no new data is going in correctly.  It seems that any script
sending data in a status message is not working.  I suspect due to the
formatting.
Hobbit does handle all of the graphs that LARRD knew about, and a few
more. However, it is quite likely that you installed a script that
sends in messages with a different format, that Hobbit does not
understand.
One example is bb-xsnmp.pl script.  I am using against routers, switches
and apc ups.  Using an APC ups as an example I get this in the web page:

Tue Apr 5 09:23:03 2005

green UPS Temperature: 37? C


bb-xsnmp.pl Version: 1.78
I suppose that shows up in a column labelled "temperature" ?

Hobbit does know about "temperature" reports, but it assumes that are
formatted differently than what bb-xsnmp.pl sends (You can see what it
expects in the hobbitd/larrd/do_temperature.c file).

If you can send me a sample of the status-messages that bb-xsnmp.pl
generates, I can probably tweak Hobbit's RRD modules to recognize
those reports. The best way of getting those data is to run

~/server/bin/bb 127.0.0.1 "hobbitdlog HOSTNAME.COLUMN" >COLUMN.txt

since that preserves any formatting (tabs, newlines etc) that the
report uses.


Regards,
Henrik