Re: [chrony-dev] SNMP agent

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


On Tue, Nov 14, 2023 at 07:59:38AM +0000, Marko Hrastovec wrote:
> 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?

I think it should be a separate project using the cmdmon protocol for
communication with chronyd as used by chronyc. With this library it
should be easy

https://gitlab.com/chrony/libchrony

Note that it's still in early stages of development and the API might
change.

-- 
Miroslav Lichvar


-- 
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/