not getting bandwidth output

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: not getting bandwidth output

Post by scottwilkerson »

The sock doesn't appear to have the correct permissions

report the output of the following command

Code: Select all

cat /etc/sysconfig/rrdcached
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
wiproltdwiv
Posts: 281
Joined: Sat Sep 08, 2012 12:52 am

Re: not getting bandwidth output

Post by wiproltdwiv »

[root@EMSNagios1 libexec]# cat /etc/sysconfig/rrdcached
OPTIONS="-l unix:/var/rrdtool/rrdcached/rrdcached.sock -F -s nagios -m 0660 -w 900 -z 90 -j /tmp/ -b /var/rrdtool/rrdcached -P FLUSH,PENDING"
RRDC_USER=nagios
[root@EMSNagios1 libexec]#
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: not getting bandwidth output

Post by scottwilkerson »

Back on this post
http://support.nagios.com/forum/viewtop ... =10#p44304

I recommended you make some changes which you said you completed, but it looks like you did not make them....
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
wiproltdwiv
Posts: 281
Joined: Sat Sep 08, 2012 12:52 am

Re: not getting bandwidth output

Post by wiproltdwiv »

I did changes again, but still same issue.


[root@EMSNagios1 etc]# cat /etc/sysconfig/rrdcached
OPTIONS="-s nagios -m 0660 -l unix:/var/rrdtool/rrdcached/rrdcached.sock -F -w 900 -z 90 -j /tmp/ -b /var/rrdtool/rrdcached -P FLUSH,PENDING"
RRDC_USER=nagios
You do not have the required permissions to view the files attached to this post.
wiproltdwiv
Posts: 281
Joined: Sat Sep 08, 2012 12:52 am

Re: not getting bandwidth output

Post by wiproltdwiv »

After below changes, now Nagios not creating any rrd file for new router. when i add new router then i am getting error "/var/lib/mrtg/<IP>_13.rrd does not exist."
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: not getting bandwidth output

Post by slansing »

You did restart rrdcached after making the changes correct?

Code: Select all

service rrdcached restart
wiproltdwiv
Posts: 281
Joined: Sat Sep 08, 2012 12:52 am

Re: not getting bandwidth output

Post by wiproltdwiv »

YES
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: not getting bandwidth output

Post by scottwilkerson »

wiproltdwiv wrote:After below changes, now Nagios not creating any rrd file for new router. when i add new router then i am getting error "/var/lib/mrtg/<IP>_13.rrd does not exist."
If this switch was added before, there is a special procedure you would need to follow
http://assets.nagios.com/downloads/nagi ... Router.pdf
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
wiproltdwiv
Posts: 281
Joined: Sat Sep 08, 2012 12:52 am

Re: not getting bandwidth output

Post by wiproltdwiv »

No that is ok i can add ports succesfully, but what about bandwidth? still i have same problem.

[root@EMSNagios1 ~]# LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg -check
[root@EMSNagios1 ~]#
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: not getting bandwidth output

Post by scottwilkerson »

The previous document outlines a procedure that must be followed if you are re-running the wizard on switches that have been previously added, if you do not follow the procedure you will not get bandwidth results for the newly added ports.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked