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:
Post
by scottwilkerson » Fri Feb 15, 2013 8:35 am
The sock doesn't appear to have the correct permissions
report the output of the following command
wiproltdwiv
Posts: 281 Joined: Sat Sep 08, 2012 12:52 am
Post
by wiproltdwiv » Sat Feb 16, 2013 6:51 am
[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]#
wiproltdwiv
Posts: 281 Joined: Sat Sep 08, 2012 12:52 am
Post
by wiproltdwiv » Tue Feb 19, 2013 4:41 am
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
Post
by wiproltdwiv » Tue Feb 19, 2013 5:31 am
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...
Post
by slansing » Tue Feb 19, 2013 10:37 am
You did restart rrdcached after making the changes correct?
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Wed Feb 20, 2013 11:15 am
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
wiproltdwiv
Posts: 281 Joined: Sat Sep 08, 2012 12:52 am
Post
by wiproltdwiv » Wed Feb 20, 2013 11:05 pm
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:
Post
by scottwilkerson » Thu Feb 21, 2013 11:22 am
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.