Nagiosxi Graph problem

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
TimTielens
Posts: 13
Joined: Wed Jan 06, 2016 7:06 am

Nagiosxi Graph problem

Post by TimTielens »

Hello,

Most of my rrd graphs aren't working anymore.
I get this in my perfdata.log

Code: Select all

2017-01-12 09:10:53 [38681] [2] RRDs::update /usr/local/nagios/share/perfdata/PPSB2D01/CPU_Usage.rrd 1484208638:0
2017-01-12 09:10:53 [38681] [2] /usr/local/nagios/share/perfdata/PPSB2D01/CPU_Usage.rrd updated
2017-01-12 09:10:53 [38681] [2] Processing Line 20
2017-01-12 09:10:53 [38681] [2] No Perfdata. Skipping line 20
2017-01-12 09:10:53 [38681] [2] Processing Line 21
2017-01-12 09:10:53 [38681] [2] No Perfdata. Skipping line 21
2017-01-12 09:10:53 [38681] [2] Processing Line 22
2017-01-12 09:10:53 [38681] [2] Datatype set to 'SERVICEPERFDATA'
2017-01-12 09:10:53 [38681] [1] Found Performance Data for PPSFMEA01 / Server_Work_Queues ('Current work queue (an indication of processing load) is %.f '=0.000000%;4.000000;7.000000;)
2017-01-12 09:10:53 [38681] [2] No Custom Template found for check_xi_service_nsclient (/usr/local/nagios/etc/pnp/check_commands/check_xi_service_nsclient.cfg)
2017-01-12 09:10:53 [38681] [2] Template is check_xi_service_nsclient.php
2017-01-12 09:10:53 [38681] [2] data2rrd called
2017-01-12 09:10:53 [38681] [2] RRDs::update /usr/local/nagios/share/perfdata/PPSFMEA01/Server_Work_Queues.rrd 1484208640:0.000000
2017-01-12 09:10:53 [38681] [2] /usr/local/nagios/share/perfdata/PPSFMEA01/Server_Work_Queues.rrd updated
2017-01-12 09:10:53 [38681] [2] Processing Line 23
2017-01-12 09:10:53 [38681] [2] Datatype set to 'SERVICEPERFDATA'
2017-01-12 09:10:53 [38681] [1] Found Performance Data for PPSB2D01 / Memory_Usage ('Memory usage'=4532.31MB;40922.74;43196.22;0.00;45469.71)
2017-01-12 09:10:53 [38681] [2] No Custom Template found for check_xi_service_nsclient (/usr/local/nagios/etc/pnp/check_commands/check_xi_service_nsclient.cfg)
2017-01-12 09:10:53 [38681] [2] Template is check_xi_service_nsclient.php
2017-01-12 09:10:53 [38681] [2] data2rrd called
2017-01-12 09:10:53 [38681] [2] RRDs::update /usr/local/nagios/share/perfdata/PPSB2D01/Memory_Usage.rrd 1484208640:4532.31
2017-01-12 09:10:53 [38681] [2] /usr/local/nagios/share/perfdata/PPSB2D01/Memory_Usage.rrd updated
2017-01-12 09:10:53 [38681] [2] Processing Line 24
2017-01-12 09:10:53 [38681] [2] Datatype set to 'SERVICEPERFDATA'
2017-01-12 09:10:53 [38681] [1] Found Performance Data for PUNSAPQ02 / Logon_Errors ('Login Errors since last reboot is %.f'=0.000000%;2.000000;20.000000;)
2017-01-12 09:10:53 [38681] [2] No Custom Template found for check_xi_service_nsclient (/usr/local/nagios/etc/pnp/check_commands/check_xi_service_nsclient.cfg)
2017-01-12 09:10:53 [38681] [2] Template is check_xi_service_nsclient.php
2017-01-12 09:10:53 [38681] [2] data2rrd called
2017-01-12 09:10:53 [38681] [2] RRDs::update /usr/local/nagios/share/perfdata/PUNSAPQ02/Logon_Errors.rrd 1484208640:0.000000
2017-01-12 09:10:53 [38681] [2] /usr/local/nagios/share/perfdata/PUNSAPQ02/Logon_Errors.rrd updated
2017-01-12 09:10:53 [38681] [2] Processing Line 25
2017-01-12 09:10:53 [38681] [2] Datatype set to 'SERVICEPERFDATA'
2017-01-12 09:10:53 [38681] [1] Found Performance Data for PPEWINREPLICA02 / Drive_H__Disk_Usage ('H:\ Used Space'=776.02Gb;1350.00;1425.00;0.00;1500.00)
2017-01-12 09:10:53 [38681] [2] No Custom Template found for check_xi_service_nsclient (/usr/local/nagios/etc/pnp/check_commands/check_xi_service_nsclient.cfg)
2017-01-12 09:10:53 [38681] [2] Template is check_xi_service_nsclient.php
2017-01-12 09:10:53 [38681] [2] data2rrd called
2017-01-12 09:10:53 [38681] [2] RRDs::update /usr/local/nagios/share/perfdata/PPEWINREPLICA02/Drive_H__Disk_Usage.rrd 1484208641:776.02
2017-01-12 09:10:53 [38681] [2] /usr/local/nagios/share/perfdata/PPEWINREPLICA02/Drive_H__Disk_Usage.rrd updated
2017-01-12 09:10:53 [38681] [2] Processing Line 26
2017-01-12 09:10:53 [38681] [2] Datatype set to 'SERVICEPERFDATA'
2017-01-12 09:10:53 [38681] [1] Found Performance Data for PUNSAPD03 / Logon_Errors ('Login Errors since last reboot is %.f'=0.000000%;2.000000;20.000000;)
2017-01-12 09:10:53 [38681] [2] No Custom Template found for check_xi_service_nsclient (/usr/local/nagios/etc/pnp/check_commands/check_xi_service_nsclient.cfg)
2017-01-12 09:10:53 [38681] [2] Template is check_xi_service_nsclient.php
2017-01-12 09:10:53 [38681] [2] data2rrd called
2017-01-12 09:10:53 [38681] [2] RRDs::update /usr/local/nagios/share/perfdata/PUNSAPD03/Logon_Errors.rrd 1484208641:0.000000
2017-01-12 09:10:53 [38681] [2] /usr/local/nagios/share/perfdata/PUNSAPD03/Logon_Errors.rrd updated
2017-01-12 09:10:53 [38681] [2] Processing Line 27
2017-01-12 09:10:53 [38681] [2] Datatype set to 'SERVICEPERFDATA'
2017-01-12 09:10:53 [38681] [1] Found Performance Data for Aruba_7030 / HTTP (time=0.030906s;;;0.000000 size=258B;;;0)
2017-01-12 09:10:53 [38681] [2] No Custom Template found for check_xi_service_http (/usr/local/nagios/etc/pnp/check_commands/check_xi_service_http.cfg)
2017-01-12 09:10:53 [38681] [2] Template is check_xi_service_http.php
2017-01-12 09:10:53 [38681] [2] No Custom Template found for check_xi_service_http (/usr/local/nagios/etc/pnp/check_commands/check_xi_service_http.cfg)
2017-01-12 09:10:53 [38681] [2] Template is check_xi_service_http.php
2017-01-12 09:10:53 [38681] [2] data2rrd called
2017-01-12 09:10:53 [38681] [2] RRDs::update /usr/local/nagios/share/perfdata/Aruba_7030/HTTP.rrd 1484208642:0.030906:258
2017-01-12 09:10:53 [38681] [2] /usr/local/nagios/share/perfdata/Aruba_7030/HTTP.rrd updated
2017-01-12 09:10:53 [38681] [1] 27 lines processed
2017-01-12 09:10:53 [38681] [1] /usr/local/nagios/var/spool/perfdata//1484208642.perfdata.service-PID-38681 deleted
2017-01-12 09:10:53 [38681] [1] PNP exiting (runtime 0.059789s) ...
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagiosxi Graph problem

