Error in New CCM - illegal char in variable def
Posted: Fri May 31, 2013 1:16 pm
Here's the variable I've been using for a while:
"MessageCount DIRECT=OS:server.domain.local\\private$\\tn39 1000 5000"
As soon as I open the host object I'm getting an error in the new CCM that there is an illegal character in the variable definition and it's removing it, causing all the checks that reference the variable to go critical. This does not happen when I open the host object in the legacy CCM. I just upgraded to 2.1 but it could have been happening before, we don't touch these often.
Nagios XI Installation Profile
Download Profile
System:
Nagios XI Version : 2012R2.1
servername 2.6.32-220.13.1.el6.i686 i686
CentOS release 6.2 (Final)
Gnome Installed
Apache Information
PHP Version: 5.3.3
Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0
Server Name: nagios-savvis
Server Address: ip address
Server Port: 80
Date/Time
PHP Timezone: America/New_York
PHP Time: Fri, 31 May 2013 14:14:31 -0400
System Time: Fri, 31 May 2013 14:14:31 -0400
Nagios XI Data
nagios (pid 31517) is running...
NPCD running (pid 1953).
ndo2db (pid 22653) is running...
CPU Load 15: 2.68
Total Hosts: 870
Total Services: 12746
Function 'get_base_uri' returns: http://nagios-savvis/nagiosxi/
Function 'get_base_url' returns: http://nagios-savvis/nagiosxi/
Function 'get_backend_url(internal_call=false)' returns: http://nagios-savvis/nagiosxi/includes/ ... rofile.php
Function 'get_backend_url(internal_call=true)' returns: http://localhost/nagiosxi/backend/
Ping Test localhost
Running:
/bin/ping -c 3 localhost 2>&1
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.016 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.019 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.020 ms
--- localhost ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.016/0.018/0.020/0.004 ms
Test wget To locahost
WGET From URL: http://localhost/nagiosql/index.php
Running:
/usr/bin/wget http://localhost/nagiosql/index.php
--2013-05-31 14:14:33-- http://localhost/nagiosql/index.php
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5259 (5.1K) [text/html]
Saving to: `/tmp/nagiosql_index.tmp'
0K ..... 100% 360M=0s
2013-05-31 14:14:33 (360 MB/s) - `/tmp/nagiosql_index.tmp' saved [5259/5259]
"MessageCount DIRECT=OS:server.domain.local\\private$\\tn39 1000 5000"
As soon as I open the host object I'm getting an error in the new CCM that there is an illegal character in the variable definition and it's removing it, causing all the checks that reference the variable to go critical. This does not happen when I open the host object in the legacy CCM. I just upgraded to 2.1 but it could have been happening before, we don't touch these often.
Nagios XI Installation Profile
Download Profile
System:
Nagios XI Version : 2012R2.1
servername 2.6.32-220.13.1.el6.i686 i686
CentOS release 6.2 (Final)
Gnome Installed
Apache Information
PHP Version: 5.3.3
Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0
Server Name: nagios-savvis
Server Address: ip address
Server Port: 80
Date/Time
PHP Timezone: America/New_York
PHP Time: Fri, 31 May 2013 14:14:31 -0400
System Time: Fri, 31 May 2013 14:14:31 -0400
Nagios XI Data
nagios (pid 31517) is running...
NPCD running (pid 1953).
ndo2db (pid 22653) is running...
CPU Load 15: 2.68
Total Hosts: 870
Total Services: 12746
Function 'get_base_uri' returns: http://nagios-savvis/nagiosxi/
Function 'get_base_url' returns: http://nagios-savvis/nagiosxi/
Function 'get_backend_url(internal_call=false)' returns: http://nagios-savvis/nagiosxi/includes/ ... rofile.php
Function 'get_backend_url(internal_call=true)' returns: http://localhost/nagiosxi/backend/
Ping Test localhost
Running:
/bin/ping -c 3 localhost 2>&1
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.016 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.019 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.020 ms
--- localhost ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.016/0.018/0.020/0.004 ms
Test wget To locahost
WGET From URL: http://localhost/nagiosql/index.php
Running:
/usr/bin/wget http://localhost/nagiosql/index.php
--2013-05-31 14:14:33-- http://localhost/nagiosql/index.php
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5259 (5.1K) [text/html]
Saving to: `/tmp/nagiosql_index.tmp'
0K ..... 100% 360M=0s
2013-05-31 14:14:33 (360 MB/s) - `/tmp/nagiosql_index.tmp' saved [5259/5259]