liquidat / nagios-icinga-openvpn

Nagios/Icinga check for OpenVPN availability monitoring
MIT License
51 stars 27 forks source link

CRIT: OpenVPN UDP server not responding #10

Closed vilemaxim closed 8 years ago

vilemaxim commented 8 years ago

Your script will output that, but exits with a 0 not a 2, so the server says ok.

liquidat commented 8 years ago

Dear @vilemaxim, that's strange. If you see a 'CRIT' it is in the right function and thus should return with the return code 2. Can you try to call the script from command line itself, is the return code still 0? Can you please post the code output?

Also, while it should not change the behavior, you also might want to check the newest upstream version. I just merged ipv6 support.

andiwand commented 8 years ago

fixed: https://github.com/liquidat/nagios-icinga-openvpn/pull/12

liquidat commented 8 years ago

@andiwand: Ah, I missed the exit code. Of course! Thanks for providing the solution.