Tom,
I am only sending the data as "NA2CPU : 25" without the quotes and where 25 is some variable that was extracted from a datafile (which in turn was created by parsing some MIB data). By client display I mean the test appears in the web gui in the same row as tests for the server's cpu/ram/httpd/disk, etc. It has a column heading of NA2CPU and the (hopefully) green icon is in this column.
I'll read you other mail which has more details later today to see if we are even speaking of the same thing.
Regards,
Tim
From: d.tom.schmitt at L-3com.com [d.tom.schmitt at L-3com.com] Sent: Wednesday, June 09, 2010 3:00 PM To: hobbit at hswn.dk Cc: Tim McCloskey Subject: RE: [hobbit] RE: Trying to create a graph
Tim,
Not sure what you mean by client display?
I looked in /home/xymon/server/etc/hobbitserver.cfg but could
not find anything.
Thanks,
Tom Schmitt
Senior IT Staff - R&D
L-3 Communication Systems West
640 North 2200 West
P.O. Box 16850
Salt Lake City, UT 84116
Phone (801) 594-3030
Cell (801) 231-7230
eFax (413) 480-6873
D.Tom.Schmitt at L-3Com.com
\\\\||////
\ ~ ~ /
| @ @ |
--oOo---(_)---oOo--
-----Original Message----- From: Tim McCloskey [mailto:tm at freedom.com] Sent: Wednesday, June 09, 2010 3:09 PM To: hobbit at hswn.dk Subject: RE: [hobbit] RE: Trying to create a graph
Also, the test is listed under the hobbitserver-as-a-client display as NA2CPU. Sorry for these mistakes/ommisions :)
From: d.tom.schmitt at L-3com.com [d.tom.schmitt at L-3com.com] Sent: Wednesday, June 09, 2010 1:46 PM To: hobbit at hswn.dk Subject: RE: [hobbit] RE: Trying to create a graph
Tim, Pardon me for asking, but I am trying to compare and isolate my problem.
What is the name and location of the script your are running?
Usually in server/ext directory. What is the name of the ICON to place the graph under? What does the 'bb' command that sends the data look like? And, what does the data pair(s) look like? E.g. "USERS:228" or "USERS : 229", etc.
What did you add to hobbitlaunch.cfg?
Thanks,
Tom Schmitt
Senior IT Staff - R&D
L-3 Communication Systems West
640 North 2200 West
P.O. Box 16850
Salt Lake City, UT 84116
Phone (801) 594-3030
Cell (801) 231-7230
eFax (413) 480-6873
D.Tom.Schmitt at L-3Com.com
\\\\||////
\ ~ ~ /
| @ @ |
--oOo---(_)---oOo--
-----Original Message----- From: Tim McCloskey [mailto:tm at freedom.com] Sent: Wednesday, June 09, 2010 2:37 PM To: hobbit at hswn.dk Subject: [hobbit] RE: Trying to create a graph
Not sure if this will help or just mis-guide you so take with a grain of salt.
Your config looks very similar to one of the graphs I recently added for a NetApp box. One thing that I did differently is in the use of the names. Here is an example:
hobbitserver.cfg:NCV_NA2CPU="NA2CPU:GAUGE" NA2CPU=ncv is also defined in the other two vars in that file.
hobbitgraph.cfg ... [NA2CPU] -W redacted TITLE NetApp2 CPU Busy YAXIS NA2 CPU DEF:NA2CPU=NA2CPU.rrd:NA2CPU:AVERAGE COMMENT:5 min delayed \n AREA:NA2CPU#00CC00:NA2CPU GPRINT:NA2CPU:LAST: \: %5.0lf (cur) GPRINT:NA2CPU:MAX: \: %5.0lf (max) GPRINT:NA2CPU:MIN: \: %5.0lf (min) GPRINT:NA2CPU:AVERAGE: \: %5.0lf (avg)\n ...
Regards, Tim
From: d.tom.schmitt at L-3com.com [d.tom.schmitt at L-3com.com] Sent: Wednesday, June 09, 2010 12:06 PM To: hobbit at hswn.dk Cc: W.J.M. Nelis Subject: [hobbit] Trying to create a graph
All assistance is greatly appreciated!
I have a simple number that I want to have graphed in Xymon. Running 4.3.0-0.beta2 on CentOS 5.4.
I have a script that is populating the information from our Juniper SSLVPN device(s). I created a new ICON 'online' where there is a lot of information passed for display by clicking the 'online' icon. This is done using 'bb' with 'status'.
One of the values displayed is the number of web users. I create a file of values for a history but I want to pass the value from each run to the Xymon as 'data' to 'bb'.
The pair from each run is: USERS:277 with the 277 changing with every 5 minute run.
I placed the script in the /home/xymon/server/ext directory called: SNMP-Juniper.sh
Per the Xymon Help --> custom graphs document:
I edited the following files:
/home/xymon/server/etc/hobbitlaunch.cfg
# Tom Schmitt script in server/ext
directory [online] ENVFILE /home/xymon/server/etc/hobbitserver.cfg CMD /home/xymon/server/ext/SNMP-Juniper.sh LOGFILE $BBSERVERLOGS/SNMP-Juniper.sh.log INTERVAL 5m
/home/xymon/server/etc/hobbitgraph.cfg
I only want to see a single line showing the number of
USERS at the 5 minute timeframes.
Tom Schmitt SNMP-Juniper.sh in ext directory
[online] TITLE Count of Juniper Users YAXIS Users
DEF:in=online.rrd:online:AVERAGE AREA:in#00CC00:Usage COMMENT:Licensed for 600 users\n GPRINT:in:LAST:Cur\: %6.2lf %s GPRINT:in:MAX: Max\: %6.2lf %s GPRINT:in:MIN: Min\: %6.1lf %s GPRINT:in:AVERAGE:Avg\: %6.2lf %s\n
End of SNMP-Juniper.sh graph
/home/xymon/server/etc/hobbitserver.cfg
At the end of the TEST2RRD=".....,online=ncv"
At the end of the GRAPHS=".....,online"
This was mentioned elsewhere so I tried it. Added the following line: NCV_online="USERS:GAUGE"
I only see a small graph box with "X hobbitgraph ncv:online" in the box under the icons: online and trends But no data graphed If you click on it, you get the hourly, daily, weekly monthly graph as a small box with no data either.
Thanks,
Tom Schmitt Senior IT Staff - R&D L-3 Communication Systems West 640 North 2200 West P.O. Box 16850 Salt Lake City, UT 84116 Phone (801) 594-3030 Cell (801) 231-7230 eFax (413) 480-6873 D.Tom.Schmitt at L-3Com.com \\\\||//// \ ~ ~ / | @ @ | --oOo---(_)---oOo--
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk