Page 1 of 1
Bandwidth Usage Report nuisance
Posted: Wed Sep 18, 2013 8:31 am
by waydms
Hello again!
VMWare - Nagios XI Trial, 32-bit.
I have another question for anyone who is willing to put up with my posts, haha.
So I've been using the Reports section quite a lot lately and find that the Bandwidth Usage Report for our company could come in very handy.
The downside is that it is reporting for port and not description as the services are set. Please see attached images for visual.
I remember setting up my first host, 192.168.3.x, with Port Number then tried another with Port Description. Moving forward I chose the description method so it would be easier on the eyes.
Probably one line in one file that needs one tidbit corrected I'm sure!
Definitely let me know as usual if you have any comments/questions/concerns and I will provide the information ASAP.
Re: Bandwidth Usage Report nuisance
Posted: Wed Sep 18, 2013 9:34 am
by slansing
It is entirely possible that only the descriptions were changed instead of the actual service name. I'd take one of those ports in the dropdown list, go to it's CCM page, and make sure that the port name description is in the correct spot. They should not be showing up as numbers unless those service's are actually configured in that fashion.
Re: Bandwidth Usage Report nuisance
Posted: Fri Sep 20, 2013 9:28 am
by waydms
Hey!
Sorry for the late reply!
Alrighty so checked into the CCM and attached a sample image of one of the hosts services. Seems to be named correctly.
Noticed something odd though. For one of my hosts (clayton-hq-1921), the services have the IP as the Config name but the description is named, not numbered. Not sure if that would cause anything to alter with Nagios although thought I would mention.
Re: Bandwidth Usage Report nuisance
Posted: Fri Sep 20, 2013 9:48 am
by slansing
I'm looking into the report to see where the names are pulled from, however you may need to remove the service's and hosts which you changed both from the CCM and from the mrtg.cfg and re-run the switch wizard over that address this time making sure that you are using port names not numbers. Having to remove items manually from the mrtg.cfg is something we are trying to remove from future releases as it can be quite monotonous.
Re: Bandwidth Usage Report nuisance
Posted: Fri Sep 20, 2013 12:39 pm
by waydms
Weird, so attempting to use find/locate for the mrtg.cfg and it states that it does not exist o____O
And for whatever reason, I don't even have the locate command, Hah. Cursed install!!!

Re: Bandwidth Usage Report nuisance
Posted: Fri Sep 20, 2013 1:28 pm
by sreinhardt
Ha, ya with our minimal install, locate and updatedb from mlocate or slocate packages, are not available. File should be in /etc/httpd/conf.d/mrtg.conf
Re: Bandwidth Usage Report nuisance
Posted: Wed Sep 25, 2013 8:20 am
by waydms
Hey!
Finally found the time to check into this and viewed the mrtg.conf file which looks very bland.
Believe I'm checking the wrong file so searching around.
See below...
#
# This configuration file maps the mrtg output (generated daily)
# into the URL space. By default these results are only accessible
# from the local host.
#
Alias /mrtg /var/www/mrtg
<Location /mrtg>
Order deny,allow
Deny from all
Allow from 127.0.0.1
Allow from ::1
# Allow from .example.com
</Location>
~
Re: Bandwidth Usage Report nuisance
Posted: Wed Sep 25, 2013 2:50 pm
by abrist
I am fairly positive those names are gathered from the walk that is performed in the router/switch wizard. Changing them is more complicated than just renaming the configs in the CCM as their names are linked to the names of the mrtg rrds.