3 Newbie Nagios questions (undetermined time, Citrix testing, Ora cle testing)

Tom DE BLENDE (GCC) Tom.DeBlende at dhl.com
Thu Aug 21 09:12:07 CEST 2003



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.



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
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