The script is executed everytime you poll a certain OIDThen the script is
executed and returns a value
>From the remote machine you can execute a snmpget or use a specific
application (cacti, nagios, etc.) for the polling
Le Lundi 13 mars 2017 10h09, BARDOU Pierre <[email protected]> a écrit :
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:[email protected]]
Envoyé : samedi 11 mars 2017 15:23
ÃÂ : BARDOU Pierre <[email protected]>; [email protected]
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 <[email protected]> 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
ÃÂ : [email protected]
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