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
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 <Foster.Patch at accuweather.com> 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
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 <Foster.Patch at accuweather.com> 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
Foster
On Thu, Aug 11, 2016 at 6:05 AM Foster Patch <Foster.Patch at accuweather.com> 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
participants (3)
-
Foster.Patch@accuweather.com
-
Galen.Johnson@sas.com
-
jlaidman@rebel-it.com.au