Two NagiosXI host monitor remote same Server got different..

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Two NagiosXI host monitor remote same Server got different..

Post by xpertech »

There are two NagiosXI host(production NagiosXI and backup NagiosXI) both monitor the same remote server, but why got different graph(refer attachment)?

both two NagiosXI hosts are in the same VM host,
what could be the problem?
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Two NagiosXI host monitor remote same Server got differe

Post by ssax »

That's measuring round trip ping time which means during the last screenshot the round trip time was higher which can mean the XI server or remote device had more load, a device in the network path was going slow for some reason, or something else network related impacted the speed at which they were sent/received.

What was the load like on the XI server during that time?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Two NagiosXI host monitor remote same Server got differe

Post by ssax »

In addition, npolovenko noticed the bottom one has k in the interface and the top one doesn't.

Please PM a copy from BOTH XI servers of these files:

Code: Select all

/usr/local/nagios/share/perfdata/HOSTNAME/_HOST_.rrd
/usr/local/nagios/share/perfdata/HOSTNAME/_HOST_.xml
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: Two NagiosXI host monitor remote same Server got differe

Post by xpertech »

ssax wrote:In addition, npolovenko noticed the bottom one has k in the interface and the top one doesn't.

Please PM a copy from BOTH XI servers of these files:

Code: Select all

/usr/local/nagios/share/perfdata/HOSTNAME/_HOST_.rrd
/usr/local/nagios/share/perfdata/HOSTNAME/_HOST_.xml

already PM the files.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Two NagiosXI host monitor remote same Server got differe

Post by ssax »

Received, it looks like the XML files are different versions and contain different data (which likely means the RRD on 197 is older too), I'm wondering if 197 (I'm referring to the images being prepended in the PMs you sent me) has been around since before we upgraded /usr/local/nagios/libexec/process_perfdata.pl so it's in an older version, that's the only thing I can think of.

Are both XI servers the same XI version?

What version of NPCD are they both running:

Code: Select all

/usr/local/nagios/bin/npcd -V
Are these files the same on both systems?

Code: Select all

/usr/local/nagios/libexec/process_perfdata.pl
/usr/local/nagios/etc/pnp/npcd.cfg
/usr/local/nagios/etc/pnp/process_perfdata.cfg
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: Two NagiosXI host monitor remote same Server got differe

Post by xpertech »

the two NagiosXI are different version, 197 today upgrade from 5.6.2 to 5.6.3, 199 is 5.4.11

attachments are collected file from 197 & 199
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Two NagiosXI host monitor remote same Server got differe

Post by ssax »

It's because they are different XI versions and the RRD file was created with different versions:
Received, it looks like the XML files are different versions and contain different data (which likely means the RRD on 197 is older too), I'm wondering if 197 (I'm referring to the images being prepended in the PMs you sent me) has been around since before we upgraded /usr/local/nagios/libexec/process_perfdata.pl so it's in an older version, that's the only thing I can think of.
You would need to upgrade the older version and then see if it shows differently, more than likely it WILL NOT show differently because the RRD file was created in the old version. Wait 15 minutes and see if it shows, if it still doesn't show after 15 minutes, you will need to delete the RRD file so that it get recreated in the new version (on the older server):

Code: Select all

rm -f /usr/local/nagios/share/perfdata/HOSTNAME/SERVICENAME.rrd
Then it will be rebuilt with the same information (as long as the service checks are the same).
Locked