Hello, Thanks for the idea, but how are you triggering a script on polling ? BTW, I think that if snmp is not available I will stick to check_relayd wth NRPE. Cf. http://undeadly.org/cgi?action=article&sid=20110220204953
-- Cordialement, Pierre BARDOU De : Mik J [mailto:mikyde...@yahoo.fr] Envoyé : samedi 11 mars 2017 15:23 À : BARDOU Pierre <bardo...@mipih.fr>; misc@openbsd.org Objet : Re: Monitoring relayd via SNMP Hello Pierre, I don't use relayd but for some of my needs with snmp, I retrieve the statistics through a script that is executed everytime I poll a specific OID. It might be dirty, but does the job. Regards Le Mardi 7 mars 2017 16h08, BARDOU Pierre <bardo...@mipih.fr> a écrit : I found nothing to implement the relayd MIB in the SNMPD source code apart from the traps part. So it seems this is still a WIP. Anyone could confirm that ? -- Cordialement, Pierre BARDOU -----Message d'origine----- De : BARDOU Pierre Envoyé : lundi 6 mars 2017 16:46 À : misc@openbsd.org Objet : Monitoring relayd via SNMP Hello, I am trying to monitor relayd through snmpd(8). It seems that a MIB exists : http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share/snmp/OPENBSD-RELAYD-MIB.tx t?rev=1.3&content-type=text/x-cvsweb-markup But SNMPwalking these OIDs doesn't work. snmpctl show mib doesn't show them either. I tried to setup an AgentX socket, but according to the man relayd.conf(5) it is only for traps. I'm feeling I am doing something wrong here... Could someone point me to the right direction to use this MIB ? Thank you -- Cordialement, Pierre Bardou