check_by_ssh.cfg check_disk.cfg

Karl DeBisschop karl at debisschop.net
Fri Apr 4 07:07:21 CEST 2003


On Thu, 2003-04-03 at 17:31, chbaker at powersystems.rockwell.com wrote:
> No clues anyone?

I note that your remote invocation of check_disk has not critical
threshold, which I thing will return state unknown. That could be your
entire problem.

Did you try running the check_by_ssh ivcantaion on the command line?

Did you try riunning the check_disk incantation locally?

If the first item does not pan out, those are the steps I would take to
debug.

> Charles H. Baker
> chbaker at powersystems dot rockwell dot com
> work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302
> BOFH excuse #207:
> We are currently trying a new concept of using a live mouse.
> Unfortunately, one has yet to survive being hooked up to the
> computer.....please bear with us.
> 
> 
>                                                                                                                                                 
>                       chbaker at powersystems.rockwell                                                                                             
>                       .com                                  To:      nagios-users at lists.sourceforge.net                                         
>                       Sent by:                              cc:                                                                                 
>                       nagios-users-admin at lists.sour         Subject: [Nagios-users] check_by_ssh.cfg check_disk.cfg                             
>                       ceforge.net                                                                                                               
>                                                                                                                                                 
>                                                                                                                                                 
>                       04/03/2003 08:36 AM                                                                                                       
>                                                                                                                                                 
>                                                                                                                                                 
> 
> 
> 
> 
> My check_by_ssh.cfg looks like this:
> 
> command[ssh_disk]=/usr/lib/nagios/plugins/check_by_ssh -H $HOSTNAME$ -i
> $ARG1$ -C '/usr/lib/nagios/plugins/check_disk -w 15% -p $ARG2$'
> 
> I'm running my nagios server on a debian machine right now.
> And the old style configs like those above, are automatically
> converted and used properly.
> 
> The service definition looks like:
> 
> define service{
>       use                     generic-service
> 
>       host_name               usmghsysadm
>       service_description           Root Free Space
>       is_volatile             0
>       check_period                  24x7
>       max_check_attempts            3
>       normal_check_interval         5
>       retry_check_interval          1
>       contact_groups                linux-admins
>       notification_interval         120
>       notification_period           24x7
>       notification_options          w,u,c,r
>       check_command
> ssh_disk!/var/log/nagios/.ssh/identity!dev/hda2
>       }
> 
> 
> With all that being said, in the Service Detail page the status is
> reported as UNKOWN, and the Status Information is "Unable to
> read output:"
> 
> What am I doing wrong here? BTW, the nagios on my debian
> machine is 1.0 and the plugins are on usmghsysadm which is
> a RedHat 8 machine are the 1.3.0-1 rpm install.
> 
> Charles H. Baker
> chbaker at powersystems dot rockwell dot com
> work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302
> BOFH excuse #207:
> We are currently trying a new concept of using a live mouse.
> Unfortunately, one has yet to survive being hooked up to the
> computer.....please bear with us.
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: ValueWeb:
> Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
> No other company gives more support or power for your dedicated server
> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
> _______________________________________________
> 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
> 
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: ValueWeb: 
> Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
> No other company gives more support or power for your dedicated server
> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
> _______________________________________________
> 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



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
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