-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
check_vpn: add option to specify parameters to l2tpd configuration #3
Comments
Thanks for the feedback, happy this is useful for someone! You may pass options to the plugin ppp options, however I think the parameter you're looking for is in xl2tpd.conf. Have a look at https://github.com/danfruehauf/nagios-plugins/blob/master/check_vpn/check_vpn_plugins/l2tp.sh#L187 Tell me what's the parameter you're looking for. I think what I'll do is enable the user to pass an extra parameters file for xl2tpd, which we could mend in. It's pretty much an impossible task to cater for every configuration easily. I was actually planning on doing some work on that plugin and adding some more nice things in. Suggestions always welcome! |
Oops, that's the wrong ticket that was closed. |
@cultavix I'm still waiting for you to describe me a VPN scenario you have. If you can provide me with server side configuration, that'd be awesome - I'll understand better what needs implementation. |
Hi, Great plugin... we used OpenVPN and L2TP so this is great for us. Just a question for you... How would I tell it to use a pre-shared key/secret?
I am doing ./check_vpn -t l2tp -u username -p password (I need to also specify the shared secret!)
Thanks!
The text was updated successfully, but these errors were encountered: