I just can't figure out a data channel feed
I'm trying to write a data collector to deliver data to Xymon through the data channel. From my reading, it should be as simple as (from *xymoncmd*):
$XYMON --merge $XYMSRV "data $MACHINE.mytest" <<EOD x:3 y:7 EOD
But I can't find a corresponding *mytest.rrd* file on my server.
I haven't found any documentation that indicates I need to prepare the server to receive the new data feed, nor that the collector must be run from *xymonlauncher*. I'd like to prove the script before I attempt to add it as a client task.
Help?
-- *Steve Coile *Senior Network and Systems Engineer, McClatchy Interactive<http://www.mcclatchyinteractive.com/> Office: 919-861-1247 | Mobile: 919-622-5369 | Fax: 919-861-1300
You also need to add "mytest=ncv" into the TEST2RRD variable in xymonserver.cfg. Without this, the xymond_rrd module won't receive/accept the data.
If the values are not COUNTER/DERIVE in nature, you might also want to add NCV_mytest="x:GAUGE,x:GAUGE" into xymonserver.cfg. Or SPLITNCV_mytest if you want separate RRD files.
J
On 2 November 2013 07:30, Steve Coile <scoile at mcclatchyinteractive.com>wrote:
I'm trying to write a data collector to deliver data to Xymon through the data channel. From my reading, it should be as simple as (from *xymoncmd* ):
$XYMON --merge $XYMSRV "data $MACHINE.mytest" <<EOD x:3 y:7 EOD
But I can't find a corresponding *mytest.rrd* file on my server.
I haven't found any documentation that indicates I need to prepare the server to receive the new data feed, nor that the collector must be run from *xymonlauncher*. I'd like to prove the script before I attempt to add it as a client task.
Help?
--
*Steve Coile*Senior Network and Systems Engineer, McClatchy Interactive<http://www.mcclatchyinteractive.com/> Office: 919-861-1247 | Mobile: 919-622-5369 | Fax: 919-861-1300
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (2)
-
jlaidman@rebel-it.com.au
-
scoile@mcclatchyinteractive.com