Unable to run check_disk_remote with nrpe
ankush grover
grover1711 at gmail.com
Mon Jan 24 08:10:02 CET 2011
On Sun, Jan 23, 2011 at 4:32 PM, Yueh-Hung Liu <yuehung.liu at gmail.com> wrote:
> should it be "check_nrpe -H test.example.com -c
> check_disk_remoteserver" on Nagios server?
>
>
>
What I am trying to say even I run check_nrpe on the localserver it is
giving the below error. Once check_nrpe runs fine from the localserver
it should run fine from the Nagios server also.
stderr = 65280 :
error:
|
> On Sun, Jan 23, 2011 at 4:22 PM, ankush grover <grover1711 at gmail.com> wrote:
>> Hi Friends,
>>
>> I am trying to return output of check_disk_remote command through nrpe
>> to the Nagios server but it is returning below error whereas the
>> command is running properly without check_nrpe. The remote
>> server(test.example.com) is not accessible through ssh from the Nagios
>> server so I am running check_disk_remote plugin from a localserver
>> which is already a nrpe client and running some checks like disk,load
>> etc..
>>
>> Nagios Server: 2.7 on Centos 5.5
>> Localserver: Ubuntu 8.04 32-bit
>>
>>
>> What could be the reason for this issue?
>>
>> /check_nrpe -H localhost -c check_disk_remoteserver
>>
>> stderr = 65280 :
>> error:
>> |
>>
>> nrpe.cfg
>> command[check_disk_remoteserver]=/usr/lib/nagios/plugins/check_disk_remote
>> -e ssh -H test.example -v -w 70 -c 8
>> 5
>>
>> Output of
>> /usr/lib/nagios/plugins/check_disk_remote -e ssh -H test.example.com
>> -v -w 70 -c 85
>>
>> Filesystem 1024-blocks Used Available Capacity Mounted on
>> /dev/sda1 2064208 1166612 792740 60% /
>> percent = 60% warn=70 crit=85
>> tmpfs 873828 0 873828 0% /lib/init/rw
>> varrun 873828 48 873780 1% /var/run
>> varlock 873828 0 873828 0% /var/lock
>> udev 873828 432 873396 1% /dev
>> tmpfs 873828 0 873828 0% /dev/shm
>> /dev/sda2 153899044 192072 145889348 1% /mnt
>> percent = 1% warn=70 crit=85
>> /dev/sdf 15481840 2528508 12166900 18% /data
>> percent = 18% warn=70 crit=85
>> OK: All Filesystems are below threshold (70/85%) | /=60%;;;0;100
>> /mnt=1%;;;0;100 /data=18%;;;0;100
>>
>>
>> Regards
>>
>> Ankush
>>
>> ------------------------------------------------------------------------------
>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>> Finally, a world-class log management solution at an even better price-free!
>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>> February 28th, so secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsight-sfd2d
>> _______________________________________________
>> 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
>>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> 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
>
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
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