checking unix load/disk space

admin at jpk236.com admin at jpk236.com
Wed May 4 18:02:27 CEST 2005


just wanted to clarify to the original poster that Marc probably didn't 
mean by passwordless ssh that you should create a user with no password. 
  That would be bad.  Instead you should use SSH keys to do passwordless 
ssh but still maintain some level of security.  Also don't forget to 
first SSH into the remote box so you can enter 'yes' to accepting the 
DSA fingerprint.

  - Justin Kulikowski
	[ http://www.jpk236.com ]


bru1n at comcast.net wrote:
> I use check_by_ssh because its pretty simple, as an active service check.
> 
> For the exact syntax, see:
> check_by_ssh -h
> check_disk -h
> check_load -h
> 
> You will need to setup passwordless ssh, and compile the plugins on the remote target, after that its very straight forward to configure checkcommands.cfg, and services.cfg.
> 
> The basics of the commands you will want to run are like this:
> check_by_ssh -H <host> -C "check_disk -w <warn%> -c <crit%> -p <mount>"
> check_by_ssh -H <host> -C "check_load -w <warn1,warn5, warn15> -c <crit1, crit5, crit15>
> 
> -Marc
> 
> 
> 
>>can somebody please tell me how to check a remote unix host for disk space 
>>and load?
>>
>>_________________________________________________________________
>>Be the first to hear what's new at MSN - sign up to our free newsletters! 
>>http://www.msn.co.uk/newsletters
>>
>>
>>
>>-------------------------------------------------------
>>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
> 
> 
> 
> -------------------------------------------------------
> 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


-------------------------------------------------------
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