WebInject problem
Posted: Thu Nov 19, 2015 5:03 pm
(No output on stdout) stderr: Can't locate XML/Simple.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./webinject.pl line 24.
That problem start when I follow that guide to enable VMware. https://assets.nagios.com/downloads/nag ... ios-XI.pdf
I think the part about remove perl-xml and reinstall it for VMware broke something.
Can you help me to fix that please.
Nagios XI Installation Profile
System:
Nagios XI Version : 5.2.2
sldmon0139 3.10.0-229.14.1.el7.x86_64 x86_64
Red Hat Enterprise Linux Server release 7.1 (Maipo)
Gnome is not installed
Apache Information
PHP Version: 5.4.16
Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36
Server Name: sldmon0139.saq.qc.ca
Server Address: 172.26.14.229
Server Port: 80
Date/Time
PHP Timezone: US/Eastern
PHP Time: Thu, 19 Nov 2015 17:03:16 -0500
System Time: Thu, 19 Nov 2015 17:03:16 -0500
Nagios XI Data
License ends in:
Days left in Trial: 38
nagios (pid 7684) is running...
NPCD running (pid 24186).
ndo2db (pid 24113) is running...
CPU Load 15: 0.60
Total Hosts: 101
Total Services: 323
Function 'get_base_uri' returns: http://sldmon0139.saq.qc.ca/nagiosxi/
Function 'get_base_url' returns: http://sldmon0139.saq.qc.ca/nagiosxi/
Function 'get_backend_url(internal_call=false)' returns: http://sldmon0139.saq.qc.ca/nagiosxi/in ... 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.039 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.043 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.044 ms
--- localhost ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.039/0.042/0.044/0.002 ms
Test wget To localhost
WGET From URL: http://localhost/nagiosxi/includes/components/ccm/
Running:
/usr/bin/wget http://localhost/nagiosxi/includes/components/ccm/
--2015-11-19 17:03:18-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: '/usr/local/nagiosxi/tmp/ccm_index.tmp'
0K .......... 988K=0.01s
2015-11-19 17:03:18 (988 KB/s) - '/usr/local/nagiosxi/tmp/ccm_index.tmp' saved [10946]
Network Settings
1: lo: mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno16780032: mtu 1500 qdisc mq state UP qlen 1000
link/ether 00:50:56:8c:07:28 brd ff:ff:ff:ff:ff:ff
inet 172.26.14.229/24 brd 172.26.14.255 scope global eno16780032
valid_lft forever preferred_lft forever
inet6 fe80::250:56ff:fe8c:728/64 scope link
valid_lft forever preferred_lft forever
default via 172.26.14.1 dev eno16780032 proto static metric 100
172.26.14.0/24 dev eno16780032 proto kernel scope link src 172.26.14.229 metric 100
That problem start when I follow that guide to enable VMware. https://assets.nagios.com/downloads/nag ... ios-XI.pdf
I think the part about remove perl-xml and reinstall it for VMware broke something.
Can you help me to fix that please.
Nagios XI Installation Profile
System:
Nagios XI Version : 5.2.2
sldmon0139 3.10.0-229.14.1.el7.x86_64 x86_64
Red Hat Enterprise Linux Server release 7.1 (Maipo)
Gnome is not installed
Apache Information
PHP Version: 5.4.16
Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36
Server Name: sldmon0139.saq.qc.ca
Server Address: 172.26.14.229
Server Port: 80
Date/Time
PHP Timezone: US/Eastern
PHP Time: Thu, 19 Nov 2015 17:03:16 -0500
System Time: Thu, 19 Nov 2015 17:03:16 -0500
Nagios XI Data
License ends in:
Days left in Trial: 38
nagios (pid 7684) is running...
NPCD running (pid 24186).
ndo2db (pid 24113) is running...
CPU Load 15: 0.60
Total Hosts: 101
Total Services: 323
Function 'get_base_uri' returns: http://sldmon0139.saq.qc.ca/nagiosxi/
Function 'get_base_url' returns: http://sldmon0139.saq.qc.ca/nagiosxi/
Function 'get_backend_url(internal_call=false)' returns: http://sldmon0139.saq.qc.ca/nagiosxi/in ... 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.039 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.043 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.044 ms
--- localhost ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.039/0.042/0.044/0.002 ms
Test wget To localhost
WGET From URL: http://localhost/nagiosxi/includes/components/ccm/
Running:
/usr/bin/wget http://localhost/nagiosxi/includes/components/ccm/
--2015-11-19 17:03:18-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: '/usr/local/nagiosxi/tmp/ccm_index.tmp'
0K .......... 988K=0.01s
2015-11-19 17:03:18 (988 KB/s) - '/usr/local/nagiosxi/tmp/ccm_index.tmp' saved [10946]
Network Settings
1: lo: mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno16780032: mtu 1500 qdisc mq state UP qlen 1000
link/ether 00:50:56:8c:07:28 brd ff:ff:ff:ff:ff:ff
inet 172.26.14.229/24 brd 172.26.14.255 scope global eno16780032
valid_lft forever preferred_lft forever
inet6 fe80::250:56ff:fe8c:728/64 scope link
valid_lft forever preferred_lft forever
default via 172.26.14.1 dev eno16780032 proto static metric 100
172.26.14.0/24 dev eno16780032 proto kernel scope link src 172.26.14.229 metric 100