.rrd does not exist
-
kalyanpabolu
- Posts: 246
- Joined: Fri Jul 03, 2020 4:18 am
.rrd does not exist
Hello Team,
We have recently added few routers in Nagios XI. When trying to monitor the bandwidth for a particular interface, we are getting below error:
/var/lib/mrtg/10.18.180.1_1.rrd does not exist.
The port is actually UP and its status is GREEN in Nagios XI. But for bandwidth we are getting the error. Could you please help us on this?
[root@vmaz-nagiosxi libexec]# ./check_ifoperstatus -H 10.18.180.1 -C **************** -k 1 -v 2 -p 161
OK: Interface GigabitEthernet0/0/0 (index 1) is up.
[root@vmaz-nagiosxi libexec]#
[root@vmaz-nagiosxi libexec]#
[root@vmaz-nagiosxi libexec]# ./check_rrdtraf -f /var/lib/mrtg/10.18.180.1_1.rrd -w 1.60,1.60 -c 1.90,1.90 -l M
/var/lib/mrtg/10.18.180.1_1.rrd does not exist.
[root@vmaz-nagiosxi libexec]#
We also tried removing the service and reconfiguring it, still no luck.
Please suggest!!
Thanks in advance!!
We have recently added few routers in Nagios XI. When trying to monitor the bandwidth for a particular interface, we are getting below error:
/var/lib/mrtg/10.18.180.1_1.rrd does not exist.
The port is actually UP and its status is GREEN in Nagios XI. But for bandwidth we are getting the error. Could you please help us on this?
[root@vmaz-nagiosxi libexec]# ./check_ifoperstatus -H 10.18.180.1 -C **************** -k 1 -v 2 -p 161
OK: Interface GigabitEthernet0/0/0 (index 1) is up.
[root@vmaz-nagiosxi libexec]#
[root@vmaz-nagiosxi libexec]#
[root@vmaz-nagiosxi libexec]# ./check_rrdtraf -f /var/lib/mrtg/10.18.180.1_1.rrd -w 1.60,1.60 -c 1.90,1.90 -l M
/var/lib/mrtg/10.18.180.1_1.rrd does not exist.
[root@vmaz-nagiosxi libexec]#
We also tried removing the service and reconfiguring it, still no luck.
Please suggest!!
Thanks in advance!!
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: .rrd does not exist
Hi @kalyanpabolu,
It can take a few minutes to generate the graphs. If the issue persists, please post the output to the following commands to the thread.
If you have 1000+ cfg files, you may need to increase the open file limits.
Nagios XI - ERROR: unable to open include file: /etc/mrtg/conf.d/xxxxxxx.cfg
Benjamin
It can take a few minutes to generate the graphs. If the issue persists, please post the output to the following commands to the thread.
Code: Select all
ls -l /var/lib/mrtg
ls -l /var/lib/mrtg/10.18.180.1_1.rrd
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
Nagios XI - ERROR: unable to open include file: /etc/mrtg/conf.d/xxxxxxx.cfg
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!
-
kalyanpabolu
- Posts: 246
- Joined: Fri Jul 03, 2020 4:18 am
Re: .rrd does not exist
Hello,
Thanks for your reply!!
The service is still giving the same error. Its more than a day now.
The open file limit is already set to a higher value.
# End of file
* hard nofile 10000
* soft nofile 10000
root hard nofile 10000
root soft nofile 10000
PFA the output of the commands given by you.
Thanks for your reply!!
The service is still giving the same error. Its more than a day now.
The open file limit is already set to a higher value.
# End of file
* hard nofile 10000
* soft nofile 10000
root hard nofile 10000
root soft nofile 10000
PFA the output of the commands given by you.
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: .rrd does not exist
Hi,
Thank you for the log files. Some of the rrd files in that output do not have the correct permissions settings. Please run through the following commands to correct the permission settings.
Then follow the steps in the article below to increase the timeout and load_threshold on the server, and let me know if the problem is resolved. If not, please send me the system profile.
Nagios XI - Performance Graph Problems
Best Regards,
Benjamin
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
Thank you for the log files. Some of the rrd files in that output do not have the correct permissions settings. Please run through the following commands to correct the permission settings.
Code: Select all
chown apache:nagios /etc/mrtg -R
chmod 775 /etc/mrtg -R
chown apache:nagios /var/lib/mrtg -R
chmod 775 /var/lib/mrtg -R
Nagios XI - Performance Graph Problems
Best Regards,
Benjamin
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!
-
kalyanpabolu
- Posts: 246
- Joined: Fri Jul 03, 2020 4:18 am
Re: .rrd does not exist
Hello,
The issue is still not resolved. PFA the profile file for your reference.
Moderator's Note: The profile has been shared with the support team but has been removed from the public forum.
The issue is still not resolved. PFA the profile file for your reference.
Moderator's Note: The profile has been shared with the support team but has been removed from the public forum.
Re: .rrd does not exist
Please edit this file:
Change this:
To this:
I'm also seeing this:
Edit this file:
Change this code:
To this:
Then restart the services:
Then validate. If it fails again attach a FRESH copy of you profile.
Code: Select all
/usr/local/nagiosxi/html/config.inc.phpCode: Select all
$cfg['use_https'] = true;Code: Select all
$cfg['use_https'] = false;I'm also seeing this:
Code: Select all
[Mon Jan 04 07:10:32.132544 2021] [proxy_fcgi:error] [pid 1821107:tid 140449272534784] (70007)The timeout specified has expired: [client 10.1.X.X:60556] AH01075: Error dispatching request to : (polling), referer: http://10.44.X.X/nagiosxi/includes/components/xicore/Code: Select all
/etc/httpd/conf.d/php.confCode: Select all
#
# Redirect to local php-fpm (no mod_php in default configuration)
#
<IfModule !mod_php5.c>
<IfModule !mod_php7.c>
# Enable http authorization headers
SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
<FilesMatch \.(php|phar)$>
SetHandler "proxy:unix:/run/php-fpm/www.sock|fcgi://localhost"
</FilesMatch>
</IfModule>
</IfModule>Code: Select all
#
# Redirect to local php-fpm (no mod_php in default configuration)
#
<IfModule !mod_php5.c>
<IfModule !mod_php7.c>
# Enable http authorization headers
SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
Timeout 600
RequestReadTimeout header=600,minrate=50
RequestReadTimeout body=600,minrate=50
<Proxy "unix:/run/php-fpm/www.sock|fcgi://localhost">
ProxySet timeout=600
</Proxy>
<FilesMatch \.(php|phar)$>
SetHandler "proxy:unix:/run/php-fpm/www.sock|fcgi://localhost"
</FilesMatch>
</IfModule>
</IfModule>Code: Select all
systemctl restart httpd
systemctl restart php-fpm-
kalyanpabolu
- Posts: 246
- Joined: Fri Jul 03, 2020 4:18 am
Re: .rrd does not exist
Hello,
Issue is still not resolved. PFA the profile file.
Moderator's Note: The profile has been shared with the support team but has been removed from the public forum.
Issue is still not resolved. PFA the profile file.
Moderator's Note: The profile has been shared with the support team but has been removed from the public forum.
Re: .rrd does not exist
You can try reverting that change (see the previous post for the original), make sure to restart apache after:
There are some bugs in the version of NDO3 you are running, please copy the attached ndo-master.zip file to the XI server and run the following as root against the zip file:
[/s]
Then edit this file:
Change this:
To this:
Then edit this file:
Change this:
To this:
Then restart npcd:
Then apply configuration, wait 15 minutes, and check if the graphs are being created.
If they are still not being created, please create a ticket for this and include a link back to this forum thread so we can get a remote session setup:
https://support.nagios.com/tickets/
Thank you!
Code: Select all
systemctl restart httpdCode: Select all
unzip ndo-master.zip
cd ndo-master
./configure
make all
make install
systemctl restart nagiosThen edit this file:
Code: Select all
/usr/local/nagios/etc/pnp/npcd.cfgCode: Select all
#use_load_threshold = 0Code: Select all
use_load_threshold = 0Code: Select all
/usr/local/nagios/etc/pnp/process_perfdata.cfgCode: Select all
TIMEOUT = 30Code: Select all
TIMEOUT = 40Code: Select all
systemctl restart npcdIf they are still not being created, please create a ticket for this and include a link back to this forum thread so we can get a remote session setup:
https://support.nagios.com/tickets/
Thank you!
You do not have the required permissions to view the files attached to this post.
-
kalyanpabolu
- Posts: 246
- Joined: Fri Jul 03, 2020 4:18 am
Re: .rrd does not exist
Hello,
Just to update you here.
We have recently upgraded Nagios XI to 5.7.5. There is one ticket we had raised for the Nagios XI slowness issue. Tom GRIEP is working on it. He already gave the ndo_master file there and we have performed the required steps. Below is the ticket number for your reference:
Monitoring Engine Event Queue not updating #568454
Could you please confirm with him once?
If still required to make the changes, we will do.
Thanks for you support!!
Just to update you here.
We have recently upgraded Nagios XI to 5.7.5. There is one ticket we had raised for the Nagios XI slowness issue. Tom GRIEP is working on it. He already gave the ndo_master file there and we have performed the required steps. Below is the ticket number for your reference:
Monitoring Engine Event Queue not updating #568454
Could you please confirm with him once?
If still required to make the changes, we will do.
Thanks for you support!!
Re: .rrd does not exist
I checked the ticket, ignore the ndo-master.zip change as you already did that from the ticket (I crossed them out in the previous post) but still follow the other steps in the last message.