This is a cache of https://support.nagios.com/kb/article/nagios-xi-icmp-and-ping-checks-stopped-graphing-149.html. It is a snapshot of the page at 2025-05-14T00:09:03.918+0000.
Nagios <strong>xi</strong> - ICMP and Ping Checks Stopped Graphing
Home » Categories » Products » Nagios xi » Troubleshooting » Common Problems

Nagios xi - ICMP and Ping Checks Stopped Graphing

Problem Description

Due to issues with rrdtool and the performance graphs, rrdtool may cease to record performance data to RRDs from check_icmp. This is caused by the addition of new performance datasources returned from the check_icmp plugin in newer versions of nagios-plugins.

This problem appeared after upgrading to xi 2014

The problem also exists with any performance data where additional datasources are returned with the performance data, compared to when the original performance data was received for this service.

We provide a script to search for, and subsequently add, the missing datasources to the RRDs in question. For those upgrading to 2014, this script will essentially double the size of all ping/icmp RRDs. Please verify that your xi server has ample free space before running the script (the backups consume the extra space).

You should backup your xi server, either through a VM snapshot or a full xi Backup. The script does provide a way to make backups of your RRDs, but it is better to perform the backup through one of the two above mentioned actions.

The script can be downloaded from: http://assets.nagios.com/downloads/nagiosxi/scripts/rrd_ds_fix.zip

 

Resolving The Problem

The following steps will check all the rrd files to ensure they have a valid amount of datasources.

First a Perl package needs to be installed using one of the commands below:

RHEL | CentOS | Oracle Linux

cpan -i RRD::Simple

 

Debian | Ubuntu

apt-get install -y librrd-simple-perl

 

Download and unzip the required files:

cd /tmp
wget https://assets.nagios.com/downloads/nagiosxi/scripts/rrd_ds_fix.zip
unzip rrd_ds_fix.zip

 

To run the script with RRD backups:

./fix_ds_quantity.sh -d /usr/local/nagios/share/perfdata/

 

To run the script without RRD backups (if you have performed one of the suggested backup options above):

./fix_ds_quantity.sh -i -d /usr/local/nagios/share/perfdata/

 

This Process may take a considerable amount of time depending on many RRDs needed to be updated. The script logs to /tmp/fix_rrd_ds.log. Once completed, it may take 5-10 minutes for the new datasources to appear in the performance graphs tab (longer if rrdcached is used).

 

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

5 (1)
Article Rating (1 Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Nagios xi - Modifying The Contents Of /usr/local/nagios/etc
Viewed 7249 times since Tue, Jan 26, 2016
NRPE - Agent and Plugin Explained
Viewed 68774 times since Fri, Jul 14, 2017
Nagios xi - Warning: Duplicate definition found for contact ’xi_default_contact’
Viewed 6684 times since Tue, Jan 26, 2016
Nagios xi - Host Still Visible After Deletion (Ghost Hosts)
Viewed 12372 times since Tue, Jan 27, 2015
Nagios xi - How To Test Check Commands From The Command-line
Viewed 49114 times since Tue, Jan 26, 2016
NDOUtils - Message Queue Exceeded
Viewed 16427 times since Thu, Jan 21, 2016
Nagios xi - How To Delete A Data Source From An RRD File
Viewed 14149 times since Wed, Apr 27, 2016
Nagios xi - SourceGuardian Errors 2009R1.2C
Viewed 4782 times since Tue, Feb 2, 2016
Nagios xi - SNMPTT Service generates Cannot find module errors
Viewed 6698 times since Sun, Apr 9, 2017
Nagios xi - Schedulded Backups No Longer Working
Viewed 8218 times since Fri, Jun 3, 2016