Hi..
I'm having an issue with creating a system graph in Xymon.
The script outputs the following on the page:
Fri May 7 16:42:19 SAST 2010
edge01 : 5 edge02 : 7 edge03 : 2 edge04 : 6
hobbitgraph ncv:fmsconns Zoom graph
Its a script to monitor concurrent connections so its value goes up and down.
In hobbitserver.cfg, i have the following:
TEST2RRD="cpu=la,cpu2=la[......],fmsconns=ncv" GRAPHS="la,disk[...........],fmsconns" NCV_fmsconns="edge01:GAUGE,edge02:GAUGE"
in hobbitgraph.cfg [fmsconns] TITLE Fmsconns info YAXIS Connections DEF:pct=fmsconns.rrd:util:AVERAGE LINE2:pct#00CC00:NParts GPRINT:pct:LAST: \: %3.1lf (cur) GPRINT:pct:MAX: \: %3.1lf (max) GPRINT:pct:MIN: \: %3.1lf (min) GPRINT:pct:AVERAGE: \: %3.1lf (avg)\n
On the
I used the howto @ http://www.hswn.dk/hobbit/help/howtograph.html as a guideline but its clear i'm lacking some understanding. I'm guessing the contents in hobbitgraph.cfg is off as i'm doing an rrdtool dump and the output looks ok?
<lastupdate> 1273230835 </lastupdate> <!-- 2010-05-07 13:13:55 SAST -->
<ds>
<name> jhbedge01optinetnet </name>
<type> DERIVE </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<min> NaN </min>
<max> NaN </max>
<!-- PDP Status -->
<last_ds> 4 </last_ds>
<value> 0.0000000000e+00 </value>
<unknown_sec> 0 </unknown_sec>
</ds>
<ds>
<name> jhbedge02optinetnet </name>
<type> DERIVE </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<min> NaN </min>
<max> NaN </max>
<!-- PDP Status -->
<last_ds> 3 </last_ds>
<value> 7.9207920792e-02 </value>
<unknown_sec> 0 </unknown_sec>
</ds>
Anyone have any ideas/tips?
Regards, Cami
The examples you pasted in look completely correct to me. However, just to be fully with you, I'd like to ask (just to be thorough, not a jerk) regarding the term "The script outputs the following on the page:"
Just to cross all the t's and dot all the i's:
- you have a script running on a client, launched from clientlaunch.cfg and gathering data remotely.
- It is being sent back to the server and properly making it to the page, showing up in it's own column.
- The script is also sending/setting all appropriate BB environment variables:
(and example from one of my scripts)
Xymon Variables
$ENV{BBPROG} = "library.pl"; my($TESTNAME) = "library"; my($BBHOME) = $ENV{BBHOME}; my($BB) = $ENV{BB}; my($BBDISP) = $ENV{BBDISP}; my($BBVAR) = $ENV{BBVAR};
- You are also sending all approprate red/green/yellow/clear, etc. messages along back to the server
Note that this may not affect your display, but is just good "gathering" practice in pulling data back from remote hosts. Even if you're only setting a "clear", it is good to do.
Unless I'm just missing something in the paste-in you're showing, I'm not seeing any overt problems. How about the logs? Anything there? Like maybe permissioning problems or some such?
/var/log/xymon/rrd-status.log /var/log/rrd-data.log
(or wherever your installation's logs are) ?
Jerald M. Sheets jr.
On Fri, May 7, 2010 at 10:50 AM, Cami <camis at mweb.co.za> wrote:
Hi..
I'm having an issue with creating a system graph in Xymon.
The script outputs the following on the page:
Fri May 7 16:42:19 SAST 2010edge01 : 5 edge02 : 7 edge03 : 2 edge04 : 6
hobbitgraph ncv:fmsconns Zoom graph
Its a script to monitor concurrent connections so its value goes up and down.
In hobbitserver.cfg, i have the following:
TEST2RRD="cpu=la,cpu2=la[......],fmsconns=ncv" GRAPHS="la,disk[...........],fmsconns" NCV_fmsconns="edge01:GAUGE,edge02:GAUGE"
in hobbitgraph.cfg [fmsconns] TITLE Fmsconns info YAXIS Connections DEF:pct=fmsconns.rrd:util:AVERAGE LINE2:pct#00CC00:NParts GPRINT:pct:LAST: \: %3.1lf (cur) GPRINT:pct:MAX: \: %3.1lf (max) GPRINT:pct:MIN: \: %3.1lf (min) GPRINT:pct:AVERAGE: \: %3.1lf (avg)\n
On the I used the howto @ http://www.hswn.dk/hobbit/help/howtograph.html as a guideline but its clear i'm lacking some understanding. I'm guessing the contents in hobbitgraph.cfg is off as i'm doing an rrdtool dump and the output looks ok?
<lastupdate> 1273230835 </lastupdate> <!-- 2010-05-07 13:13:55 SAST-->
<ds> <name> jhbedge01optinetnet </name> <type> DERIVE </type> <minimal_heartbeat> 600 </minimal_heartbeat> <min> NaN </min> <max> NaN </max> <!-- PDP Status --> <last_ds> 4 </last_ds> <value> 0.0000000000e+00 </value> <unknown_sec> 0 </unknown_sec> </ds> <ds> <name> jhbedge02optinetnet </name> <type> DERIVE </type> <minimal_heartbeat> 600 </minimal_heartbeat> <min> NaN </min> <max> NaN </max> <!-- PDP Status --> <last_ds> 3 </last_ds> <value> 7.9207920792e-02 </value> <unknown_sec> 0 </unknown_sec> </ds>Anyone have any ideas/tips?
Regards, Cami
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Hi Jerald,
Correct
Correct:
Mon May 10 08:14:11 SAST 2010
edge01 : 2 edge02 : 2
Client data available hobbitgraph ncv:fmsconns
- correct.
- Correct:
$BB $BBDISP "status $MACHINE.$TEST $COLOUR date
$STATUS"
I've checked the rrd logs, unfortunately there's no mention of any issues at all so i'm kinda stuck.
Thanks, Cami
Jerald Sheets wrote:
The examples you pasted in look completely correct to me. However, just to be fully with you, I'd like to ask (just to be thorough, not a jerk) regarding the term "The script outputs the following on the page:"
Just to cross all the t's and dot all the i's:
- you have a script running on a client, launched from clientlaunch.cfg and gathering data remotely.
- It is being sent back to the server and properly making it to the page, showing up in it's own column.
- The script is also sending/setting all appropriate BB environment variables:
(and example from one of my scripts)
Xymon Variables
$ENV{BBPROG} = "library.pl <http://library.pl>"; my($TESTNAME) = "library"; my($BBHOME) = $ENV{BBHOME}; my($BB) = $ENV{BB}; my($BBDISP) = $ENV{BBDISP}; my($BBVAR) = $ENV{BBVAR};
- You are also sending all approprate red/green/yellow/clear, etc. messages along back to the server
Note that this may not affect your display, but is just good "gathering" practice in pulling data back from remote hosts. Even if you're only setting a "clear", it is good to do.
Unless I'm just missing something in the paste-in you're showing, I'm not seeing any overt problems. How about the logs? Anything there? Like maybe permissioning problems or some such?
/var/log/xymon/rrd-status.log /var/log/rrd-data.log
(or wherever your installation's logs are) ?
Jerald M. Sheets jr.
On Fri, May 7, 2010 at 10:50 AM, Cami <camis at mweb.co.za <mailto:camis at mweb.co.za>> wrote:
Hi.. I'm having an issue with creating a system graph in Xymon. The script outputs the following on the page: ----------------------------- Fri May 7 16:42:19 SAST 2010 edge01 : 5 edge02 : 7 edge03 : 2 edge04 : 6 hobbitgraph ncv:fmsconns Zoom graph ----------------------------- Its a script to monitor concurrent connections so its value goes up and down. In hobbitserver.cfg, i have the following: TEST2RRD="cpu=la,cpu2=la[......],fmsconns=ncv" GRAPHS="la,disk[...........],fmsconns" NCV_fmsconns="edge01:GAUGE,edge02:GAUGE" in hobbitgraph.cfg [fmsconns] TITLE Fmsconns info YAXIS Connections DEF:pct=fmsconns.rrd:util:AVERAGE LINE2:pct#00CC00:NParts GPRINT:pct:LAST: \: %3.1lf (cur) GPRINT:pct:MAX: \: %3.1lf (max) GPRINT:pct:MIN: \: %3.1lf (min) GPRINT:pct:AVERAGE: \: %3.1lf (avg)\n On the I used the howto @ http://www.hswn.dk/hobbit/help/howtograph.html as a guideline but its clear i'm lacking some understanding. I'm guessing the contents in hobbitgraph.cfg is off as i'm doing an rrdtool dump and the output looks ok? <lastupdate> 1273230835 </lastupdate> <!-- 2010-05-07 13:13:55 SAST --> <ds> <name> jhbedge01optinetnet </name> <type> DERIVE </type> <minimal_heartbeat> 600 </minimal_heartbeat> <min> NaN </min> <max> NaN </max> <!-- PDP Status --> <last_ds> 4 </last_ds> <value> 0.0000000000e+00 </value> <unknown_sec> 0 </unknown_sec> </ds> <ds> <name> jhbedge02optinetnet </name> <type> DERIVE </type> <minimal_heartbeat> 600 </minimal_heartbeat> <min> NaN </min> <max> NaN </max> <!-- PDP Status --> <last_ds> 3 </last_ds> <value> 7.9207920792e-02 </value> <unknown_sec> 0 </unknown_sec> </ds> Anyone have any ideas/tips? Regards, Cami To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk <mailto:hobbit-unsubscribe at hswn.dk>
On Mon, 10 May 2010 08:21:51 +0200, Cami <camis at mweb.co.za> wrote:
Hi Jerald,
Correct
Correct:
Mon May 10 08:14:11 SAST 2010
edge01 : 2 edge02 : 2
Client data available hobbitgraph ncv:fmsconns
- correct.
- Correct:
$BB $BBDISP "status $MACHINE.$TEST $COLOUR
date$STATUS"I've checked the rrd logs, unfortunately there's no mention of any issues at all so i'm kinda stuck.
Thanks, Cami
Jerald Sheets wrote:
The examples you pasted in look completely correct to me. However, just to be fully with you, I'd like to ask (just to be thorough, not a jerk) regarding the term "The script outputs the following on the page:"
Just to cross all the t's and dot all the i's:
- you have a script running on a client, launched from clientlaunch.cfg and gathering data remotely.
- It is being sent back to the server and properly making it to the page, showing up in it's own column.
- The script is also sending/setting all appropriate BB environment variables:
(and example from one of my scripts)
Xymon Variables
$ENV{BBPROG} = "library.pl <http://library.pl>"; my($TESTNAME) = "library"; my($BBHOME) = $ENV{BBHOME}; my($BB) = $ENV{BB}; my($BBDISP) = $ENV{BBDISP}; my($BBVAR) = $ENV{BBVAR};
- You are also sending all approprate red/green/yellow/clear, etc. messages along back to the server
Note that this may not affect your display, but is just good "gathering" practice in pulling data back from remote hosts. Even if you're only setting a "clear", it is good to do.
Unless I'm just missing something in the paste-in you're showing, I'm not seeing any overt problems. How about the logs? Anything there? Like maybe permissioning problems or some such?
/var/log/xymon/rrd-status.log /var/log/rrd-data.log
(or wherever your installation's logs are) ?
Jerald M. Sheets jr.
On Fri, May 7, 2010 at 10:50 AM, Cami <camis at mweb.co.za <mailto:camis at mweb.co.za>> wrote:
Hi.. I'm having an issue with creating a system graph in Xymon. The script outputs the following on the page: ----------------------------- Fri May 7 16:42:19 SAST 2010 edge01 : 5 edge02 : 7 edge03 : 2 edge04 : 6 hobbitgraph ncv:fmsconns Zoom graph ----------------------------- Its a script to monitor concurrent connections so its value goes up and down. In hobbitserver.cfg, i have the following: TEST2RRD="cpu=la,cpu2=la[......],fmsconns=ncv" GRAPHS="la,disk[...........],fmsconns" NCV_fmsconns="edge01:GAUGE,edge02:GAUGE" in hobbitgraph.cfg [fmsconns] TITLE Fmsconns info YAXIS Connections DEF:pct=fmsconns.rrd:util:AVERAGE LINE2:pct#00CC00:NParts GPRINT:pct:LAST: \: %3.1lf (cur) GPRINT:pct:MAX: \: %3.1lf (max) GPRINT:pct:MIN: \: %3.1lf (min) GPRINT:pct:AVERAGE: \: %3.1lf (avg)\n On the I used the howto @ http://www.hswn.dk/hobbit/help/howtograph.html as a guideline but its clear i'm lacking some understanding. I'm guessing the contents in hobbitgraph.cfg is off as i'm doing an rrdtool dump and the output looks ok? <lastupdate> 1273230835 </lastupdate> <!-- 2010-05-07 13:13:55 SAST --> <ds> <name> jhbedge01optinetnet </name> <type> DERIVE </type> <minimal_heartbeat> 600 </minimal_heartbeat> <min> NaN </min> <max> NaN </max> <!-- PDP Status --> <last_ds> 4 </last_ds> <value> 0.0000000000e+00 </value> <unknown_sec> 0 </unknown_sec> </ds> <ds> <name> jhbedge02optinetnet </name> <type> DERIVE </type> <minimal_heartbeat> 600 </minimal_heartbeat> <min> NaN </min> <max> NaN </max> <!-- PDP Status --> <last_ds> 3 </last_ds> <value> 7.9207920792e-02 </value> <unknown_sec> 0 </unknown_sec> </ds> Anyone have any ideas/tips? Regards, Cami To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk <mailto:hobbit-unsubscribe at hswn.dk>To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Hi,
Just a few detail, I remember I had to add a new line at the end of custom
scripts to get graphs working, like this :
$BB $BBDISP "status $MACHINE.$TEST $COLOUR date
$STATUS
"
May be this is not mandatory anymore, but you should add this.
Regards, Damien
doctor at makelofine.org wrote:
Just a few detail, I remember I had to add a new line at the end of custom scripts to get graphs working, like this : $BB $BBDISP "status $MACHINE.$TEST $COLOUR
date$STATUS "May be this is not mandatory anymore, but you should add this.
Thanks for the tip/idea however it didn't land up displaying any graphs. Not sure why a newline would land up causing the graphs to display though.
On May 10, 2010, at 2:21 AM, Cami wrote:
$BB $BBDISP "status $MACHINE.$TEST $COLOUR
date$STATUS"
Total non-sequitur, and I'm not near my installation at the moment...
Does the British/European spelling of "COLOR" work? Or, is this your own variable from elsewhere in your script?
--jms
As with the new line at the end, I have also found this to be case, but I have also found that if you add a space before the item : value pair, that is sometimes necessary ... not sure why. Example (see, there is a space before each " item : value" pair:
5/10/2010 8:05:01 AM
changes : 52 deletes : 0 ignores : 37 errors : 0
On Mon, May 10, 2010 at 8:18 AM, Jerald Sheets <questy at gmail.com> wrote:
On May 10, 2010, at 2:21 AM, Cami wrote:
$BB $BBDISP "status $MACHINE.$TEST $COLOUR
date$STATUS"Total non-sequitur, and I'm not near my installation at the moment...
Does the British/European spelling of "COLOR" work? Or, is this your own variable from elsewhere in your script?
--jms To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
I have also found that there must be a space between colon delimited items on a page or custom graphing does not function properly.
.....Bruce
Bruce White Senior Enterprise Systems Engineer | Phone: 630-671-5169 | Fax: 630-893-1648 | bewhite at fellowes.com | http://www.fellowes.com/ Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.
From: Geoff Hallford [mailto:geoff.hallford at gmail.com] Sent: Monday, May 10, 2010 7:35 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Custom graphs in Xymon
As with the new line at the end, I have also found this to be case, but I have also found that if you add a space before the item : value pair, that is sometimes necessary ... not sure why. Example (see, there is a space before each " item : value" pair:
5/10/2010 8:05:01 AM
changes : 52 deletes : 0 ignores : 37 errors : 0
On Mon, May 10, 2010 at 8:18 AM, Jerald Sheets <questy at gmail.com> wrote:
On May 10, 2010, at 2:21 AM, Cami wrote:
$BB $BBDISP "status $MACHINE.$TEST $COLOUR
date$STATUS"
Total non-sequitur, and I'm not near my installation at the moment...
Does the British/European spelling of "COLOR" work? Or, is this your own variable from elsewhere in your script?
--jms
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Notice the name of the data field in your rrd file:
jhbedge02optinetnet
It does not match the edge02 in your other definitions. Not sure why its assigning that name, but that looks to me to be the problem.
.....Bruce
Bruce White Senior Enterprise Systems Engineer | Phone: 630-671-5169 | Fax: 630-893-1648 | bewhite at fellowes.com | http://www.fellowes.com/ Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc. -----Original Message----- From: Cami [mailto:camis at mweb.co.za] Sent: Friday, May 07, 2010 9:51 AM To: hobbit at hswn.dk Subject: [hobbit] Custom graphs in Xymon
Hi..
I'm having an issue with creating a system graph in Xymon.
The script outputs the following on the page:
Fri May 7 16:42:19 SAST 2010
edge01 : 5 edge02 : 7 edge03 : 2 edge04 : 6
hobbitgraph ncv:fmsconns Zoom graph
Its a script to monitor concurrent connections so its value goes up and down.
In hobbitserver.cfg, i have the following:
TEST2RRD="cpu=la,cpu2=la[......],fmsconns=ncv" GRAPHS="la,disk[...........],fmsconns" NCV_fmsconns="edge01:GAUGE,edge02:GAUGE"
in hobbitgraph.cfg [fmsconns] TITLE Fmsconns info YAXIS Connections DEF:pct=fmsconns.rrd:util:AVERAGE LINE2:pct#00CC00:NParts GPRINT:pct:LAST: \: %3.1lf (cur) GPRINT:pct:MAX: \: %3.1lf (max) GPRINT:pct:MIN: \: %3.1lf (min) GPRINT:pct:AVERAGE: \: %3.1lf (avg)\n
On the
I used the howto @ http://www.hswn.dk/hobbit/help/howtograph.html as a guideline but its clear i'm lacking some understanding. I'm guessing the contents in hobbitgraph.cfg is off as i'm doing an rrdtool dump and the output looks ok?
<lastupdate> 1273230835 </lastupdate> <!-- 2010-05-07 13:13:55
SAST -->
<ds>
<name> jhbedge01optinetnet </name>
<type> DERIVE </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<min> NaN </min>
<max> NaN </max>
<!-- PDP Status -->
<last_ds> 4 </last_ds>
<value> 0.0000000000e+00 </value>
<unknown_sec> 0 </unknown_sec>
</ds>
<ds>
<name> jhbedge02optinetnet </name>
<type> DERIVE </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<min> NaN </min>
<max> NaN </max>
<!-- PDP Status -->
<last_ds> 3 </last_ds>
<value> 7.9207920792e-02 </value>
<unknown_sec> 0 </unknown_sec>
</ds>
Anyone have any ideas/tips?
Regards, Cami
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
I can't believe I missed that LOL!
Good catch, Bruce!
Jerald Sheets Sent from my iPad Please disregard spelling/grammar errors
On May 7, 2010, at 6:13 PM, "White, Bruce" <bewhite at fellowes.com> wrote:
Notice the name of the data field in your rrd file:
jhbedge02optinetnet
It does not match the edge02 in your other definitions. Not sure why its assigning that name, but that looks to me to be the problem.
.....Bruce
Bruce White Senior Enterprise Systems Engineer | Phone: 630-671-5169 | Fax: 630-893-1648 | bewhite at fellowes.com | http://www.fellowes.com/
Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.
-----Original Message----- From: Cami [mailto:camis at mweb.co.za] Sent: Friday, May 07, 2010 9:51 AM To: hobbit at hswn.dk Subject: [hobbit] Custom graphs in Xymon
Hi..
I'm having an issue with creating a system graph in Xymon.
The script outputs the following on the page:
Fri May 7 16:42:19 SAST 2010edge01 : 5 edge02 : 7 edge03 : 2 edge04 : 6
hobbitgraph ncv:fmsconns Zoom graph
Its a script to monitor concurrent connections so its value goes up and down.
In hobbitserver.cfg, i have the following:
TEST2RRD="cpu=la,cpu2=la[......],fmsconns=ncv" GRAPHS="la,disk[...........],fmsconns" NCV_fmsconns="edge01:GAUGE,edge02:GAUGE"
in hobbitgraph.cfg [fmsconns] TITLE Fmsconns info YAXIS Connections DEF:pct=fmsconns.rrd:util:AVERAGE LINE2:pct#00CC00:NParts GPRINT:pct:LAST: \: %3.1lf (cur) GPRINT:pct:MAX: \: %3.1lf (max) GPRINT:pct:MIN: \: %3.1lf (min) GPRINT:pct:AVERAGE: \: %3.1lf (avg)\n
On the
I used the howto @ http://www.hswn.dk/hobbit/help/howtograph.html as a guideline but its clear i'm lacking some understanding. I'm guessing the contents in hobbitgraph.cfg is off as i'm doing an rrdtool dump and the output looks ok?
<lastupdate> 1273230835 </lastupdate> <!-- 2010-05-07 13:13:55SAST -->
<ds> <name> jhbedge01optinetnet </name> <type> DERIVE </type> <minimal_heartbeat> 600 </minimal_heartbeat> <min> NaN </min> <max> NaN </max> <!-- PDP Status --> <last_ds> 4 </last_ds> <value> 0.0000000000e+00 </value> <unknown_sec> 0 </unknown_sec> </ds> <ds> <name> jhbedge02optinetnet </name> <type> DERIVE </type> <minimal_heartbeat> 600 </minimal_heartbeat> <min> NaN </min> <max> NaN </max> <!-- PDP Status --> <last_ds> 3 </last_ds> <value> 7.9207920792e-02 </value> <unknown_sec> 0 </unknown_sec> </ds>Anyone have any ideas/tips?
Regards, Cami
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
Hi Brute,
I've removed the old rrd file:
rrdtool dump data/rrd/bb.24.com/fmsconns.rrd
<step> 300 </step> <!-- Seconds -->
<lastupdate> 1273471749 </lastupdate> <!-- 2010-05-10 08:09:09
SAST -->
<ds>
<name> edge01 </name>
<type> GAUGE </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<min> NaN </min>
<max> NaN </max>
<!-- PDP Status -->
<last_ds> 2 </last_ds>
<value> 4.9800000000e+02 </value>
<unknown_sec> 0 </unknown_sec>
</ds>
<ds>
<name> edge02 </name>
<type> GAUGE </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<min> NaN </min>
<max> NaN </max>
<!-- PDP Status -->
<last_ds> 1 </last_ds>
<value> 2.4900000000e+02 </value>
<unknown_sec> 0 </unknown_sec>
</ds>
So the data is there/available.
Cami
White, Bruce wrote:
Notice the name of the data field in your rrd file:
jhbedge02optinetnet
It does not match the edge02 in your other definitions. Not sure why its assigning that name, but that looks to me to be the problem.
.....BruceBruce White Senior Enterprise Systems Engineer | Phone: 630-671-5169 | Fax: 630-893-1648 | bewhite at fellowes.com | http://www.fellowes.com/
Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.
-----Original Message----- From: Cami [mailto:camis at mweb.co.za] Sent: Friday, May 07, 2010 9:51 AM To: hobbit at hswn.dk Subject: [hobbit] Custom graphs in Xymon
Hi..
I'm having an issue with creating a system graph in Xymon.
The script outputs the following on the page:
Fri May 7 16:42:19 SAST 2010edge01 : 5 edge02 : 7 edge03 : 2 edge04 : 6
hobbitgraph ncv:fmsconns Zoom graph
Its a script to monitor concurrent connections so its value goes up and down.
In hobbitserver.cfg, i have the following:
TEST2RRD="cpu=la,cpu2=la[......],fmsconns=ncv" GRAPHS="la,disk[...........],fmsconns" NCV_fmsconns="edge01:GAUGE,edge02:GAUGE"
in hobbitgraph.cfg [fmsconns] TITLE Fmsconns info YAXIS Connections DEF:pct=fmsconns.rrd:util:AVERAGE LINE2:pct#00CC00:NParts GPRINT:pct:LAST: \: %3.1lf (cur) GPRINT:pct:MAX: \: %3.1lf (max) GPRINT:pct:MIN: \: %3.1lf (min) GPRINT:pct:AVERAGE: \: %3.1lf (avg)\n
On the
I used the howto @ http://www.hswn.dk/hobbit/help/howtograph.html as a guideline but its clear i'm lacking some understanding. I'm guessing the contents in hobbitgraph.cfg is off as i'm doing an rrdtool dump and the output looks ok?
<lastupdate> 1273230835 </lastupdate> <!-- 2010-05-07 13:13:55SAST -->
<ds> <name> jhbedge01optinetnet </name> <type> DERIVE </type> <minimal_heartbeat> 600 </minimal_heartbeat> <min> NaN </min> <max> NaN </max> <!-- PDP Status --> <last_ds> 4 </last_ds> <value> 0.0000000000e+00 </value> <unknown_sec> 0 </unknown_sec> </ds> <ds> <name> jhbedge02optinetnet </name> <type> DERIVE </type> <minimal_heartbeat> 600 </minimal_heartbeat> <min> NaN </min> <max> NaN </max> <!-- PDP Status --> <last_ds> 3 </last_ds> <value> 7.9207920792e-02 </value> <unknown_sec> 0 </unknown_sec> </ds>Anyone have any ideas/tips?
Regards, Cami
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
On Fri, May 7, 2010 at 07:50, Cami <camis at mweb.co.za> wrote: [snip]
edge01 : 5 edge02 : 7 edge03 : 2 edge04 : 6 [snip] NCV_fmsconns="edge01:GAUGE,edge02:GAUGE" [snip] in hobbitgraph.cfg [fmsconns] TITLE Fmsconns info YAXIS Connections DEF:pct=fmsconns.rrd:util:AVERAGE LINE2:pct#00CC00:NParts GPRINT:pct:LAST: \: %3.1lf (cur) GPRINT:pct:MAX: \: %3.1lf (max) GPRINT:pct:MIN: \: %3.1lf (min) GPRINT:pct:AVERAGE: \: %3.1lf (avg)\n
Your DEF points to a DS of "util", but you apparently have DSs of "edge01" and "edge02", so you'll need another DEF, another LINE#, and (optionally) more GPRINTs. That's assuming you want two on one graph.
Will every host that has "fmsconns" have a status with exactly two edge* values? Or with exactly four edge* values? I find that unlikely, given the two digit numbering, and (also to some extent) the discrepancy between the status message and the NCV_fmsconns line. If the count of values can differ (e.g. you might eventually have a host with 1 or 3 or 5 or 6 values) then SPLITNCV might be the way to go, but that has its own complications (e.g. multigraphs). Changing the number of DSs in an RRD is not easy.
participants (6)
-
bewhite@fellowes.com
-
camis@mweb.co.za
-
doctor@makelofine.org
-
geoff.hallford@gmail.com
-
goldfndr@gmail.com
-
questy@gmail.com