Search found 7 matches
- Wed Dec 04, 2013 9:23 am
- Forum: Open Source Nagios Projects
- Topic: Nested FS Monitoring troubles
- Replies: 14
- Views: 5528
Re: Nested FS Monitoring troubles
After having made the necessary modifications for nagios to access the bash shell, I'm now able to execute the command su -l nagios -c '/usr/lib64/nagios/plugins/check_disk -w 10% -c 5% -p /opt/mount-a/mount-a1' DISK OK - free space: / 3036 MB (39% inode=86%);| /=4557MB;7200;7600;0;8000 As I'm still...
- Tue Dec 03, 2013 11:19 am
- Forum: Open Source Nagios Projects
- Topic: Nested FS Monitoring troubles
- Replies: 14
- Views: 5528
Re: Nested FS Monitoring troubles
Interestingly enough, this is the output I receive when executing as user: nagios: [root@nagios-server01 ~]# su -l nagios -c '/usr/lib64/nagios/plugins/check_disk -w 10% -c 5% -p /opt/mount-a/mount-a1' This account is currently not available. What's the output of the following command? grep nagios ...
- Mon Dec 02, 2013 10:35 am
- Forum: Open Source Nagios Projects
- Topic: Nested FS Monitoring troubles
- Replies: 14
- Views: 5528
Re: Nested FS Monitoring troubles
I actually wanted to see the actual command that you run from the command line and the output of it, ran on the Nagios server (not locally). You can also try running it locally as nagios user and show us the output: su -l nagios -c '/usr/lib64/nagios/plugins/check_disk -w 10% -c 5% -p /opt/mount-a/...
- Wed Nov 27, 2013 11:49 am
- Forum: Open Source Nagios Projects
- Topic: Nested FS Monitoring troubles
- Replies: 14
- Views: 5528
Re: Nested FS Monitoring troubles
Can you show up the actual command that you are running from the command line and the output of it? Here's what I see when I execute the check_disk command on the system in question: [root@host1 ~]# /usr/lib64/nagios/plugins/check_disk -w 10% -c 5% -p /opt/mount-a/ DISK OK - free space: /opt/mount-...
- Mon Nov 25, 2013 5:54 pm
- Forum: Open Source Nagios Projects
- Topic: Nested FS Monitoring troubles
- Replies: 14
- Views: 5528
Re: Nested FS Monitoring troubles
One thing worth noting, but I'm not sure if it has any barring on the solution: Each directory in the FS is mounted on local storage via LVM, as indicated in the FSTAB entries below: /dev/vg00/lv_mount-a /opt/mount-a ext3 defaults 1 2 /dev/vg00/lv_mount-a1 /opt/mount-a/mount-a1 ext3 defaults 1 2 /de...
- Mon Nov 25, 2013 5:36 pm
- Forum: Open Source Nagios Projects
- Topic: Nested FS Monitoring troubles
- Replies: 14
- Views: 5528
Re: Nested FS Monitoring troubles
Yes, I have 755 on all directories in question.
- Mon Nov 25, 2013 5:03 pm
- Forum: Open Source Nagios Projects
- Topic: Nested FS Monitoring troubles
- Replies: 14
- Views: 5528
Nested FS Monitoring troubles
I'm still VERY new to Nagios and am having some issues with monitoring my filesystem. The hierarchy of the FS in question looks something like this: /opt/mount-a /opt/mount-a/mount-a1 /opt/mount-a/mount-a2 The Disk Check command I'm using for the host1.cfg file looks like this: # Check Disk Space de...