UNKNOWN: Unable to find system uptime on host xx.xx.xxx.

Askar Ali askarali at beaconet.net
Thu May 5 16:10:55 CEST 2005


Subhendu Ghosh wrote:

> On Thu, 5 May 2005, Askar Ali wrote:
>
>> hi list
>>
>>         I have a little problem with check_uptime plugin. if I run it 
>> from CLI to check the uptime of the localhost with ....
>> ./check_uptime -H 127.0.0.1
>> OR
>> ./check_uptime -H xxx.xxx.xx.xx (public ip) , it shows the uptime of 
>> the system, however configuring it in checkcommand.cgi
>>
>> # 'check_uptime' command definition
>> define command{
>>       command_name    check_uptime
>>       command_line    $USER1$/check_uptime -H $HOSTADDRESS$
>>       }
>>
>> then it gives error on web interface and off course send email :)
>> "UNKNOWN: Unable to find system uptime on host xxx.xxx.xxx.xx"
>>
>>
>> Regards
>>
>> Askar Ali
>>
>
>
> which version are you using?
>
> I thought uptime only worked on local hosts

Nagios 2.0b2
yep I know check_uptime works on localhost. And i'm checking the uptime 
of the localhost



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
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