NagiosXi Auto Discovery glitch???
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: NagiosXi Auto Discovery glitch???
While normally I wouldn't suggest such drastic measures, I can't say I would suggest against it. It seems like your either missing some php packages or the php files from our install got corrupted somehow. Before you wipe it out, could you run:
rpm -qa | grep php
rpm -qa | grep php
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
mholtaftac
- Posts: 36
- Joined: Mon May 13, 2013 10:05 am
Re: NagiosXi Auto Discovery glitch???
[root@nagios etc]# rpm -qa |grep php
php-5.1.6-39.el5_8
php-mysql-5.1.6-39.el5_8
php-pear-1.4.9-8.el5
php-mssql-5.1.6-5.el5
php-gd-5.1.6-39.el5_8
php-devel-5.1.6-39.el5_8
php-pear-HTML-Template-IT-1.3.0-2.el5
php-pdo-5.1.6-39.el5_8
php-snmp-5.1.6-39.el5_8
php-mcrypt-5.1.6-5.el5
php-cli-5.1.6-39.el5_8
php-xml-5.1.6-39.el5_8
php-common-5.1.6-39.el5_8
php-pgsql-5.1.6-39.el5_8
php-5.1.6-39.el5_8
php-mysql-5.1.6-39.el5_8
php-pear-1.4.9-8.el5
php-mssql-5.1.6-5.el5
php-gd-5.1.6-39.el5_8
php-devel-5.1.6-39.el5_8
php-pear-HTML-Template-IT-1.3.0-2.el5
php-pdo-5.1.6-39.el5_8
php-snmp-5.1.6-39.el5_8
php-mcrypt-5.1.6-5.el5
php-cli-5.1.6-39.el5_8
php-xml-5.1.6-39.el5_8
php-common-5.1.6-39.el5_8
php-pgsql-5.1.6-39.el5_8
Re: NagiosXi Auto Discovery glitch???
What packages are updatable?
Code: Select all
yum list updates| grep phpFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
mholtaftac
- Posts: 36
- Joined: Mon May 13, 2013 10:05 am
Re: NagiosXi Auto Discovery glitch???
[root@nagios ~]# yum list update |grep php
Error: No matching Packages to list
[root@nagios ~]#
Error: No matching Packages to list
[root@nagios ~]#
Re: NagiosXi Auto Discovery glitch???
Hmmm. What distro and version are you running?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
mholtaftac
- Posts: 36
- Joined: Mon May 13, 2013 10:05 am
Re: NagiosXi Auto Discovery glitch???
[root@nagios ~]# uname -a
Linux nagios 2.6.18-348.6.1.el5 #1 SMP Fri Apr 26 09:21:26 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@nagios ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.9 (Tikanga)
Linux nagios 2.6.18-348.6.1.el5 #1 SMP Fri Apr 26 09:21:26 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@nagios ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.9 (Tikanga)
Re: NagiosXi Auto Discovery glitch???
Alright. You are missing a few php packages:
Install these with:
Code: Select all
php-mbstring
php-pear-Auth-SASL
php-pear-Net-SMTP
php-pear-Net-SocketCode: Select all
yum install <package name>Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
mholtaftac
- Posts: 36
- Joined: Mon May 13, 2013 10:05 am
Re: NagiosXi Auto Discovery glitch???
Okay, they've been installed. Restarted nagios and still doesn't work.
Re: NagiosXi Auto Discovery glitch???
You may have to restart httpd as well:
Are you getting the same errors?
Code: Select all
service httpd restartCode: Select all
tail -25 /var/log/httpd/error_logFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
mholtaftac
- Posts: 36
- Joined: Mon May 13, 2013 10:05 am
Re: NagiosXi Auto Discovery glitch???
[root@nagios ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[ OK ]
[root@nagios ~]# vi /etc/host
[root@nagios ~]# tail -25 /var/log/httpd/error_log
[Wed Jun 26 11:26:34 2013] [error] [client 198.201.85.78] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 2221, referer: http://198.201.85.38/nagiosxi//config/m ... wizard.php
[Wed Jun 26 15:11:25 2013] [error] [client 198.201.85.78] File does not exist: /usr/local/nagiosxi/html/includes/js/jquery/colorpicker/images/colorpicker_overlay.png, referer: http://198.201.85.38/nagiosxi/includes/ ... picker.css
[Wed Jun 26 17:15:10 2013] [notice] caught SIGTERM, shutting down
[Wed Jun 26 17:18:28 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Jun 26 17:18:28 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Jun 26 17:18:28 2013] [notice] Digest: done
[Wed Jun 26 17:18:29 2013] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations
[Wed Jun 26 17:23:14 2013] [error] [client 198.201.85.78] PHP Notice: Undefined index: passback_data in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 321, referer: http://198.201.85.38/nagiosxi//config/m ... e&show=all
[Wed Jun 26 17:23:16 2013] [error] [client 198.201.85.78] PHP Notice: Undefined index: passback_data in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 453, referer: http://198.201.85.38/nagiosxi//config/m ... wizard.php
[Wed Jun 26 17:23:18 2013] [error] [client 198.201.85.78] PHP Notice: Undefined index: passback_data in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 668, referer: http://198.201.85.38/nagiosxi//config/m ... wizard.php
[Wed Jun 26 17:23:18 2013] [error] [client 198.201.85.78] PHP Notice: Undefined index: nagios_objects in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 1996, referer: http://198.201.85.38/nagiosxi//config/m ... wizard.php
[Wed Jun 26 17:23:18 2013] [error] [client 198.201.85.78] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 2004, referer: http://198.201.85.38/nagiosxi//config/m ... wizard.php
[Wed Jun 26 17:23:18 2013] [error] [client 198.201.85.78] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 2518, referer: http://198.201.85.38/nagiosxi//config/m ... wizard.php
[Wed Jun 26 17:23:18 2013] [error] [client 198.201.85.78] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 2161, referer: http://198.201.85.38/nagiosxi//config/m ... wizard.php
[Wed Jun 26 17:23:18 2013] [error] [client 198.201.85.78] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 2221, referer: http://198.201.85.38/nagiosxi//config/m ... wizard.php
[Wed Jun 26 17:48:21 2013] [notice] caught SIGTERM, shutting down
[Wed Jun 26 17:48:21 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Jun 26 17:48:21 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Jun 26 17:48:21 2013] [notice] Digest: done
[Wed Jun 26 17:48:21 2013] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations
[Wed Jun 26 17:48:52 2013] [notice] caught SIGTERM, shutting down
[Wed Jun 26 17:48:53 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Jun 26 17:48:53 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Jun 26 17:48:53 2013] [notice] Digest: done
[Wed Jun 26 17:48:53 2013] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations
Stopping httpd: [ OK ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[ OK ]
[root@nagios ~]# vi /etc/host
[root@nagios ~]# tail -25 /var/log/httpd/error_log
[Wed Jun 26 11:26:34 2013] [error] [client 198.201.85.78] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 2221, referer: http://198.201.85.38/nagiosxi//config/m ... wizard.php
[Wed Jun 26 15:11:25 2013] [error] [client 198.201.85.78] File does not exist: /usr/local/nagiosxi/html/includes/js/jquery/colorpicker/images/colorpicker_overlay.png, referer: http://198.201.85.38/nagiosxi/includes/ ... picker.css
[Wed Jun 26 17:15:10 2013] [notice] caught SIGTERM, shutting down
[Wed Jun 26 17:18:28 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Jun 26 17:18:28 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Jun 26 17:18:28 2013] [notice] Digest: done
[Wed Jun 26 17:18:29 2013] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations
[Wed Jun 26 17:23:14 2013] [error] [client 198.201.85.78] PHP Notice: Undefined index: passback_data in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 321, referer: http://198.201.85.38/nagiosxi//config/m ... e&show=all
[Wed Jun 26 17:23:16 2013] [error] [client 198.201.85.78] PHP Notice: Undefined index: passback_data in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 453, referer: http://198.201.85.38/nagiosxi//config/m ... wizard.php
[Wed Jun 26 17:23:18 2013] [error] [client 198.201.85.78] PHP Notice: Undefined index: passback_data in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 668, referer: http://198.201.85.38/nagiosxi//config/m ... wizard.php
[Wed Jun 26 17:23:18 2013] [error] [client 198.201.85.78] PHP Notice: Undefined index: nagios_objects in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 1996, referer: http://198.201.85.38/nagiosxi//config/m ... wizard.php
[Wed Jun 26 17:23:18 2013] [error] [client 198.201.85.78] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 2004, referer: http://198.201.85.38/nagiosxi//config/m ... wizard.php
[Wed Jun 26 17:23:18 2013] [error] [client 198.201.85.78] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 2518, referer: http://198.201.85.38/nagiosxi//config/m ... wizard.php
[Wed Jun 26 17:23:18 2013] [error] [client 198.201.85.78] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 2161, referer: http://198.201.85.38/nagiosxi//config/m ... wizard.php
[Wed Jun 26 17:23:18 2013] [error] [client 198.201.85.78] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 2221, referer: http://198.201.85.38/nagiosxi//config/m ... wizard.php
[Wed Jun 26 17:48:21 2013] [notice] caught SIGTERM, shutting down
[Wed Jun 26 17:48:21 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Jun 26 17:48:21 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Jun 26 17:48:21 2013] [notice] Digest: done
[Wed Jun 26 17:48:21 2013] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations
[Wed Jun 26 17:48:52 2013] [notice] caught SIGTERM, shutting down
[Wed Jun 26 17:48:53 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Jun 26 17:48:53 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Jun 26 17:48:53 2013] [notice] Digest: done
[Wed Jun 26 17:48:53 2013] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations