Hi I am having issues trying to select nodes from my autodiscovery jobs (all), the bage is blank when I click on the link showing the number of hosts found. Followed the steps in this post by replacing the auto discovery files but no luck.
https://support.nagios.com/forum/viewto ... =6&t=37160
As per the article referenced, attached please find the tail of the apache log files along with my system profile.
Any help would be appreciated.
Moderator's Note: The profile has been shared with the support team but has been removed from the public forum.
Blank Page when selecting nodes form AutoDiscovery jobs
Re: Blank Page when selecting nodes form AutoDiscovery jobs
Code: Select all
touch: cannot touch '/usr/local/nagiosxi/html/includes/components/autodiscovery/jobs/BCQJLK.watch': Permission denied
sh: /usr/local/nagiosxi/html/includes/components/autodiscovery/jobs/BCQJLK.out: Permission deniedCode: Select all
chage -l nagios
grep nag /etc/group
cat /etc/sudoers | grep autodisc
ls -l /usr/local/nagiosxi/html/includes/components/autodiscovery/jobs
ls -ld /usr/local/nagiosxi/html/includes/components/autodiscovery/jobs
ls -l /usr/local/nagiosxi/html/includes/components/autodiscovery
ls -ld /usr/local/nagiosxi/html/includes/components/autodiscovery
Re: Blank Page when selecting nodes form AutoDiscovery jobs
Thanks for your quick response. Below please find the combined output of all commands:
[root@PRDCOLNAGIOS ~]# chage -l nagios
Last password change : Sep 26, 2019
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7
[root@PRDCOLNAGIOS ~]#
[root@PRDCOLNAGIOS ~]# grep nag /etc/group
nagios
1000:nagios,apache,snmptt
nagcmd
1001:nagios,apache,snmptt
[root@PRDCOLNAGIOS ~]#
[root@PRDCOLNAGIOS ~]# cat /etc/sudoers | grep autodisc
NAGIOSXI ALL = NOPASSWD:/usr/bin/php /usr/local/nagiosxi/scripts/componen
ts/autodiscover_new.php *
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/php /usr/local/nagiosxi/scripts/compo
nents/autodiscover_new.php *
[root@PRDCOLNAGIOS ~]#
[root@PRDCOLNAGIOS ~]# ls -l /usr/local/nagiosxi/html/includes/components
/autodiscovery/jobs
total 5184
-rw-r--r-- 1 nagios nagios 58752 Sep 27 2020 5be0QU.out
-rw-r--r-- 1 nagios nagios 0 Sep 27 2020 5be0QU.watch
-rw-r--r-- 1 nagios nagios 17485 Sep 27 2020 5be0QU.xml
-rw-r--r-- 1 nagios nagios 832926 Jan 28 01:37 60N9Mk.out
-rw-r--r-- 1 nagios nagios 0 Jan 28 01:34 60N9Mk.watch
-rw-r--r-- 1 nagios nagios 296716 Jan 28 01:37 60N9Mk.xml
-rw-r--r-- 1 nagios nagios 1080022 Oct 15 09:25 79QiUK.out
-rw-r--r-- 1 nagios nagios 0 Oct 15 09:22 79QiUK.watch
-rw-r--r-- 1 nagios nagios 331537 Oct 15 09:25 79QiUK.xml
-rw-r--r-- 1 nagios nagios 10425 Nov 16 14:10 7CoJ0j.out
-rw-r--r-- 1 nagios nagios 0 Nov 16 14:10 7CoJ0j.watch
-rw-r--r-- 1 nagios nagios 1637 Nov 16 14:10 7CoJ0j.xml
-rw-r--r-- 1 nagios nagios 63865 Aug 2 2020 B5A0Ac.out
-rw-r--r-- 1 nagios nagios 0 Aug 2 2020 B5A0Ac.watch
-rw-r--r-- 1 nagios nagios 20524 Aug 2 2020 B5A0Ac.xml
-rw-r--r-- 1 nagios nagios 60234 Oct 1 2020 d89o49.out
-rw-r--r-- 1 nagios nagios 0 Oct 1 2020 d89o49.watch
-rw-r--r-- 1 nagios nagios 17403 Oct 1 2020 d89o49.xml
-rw-r--r-- 1 nagios nagios 261901 Aug 31 2020 E2uR2e.out
-rw-r--r-- 1 nagios nagios 0 Aug 31 2020 E2uR2e.watch
-rw-r--r-- 1 nagios nagios 81436 Aug 31 2020 E2uR2e.xml
-rw-r--r-- 1 nagios nagios 32411 Jan 27 23:49 EE3QPo.out
-rw-r--r-- 1 nagios nagios 0 Jan 27 23:49 EE3QPo.watch
-rw-r--r-- 1 nagios nagios 8427 Jan 27 23:49 EE3QPo.xml
-rw-r--r-- 1 nagios nagios 9454 Nov 9 12:30 fOPrf6.out
-rw-r--r-- 1 nagios nagios 0 Nov 9 12:30 fOPrf6.watch
-rw-r--r-- 1 nagios nagios 1342 Nov 9 12:30 fOPrf6.xml
-rw-r--r-- 1 nagios nagios 44159 Jan 5 01:26 IONH6d.out
-rw-r--r-- 1 nagios nagios 0 Jan 5 01:25 IONH6d.watch
-rw-r--r-- 1 nagios nagios 11721 Jan 5 01:26 IONH6d.xml
-rw-r--r-- 1 nagios nagios 13200 Oct 13 09:16 jXX6Fa.out
-rw-r--r-- 1 nagios nagios 0 Oct 13 09:16 jXX6Fa.watch
-rw-r--r-- 1 nagios nagios 2120 Oct 13 09:16 jXX6Fa.xml
-rw-r--r-- 1 nagios nagios 413446 Oct 14 15:00 l8WabA.out
-rw-r--r-- 1 nagios nagios 0 Oct 14 14:58 l8WabA.watch
-rw-r--r-- 1 nagios nagios 144691 Oct 14 15:00 l8WabA.xml
-rw-r--r-- 1 nagios nagios 63723 Jan 28 01:35 lYn2YQ.out
-rw-r--r-- 1 nagios nagios 0 Jan 28 01:34 lYn2YQ.watch
-rw-r--r-- 1 nagios nagios 16467 Jan 28 01:35 lYn2YQ.xml
-rw-r--r-- 1 nagios nagios 42415 Sep 27 2020 MWTT6E.out
-rw-r--r-- 1 nagios nagios 0 Sep 27 2020 MWTT6E.watch
-rw-r--r-- 1 nagios nagios 11908 Sep 27 2020 MWTT6E.xml
-rw-r--r-- 1 nagios nagios 61616 Aug 31 2020 oej5CQ.out
-rw-r--r-- 1 nagios nagios 0 Aug 31 2020 oej5CQ.watch
-rw-r--r-- 1 nagios nagios 21917 Aug 31 2020 oej5CQ.xml
-rw-r--r-- 1 nagios nagios 235083 Oct 13 09:17 pieMOu.out
-rw-r--r-- 1 nagios nagios 0 Oct 13 09:17 pieMOu.watch
-rw-r--r-- 1 nagios nagios 70683 Oct 13 09:17 pieMOu.xml
-rw-r--r-- 1 nagios nagios 12324 Jan 27 23:37 taYTHs.out
-rw-r--r-- 1 nagios nagios 0 Jan 27 23:37 taYTHs.watch
-rw-r--r-- 1 nagios nagios 1803 Jan 27 23:37 taYTHs.xml
-rw-r--r-- 1 nagios nagios 201013 Aug 31 2020 WQ7ve6.out
-rw-r--r-- 1 nagios nagios 0 Aug 31 2020 WQ7ve6.watch
-rw-r--r-- 1 nagios nagios 58192 Aug 31 2020 WQ7ve6.xml
-rw-r--r-- 1 nagios nagios 79226 Jan 5 01:25 XaBXs3.out
-rw-r--r-- 1 nagios nagios 0 Jan 5 01:24 XaBXs3.watch
-rw-r--r-- 1 nagios nagios 21905 Jan 5 01:25 XaBXs3.xml
-rw-r--r-- 1 nagios nagios 378765 Jan 27 21:34 YJpKdZ.out
-rw-r--r-- 1 nagios nagios 0 Jan 27 21:32 YJpKdZ.watch
-rw-r--r-- 1 nagios nagios 123508 Jan 27 21:34 YJpKdZ.xml
[root@PRDCOLNAGIOS ~]#
[root@PRDCOLNAGIOS ~]# ls -ld /usr/local/nagiosxi/html/includes/component
s/autodiscovery/jobs
drwxrwxrw- 2 nagios nagios 4096 Apr 11 23:59 /usr/local/nagiosxi/html/inc
ludes/components/autodiscovery/jobs
[root@PRDCOLNAGIOS ~]#
[root@PRDCOLNAGIOS ~]# ls -l /usr/local/nagiosxi/html/includes/components
/autodiscovery
total 72
-rw-r--r-- 1 nagios nagios 12957 Apr 5 09:15 autodiscovery.inc.php
-rw-r--r-- 1 nagios nagios 2329 Apr 5 09:15 CHANGES.TXT
drwxr-xr-x 2 nagios nagios 4096 Sep 26 2019 images
-rw-r--r-- 1 nagios nagios 42132 Apr 5 09:15 index.php
drwxrwxrw- 2 nagios nagios 4096 Apr 11 23:59 jobs
[root@PRDCOLNAGIOS ~]#
[root@PRDCOLNAGIOS ~]# ls -ld /usr/local/nagiosxi/html/includes/component
s/autodiscovery
drwxr-xr-x 4 nagios nagios 4096 Sep 26 2019 /usr/local/nagiosxi/html/inc
ludes/components/autodiscovery
[root@PRDCOLNAGIOS ~]# chage -l nagios
Last password change : Sep 26, 2019
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7
[root@PRDCOLNAGIOS ~]#
[root@PRDCOLNAGIOS ~]# grep nag /etc/group
nagios
nagcmd
[root@PRDCOLNAGIOS ~]#
[root@PRDCOLNAGIOS ~]# cat /etc/sudoers | grep autodisc
NAGIOSXI ALL = NOPASSWD:/usr/bin/php /usr/local/nagiosxi/scripts/componen
ts/autodiscover_new.php *
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/php /usr/local/nagiosxi/scripts/compo
nents/autodiscover_new.php *
[root@PRDCOLNAGIOS ~]#
[root@PRDCOLNAGIOS ~]# ls -l /usr/local/nagiosxi/html/includes/components
/autodiscovery/jobs
total 5184
-rw-r--r-- 1 nagios nagios 58752 Sep 27 2020 5be0QU.out
-rw-r--r-- 1 nagios nagios 0 Sep 27 2020 5be0QU.watch
-rw-r--r-- 1 nagios nagios 17485 Sep 27 2020 5be0QU.xml
-rw-r--r-- 1 nagios nagios 832926 Jan 28 01:37 60N9Mk.out
-rw-r--r-- 1 nagios nagios 0 Jan 28 01:34 60N9Mk.watch
-rw-r--r-- 1 nagios nagios 296716 Jan 28 01:37 60N9Mk.xml
-rw-r--r-- 1 nagios nagios 1080022 Oct 15 09:25 79QiUK.out
-rw-r--r-- 1 nagios nagios 0 Oct 15 09:22 79QiUK.watch
-rw-r--r-- 1 nagios nagios 331537 Oct 15 09:25 79QiUK.xml
-rw-r--r-- 1 nagios nagios 10425 Nov 16 14:10 7CoJ0j.out
-rw-r--r-- 1 nagios nagios 0 Nov 16 14:10 7CoJ0j.watch
-rw-r--r-- 1 nagios nagios 1637 Nov 16 14:10 7CoJ0j.xml
-rw-r--r-- 1 nagios nagios 63865 Aug 2 2020 B5A0Ac.out
-rw-r--r-- 1 nagios nagios 0 Aug 2 2020 B5A0Ac.watch
-rw-r--r-- 1 nagios nagios 20524 Aug 2 2020 B5A0Ac.xml
-rw-r--r-- 1 nagios nagios 60234 Oct 1 2020 d89o49.out
-rw-r--r-- 1 nagios nagios 0 Oct 1 2020 d89o49.watch
-rw-r--r-- 1 nagios nagios 17403 Oct 1 2020 d89o49.xml
-rw-r--r-- 1 nagios nagios 261901 Aug 31 2020 E2uR2e.out
-rw-r--r-- 1 nagios nagios 0 Aug 31 2020 E2uR2e.watch
-rw-r--r-- 1 nagios nagios 81436 Aug 31 2020 E2uR2e.xml
-rw-r--r-- 1 nagios nagios 32411 Jan 27 23:49 EE3QPo.out
-rw-r--r-- 1 nagios nagios 0 Jan 27 23:49 EE3QPo.watch
-rw-r--r-- 1 nagios nagios 8427 Jan 27 23:49 EE3QPo.xml
-rw-r--r-- 1 nagios nagios 9454 Nov 9 12:30 fOPrf6.out
-rw-r--r-- 1 nagios nagios 0 Nov 9 12:30 fOPrf6.watch
-rw-r--r-- 1 nagios nagios 1342 Nov 9 12:30 fOPrf6.xml
-rw-r--r-- 1 nagios nagios 44159 Jan 5 01:26 IONH6d.out
-rw-r--r-- 1 nagios nagios 0 Jan 5 01:25 IONH6d.watch
-rw-r--r-- 1 nagios nagios 11721 Jan 5 01:26 IONH6d.xml
-rw-r--r-- 1 nagios nagios 13200 Oct 13 09:16 jXX6Fa.out
-rw-r--r-- 1 nagios nagios 0 Oct 13 09:16 jXX6Fa.watch
-rw-r--r-- 1 nagios nagios 2120 Oct 13 09:16 jXX6Fa.xml
-rw-r--r-- 1 nagios nagios 413446 Oct 14 15:00 l8WabA.out
-rw-r--r-- 1 nagios nagios 0 Oct 14 14:58 l8WabA.watch
-rw-r--r-- 1 nagios nagios 144691 Oct 14 15:00 l8WabA.xml
-rw-r--r-- 1 nagios nagios 63723 Jan 28 01:35 lYn2YQ.out
-rw-r--r-- 1 nagios nagios 0 Jan 28 01:34 lYn2YQ.watch
-rw-r--r-- 1 nagios nagios 16467 Jan 28 01:35 lYn2YQ.xml
-rw-r--r-- 1 nagios nagios 42415 Sep 27 2020 MWTT6E.out
-rw-r--r-- 1 nagios nagios 0 Sep 27 2020 MWTT6E.watch
-rw-r--r-- 1 nagios nagios 11908 Sep 27 2020 MWTT6E.xml
-rw-r--r-- 1 nagios nagios 61616 Aug 31 2020 oej5CQ.out
-rw-r--r-- 1 nagios nagios 0 Aug 31 2020 oej5CQ.watch
-rw-r--r-- 1 nagios nagios 21917 Aug 31 2020 oej5CQ.xml
-rw-r--r-- 1 nagios nagios 235083 Oct 13 09:17 pieMOu.out
-rw-r--r-- 1 nagios nagios 0 Oct 13 09:17 pieMOu.watch
-rw-r--r-- 1 nagios nagios 70683 Oct 13 09:17 pieMOu.xml
-rw-r--r-- 1 nagios nagios 12324 Jan 27 23:37 taYTHs.out
-rw-r--r-- 1 nagios nagios 0 Jan 27 23:37 taYTHs.watch
-rw-r--r-- 1 nagios nagios 1803 Jan 27 23:37 taYTHs.xml
-rw-r--r-- 1 nagios nagios 201013 Aug 31 2020 WQ7ve6.out
-rw-r--r-- 1 nagios nagios 0 Aug 31 2020 WQ7ve6.watch
-rw-r--r-- 1 nagios nagios 58192 Aug 31 2020 WQ7ve6.xml
-rw-r--r-- 1 nagios nagios 79226 Jan 5 01:25 XaBXs3.out
-rw-r--r-- 1 nagios nagios 0 Jan 5 01:24 XaBXs3.watch
-rw-r--r-- 1 nagios nagios 21905 Jan 5 01:25 XaBXs3.xml
-rw-r--r-- 1 nagios nagios 378765 Jan 27 21:34 YJpKdZ.out
-rw-r--r-- 1 nagios nagios 0 Jan 27 21:32 YJpKdZ.watch
-rw-r--r-- 1 nagios nagios 123508 Jan 27 21:34 YJpKdZ.xml
[root@PRDCOLNAGIOS ~]#
[root@PRDCOLNAGIOS ~]# ls -ld /usr/local/nagiosxi/html/includes/component
s/autodiscovery/jobs
drwxrwxrw- 2 nagios nagios 4096 Apr 11 23:59 /usr/local/nagiosxi/html/inc
ludes/components/autodiscovery/jobs
[root@PRDCOLNAGIOS ~]#
[root@PRDCOLNAGIOS ~]# ls -l /usr/local/nagiosxi/html/includes/components
/autodiscovery
total 72
-rw-r--r-- 1 nagios nagios 12957 Apr 5 09:15 autodiscovery.inc.php
-rw-r--r-- 1 nagios nagios 2329 Apr 5 09:15 CHANGES.TXT
drwxr-xr-x 2 nagios nagios 4096 Sep 26 2019 images
-rw-r--r-- 1 nagios nagios 42132 Apr 5 09:15 index.php
drwxrwxrw- 2 nagios nagios 4096 Apr 11 23:59 jobs
[root@PRDCOLNAGIOS ~]#
[root@PRDCOLNAGIOS ~]# ls -ld /usr/local/nagiosxi/html/includes/component
s/autodiscovery
drwxr-xr-x 4 nagios nagios 4096 Sep 26 2019 /usr/local/nagiosxi/html/inc
ludes/components/autodiscovery
Re: Blank Page when selecting nodes form AutoDiscovery jobs
That's the same as what I have.
Please try adding a new one and see if that works.
If that doesn't work, please create a ticket for this and include a link back to this forum thread so we can get a remote session setup:
https://support.nagios.com/tickets/
Thank you!
Please try adding a new one and see if that works.
If that doesn't work, please create a ticket for this and include a link back to this forum thread so we can get a remote session setup:
https://support.nagios.com/tickets/
Thank you!
Re: Blank Page when selecting nodes form AutoDiscovery jobs
Thanks. Just finished running a new job and I am getting the same behavior. Just created a ticket with the link you provided. Thanks for all your help with this.
Have an awesome rest of your week!
Have an awesome rest of your week!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Blank Page when selecting nodes form AutoDiscovery jobs
Moving to ticketCoMAdmin wrote:Thanks. Just finished running a new job and I am getting the same behavior. Just created a ticket with the link you provided. Thanks for all your help with this.
Have an awesome rest of your week!
Locking thread