Random Project

Showing No Output,But may work

Below is the exercise,which I have done on Nagios Core 3.4.3.

Command1
touch /sbin/apcaccess
chmod +x /sbin/apcaccess

Command2
./check_apcupsd -h timeleft
Output: OK – Time Left: Minutes

Command3
/check_apcupsd -h ups1 bcharge
OK – Battery Charge: %

Means, it is not showing output in % properly. It seems that there is a need to modify the plugin again.

Nishith N.Vyas