Monitoring disk usage

Guy Waugh guidosh at gmail.com
Wed Jul 15 16:16:44 CEST 2009


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 <juki.emma at gmail.com> wrote:

> Hi Guy,
>
>
> 2009/7/15 Guy Waugh <guidosh at gmail.com>
>
>> 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/BGw/Server1=16589MB;37990;43417;0;54272
>>>
>>> bash$ /usr/local/nagios/libexec/check_disk -w 30% -c 20% -p
>>> /var/opt/BGw/Server1
>>> DISK OK - free space: /var/opt/BGw/Server1 35614 MB (68% inode=97%);|
>>> /var/opt/BGw/Server1=16581MB;37990;43417;0;54272*
>>>
>>
>> OK, so they look like checks run from the monitored host itself, right?
>>
>
>
> Yes, indeed.
>
>
>
>>
>> Eek! How come there are two??? There should only be one nrpe daemon
>> running. You can see that the first one has been running since January. Kill
>> them both, with extreme prejudice, restart it and verify that there's only
>> one copy of the nrpe daemon running. This will probably solve your problem.
>>
>
>
> I have killed them both, however, I can't seem to get the nrpe daemon
> running again on the monitored host (the OS is Soalris 10) . This is what I
> executed;
>
> *bash$ svcadm enable nrpe
> bash$/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d*
>
>
> Then to verify...
>
> *bash-3.00# svcs | grep nrpe
> legacy_run     Jan_09   lrc:/etc/rc3_d/S60nrpe
> online         16:39:40 svc:/network/nrpe/tcp:default
> maintenance    16:41:16 svc:/application/management/nagios/nrpe:default*
>
> And more verification...
>
> *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.
>
> Am I doing the NRPE start up the right way? Are there other ways to start
> NRPE daemon on Solaris 10?
>
>
> Regards,
> Juki
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090715/7a2d65be/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list