[Nagiosplug-help] Monitoring OpenVPN

Andreas Ericsson ae at op5.se
Fri Oct 5 10:14:35 CEST 2007


James Miller wrote:
> Hello everyone,
> 
> I am looking for a way to use nagios's check_udp to monitoring if my OpenVPN
> daemons are running.  Does anyone know of a send/expect string I could use
> to query OpenVPN?  Just running ./check_udp -H <host> -p 1164 -w 5 -c 10
> results in "No data was received from host!" and "No response from host on
> port 1164".
> 

The best solution would undoubtedly be to try to ping things through the vpn
links, and also check if the process named openvpn is still running. That way
you get fullscale check of the link and you check one possible point of failure,
which might aid you when they go down.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231




More information about the Help mailing list