Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
davidak
bydavidak, August 11, 2014
the template don't work.
first it starts with "ine array indexes before adding content...
change:
$opt[2] .= "--vertical-label \"Byte/sec \" -l 0 -r --title \"Apache metrics for $hostname / $servicedesc\" ";
$def[2] .= "DEF:bytepsec=$rrdfile:$DS[3]:AVERAGE " ;
to:
$opt[2] = "--vertical-label \"Byte/sec \" -l 0 -r --title \"Apache metrics for $hostname / $servicedesc\" ";
$def[2] = "DEF:bytepsec=$rrdfile:$DS[3]:AVERAGE " ;
please test code yourself before publishing it.
except that the plugin works with Icinga 1.8.3
first it starts with "ine array indexes before adding content...
change:
$opt[2] .= "--vertical-label \"Byte/sec \" -l 0 -r --title \"Apache metrics for $hostname / $servicedesc\" ";
$def[2] .= "DEF:bytepsec=$rrdfile:$DS[3]:AVERAGE " ;
to:
$opt[2] = "--vertical-label \"Byte/sec \" -l 0 -r --title \"Apache metrics for $hostname / $servicedesc\" ";
$def[2] = "DEF:bytepsec=$rrdfile:$DS[3]:AVERAGE " ;
please test code yourself before publishing it.
except that the plugin works with Icinga 1.8.3
bydavidak, July 27, 2014
./check_iftraffic4.pl
Perl v5.12.0 required--this is only v5.8.8, stopped at ./check_iftraffic4.pl line 85.
BEGIN failed--compilation aborted at ./check_iftraffic4.pl line 85.
Perl v5.12.0 required--this is only v5.8.8, stopped at ./check_iftraffic4.pl line 85.
BEGIN failed--compilation aborted at ./check_iftraffic4.pl line 85.
tested on an IPFire Gateway (Linux i386) with installed tw_cli.
./check_3ware
check_3ware: CRITICAL (Unit 0 at Controller 0 is /c0/u0)
execute tw_cli directly works:
sudo /usr/sbin/tw_cli info c0 u0 status
/c0/u0 status = OK
./check_3ware
check_3ware: CRITICAL (Unit 0 at Controller 0 is /c0/u0)
execute tw_cli directly works:
sudo /usr/sbin/tw_cli info c0 u0 status
/c0/u0 status = OK
cp tw_cli /usr/sbin/tw_cli