Xymon Mailing List Archive search

Help Getting Custom Graph Working

3 messages in this thread

list James Wade · Thu, 31 Jan 2008 14:48:24 -0600 ·
I seem to be having a problem getting a custom graph

to work. I've gotten it working in the past, but I'm having

problems.

 
I'm sending four values via a test. When I do a rrdump,

it shows only three of the values. The fourth value doesn't

show up.

 
If I rotate the third with the fourth value, ie..re-order them,

the other value shows up. 

 
example:    Users : 11
         Unauth : 4
         Attempts : 13
         Total : 486
 
So,Total doesn't show up, but if I rotate total


with Attempts, and remove the login.rrd file,
then Attempts doesn't show up.
 
Here's what my hobbitserver.cfg file looks like:
 
NCV_login="Users:GAUGE,Unauth:GAUGE,Attempts:GAUGE,Total:GAUGE"
 
Thanks.James
list James Wade · Thu, 31 Jan 2008 15:15:13 -0600 ·
Never mind, I finally got it. In my script I had:

 
LINE="status $MACHINE.$TEST $COLOR `date`

 
`cat $CHKLOG`"

 
I changed it to:

 
LINE="status $MACHINE.$TEST $COLOR `date`

 
`cat $REQLOG`

"

 
It must need to see a newline at the end...

 
James
quoted from James Wade

 
From: James Wade [mailto:user-659655b2ea05@xymon.invalid] 
Sent: Thursday, January 31, 2008 2:48 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Help Getting Custom Graph Working

 
I seem to be having a problem getting a custom graph

to work. I've gotten it working in the past, but I'm having

problems.

 
I'm sending four values via a test. When I do a rrdump,

it shows only three of the values. The fourth value doesn't

show up.

 
If I rotate the third with the fourth value, ie..re-order them,

the other value shows up. 

 
example:    Users : 11
         Unauth : 4
         Attempts : 13
         Total : 486
 
So,Total doesn't show up, but if I rotate total


with Attempts, and remove the login.rrd file,
then Attempts doesn't show up.
 
Here's what my hobbitserver.cfg file looks like:
 
NCV_login="Users:GAUGE,Unauth:GAUGE,Attempts:GAUGE,Total:GAUGE"
 
Thanks.James
list Buchan Milne · Fri, 1 Feb 2008 10:22:30 +0200 ·
quoted from James Wade
On Thursday 31 January 2008 22:48:24 James Wade wrote:
I seem to be having a problem getting a custom graph

to work. I've gotten it working in the past, but I'm having

problems.


I'm sending four values via a test. When I do a rrdump,

it shows only three of the values. The fourth value doesn't

show up.


If I rotate the third with the fourth value, ie..re-order them,

the other value shows up.


example:    Users : 11
         Unauth : 4
         Attempts : 13
         Total : 486
Make sure you send a new line at the end, as I think the ncv collector 
actually looks for name, colon, value, newline (maybe it should be called 
ncvn?).

Regards,
Buchan