Re: [Nagios-users] 3 Newbie Nagios questions (undetermined time, Citrix testing, Ora cle testing)
Nagios network monitoring software is enterprise server monitoring
Brought to you by:
egalstad,
sawolf-nagios
From: Tom DE B. (GCC) <Tom...@dh...> - 2003-08-22 09:31:02
|
McKay-Mills, Simon wrote: >1 - RTFM - Doh! - thanks for the link :-) > Didn't want to put it that explicit... but yes :-) >2 - check_citrix, all works great from the shell (nice tool!). So it must be >the way I've set up things in Nagios. In the checkcommands.cfg I have set: > ># 'check_citrix' command defnition >Define command{ > command_name check_citrix > command_line $USER1$/check_citrix $ARG1$ $ARG2$ (SHOULD THIS >BE IN A DIFFERENT FORMAT?) > Well, what I do is putting the parameters in here. Like this: # 'check_citrix_apps' command definition define command{ command_name check_citrix_apps command_line $USER1$/check_cit -W $ARG1$ -P $ARG2$ -L -C server1 -C server2 -C server3 } But it should work like you do it too. >And in the hosts.cfg a host definition of voyager-01. In the hostsgroup.cfg >hostgroup_name of citrix-servers with voyager-01 as a member. > >In the services.cfg > ># Service Definition >define service{ > use generic-service ;Name of service >template to use > > host_name voyager-01 > service_description Citrix (DOES THIS NEED TO BE TIED >TO ANOTHER ENTRY?) > No. > <snip> > check_command check_citrix -B=10.10.10.10 -Ppubapp1 > >Error message from the -v option > >Service check command 'check_citrix -B=10.10.10.10 -Ppubapp1' specified in >service 'Citrix' for host voyager-01 not defined anywhere > This is normal, it needs the splitting ! signs. >If I change the check_command in the the services.cfg to the following > > check_command check_citrix!-B=10.10.10.10!-Ppubapp1 > >The -v option doesn't detect any errors, BUT, it doesn't appear as a service >for the server... > Could you verify that you don't have multiple Nagios processes running? Shut down Nagios. Wait a sec and do a "ps -ef" to see whether all Nagios procs are truely gone. |