ISC ntpd stats

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

cskp12
Posts: 21
Joined: Thu Jun 18, 2009 8:52 pm

Post by cskp12 »

yes,cacti-server is ntpd host
yes
radiumfu
Posts: 8
Joined: Fri Jul 14, 2006 7:18 am
Location: Los Angeles

Re: ISC ntpd stats

Post by radiumfu »

works under
Cacti Version - 0.8.7e
Plugin Architecture - 2.6
Poller Type - Cactid v
Server Info - Linux 2.6.18-164.9.1.el5
Web Server - Apache/2.2.3 (CentOS)
PHP - 5.1.6
PHP Extensions - libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, standard, SimpleXML, sockets, SPL, shmop, session, Reflection, pspell, posix, mime_magic, iconv, hash, gmp, gettext, ftp, exif, date, curl, ctype, calendar, bz2, zlib, pcre, openssl, apache2handler, dbase, ldap, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, snmp
MySQL - 5.0.77
RRDTool - 1.3.9
SNMP - 5.3.2.2
Plugins
  • Large Site Performane Booster (boost - v2.5)
    Host Info (hostinfo - v0.2)
    Device Monitoring (monitor - v0.8.2)
    Realtime for Cacti (realtime - v0.32)
    Global Plugin Settings (settings - v0.5)
    SSL Redirector (ssl - v0.1)
    Thresholds (thold - v0.4.1)
cskp12
Posts: 21
Joined: Thu Jun 18, 2009 8:52 pm

Re:

Post by cskp12 »

cskp12 wrote:I run perl script on linux command line output as below:
frequency:-83.178 offset:-25.102 jitter:2.074 stability:1.860 noise:9.441 stratum:3 state:4 refid:220.130.158.52 reftype:5
I has fix this is issue

I set qurey-ntpq.pl ntpq is /usr/sbin/ntpq
is ok
Last edited by cskp12 on Tue Nov 01, 2011 1:06 am, edited 1 time in total.
cskp12
Posts: 21
Joined: Thu Jun 18, 2009 8:52 pm

Re: ISC ntpd stats

Post by cskp12 »

Is it monitor Windows 2003/2008/2008r2 /w32tm ntp mode service ?
nazev
Posts: 1
Joined: Mon May 23, 2011 4:54 am

Re: ISC ntpd stats

Post by nazev »

Hi All
my cacti run 5-minute polling, I have to change the template ".xml"? right?
Can you help me, is correct for example this change:

from:
<hash_15001801e4871234a7acca743ac0ee7df8ddc2>
<name>1 min - 1 Minute Average - 24 Hour View</name>
<x_files_factor>0.5</x_files_factor>
<steps>1</steps>
<rows>1440</rows>
<timespan>86400</timespan>
<cf_items>1|2|3|4</cf_items>
</hash_15001801e4871234a7acca743ac0ee7df8ddc2>

to:
<hash_15001801e4871234a7acca743ac0ee7df8ddc2>
<name>5 min - 5 Minute Average - 24 Hour View</name>
<x_files_factor>0.5</x_files_factor>
<steps>1</steps>
<rows>288</rows>
<timespan>86400</timespan>
<cf_items>1|2|3|4</cf_items>
</hash_15001801e4871234a7acca743ac0ee7df8ddc2>


bye
ctino
Posts: 1
Joined: Tue Sep 25, 2007 8:07 am
Location: Amsterdam - NL

Re: ISC ntpd stats

Post by ctino »

Since ntpd versions newer than 4.2.6 some variables have been changed. (e.g. ntpq on Lenny gives different results than on Squeeze)
Here's an updated perl script and an updated xml template created on Version 0.8.7e.

Enjoy :D

An interesting post talking about this can be found here:
http://lists.ntp.org/pipermail/question ... 29476.html

>If you want to support versions older than 4.2.6, be aware some ntpq
>variables have been renamed or replaced. IIRC 4.2.4 calls
>"sys_jitter" simply "jitter", but the two are interchangeable so
>that's relatively easy to work around. Trickier is the removal of
>4.2.4's "stability". I believe "clk_wander" comes closest to
>providing similar information in newer versions, but the two are not
>equivalent (low values of clk_wander are desirable, presumably higher
>values of stability are desirable).
Attachments
cacti_graph_template_ntpd_stats.xml.gz
updated xml template for cacti 0.8.7e to create graphs for ntpd version 4.2.6 and up
(4.53 KiB) Downloaded 463 times
query-ntpd.pl.gz
updated perl script for cacti to query ntpd version 4.2.6 and up
(851 Bytes) Downloaded 455 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest