Re: [Nagios-users] Monitoring disk usage

2009-07-17 Thread Mathew Walker
agios-users] Monitoring disk usage Hi Guy, My findings in-line... 2009/7/15 Guy Waugh They should only be defined in one place. From those errors, it sounds like NRPE on the monitored host doesn't have those commands defined, which suggests that it's not reading your nrpe.cfg

Re: [Nagios-users] Monitoring disk usage

2009-07-15 Thread Juki
Hi Marc, 2009/7/15 Marc Powell > Are you sure it's listing port numbers and not symbolic names. Try > 'netstat -an | grep 5666'. > > * bash-3.00# netstat -an | grep 5666 *.5666 *.*0 0 49152 0 LISTEN* The NRPE daemon still doesn't seem to be runnin

Re: [Nagios-users] Monitoring disk usage

2009-07-15 Thread Marc Powell
On Jul 15, 2009, at 9:16 AM, Guy Waugh wrote: > bash-3.00# netstat -a | grep 5666 > > > The netstat command above didn't return any output. So this means > the NRPE daemon is either not running or not listening on port 5666. Are you sure it's listing port numbers and not symbolic names. Try

Re: [Nagios-users] Monitoring disk usage

2009-07-15 Thread Guy Waugh
Hi Juki, I'm not a Solaris 10 expert, but... do you have two versions of NRPE configured, one through 'lrc' and one through 'svc'? I don't know what the 'maintenance' entry means, but it doesn't look happy. Any Solaris 10 people out there? Cheers, Guy. On Wed, Jul 15, 2009 at 3:09 PM, Juki wro

Re: [Nagios-users] Monitoring disk usage

2009-07-15 Thread Juki
Hi Guy, 2009/7/15 Guy Waugh > Yes, indeed the checks do work. These have been run on the monitored host. >> See below; >> >> *bash$ /usr/local/nagios/libexec/check_disk -w 30% -c 20% -p >> /var/opt/BGw/Server1 >> DISK OK - free space: /var/opt/BGw/Server1 35606 MB (68% inode=97%);| >> /var/opt/

Re: [Nagios-users] Monitoring disk usage

2009-07-15 Thread Guy Waugh
Hi Juki, On Wed, Jul 15, 2009 at 2:14 PM, Juki wrote: > Hi Guy, > > My findings in-line... > > > 2009/7/15 Guy Waugh > >> They should only be defined in one place. From those errors, it sounds >> like NRPE on the monitored host doesn't have those commands defined, which >> suggests that it's no

Re: [Nagios-users] Monitoring disk usage

2009-07-15 Thread Juki
Hi Guy, My findings in-line... 2009/7/15 Guy Waugh > They should only be defined in one place. From those errors, it sounds like > NRPE on the monitored host doesn't have those commands defined, which > suggests that it's not reading your nrpe.cfg config file. I would check out > NRPE on the m

Re: [Nagios-users] Monitoring disk usage

2009-07-15 Thread Guy Waugh
Hi Juki, On Wed, Jul 15, 2009 at 12:46 PM, Juki wrote: > Hi Guy, > > I tried all the changes as per your suggestion, however, I still come up > with the same errors as before, that is; > > "NRPE: Command 'check_ora' not defined" > "NRPE: Command 'check_server1' not defined" > "NRPE: Command 'che

Re: [Nagios-users] Monitoring disk usage

2009-07-15 Thread Marc Powell
On Jul 15, 2009, at 6:46 AM, Juki wrote: > Hi Guy, > > I tried all the changes as per your suggestion, however, I still > come up with the same errors as before, that is; > > "NRPE: Command 'check_ora' not defined" > "NRPE: Command 'check_server1' not defined" > "NRPE: Command 'check_var' not d

Re: [Nagios-users] Monitoring disk usage

2009-07-15 Thread Juki
Hi Guy, I tried all the changes as per your suggestion, however, I still come up with the same errors as before, that is; "NRPE: Command 'check_ora' not defined" "NRPE: Command 'check_server1' not defined" "NRPE: Command 'check_var' not defined" Where else in the configuration files on the moni

Re: [Nagios-users] Monitoring disk usage

2009-07-15 Thread Guy Waugh
Hi Juki, On Wed, Jul 15, 2009 at 10:24 AM, Juki wrote: > Hi Guy, > > Many thanks for your post. > > I decided to go with Option (1) as per your description and did the > following in the nrpe.cfg file on the monitored host: > > command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 2

Re: [Nagios-users] Monitoring disk usage

2009-07-15 Thread Juki
Hi Guy, Many thanks for your post. I decided to go with Option (1) as per your description and did the following in the nrpe.cfg file on the monitored host: command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 20% -p / command[check_var]=/usr/local/nagios/libexec/check_disk -w 30%

Re: [Nagios-users] Monitoring disk usage

2009-07-15 Thread Guy Waugh
Hi Juki, As I understand it, you can either (1) 'hard-code' your NRPE checks in the nrpe.cfg file on the monitored host (so that the checks are explicitly defined), or (2) set up NRPE on the monitored host in such a way that you can pass arguments in your NRPE checks. It looks like you're landing

Re: [Nagios-users] Monitoring disk usage

2009-07-14 Thread Juki
Hello again, Thanks for the tips so far. Now some responses; On the monitored host, I have setup nrpe.cfg and therein I have set the option "allowed_hosts=" and also revised the format as shown below; *#specific commands# command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 15% -p

Re: [Nagios-users] Monitoring disk usage

2009-07-14 Thread Morris, Patrick
On Tue, 14 Jul 2009, Juki wrote: > Hello, > > I have installed nrpe v2.11 on a monitored host running Solaris 10. An > excerpt from nrpe.cfg on the monitored host is as follows; > > command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 15% -p / > command[check_disk]=/usr/local/nagi

Re: [Nagios-users] Monitoring disk usage

2009-07-14 Thread David Rosenstrauch
Juki wrote: > Hello, > > I have installed nrpe v2.11 on a monitored host running Solaris 10. An > excerpt from nrpe.cfg on the monitored host is as follows; > > *command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 15% -p / > > command[check_disk]=/usr/local/nagios/libexec/check_di

Re: [Nagios-users] Monitoring disk usage

2009-07-14 Thread Marc Powell
On Jul 14, 2009, at 3:58 AM, Juki wrote: > Hello, > > I have installed nrpe v2.11 on a monitored host running Solaris 10. > An excerpt from nrpe.cfg on the monitored host is as follows; > > command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c > 15% -p / > command[check_disk]=/us

[Nagios-users] Monitoring disk usage

2009-07-14 Thread Juki
Hello, I have installed nrpe v2.11 on a monitored host running Solaris 10. An excerpt from nrpe.cfg on the monitored host is as follows; *command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 15% -p / command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 20% -p /var/opt

Re: [Nagios-users] monitoring disk usage of remote server

2008-08-26 Thread Ian Masters
> I can check the disk usage locally with the command check_disk. But I need to monitor the disk usage of remote servers. Check_disk command doesn't have any option to specify the name of the remote server to be monitored... Use the NRPE add-on: http://nagios.sourceforge.net/docs/3_0/monitoring-li

Re: [Nagios-users] monitoring disk usage of remote server

2008-08-26 Thread Cammack, Jim (DFW)
Chandra, >>> jeffrey Lang 08/26/2008 11:38:05 AM >>> One way i figured out how to do this is to setup CIFS/SMB and use check_disk_smb. Share the file system out with samba which is easy to setup. Just share out as read only and limit who can access the shares. Then use check_disk_smb to verify the

Re: [Nagios-users] monitoring disk usage of remote server

2008-08-26 Thread jeffrey Lang
One way i figured out how to do this is to setup CIFS/SMB and use check_disk_smb.Share the file system out with samba which is easy to setup. Just share out as read only and limit who can access the shares. Then use check_disk_smb to verify the disk usage. Chandra Bahadur wrote: Hi

Re: [Nagios-users] monitoring disk usage of remote server

2008-08-26 Thread Agnello George
On 8/26/08, Chandra Bahadur <[EMAIL PROTECTED]> wrote: > > > Hi > I can check the disk usage locally with the command check_disk. But I > need to monitor the disk usage of remote servers. Check_disk command doesn't > have any option to specify the name of the remote server to be monitored...

Re: [Nagios-users] monitoring disk usage of remote server

2008-08-26 Thread Matthew Pounsett
On 26-Aug-2008, at 12:27 , Chandra Bahadur wrote: How do I monitor the disk usage of remote servers ?? By either using check_by_ssh or with a remote agent like NRPE. The check_by_ssh method looks something like this: define command { command_namecheck_disk_remote command_line

[Nagios-users] monitoring disk usage of remote server

2008-08-26 Thread Chandra Bahadur
Hi     I can check the disk usage locally with the command check_disk. But I need to monitor the disk usage of remote servers. Check_disk command doesn't have any option to specify the name of the remote server to be monitored...       How do I monitor the disk usage of remote servers ??