Page 1 of 2
How to Report on Bandwidth without access to HOST
Posted: Tue Dec 01, 2015 4:53 pm
by tecnalb
Hello
I was trying to setup a bandwidth report for a user. They DO NOT have access to the switch host itself, but do have access to the SERVICE port. So while they can se the Service graph itself, then cannot actually generate a report under REPORTS. Can this be worked around, or am I missing something?
jim
Re: How to Report on Bandwidth without access to HOST
Posted: Tue Dec 01, 2015 5:02 pm
by rkennedy
Just to make sure I'm on the right page - you're looking to monitor the bandwidth of a server? I understand you don't have access to the switch, so SNMP checks for bandwidth will not work.
Is monitoring the bandwidth from the actual server an option for you?
Re: How to Report on Bandwidth without access to HOST
Posted: Tue Dec 01, 2015 5:11 pm
by tecnalb
I already have check set up in XI. It monitors a switch or router via SNMP. I have the user configured on the port SERVICE page, and he can see the port in the SERVICE DETAILS page. He cannot see the host in the HOST DETAILS page.
What I was trying to do was allow him to see the Bandwidth Report on the REPORTS screen. But it seems that if the user doesn't have HOST access, then a report can not be generated. The link doesn't even work.
Re: How to Report on Bandwidth without access to HOST
Posted: Wed Dec 02, 2015 11:42 am
by ssax
I think I'm able to replicate this, when you say the link doesn't even work does it still show the page with the Title and the table headers but nothing below?
Re: How to Report on Bandwidth without access to HOST
Posted: Wed Dec 02, 2015 11:54 am
by tecnalb
If I log in an nagiosadmin, and click the REPORTS - BANDWIDTH USAGE (left sidebar) I get an update.
If loved in as this particular user (who only has access to the service, and not the host itself, this is what I get in Firefox. Safari is a little different.
Re: How to Report on Bandwidth without access to HOST
Posted: Wed Dec 02, 2015 5:29 pm
by lmiltchev
Have you tried clearing the browser's cache & cookies, and trying again? What is the version of the "Bandwidth Usage Report" component that you are currently using?
Admin->Manage Components
Go to Reports->right-click on "Bandwidth Usage" link, copy link location and show it to us.
Click on the "Bandwidth Usage" link, then run the tail on the apache error log and show the output in code wraps:
Code: Select all
tail -100 /var/log/httpd/error_log
Re: How to Report on Bandwidth without access to HOST
Posted: Thu Dec 03, 2015 9:25 am
by tecnalb
-Yes, on multiple browsers.
-Component shows 1.7.0
-Link=
http://nagios.sio/nagiosxi/includes/com ... /index.php
File attached as there are over 10 URL links in my error log
Most seem to point to php time zone errors, and I wonder if that has something to do with the PHP upgrade your support performed to my server for another issue.
This just seems to be getting deeper and deeper.
Re: How to Report on Bandwidth without access to HOST
Posted: Thu Dec 03, 2015 12:45 pm
by rkennedy
Can you take a screenshot to verify what permissions the user has under Edit User -> Security Settings?
Re: How to Report on Bandwidth without access to HOST
Posted: Fri Dec 04, 2015 9:28 am
by tecnalb
Hello, I did update my module to 1.7.1, and while it did eliminate the site error, I just don't see any data.
I've attached the screenshot. But I just want to make sure that everyone understands that this user is not listed in the Advanced Setup of the HOST as a contact or have access. He only has access to the Service being monitored on that HOST. It seems that some features require HOST access to function.
And just a side note, one of the plugins I installed off your site actually gives anyone view access to ALL hosts regardless of the security. I think its called the Alert Stream. I found it yesterday evening. It allows any user to see alerts of hosts they don't have access to. Might be a problem for some.
Re: How to Report on Bandwidth without access to HOST
Posted: Fri Dec 04, 2015 1:55 pm
by rkennedy
What is the result if you add the user's access to the host?
What version of XI are you running, as well as alert stream? I tried to replicate the issue, and couldn't with only the two security settings you mentioned. I have attached a screenshot for reference -
alertstream-user.png