check_by_ssh and Nagios communication [solved]
VEGH Karoly
karoly.vegh at uta.at
Fri Jan 31 08:52:18 CET 2003
> > Jim P [Contractor]
> > Sent: Wednesday, January 22, 2003 7:51 AM
> > To: 'VEGH Karoly'
> > Cc: nagios-users at lists.sourceforge.net
> > Subject: RE: [Nagios-users] check_by_ssh and Nagios communication
> >
> >
> > Try making these changes to your command_line in checkcommands.cfg:
> >
> > command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C
> > './libexec/check_disk -w 15% -c 5%'
> >
> > jc
Aaaaarrgghh. _of course_ this was the problem. I never thougt i could be so
blind, leaving the "command[ssh_disk]" string in the commandline to be executed :)
> > > exactly this stands in my checkcommands.cfg:
> > >
> > >
> > > newmx4:/opt/nagios# grep check_by_ssh etc/checkcommands.cfg
> > > command_line
> > > command[ssh_disk]=/opt/nagios/libexec/check_by_ssh
> > > -H $HOSTADDRESS$ -C '~/libexec/check_disk -w 15% -c 5%'
> > > newmx4:/opt/nagios#
thanks to all, who helped.
charlie
--
Végh Károly - System Engineer - UTA - TIS.SAS.BSS
Cynics says that Hungarians created America's Hollywood before
other Hungarians less destructively created America's A-bomb.
http://www.mek.iif.hu/kiallit/tudtor/tudos1/martians.html
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
More information about the Users
mailing list