Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
rchrdnet
byrchrdnet, May 22, 2012
Hi, I was installing this plugin and I had to change something in the source code. I changed this line from:
$cmd = "echo status | nc -w 1 $host $port";
to
$cmd = "echo status | nc -i 1 -w 1 $host $port";
I also had to install these packages with yum on centos:
yum install nc.x86_64 perl-Nagios-Plugin.noarch
$cmd = "echo status | nc -w 1 $host $port";
to
$cmd = "echo status | nc -i 1 -w 1 $host $port";
I also had to install these packages with yum on centos:
yum install nc.x86_64 perl-Nagios-Plugin.noarch