xi 2012 CCM Variables not being passed

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
User avatar
arnab.roy
Posts: 354
Joined: Sat Apr 30, 2011 10:24 am

xi 2012 CCM Variables not being passed

Post by arnab.roy »

Hi Guys ,

I have service def which looks like $USER1$/./check_aruba_khipu.pl -C public -H $HOSTADDRESS$ -c ap_clients -x $HOSTNAME$ , it seems its no longer passing the $HOSTNAME$ variable to the check command can someone check this ..its wreaking havoc on our environment as all our wireless controller monitoring has gone off... :(
User avatar
arnab.roy
Posts: 354
Joined: Sat Apr 30, 2011 10:24 am

Re: xi 2012 CCM Variables not being passed

Post by arnab.roy »

OK BUG CONFIRMED, if $HOSTNAME$ has space in it then it goes pop....can you put this in for a fix...many thanks Arnab
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: xi 2012 CCM Variables not being passed

Post by scottwilkerson »

Arnab.roy,

Can you change the command for this to wrap $HOSTNAME$ with single quotes

i.e.

Code: Select all

$USER1$/check_aruba_khipu.pl -C public -H $HOSTADDRESS$ -c ap_clients -x '$HOSTNAME$'
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
arnab.roy
Posts: 354
Joined: Sat Apr 30, 2011 10:24 am

Re: xi 2012 CCM Variables not being passed

Post by arnab.roy »

yup that did the trick ..thanks scott