Re: [Nagios-users] About check_by_ssh plugin

2009-06-10 Thread Marc Powell
On Jun 10, 2009, at 4:09 AM, Simon Kainz wrote: > Jean Frontin wrote: >> Hello, >> >> In the check_by_ssh plugin help we can read : >> I want to restart the mysql server on a host different of the nagios >> host. > I would use the following: > > check_by_ssh -H -l -C "/etc/init.d/mysql restar

Re: [Nagios-users] About check_by_ssh plugin

2009-06-10 Thread Simon Kainz
Jean Frontin wrote: > Hello, > > In the check_by_ssh plugin help we can read : > > ... > -s, --services=LIST > list of nagios service names, separated by ':' > ... > > I want to restart the mysql server on a host different of the nagios > host. what service name must I have to use ? Is the

[Nagios-users] About check_by_ssh plugin

2009-06-10 Thread Jean Frontin
Hello, In the check_by_ssh plugin help we can read : ... -s, --services=LIST list of nagios service names, separated by ':' ... I want to restart the mysql server on a host different of the nagios host. what service name must I have to use ? Is the service_description field which has seve