Post by dwhitfield »

Were there any changes made to the system, like an XI upgrade?

What's the output of ll /usr/local/nagios/share/perfdata/?
TimTielens
Posts: 13
Joined: Wed Jan 06, 2016 7:06 am

Re: Nagiosxi Graph problem

Post by TimTielens »

i always upgrade, but the graphs started malfunctioning from the beginning.

The output of the command , shows all my devicenames that are monitored in nagiosxi
TimTielens
Posts: 13
Joined: Wed Jan 06, 2016 7:06 am

Re: Nagiosxi Graph problem

Post by TimTielens »

In the host dir, that is having trouble, i can see that the .rrd files of the service in particular are not created.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagiosxi Graph problem

Post by rkennedy »

Could you please send over a profile for us to look at? (Admin -> System Profile -> Download Profile)

Once you do, please post back here to bring this thread back up on our dashboard.

EDIT: profile received.
Former Nagios Employee
TimTielens
Posts: 13
Joined: Wed Jan 06, 2016 7:06 am

Re: Nagiosxi Graph problem

Post by TimTielens »

You have a pm, thanks in advance
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagiosxi Graph problem

Post by tgriep »

I am seeing some corrupt MYSQL tables so lets fix those and see if that helps out.
Login as root to the server and run the following to repair the database.

Code: Select all

mysqlcheck -f -r -u root -pnagiosxi --use_frm --databases nagios nagiosql
service nagios restart
Wait for 15 minutes to see if the graphs start to populate.
If not, can you post the host name and the service name of one example of a missing graphs?
Be sure to check out our Knowledgebase for helpful articles and solutions!
TimTielens
Posts: 13
Joined: Wed Jan 06, 2016 7:06 am

Re: Nagiosxi Graph problem

Post by TimTielens »

Ok, trying this now.
Will report back
TimTielens
Posts: 13
Joined: Wed Jan 06, 2016 7:06 am

Re: Nagiosxi Graph problem

Post by TimTielens »

The graphs are still not working, also the rrd files are not created.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagiosxi Graph problem

Post by tgriep »

Can you post the host name and the service name of one example of a missing graphs?
Also, it the plugin / check that you are using doesn't return performance data, a performance graph will not be created and that is a normal function.
To see if a host or service returns performance data, go to the Host Details or Service Details screen and select one of the host or service checks.
Then click on the Advanced Tab, if you do not see data in the Performance Data: field, then there will not be a graph generated.
If you do see data there and no graph, then the performance output is not correct and we will have to see a screen shot of it to help debug the issue.
Please post that here.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked