/var/lib/mrtg/xx.xxx.xxx.xxx_xx.rrd does not exist.
/var/lib/mrtg/xx.xxx.xxx.xxx_xx.rrd does not exist.
There was a requirement to add particular port interface to the monitoring.
Interface GigabitEtherne1/0/19 Status
Interface GigabitEthernet1/0/19 Bandwidth
In core configuration wizard I was able to see the particular interface with the port and after configuration successful, the Interface GigabitEthernet1/0/19 Bandwidth is having the status as unknown and saying that /var/lib/mrtg/xx.xxx.xxx.xxx_xx.rrd does not exist.
Please help me in configuring this and do the needful.
Interface GigabitEtherne1/0/19 Status
Interface GigabitEthernet1/0/19 Bandwidth
In core configuration wizard I was able to see the particular interface with the port and after configuration successful, the Interface GigabitEthernet1/0/19 Bandwidth is having the status as unknown and saying that /var/lib/mrtg/xx.xxx.xxx.xxx_xx.rrd does not exist.
Please help me in configuring this and do the needful.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: /var/lib/mrtg/xx.xxx.xxx.xxx_xx.rrd does not exist.
Hi,
It looks likes a permissions issue on the server, please run the following commands and post the full output.
Also, to assist with additional troubleshooting, please send over a current system profile and we'll check the logs. Thanks! Ben
To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
It looks likes a permissions issue on the server, please run the following commands and post the full output.
Code: Select all
ls -l /var/lib/mrtg
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: /var/lib/mrtg/xx.xxx.xxx.xxx_xx.rrd does not exist.
Will keep you Posted.
Re: /var/lib/mrtg/xx.xxx.xxx.xxx_xx.rrd does not exist.
Hi Benjamin
I have ran below commands and took logs for the same.
Attaching this in the post.
I have ran below commands and took logs for the same.
Attaching this in the post.
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: /var/lib/mrtg/xx.xxx.xxx.xxx_xx.rrd does not exist.
Hi Vignesha,
The permissions on those files are not the same as my test system. Please run the following commands as root to correct this, and then test again.
If you continue to have trouble please send the system profile. Thanks, Benjamin
The permissions on those files are not the same as my test system. Please run the following commands as root to correct this, and then test again.
Code: Select all
chown apache:nagios -R /var/lib/mrtg
chmod ug+rwx -R /var/lib/mrtg
If you continue to have trouble please send the system profile. Thanks, Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: /var/lib/mrtg/xx.xxx.xxx.xxx_xx.rrd does not exist.
Hi Benjamin,
I have run those commands given by you with no errors.
But when rescanned again those interfaces, still the same error exists i.e. rrd file is missing.
I am attaching the system profile here.
Please look into this and help me in resolving this issue.
I have run those commands given by you with no errors.
But when rescanned again those interfaces, still the same error exists i.e. rrd file is missing.
I am attaching the system profile here.
Please look into this and help me in resolving this issue.
You do not have the required permissions to view the files attached to this post.
Re: /var/lib/mrtg/xx.xxx.xxx.xxx_xx.rrd does not exist.
There is an application called MRTG that gathers the bandwidth data that XI uses for the checks, if that application has an error, it will cause the issue you are having so I will need some information from the server.
Can you run the following commands as root and post the the /tmp/mrtg.txt file to the ticket?
Post or PM me the /tmp/mrtg.txt file so I can check it for errors.
Can you run the following commands as root and post the the /tmp/mrtg.txt file to the ticket?
Code: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg -debug=cfg,base,log &> /tmp/mrtg.txt
LANG=C LC_ALL=C /usr/bin/mrtg &>> /tmp/mrtg.txt
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lib/mrtg/mrtg.lock --confcache-file /var/lib/mrtg/mrtg.ok --user=nagios --group=nagios &>> /tmp/mrtg.txt
{ time LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg 2>1 ; } 2>> /tmp/mrtg.txtBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: /var/lib/mrtg/xx.xxx.xxx.xxx_xx.rrd does not exist.
Hi tgriep,
I have ran the below commands with no errors:
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg -debug=cfg,base,log &> /tmp/mrtg.txt
LANG=C LC_ALL=C /usr/bin/mrtg &>> /tmp/mrtg.txt
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lib/mrtg/mrtg.lock --confcache-file /var/lib/mrtg/mrtg.ok --user=nagios --group=nagios &>> /tmp/mrtg.txt
{ time LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg 2>1 ; } 2>> /tmp/mrtg.txt
Post that I have checked and copied the content of mrtg.txt file.
I am attaching that here in this post.
Please have a look.
Thanks
I have ran the below commands with no errors:
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg -debug=cfg,base,log &> /tmp/mrtg.txt
LANG=C LC_ALL=C /usr/bin/mrtg &>> /tmp/mrtg.txt
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lib/mrtg/mrtg.lock --confcache-file /var/lib/mrtg/mrtg.ok --user=nagios --group=nagios &>> /tmp/mrtg.txt
{ time LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg 2>1 ; } 2>> /tmp/mrtg.txt
Post that I have checked and copied the content of mrtg.txt file.
I am attaching that here in this post.
Please have a look.
Thanks
You do not have the required permissions to view the files attached to this post.
Re: /var/lib/mrtg/xx.xxx.xxx.xxx_xx.rrd does not exist.
The mrtg.txt file was cut off so I cannot see what the error was.
Can you run this command again in a root ssh session and post the output to the ticket?
Also, the file name that is missing, can you post the full name of it so I can check it's configuration file?
Thank You.
Can you run this command again in a root ssh session and post the output to the ticket?
Code: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg -debug=cfg,base,logThank You.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: /var/lib/mrtg/xx.xxx.xxx.xxx_xx.rrd does not exist.
Hi
If irun this below command its taking lot of time and seems to be never ending
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg -debug=cfg,base,log
The file missing here is 10.168.168.166_26.rrd
I have run command to get rrd file information only related to 10.168.168.166 and have attached in this post.
Please help me in resolving this problem on urgent basis.
If irun this below command its taking lot of time and seems to be never ending
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg -debug=cfg,base,log
The file missing here is 10.168.168.166_26.rrd
I have run command to get rrd file information only related to 10.168.168.166 and have attached in this post.
Please help me in resolving this problem on urgent basis.
You do not have the required permissions to view the files attached to this post.