RRD File for Graph not being created
list Foster Patch
Hello, I have been troubleshooting this for a while. I have a script with a very simple output, example "cf-execd : 13.60". I have gone onto the local server that it will be run on, and added the appropriate lines to clientlaunch.cfg. I went on the server and modified xymonserver.cfg, adding "CFENGINE=ncv" to the end of the TEST2RRD line. (CFENGINE is the monitor name) I also added a new line on the file which states, "NCV_CFENGINE="cf-execd:GAUGE". I then restarted the xymon services. However, the RRD file is not created. What am I doing wrong? This monitor is much more elaborate, but I dumbed it down to a single line to troubleshoot this issue, and it still isn't working. Any ideas? Foster Patch Server Technician AccuWeather
list Galen Johnson
If your test doesn't run in the standard window, you may need to do something like https://wiki.xymonton.org/doku.php/tutorials:customgraph Did you add it to the "GRAPHS" section? Did you create the graph definition? =G=
▸
From: Xymon <xymon-bounces at xymon.com> on behalf of Foster Patch <user-830dc635f051@xymon.invalid>
Sent: Wednesday, August 10, 2016 4:05 PM
To: xymon at xymon.com
Subject: [Xymon] RRD File for Graph not being created
Hello,
I have been troubleshooting this for a while. I have a script with a very simple output, example "cf-execd : 13.60". I have gone onto the local server that it will be run on, and added the appropriate lines to clientlaunch.cfg. I went on the server and modified xymonserver.cfg, adding "CFENGINE=ncv" to the end of the TEST2RRD line. (CFENGINE is the monitor name) I also added a new line on the file which states, "NCV_CFENGINE="cf-execd:GAUGE".
I then restarted the xymon services. However, the RRD file is not created. What am I doing wrong? This monitor is much more elaborate, but I dumbed it down to a single line to troubleshoot this issue, and it still isn't working.
Any ideas?
Foster Patch
Server Technician
AccuWeather
list Galen Johnson
That might be a little dated...I've used these instructions successfully... https://wiki.xymonton.org/doku.php/monitors:zonestat? obviously, there is a translation that is left as an exercise for the reader. =G=
▸
From: Galen Johnson Sent: Wednesday, August 10, 2016 11:17 PM To: Foster Patch; xymon at xymon.com Subject: Re: RRD File for Graph not being created If your test doesn't run in the standard window, you may need to do something like https://wiki.xymonton.org/doku.php/tutorials:customgraph Did you add it to the "GRAPHS" section? Did you create the graph definition? =G= From: Xymon <xymon-bounces at xymon.com> on behalf of Foster Patch <user-830dc635f051@xymon.invalid> Sent: Wednesday, August 10, 2016 4:05 PM To: xymon at xymon.com Subject: [Xymon] RRD File for Graph not being created Hello, I have been troubleshooting this for a while. I have a script with a very simple output, example "cf-execd : 13.60". I have gone onto the local server that it will be run on, and added the appropriate lines to clientlaunch.cfg. I went on the server and modified xymonserver.cfg, adding "CFENGINE=ncv" to the end of the TEST2RRD line. (CFENGINE is the monitor name) I also added a new line on the file which states, "NCV_CFENGINE="cf-execd:GAUGE". I then restarted the xymon services. However, the RRD file is not created. What am I doing wrong? This monitor is much more elaborate, but I dumbed it down to a single line to troubleshoot this issue, and it still isn't working. Any ideas? Foster Patch Server Technician AccuWeather
list Jeremy Laidman
Foster On Thu, Aug 11, 2016 at 6:05 AM Foster Patch <user-830dc635f051@xymon.invalid>
▸
wrote:
I have been troubleshooting this for a while. I have a script with a very simple output, example “cf-execd : 13.60”. I have gone onto the local server that it will be run on, and added the appropriate lines to clientlaunch.cfg. I went on the server and modified xymonserver.cfg, adding “CFENGINE=ncv” to the end of the TEST2RRD line. (CFENGINE is the monitor name) I also added a new line on the file which states, “NCV_CFENGINE=”cf-execd:GAUGE”. I then restarted the xymon services. However, the RRD file is not created. What am I doing wrong? This monitor is much more elaborate, but I dumbed it down to a single line to troubleshoot this issue, and it still isn’t working.
You appear to have done everything you need to do. Perhaps the hyphen is causing problems? Probably not, because I'm pretty sure I have some DS names with hyphens. Check out the rrd-data.log file, or perhaps try running xymond_rrd with "--debug" enabled. You could try running xymond_channel on the data channel, filtering the CFENGINE messages, and make sure the data messages are coming through. If xymond_channel doesn't get them, then xymond_rrd won't save them. Cheers Jeremy