Skip to content
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

Open
james-gonzalez opened this issue Oct 31, 2013 · 3 comments

Comments

@james-gonzalez
Copy link

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!

@danfruehauf
Copy link
Owner

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!

danfruehauf added a commit that referenced this issue Nov 8, 2013
@danfruehauf
Copy link
Owner

Oops, that's the wrong ticket that was closed.

@danfruehauf danfruehauf reopened this Nov 8, 2013
@danfruehauf
Copy link
Owner

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants