Git Product home page Git Product logo

nagios-plugins's People

Contributors

chooko avatar danfruehauf avatar domotor avatar lduchosal avatar outon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nagios-plugins's Issues

connection fails with config

Hello, cannot establish a connection with the below config for openvpn udp (xxxxx out sensitive data). Any idea to the failure?:

remote xx.xx.xx.xx 1194 udp
persist-key
auth-user-pass
tls-client
pull
comp-lzo adaptive
nobind
dev tun
persist-tun
ca xxxxxxxxxxxxxxxx.ca
cert xxxxxxxxxxx.crt
key xxxxxxxxxxx.pem

IKEv1 and IKEv2 support

Would be great if we could check these protocols..
They might be a little tricky because there is so many ways to configure them. Several authentication mechanisms like certificates, psk (shared key) and login/pass (eap, xauth..). The good thing is that they work similarly.
IKEv2 is becoming the new standard in the VPN world and it would be a great addition for this plugin.

Not able to install check_sql plugins

Hi,
Could you provide us a cmd to install the check_sql plugin and let me know the dependencies, provide the path for downloading and installing the plugin

Check pptp VPN

Hello! I was able to run the plugin from the console, but no from Nagios.

From console

root@:/usr/lib/nagios/plugins# /usr/bin/sudo /usr/lib/nagios/plugins/check_vpn -t pptp -H vpn.com -u [email protected] -p Pa$$w0rd -- require-mppe refuse-pap refuse-eap refuse-chap refuse-mschap
OK: VPN to ' vpn.com' up and running on 'ppp0', 'http://www.google.com' reachable|time=0,216s;size=258B

But from Nagios I get: Critical: VPN (pptp) connection failed to 'vpn.com': ''

My command is

define command {
command_name check_vpn-pptp
command_line /usr/bin/sudo /usr/lib/nagios/plugins/check_vpn -t pptp -H $HOSTADDRESS$ -u $ARG1$ -p $ARG2$ -- require-mppe refuse-pap refuse-eap refuse-chap refuse-mschap
}

If I set the command as you described in the documentation (sudo $USER1$/) I get the null error from Nagios

And I included the line to sudoers using visudo: nagios ALL=(ALL) NOPASSWD:/usr/lib/nagios/plugins/check_vpn

Thank you in advance from that great plugin

L2TP connection always fails

Hello,

Im trying to setup a relative easy check. The VPN is working as it should, but when I try it with the check_vpn (check_vpn -t l2tp -H -u -p -- debug) script, it always says 'VPN (l2tp) connection failed to '': '''. Any idea what it could be?

Critical: VPN (pptp) connection failed to 'vpn.com': ''

Hello,
I am trying to configure the plugin to run on the pptp server itself:

./check_vpn -t pptp -H vpn.com -u user -p pass -- mru 1410 mtu 1410 novj novjccomp nobsdcomp
Critical: VPN (pptp) connection failed to 'vpn.com': ''

I have set the ppp device to eth0 (gre0 is disabled, only eth0 is up and running) in pptp.sh.

declare -r PPTP_DEVICE_PREFIX=eth0

and I still get the above error. Do you have any ideas what might be wrong? strace shows me it probably cannot recognize the correct ppp adapter to work with. I am able to connect to the pptp server using the standard pptp client.
pptp vpn.com --nolaunchpppd
~�}#�!}!}!} }=}!}$}$�}"}&} } } } }#}%�#�}

README.md for check_vpn ?

Hi, thanks first for this module!
When I followed the test you provide here :
./check_vpn -t openvpn -H openvpn.vpn.com -u dan -p password -- --ca /etc/openvpn/ca.crt --config /etc/openvpn/vpn.com.conf --proto tcp

I was not able to connect, adding -d tun to the command above and it is working.
I thought it was the default but apparently when -d tun is missing the script is not working correctly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.