Hi all, Anyone know for sure whether ntpstat.rrd creation is built in, or does it require an external server script? It appears that xymond/do_rrd.c sets up a call in update_rrd() to do_ntpstat_rrd() when ldef->xymonrrdname or the testname that is passed in matches 'ntpstat'. I could be totally misunderstanding what's going on as I've just done a cursory search of the source and haven't had a chance to trace it all the way through.
I've got my configuration set up like the demo server, with 'time=ntpstat' and 'ntp=ntpstat' entries for TEST2RRD. For the ntp servers i'm monitoring, I'm getting ntpdate output in the 'ntp' status column, but no rrd creation. I've restarted xymon, going as far as adding, then removing '--debug' and '--no-cache' for rrdstatus and rrddata in tasks.cfg (a workaround for an existing issue with rrd updates that may or may not be related to this). We're running 4.3.7 currently. I'll keep plugging away at the source if no one has a quick and easy answer.
Thanks,
-- S i m e o n B e r k l e y
Systems Engineer McClatchy Interactive www.mcclatchyinteractive.com
Hi,
I've got a new installation of xymon 4.3.7 and my hosts (internal tests) don't show up. Tests from extension scripts are there. Assumingly it is a host name problem.. http://www.xymon.com/xymon/help/xymon-tips.html says: "If you check the "xymond" column on the webserver display for the Xymon server, you will see a report about these unknown hosts." Unfortunately there is no xymond column, too. I've only got a bbd column where this information is missing.
Any ideas what to do to get the xymond column (ading xymond to the xymon server's entry in hosts.cfg didn't help)? Any idea how to find out which hostnames are used for data exchange client - server?
kind regards Rolf
-- Mit freundlichen Gruessen Rolf Schrittenlocher
Lokales Bibliothekssystem Frankfurt Senckenberganlage 31, 60054 Frankfurt Tel: (49) 69 - 798 28908 Fax: (49) 69 798 28817 LBS: lbs-f at mlist.uni-frankfurt.de Persoenlich: schritte at ub.uni-frankfurt.de
Rolf
These are called "ghost" clients. I don't know why you don't have a xymond column, but you can list the ghost clients by going to the Reports menu and choosing Ghost Clients.
J
On Wed, Jul 4, 2012 at 6:42 PM, Rolf Schrittenlocher < schritte at hebis.uni-frankfurt.de> wrote:
Hi,
I've got a new installation of xymon 4.3.7 and my hosts (internal tests) don't show up. Tests from extension scripts are there. Assumingly it is a host name problem.. http://www.xymon.com/xymon/**help/xymon-tips.html<http://www.xymon.com/xymon/help/xymon-tips.html>says: "If you check the "xymond" column on the webserver display for the Xymon server, you will see a report about these unknown hosts." Unfortunately there is no xymond column, too. I've only got a bbd column where this information is missing.
Any ideas what to do to get the xymond column (ading xymond to the xymon server's entry in hosts.cfg didn't help)? Any idea how to find out which hostnames are used for data exchange client
- server?
kind regards Rolf
-- Mit freundlichen Gruessen Rolf Schrittenlocher
Lokales Bibliothekssystem Frankfurt Senckenberganlage 31, 60054 Frankfurt Tel: (49) 69 - 798 28908 Fax: (49) 69 798 28817 LBS: lbs-f at mlist.uni-frankfurt.de Persoenlich: schritte at ub.uni-frankfurt.de
______________________________**_________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/**mailman/listinfo/xymon<http://lists.xymon.com/mailman/listinfo/xymon>
I figured it out, the confusion was with the column name and how that is mapped to the rrd. I tried sending 'offset=0' to the 'ntpstat' data channel for a host and it worked. I'll just create a server script that does something like:
$XYMON $XYMSRV "data ntp.serveraddress.com.ntpstat
$(ntpdate -u -q -p 2 $NTP_SERVER_IP | grep -o 'offset \+[-+]*[0-9]\+\.[0-9]\+'|tail -n1 |tr ' ' '=')
"
And put it in the server's tasks.cfg.
On Tue, Jul 3, 2012 at 4:58 PM, Berkley, Simeon < sberkley at mcclatchyinteractive.com> wrote:
Hi all, Anyone know for sure whether ntpstat.rrd creation is built in, or does it require an external server script? It appears that xymond/do_rrd.c sets up a call in update_rrd() to do_ntpstat_rrd() when ldef->xymonrrdname or the testname that is passed in matches 'ntpstat'. I could be totally misunderstanding what's going on as I've just done a cursory search of the source and haven't had a chance to trace it all the way through.
I've got my configuration set up like the demo server, with 'time=ntpstat' and 'ntp=ntpstat' entries for TEST2RRD. For the ntp servers i'm monitoring, I'm getting ntpdate output in the 'ntp' status column, but no rrd creation. I've restarted xymon, going as far as adding, then removing '--debug' and '--no-cache' for rrdstatus and rrddata in tasks.cfg (a workaround for an existing issue with rrd updates that may or may not be related to this). We're running 4.3.7 currently. I'll keep plugging away at the source if no one has a quick and easy answer.
Thanks,
-- S i m e o n B e r k l e y
Systems Engineer McClatchy Interactive www.mcclatchyinteractive.com
-- S i m e o n B e r k l e y
Systems Engineer McClatchy Interactive phone: 919-861-1244 fax: 919-861-1300 mobile: 919-302-3063 www.mcclatchyinteractive.com
participants (3)
-
jlaidman@rebel-it.com.au
-
sberkley@mcclatchyinteractive.com
-
schritte@hebis.uni-frankfurt.de