I have added a plugin called check_vpn.
The script needs to be run as root to work . Which means that nagios user needs to have sudoer rights, even if it's just that file, i think?
I have worked out how to change the sudoers file and indeded from a command prompt, I can run the script correctly
sudo ./check_vpn ....
But I can't work out how to append the sudo part to the command from within the Opsview interface.
I have tried editing the command within \usr\local\nagios\etc\checkcommands.cfg but that doesnt work?