check_by_ssh.cfg check_disk.cfg

chbaker at powersystems.rockwell.com chbaker at powersystems.rockwell.com
Fri Apr 4 00:31:12 CEST 2003


No clues anyone?

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





More information about the Users mailing list