check_vpn

Morris, Patrick patrick.morris at hp.com
Tue Aug 8 17:44:13 CEST 2006


> I want check a vpn server with nagios.  however I have a 
> problem when I put it
> 
> [root at netids libexec]# ./check_openvpn.php 
> -H=vpnserver.uacj.mx -p=53 PHP Fatal error:  Call to 
> undefined function:  stream_socket_client() in 
> /usr/local/nagios/libexec/check_openvpn.php on line 343
> Content-type: text/html
> X-Powered-By: PHP/4.3.11
> 
> I don't know wich port put
> 
> -p, --port=INTEGER
>         TCP port of management interface (no default, required)

Google is your friend.

That function is only available in PHP5:

http://in2.php.net/stream_socket_client

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list