services prob var/lib/mrtg/10.1.1.252_1.rrd does not exist.
services prob var/lib/mrtg/10.1.1.252_1.rrd does not exist.
Version: 2012R2.9 Centos 6.4. 32
I have suddenly developed a problem when I use the router / switch wizard.
All the services on the newly scanned routers and switches and all coming up as unknown in the services summary and with the following messages
/var/lib/mrtg/10.1.1.252_1.rrd does not exist.
True enough when checking the directory they are not in the directory.
Can you please advise on what is causing this ?
Ive tried deleting the services and the hosts and starting again and also doing rm /usr/local/nagiosxi/tmp/mrtgscan* -f but it happens again for every service on the router and switch.
I have suddenly developed a problem when I use the router / switch wizard.
All the services on the newly scanned routers and switches and all coming up as unknown in the services summary and with the following messages
/var/lib/mrtg/10.1.1.252_1.rrd does not exist.
True enough when checking the directory they are not in the directory.
Can you please advise on what is causing this ?
Ive tried deleting the services and the hosts and starting again and also doing rm /usr/local/nagiosxi/tmp/mrtgscan* -f but it happens again for every service on the router and switch.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: services prob var/lib/mrtg/10.1.1.252_1.rrd does not exi
Did you use any of the 2.8 releases? Also what version of the switch and router wizard are you on?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: services prob var/lib/mrtg/10.1.1.252_1.rrd does not exi
What is the Network Switch / Router version that you are using?
Run the following commands and show us the output in code wraps:
Code: Select all
Admin->Manage Config WizardsCode: Select all
env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
ll -R /etc/mrtg/
grep ":::::2" /etc/mrtg/mrtg.cfg | head -1Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: services prob var/lib/mrtg/10.1.1.252_1.rrd does not exi
lmiltchev wrote:What is the Network Switch / Router version that you are using?
Run the following commands and show us the output in code wraps:Code: Select all
Admin->Manage Config Wizards
Code: Select all
env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg ll -R /etc/mrtg/ grep ":::::2" /etc/mrtg/mrtg.cfg | head -1
Sorry about the delay but the switch /router wizard I am using is ver 1.7
sreinhardt wrote:Did you use any of the 2.8 releases? Also what version of the switch and router wizard are you on?
My system has been running for the last 8 months so prior to running 2.9 I think it was running 2.8.
OK.....here goes:vijilants wrote:Run the following commands and show us the output in code wraps:lmiltchev wrote:What is the Network Switch / Router version that you are using?
Sorry about the delay but the switch /router wizard I am using is ver 1.7Code: Select all
Admin->Manage Config Wizards
Code: Select all
env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg ll -R /etc/mrtg/ grep ":::::2" /etc/mrtg/mrtg.cfg | head -1
Code: Select all
# env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
ll -R /etc/mrtg/
grep ":::::2" /etc/mrtg/mrtg.cfg | head -1ERROR: Line 107103 (</td>) in CFG file (/etc/mrtg/mrtg.cfg) does not make sense
[root@somnms1 vij]# ll -R /etc/mrtg/
/etc/mrtg/:
total 6124
-rw-r--r-- 1 apache nagios 3129657 Mar 6 04:33 mrtg.cfg
-rw-r--r-- 1 root root 3129657 Mar 6 05:36 mrtg.cfg.bkp
-rw-r--r-- 1 root root 0 Mar 11 12:28 mrtg.cfg_l
-rw-r--r-- 1 root root 0 Jan 11 07:31 mrtg.ok
[root@somnms1 vij]# grep ":::::2" /etc/mrtg/mrtg.cfg | head -1
# /usr/bin/cfgmaker --show-op-down --zero-speed=100000000 --snmp-options=:::::2 --noreversedns [email protected]
#
Last edited by slansing on Tue Mar 11, 2014 10:46 am, edited 1 time in total.
Reason: Merged your three posts, do not triple post as that will bump you lower on our "to be replied to" list.
Reason: Merged your three posts, do not triple post as that will bump you lower on our "to be replied to" list.
Re: services prob var/lib/mrtg/10.1.1.252_1.rrd does not exi
How many switches/routers are you monitoring? Are you having issues with all of them?
Are you sure that you followed ALL of the steps, outlined in the "Nagios XI – Adding Service Switch or Router" document?
What is the output of the following commands?
Are you sure that you followed ALL of the steps, outlined in the "Nagios XI – Adding Service Switch or Router" document?
What is the output of the following commands?
Code: Select all
ll -d /var/lib/mrtg
ll /var/lib/mrtg
/usr/local/nagios/libexec/check_rrdtraf -f '/var/lib/mrtg/10.1.1.252_1.rrd' -w 1 -c 2Be sure to check out our Knowledgebase for helpful articles and solutions!
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: services prob var/lib/mrtg/10.1.1.252_1.rrd does not exi
Could you pm one of us, or post your mrtg.cfg please? It looks like there might be issues within it. Also if you could run the following commands:
Code: Select all
ll /var/lib/mrtg/ | grep -v nagios
ll -d /var/lib/mrtg/Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: services prob var/lib/mrtg/10.1.1.252_1.rrd does not exi
Here is the output:
Code: Select all
# ll -d /var/lib/mrtg
drwxr-xr-x. 2 root root 12288 Mar 5 12:35 /var/lib/mrtg
# ll /var/lib/mrtg
total 23400
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.14_10003.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.14_10004.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.14_10006.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.14_10007.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.14_10008.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.14_10009.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.14_10024.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.14_10101.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.14_123.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.253_10.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.253_12.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.253_13.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.253_14.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.253_19.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.253_1.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.253_3.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.253_9.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.254_10.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.254_12.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.254_13.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.254_14.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.254_15.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.254_16.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.254_17.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.254_1.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.254_2.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.254_3.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.1.1.254_9.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.246_1.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.246_2.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.246_4.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.248_13.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.248_14.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.248_15.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.248_17.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.248_18.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.248_19.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.248_1.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.248_3.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.249_15.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.249_16.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.249_18.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.249_1.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.249_20.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.249_21.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.249_22.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.249_23.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.249_24.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.249_25.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.249_3.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.250_10.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.250_11.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.250_13.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.250_14.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.250_15.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.250_1.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.250_2.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.250_3.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.250_9.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.251_26.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.251_27.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.251_28.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.251_29.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.251_30.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.251_32.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.251_33.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.251_34.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.251_35.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.251_36.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.251_37.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.251_3.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.251_49.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.251_4.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.251_51.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.251_52.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.251_5.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.251_7.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.252_26.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.252_27.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.252_28.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.252_29.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.252_30.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.252_32.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.252_33.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.252_34.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.252_35.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.252_36.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.252_37.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.252_3.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.252_4.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.252_5.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.252_7.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.253_26.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.253_27.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.253_28.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.253_29.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.253_30.rrd
-rw-r--r-- 1 root root 105160 Jan 11 07:30 10.40.1.253_31.rrd
-rw-r--r-- 1 root root 105160 Jan 11 07:30 10.40.1.253_32.rrd
-rw-r--r-- 1 root root 105160 Jan 11 07:30 10.40.1.253_33.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.253_35.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.253_36.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.253_37.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.253_38.rrd
-rw-r--r-- 1 root root 105160 Jan 11 07:30 10.40.1.253_3.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.253_48.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.253_4.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.253_5.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.253_6.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.253_7.rrd
-rw-r--r-- 1 root root 105160 Jan 11 07:30 10.40.1.254_26.rrd
-rw-r--r-- 1 root root 105160 Jan 11 07:30 10.40.1.254_27.rrd
-rw-r--r-- 1 root root 105160 Jan 11 07:30 10.40.1.254_28.rrd
-rw-r--r-- 1 root root 105160 Jan 11 07:30 10.40.1.254_29.rrd
-rw-r--r-- 1 root root 105160 Jan 11 07:30 10.40.1.254_30.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.254_31.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.254_32.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.254_33.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.254_34.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.254_35.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.254_37.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.254_38.rrd
-rw-r--r-- 1 root root 105160 Jan 11 07:30 10.40.1.254_3.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.254_4.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.254_54.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.254_55.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.254_57.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.254_5.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.254_6.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.254_7.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.3_1.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.3_2.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.4_1.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.42_10002.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.42_10003.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.42_10004.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.42_10005.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.42_10006.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.42_10007.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.42_10008.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.42_10009.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.42_10010.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.42_10011.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.42_10013.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.42_10016.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.42_10019.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.42_10023.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.42_10024.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.42_10101.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.42_123.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.4_2.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.46_10002.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.46_10003.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.46_10004.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.46_10005.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.46_10006.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.46_10007.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.46_10009.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.46_10023.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.46_10024.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.46_10101.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.46_123.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.54_1.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.54_2.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.40.1.54_3.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.41.1.2_11.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.41.1.2_12.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.41.1.2_13.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.41.1.2_14.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.41.1.2_15.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.41.1.2_16.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.41.1.2_2.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.41.1.2_3.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.41.1.2_4.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 10.41.1.2_5.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.2.4_10001.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.2.4_10002.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.2.4_10003.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.2.4_10004.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.2.4_10005.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.2.4_10006.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.2.4_10007.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.2.4_10008.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.2.4_10009.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.2.4_10010.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.2.4_10011.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.2.4_10101.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.2.4_123.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.2.4_2.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.2.4_3.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.2.4_4.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.2.4_5.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.2.4_6.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.2.4_7.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.3_1.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.3_2.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.3_5.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.3_6.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.5_26.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.5_27.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.5_28.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.5_29.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.5_30.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.5_32.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.5_33.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.5_34.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.5_35.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.5_36.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.5_4.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.5_5.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.5_6.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.5_7.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.6_10.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.6_11.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.6_12.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.6_13.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.6_1.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.6_27.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.6_29.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.6_30.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.6_31.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.6_3.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.40.6_9.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.41.3_1.rrd
-rw-r--r-- 1 root root 105160 Mar 6 04:20 192.168.41.5_1.rrd
-rw-r--r--. 1 root root 0 Mar 6 04:20 mrtg.ok
# /usr/local/nagios/libexec/check_rrdtraf -f '/var/lib/mrtg/10.1.1.252_1.rrd' -w 1 -c 2
/var/lib/mrtg/10.1.1.252_1.rrd does not exist.
# -
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: services prob var/lib/mrtg/10.1.1.252_1.rrd does not exi
Your permissions look fine, however there is some oddness with your mrtg.cfg. For some reason lines 107099 is not completed correctly and has several newlines before the </td> that is on 107103, this same behavior is on 107107 and 107111 where the newlines need to be merged. So presently they look like:
and it should be changed to:
These appear to be the only two places with invalid lines. Please make those changes and try this command again:
Code: Select all
<td>LonGS2GFILoop01 in Lon GS2
</td>Code: Select all
<td>LonGS2GFILoop01 in Lon GS2</td>Code: Select all
env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfgNagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.