ntpstat.rrd creation
list Simeon Berkley
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
list Rolf Schrittenlocher
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: (XX) XX - XXX XXXXX Fax: (XX) XX XXX XXXXX LBS: user-1e39a1813094@xymon.invalid Persoenlich: user-4b3b4051a09b@xymon.invalid
list Simeon Berkley
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 <
▸
user-7650b51cc6e3@xymon.invalid> 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: XXX-XXX-XXXX
fax: XXX-XXX-XXXX
mobile: XXX-XXX-XXXX
www.mcclatchyinteractive.com
list Jeremy Laidman
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 <
▸
user-ea9d95bffcf0@xymon.invalid> 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: (XX) XX - XXX XXXXX Fax: (XX) XX XXX XXXXX
LBS: user-1e39a1813094@xymon.invalid
Persoenlich: user-4b3b4051a09b@xymon.invalid
______________________________**
Xymon at xymon.com<