[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: "chrony-dev@xxxxxxxxxxxxxxxxxxxx" <chrony-dev@xxxxxxxxxxxxxxxxxxxx>
- Subject: [chrony-dev] SNMP agent
- From: Marko Hrastovec <Marko.Hrastovec@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 14 Nov 2023 07:59:38 +0000
- Accept-language: sl-SI, en-US
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sloveniacontrol.si; s=default; t=1699948779; bh=FFLsEZMFWsWEHD1P9GlWwaJDqRMU3I1JxkkYeeJ5/SY=; h=From:To:Subject:Date; b=BK1gkti4tHfFz0hFAUKUzPXfGVJYwlgRi0ZnByrKV8J6C/nIs2MZENw28stNSQJx6 czUygWHrN2fzIfNNkxS1gOrfgNkHC6+0R8aiv5KS37ebL6fibl1hYgZOq+5clFkHZ7 k/vcuWkpFDjQEnErepvxMu7ROLDNFy9NvuMs99ts=
- Thread-index: AQHaFtCEZpcpDws3HUOPJOcFGEMOrw==
- Thread-topic: SNMP agent
Hi,
we were looking for SNMP monitoring for chrony, and to my knowledge
chrony does not provide that functionality. Or am I wrong?
We use central SNMP monitoring for our computers, and we get a lot of
information about operating system statuses via SNMP. However, ntp
detailed information is not available, and it would be very beneficial
to have that information accessible via SNMP.
There is already a standard MIB
(https://datatracker.ietf.org/doc/html/rfc5907) for ntp monitoring. I
propose to make an agentX or subagent for snmpd in chrony, which would
report ntp status via snmpd using a provided MIB. More information
about subagents can be found here
https://net-snmp.sourceforge.io/wiki/index.php/TUT:Writing_a_Subagent
I am willing to contribute the code, but I am unfamiliar with chrony
source. Is there an interest or will to incorporate the SNMP monitoring
into chrony or not?
ntpd seems to have ntpsnmpd, but it looks more like an unfinished task.
https://github.com/benegon/ntp/tree/master/ntpsnmpd
Regards
Marko