Page 2 of 3
Re: Nagiosxi Graph problem
Posted: Mon Feb 06, 2017 2:36 am
by TimTielens
I'm sorry but i don't understand the question...
I allready gave an expample.
I also checked the service under the advance tab and there is no "action" stated under Performance Data.
So graphs are not generated like you said.
Is there a way to turn this on ?
Greetz
Re: Nagiosxi Graph problem
Posted: Mon Feb 06, 2017 10:17 am
by tgriep
In your earlier post, you said
"In the host dir, that is having trouble, i can see that the .rrd files of the service in particular are not created."
What is the name of the host and service that is not creating the .rrd files?
Re: Nagiosxi Graph problem
Posted: Tue Feb 21, 2017 7:30 am
by TimTielens
[root@PPSNAGIOS01 tmp]# cd /usr/local/nagios/share/perfdata/PPSB2D01/
[root@PPSNAGIOS01 PPSB2D01]# ls -l
total 5668
-rwxrwxr-x 1 nagios nagios 384952 Feb 21 13:29 CPU_Usage.rrd
-rw-rw-r-- 1 nagios nagios 2162 Feb 21 13:29 CPU_Usage.xml
-rwxrwxr-x 1 nagios nagios 384952 Feb 21 13:29 Drive_C__Disk_Usage.rrd
-rw-rw-r-- 1 nagios nagios 2347 Feb 21 13:29 Drive_C__Disk_Usage.xml
-rwxrwxr-x 1 nagios nagios 384952 Feb 21 13:26 Drive_D__Disk_Usage.rrd
-rw-rw-r-- 1 nagios nagios 2376 Feb 21 13:26 Drive_D__Disk_Usage.xml
-rwxrwxr-x 1 nagios nagios 1534768 Feb 21 13:26 _HOST_.rrd
-rw-rw-r-- 1 nagios nagios 3944 Feb 21 13:26 _HOST_.xml
-rwxrwxr-x 1 nagios nagios 384952 Feb 21 13:28 Memory_Usage.rrd
-rw-rw-r-- 1 nagios nagios 2311 Feb 21 13:28 Memory_Usage.xml
-rwxrwxr-x 1 nagios nagios 384952 Feb 21 13:28 Page_File_Usage.rrd
-rw-rw-r-- 1 nagios nagios 2443 Feb 21 13:28 Page_File_Usage.xml
-rwxrwxr-x 1 nagios nagios 1534768 Feb 21 13:28 Ping.rrd
-rw-rw-r-- 1 nagios nagios 4057 Feb 21 13:28 Ping.xml
-rwxrwxr-x 1 nagios nagios 384952 Feb 21 13:28 Server_Work_Queues.rrd
-rw-rw-r-- 1 nagios nagios 2690 Feb 21 13:28 Server_Work_Queues.xml
-rwxrwxr-x 1 nagios nagios 384952 Feb 21 13:28 Uptime.rrd
-rw-rw-r-- 1 nagios nagios 2082 Feb 21 13:28 Uptime.xml
[root@PPSNAGIOS01 PPSB2D01]#
Host : PPSB2D01
Service check snmp : Temp - DC01
Re: Nagiosxi Graph problem
Posted: Tue Feb 21, 2017 2:05 pm
by tgriep
I looked at the host called PPSB2D01 and couldn't find a service check called snmp : Temp - DC01 in your profile from last month but you said earlier, that the check didn't have any performance data so that is the reason why there is not a graph associated to it.
Some plugins do not return performance data and will not graph data and that is normal.
If you created a new service check called snmp : Temp - DC01, I would have to see the latest System Profile to see how the check is setup.
Can you post the latest System Profile?
Re: Nagiosxi Graph problem
Posted: Wed Feb 22, 2017 3:00 am
by TimTielens
Ok, but I know for sure that it worked in the past.
Can i send it in PM ?
I'm not comfortable with posting everything here.
Re: Nagiosxi Graph problem
Posted: Wed Feb 22, 2017 11:20 am
by tgriep
Yes, you can send the system profile in a PM if you like.
Re: Nagiosxi Graph problem
Posted: Thu Mar 02, 2017 9:57 am
by tgriep
Thanks for the new profile.
I looked through it and did not find a service check called "Temp DC01" for the host called PPSB2D01 but I did find one for the host called PPSUPS01.
So the service check is missing for the host PPSB2D01 and you would have to add it in to the system.
If that service check for the host called PPSUPS01 is not generating a graph is probably caused by an unknown Unit of Measurement you have specified in the command -u "°".
If the performance graph-er doesn't know the Unit of Measurement, it will not generate the graph.
Instead of using the symbol for degrees, try just spelling out Deg for the UOM like the following -u "Deg" and that should work for the graph label.
Re: Nagiosxi Graph problem
Posted: Fri Mar 03, 2017 3:02 am
by TimTielens
omg sorry, i used the wrong hostname..
You are right, I meant PPSUPS01
I'll try with the -u "Deg" in the check service.
Kind Regards
Re: Nagiosxi Graph problem
Posted: Fri Mar 03, 2017 3:06 am
by TimTielens
Yep, that works.
Strange because i never specified the "°" unit in the service.
And in the past it worked, after an update it stopped working.
Thx for the help !
Re: Nagiosxi Graph problem
Posted: Fri Mar 03, 2017 12:44 pm
by mcapra
Did you have additional questions regarding this issue, or can we close this thread and mark it as resolved?