Page 3 of 5

Re: not getting bandwidth output

Posted: Fri Feb 15, 2013 8:35 am
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

Re: not getting bandwidth output

Posted: Sat Feb 16, 2013 6:51 am
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]#

Re: not getting bandwidth output

Posted: Sat Feb 16, 2013 10:18 am
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....

Re: not getting bandwidth output

Posted: Tue Feb 19, 2013 4:41 am
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

Re: not getting bandwidth output

Posted: Tue Feb 19, 2013 5:31 am
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."

Re: not getting bandwidth output

Posted: Tue Feb 19, 2013 10:37 am
by slansing
You did restart rrdcached after making the changes correct?

Code: Select all

service rrdcached restart

Re: not getting bandwidth output

Posted: Tue Feb 19, 2013 11:27 pm
by wiproltdwiv
YES

Re: not getting bandwidth output

Posted: Wed Feb 20, 2013 11:15 am
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

Re: not getting bandwidth output

Posted: Wed Feb 20, 2013 11:05 pm
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 ~]#

Re: not getting bandwidth output

Posted: Thu Feb 21, 2013 11:22 am
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.