Search found 8 matches

by jchow10
Thu Jun 30, 2016 3:16 am
Forum: Open Source Nagios Projects
Topic: Nagios Plugs output does not match in Nagios console
Replies: 1
Views: 653

Nagios Plugs output does not match in Nagios console

Hi, I created the Nagios plugins to get custom df output but when it passed the output back to Nagios server. It replaced ";" with ":" in the result. This is very puzzle me. I will appreciate for any hints. Script output: if [ $STATE_CRITICAL -eq 1 ] then echo "CRITICAL - $g...
by jchow10
Wed Jun 08, 2016 4:38 pm
Forum: Open Source Nagios Projects
Topic: check_disk to include Filesystem information
Replies: 4
Views: 1322

Re: check_disk to include Filesystem information

That is it. I was able to follow the instruction below for writting own plugins. You can close the thread.

https://exchange.nagios.org/directory/T ... pt/details

Thanks all,

JC
by jchow10
Fri Jun 03, 2016 8:15 pm
Forum: Open Source Nagios Projects
Topic: check_disk to include Filesystem information
Replies: 4
Views: 1322

Re: check_disk to include Filesystem information

Yes, I tried -M option. It will comes with Filesystem information but "mount on" information will lose it afterward with "-M" option. It seems you can not have have both filesystem name and mount on information at the same time Filesystem Size Used Avail Use% Mounted on rootfs 50...
by jchow10
Thu Jun 02, 2016 5:55 pm
Forum: Open Source Nagios Projects
Topic: check_disk to include Filesystem information
Replies: 4
Views: 1322

check_disk to include Filesystem information

Hi All, I have been tried different option of check_disk and not much success to include the filesystem information. Does it mean I need to modify the script and write the script to accomplish that? df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/physical--vol0-lvol01 91G 17G 69G 20% / ...
by jchow10
Thu Jun 02, 2016 4:59 pm
Forum: Open Source Nagios Projects
Topic: check_disk to do all volume space check on the servers
Replies: 7
Views: 5927

Re: check_disk to do all volume space check on the servers

Hi All,
I did the following and the problem was resolved afterward. It was permission and sudo issue.

command[xxx]=/usr/bin/sudo /usr/lib/nagios/plugins/check_disk -w 20 -c 10


Thanks,

Johnny Chow
by jchow10
Wed May 25, 2016 5:06 pm
Forum: Open Source Nagios Projects
Topic: check_disk to do all volume space check on the servers
Replies: 7
Views: 5927

Re: check_disk to do all volume space check on the servers

It worked with check_disk -w 20 -c 10 on local server!! I put it as "Checking all drive" into my service.cfg in Nagios server. However, I receive the error on Nagios server and no other space size passed over to Nagios server. I am including the file permission below. If this file permissi...
by jchow10
Mon May 23, 2016 6:52 pm
Forum: Open Source Nagios Projects
Topic: check_disk to do all volume space check on the servers
Replies: 7
Views: 5927

check_disk to do all volume space check on the servers

Hi, I am still a newbie when it comes to Nagios. I setup Nagios for Lab environment. My goal is to to monitor all linux volume automatically. This mean I have to setup additional command for each volume on both servicess.cfg and nrpe.cfg which it requires a lot of work and not efficient to do it man...