How to Report on Bandwidth without access to HOST

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
tecnalb
Posts: 133
Joined: Tue May 03, 2011 12:53 pm

How to Report on Bandwidth without access to HOST

Post 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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: How to Report on Bandwidth without access to HOST

Post 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?
Former Nagios Employee
tecnalb
Posts: 133
Joined: Tue May 03, 2011 12:53 pm

Re: How to Report on Bandwidth without access to HOST

Post 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.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: How to Report on Bandwidth without access to HOST

Post 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?
tecnalb
Posts: 133
Joined: Tue May 03, 2011 12:53 pm

Re: How to Report on Bandwidth without access to HOST

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: How to Report on Bandwidth without access to HOST

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
tecnalb
Posts: 133
Joined: Tue May 03, 2011 12:53 pm

Re: How to Report on Bandwidth without access to HOST

Post 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.
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: How to Report on Bandwidth without access to HOST

Post by rkennedy »

Can you take a screenshot to verify what permissions the user has under Edit User -> Security Settings?
Former Nagios Employee
tecnalb
Posts: 133
Joined: Tue May 03, 2011 12:53 pm

Re: How to Report on Bandwidth without access to HOST

Post 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.
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: How to Report on Bandwidth without access to HOST

Post 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
You do not have the required permissions to view the files attached to this post.
Former Nagios Employee
Locked