Hi,
I have user non admin with group of services in it and I want to connect this user to Fusion.
I get status OK in the 3 fields under fused server section in fusion.
I run the poll_subsys.php script with dubug and I get the alerts and all the info.
Still the fusion doesn’t show any alerts in the dashboard (open server problems).
Can I connect non admin user from local XI to Fusion?
XI version 5.5.8
Fusion version – 4.1.6
Non admin user connect to Fusion
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Non admin user connect to Fusion
Hello @elade,
Can post the output to the following command so we can review the Apache logs.
Also, check the status from the check icon next to your username in the upper right. Are all of the subsystems up and running?
Thanks.
Can post the output to the following command so we can review the Apache logs.
Code: Select all
tail -n 50 /var/log/httpd/*rror_log
Thanks.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Non admin user connect to Fusion
tail -n 50 /var/log/httpd/*rror_log
all subsystems are running and the user is right
Code: Select all
[Wed Oct 16 11:22:49.795734 2019] [:error] [pid 13610] [client 10.10.10.10:11111] PHP Notice: Undefined offset: 0 in /usr/local/nagiosfusion/html/includes/components/noc/dashlets/open_problems_summary.php on line 107, referer: http://10.10.10.50/nagiosfusion/dashboards/dashboard.php
[Wed Oct 16 11:22:56.599651 2019] [:error] [pid 9041] [client 10.10.10.20:22222] PHP Notice: Undefined offset: 0 in /usr/local/nagiosfusion/html/includes/components/noc/dashlets/open_problems_summary.php on line 107, referer: http://10.10.10.50/nagiosfusion/dashboards/dashboard.php?id=4
[Wed Oct 16 11:22:59.851058 2019] [:error] [pid 11680] [client 10.10.10.30:33333] PHP Notice: Undefined offset: 0 in /usr/local/nagiosfusion/html/includes/components/noc/dashlets/open_problems_summary.php on line 107, referer: http://10.10.10.50/nagiosfusion/dashboards/dashboard.php?id=3
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Non admin user connect to Fusion
Hello @elade,
Thanks for sending over the log, it looks normal. When you setup this non-admin user in Fusion, are you mapping the user to a corresponding account in Nagios XI?
Managing Users in Fusion
Please go to Admin > System Settings> General and turn the log level to debug, and upload a copy of the fusion.log and fusion.debug logs to the thread. Thanks.
Thanks for sending over the log, it looks normal. When you setup this non-admin user in Fusion, are you mapping the user to a corresponding account in Nagios XI?
Managing Users in Fusion
Please go to Admin > System Settings> General and turn the log level to debug, and upload a copy of the fusion.log and fusion.debug logs to the thread. Thanks.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Non admin user connect to Fusion
Hi,
I created the non admin user in XI not fusion.
When I add that non admin user to fused server in fusion I do Test Fusion Settings with the that user and I get all green.
The problem is that I don’t see alerts from that user in Fusion even when all is OK.
I created the non admin user in XI not fusion.
When I add that non admin user to fused server in fusion I do Test Fusion Settings with the that user and I get all green.
The problem is that I don’t see alerts from that user in Fusion even when all is OK.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Non admin user connect to Fusion
Hello @elade,
Please verify that all the time settings are correct on each server - Fusion and XI. If the dates are inaccurate, it may not correctly display recent alerts. I would recommend syncing each system to a NTP server, and then verify that the timezone settings for fused servers are correct.
If you're still experiencing the issue, please upload the Fusion poller log and cron log. Thanks.
Please verify that all the time settings are correct on each server - Fusion and XI. If the dates are inaccurate, it may not correctly display recent alerts. I would recommend syncing each system to a NTP server, and then verify that the timezone settings for fused servers are correct.
If you're still experiencing the issue, please upload the Fusion poller log and cron log. Thanks.
Code: Select all
tail -n 25 /usr/local/nagiosfusion/var/log/poll_subsys.log
tail -n 25 /var/log/cron
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Non admin user connect to Fusion
Hi,
Timezone is set and ok.
poll_subsys.log is empty
tail -n 25 /var/log/cron
Also Fusekey, username and password are OK in fused server (all green).
After all that I still don't see any alerts from the XI to Fusion.
When I run poll_subsys.php --debug --server XX --user YY i get all the info from remote XI.
Under user YY there are only service alerts (I filtered the alerts for that user only).
Any idea why i don;t see the alerts in fusion but on local XI everything is OK?
Timezone is set and ok.
poll_subsys.log is empty
tail -n 25 /var/log/cron
Code: Select all
Oct 28 08:29:01 nagiosfusion-v1 CROND[47097]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/auth_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/auth_subsys.log 2>&1)
Oct 28 08:29:01 nagiosfusion-v1 CROND[47099]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/log_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/log_subsys.log 2>&1)
Oct 28 08:29:01 nagiosfusion-v1 CROND[47100]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/sysstat_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/sysstat_subsys.log 2>&1)
Oct 28 08:30:01 nagiosfusion-v1 CROND[47263]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/log_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/log_subsys.log 2>&1)
Oct 28 08:30:01 nagiosfusion-v1 CROND[47264]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/cmd_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/cmd_subsys.log 2>&1)
Oct 28 08:30:01 nagiosfusion-v1 CROND[47266]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/auth_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/auth_subsys.log 2>&1)
Oct 28 08:30:01 nagiosfusion-v1 CROND[47265]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/poll_subsys.php --max-time=60 --master-poll >>/usr/local/nagiosfusion/var/log/poll_subsys.log 2>&1)
Oct 28 08:30:01 nagiosfusion-v1 CROND[47268]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Oct 28 08:30:01 nagiosfusion-v1 CROND[47269]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/dbmaint_subsys.php >>/usr/local/nagiosfusion/var/log/dbmaint_subsys.log 2>&1)
Oct 28 08:30:01 nagiosfusion-v1 CROND[47270]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/sysstat_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/sysstat_subsys.log 2>&1)
Oct 28 08:31:01 nagiosfusion-v1 CROND[47388]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/log_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/log_subsys.log 2>&1)
Oct 28 08:31:01 nagiosfusion-v1 CROND[47391]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/sysstat_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/sysstat_subsys.log 2>&1)
Oct 28 08:31:01 nagiosfusion-v1 CROND[47392]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/auth_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/auth_subsys.log 2>&1)
Oct 28 08:31:01 nagiosfusion-v1 CROND[47393]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/poll_subsys.php --max-time=60 --master-poll >>/usr/local/nagiosfusion/var/log/poll_subsys.log 2>&1)
Oct 28 08:31:01 nagiosfusion-v1 CROND[47395]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/cmd_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/cmd_subsys.log 2>&1)
Oct 28 08:32:01 nagiosfusion-v1 CROND[47541]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/log_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/log_subsys.log 2>&1)
Oct 28 08:32:01 nagiosfusion-v1 CROND[47542]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/poll_subsys.php --max-time=60 --master-poll >>/usr/local/nagiosfusion/var/log/poll_subsys.log 2>&1)
Oct 28 08:32:01 nagiosfusion-v1 CROND[47544]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/auth_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/auth_subsys.log 2>&1)
Oct 28 08:32:01 nagiosfusion-v1 CROND[47545]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/cmd_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/cmd_subsys.log 2>&1)
Oct 28 08:32:01 nagiosfusion-v1 CROND[47547]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/sysstat_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/sysstat_subsys.log 2>&1)
Oct 28 08:33:01 nagiosfusion-v1 CROND[47701]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/log_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/log_subsys.log 2>&1)
Oct 28 08:33:01 nagiosfusion-v1 CROND[47702]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/cmd_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/cmd_subsys.log 2>&1)
Oct 28 08:33:01 nagiosfusion-v1 CROND[47707]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/poll_subsys.php --max-time=60 --master-poll >>/usr/local/nagiosfusion/var/log/poll_subsys.log 2>&1)
Oct 28 08:33:01 nagiosfusion-v1 CROND[47704]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/auth_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/auth_subsys.log 2>&1)
Oct 28 08:33:01 nagiosfusion-v1 CROND[47705]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/sysstat_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/sysstat_subsys.log 2>&1)
Also Fusekey, username and password are OK in fused server (all green).
After all that I still don't see any alerts from the XI to Fusion.
When I run poll_subsys.php --debug --server XX --user YY i get all the info from remote XI.
Under user YY there are only service alerts (I filtered the alerts for that user only).
Any idea why i don;t see the alerts in fusion but on local XI everything is OK?
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Non admin user connect to Fusion
Hello @elade,
For clarification, are you seeing the recent alerts for Admin users in Nagios XI?
1. Check the Authentication Log for errors.
2. In Admin > System Settings > Logging Settings, change the log level to Trace, and post the fusion and fusion.debug log to the thread.
3. Can you post a screenshot of the Polling Configuration ( go to Admin > System Configuration > System Settings )
For clarification, are you seeing the recent alerts for Admin users in Nagios XI?
1. Check the Authentication Log for errors.
Code: Select all
auth_subsys.log
Code: Select all
/usr/local/nagiosfusion/var/log/fusion.log
/usr/local/nagiosfusion/var/log/fusion.debug
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!