> Le 15 juin 2014 à 12:34, Guus Sliepen <[email protected]> a écrit : > >> On Wed, Jun 11, 2014 at 11:06:25AM +0200, Nick Hibma wrote: >> >> Does any of you have a sensible way of monitoring tinc? I haven’t tried >> anything yet, sorry for that. I’d like to avoid log spamming like the >> check_ssh plugin does (‘10+ preauth' warnings a day). >> >> check_tcp is an option, but I was wondering whether anyone cooked up >> something more sensible. > > It depends on what and how you want to monitor. If you only want to know > if a local tinc daemon is still running, then the following script could > be enough: > > #!/bin/sh > kill -0 `cut -f 1 -d ' ' /var/run/tinc.NETNAME.pid` > > If you want to monitor it remotely, then either ssh to the host running > tinc and run the above command, or run a tinc daemon on the Nagios host > and add host-up/down scripts to record which nodes are up, or if you use > tinc 1.1 you could use the "tinc info" command to check whether a node > is up or not.
Hello, Just a FYI, Nagios can natively monitor daemon on remote hosts via snmp, to do so you have to : - install snmpd on the host to be monitored and configure it to accept remote snmp request. - configure the check on the Nagios For advanced checks I think you could use NRPE. Cheers Cedric > > -- > Met vriendelijke groet / with kind regards, > Guus Sliepen <[email protected]> > _______________________________________________ > tinc mailing list > [email protected] > http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc _______________________________________________ tinc mailing list [email protected] http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
