NTPSNMPD(8) | NTPsec | NTPSNMPD(8) |
NAME¶
ntpsnmpd - NTP Simple Network Management Protocol sub-agent
SYNOPSIS¶
ntpsnmpd [-nxdDlhV] [ntp host]
DESCRIPTION¶
[experimental]
ntpsnmpd is an AgentX Simple Network Management Protocol sub-agent.
It functions as a bridge between the Mode 6 protocol used for Network Time Protocol monitoring, and an SNMP master agent. The user must have running NTP and SNMP daemons for ntpsnmpd to work.
OPTIONS¶
-c filename, --configfile=filename
-n, --nofork
-x, --master-addr
-d, --debug
-D num, --set-debug-level=num
-l filename, --logfile=filename
-h, --help
-V, --version
CONFIGURATION FILES¶
Note that filenames in the options should be enclosed in quotes. This is a temporary measure that will not be the case in future versions.
/etc/ntpsnmpd.conf¶
master-addr addr
ntp-addr addr
logfile filename
loglevel level
/var/ntpsnmpd/notify.conf¶
This file is used to store the state of options that can be set by writing to certain OIDs. Any comments will be overwritten by ntpsnmpd upon write.
notify-mode-change [ True | False ]
notify-stratum-change [ True | False ]
notify-syspeer-change [ True | False ]
notify-add-association [ True | False ]
notify-rm-association [ True | False ]
notify-leap-announced [ True | False ]
notify-heartbeat [ True | False ]
heartbeat-interval interval
KNOWN LIMITATIONS¶
This program is still experimental in nature. Parts of the AgentX standard are not yet fully implemented, logging not fleshed out yet, some options missing, etc.
KNOWN DEVIATIONS FROM RFC 5907¶
The ntpEntStatusEntityUptime OID specifies a bizarre time format. This does not match what the SNMP tools expect to see from a TimeTicks variable. Instead the daemon returns a normal TimeTicks value.
The ntpEntNotifConfigChanged trap is left unimplemented. This is because there currently is no way to implement what it wants, and it demands alerts regarding changes that are not part of NTP’s jurisdiction.
The ntpEntTimeResolution OID currently uses data from the sys_fuzz variable as the base for it’s calculations. It is by no means certain that this is the correct choice, and the returned data should be taken with scepticism.
The ntpEntStatPktModeTable is unimplemented due to not currently having a data source.
EXIT STATUS¶
Always returns 0.
04/17/2024 | NTPsec 1.2.3 |