Page 1 of 1

Nagios XI is not showing complete plugin output and graph

Posted: Wed Jul 17, 2019 2:01 am
by kn00567386
Custom plugin was showing complete output in Nagios but was not showing performance graph. To see performance graph we made changes in plugin. But then after it is not showing complete output and performance graph is not showing all data points from output. Just wanted to understand where must be issue? Is there any limitation to output and data points in graph.

Re: Nagios XI is not showing complete plugin output and grap

Posted: Wed Jul 17, 2019 2:10 pm
by benjaminsmith
Hello,

Did you follow the guidelines for the expected format for performance data. Also, keep in mind, it will take several minutes before Nagios will start to generate the performance graph.

Nagios Plugin Development Guidelines

Can you post a screen shot of the advanced tab under the host or service detail. Go to Home > Service Status, find/search for the service an and take a screen shot of the Advanced tab.

Reference:
Nagios XI Performance Graph Problems

Re: Nagios XI is not showing complete plugin output and grap

Posted: Thu Jul 18, 2019 2:15 am
by kn00567386
Capture2.PNG
Hi Benjaminsmith,
Thanks for response. We have used guideline and achieve performance graph.
I have attached advance tab and performance graph. Only first two lines from below output is visible in Nagios Xi and same in graph too. Why it is not displaying 3rd and fourth line in Nagios Xi output and graph.


below is output of command with data points;
[kundan@iaas-nagios02 libexec]$ ./check_nrpe -H abc -t 300 -c check_pvc_stg -a '-w 60 -c 80'
OK - HDD2_StoragePool(idal13_01b_mdg_v7k_04_bb1_02): Used Storage Percent:(8.89%), Total Storage Space: 84.05 TB, Used Storage Space: 7.47 TB | HDD2_StoragePool Total Storage Space(TB)= 84.05; HDD2_StoragePool Used Storage Space(TB)= 7.47
OK - SSD1_StoragePool(idal13_01a_mdg_v7k_01_bb1_01): Used Storage Percent:(0.00%), Total Storage Space: 17.30 TB, Used Storage Space: 0.00 TB | SSD1_StoragePool Total Storage Space(TB)= 17.30; SSD1_StoragePool Used Storage Space(TB)= 0.00
OK - SSD2_StoragePool(idal13_01a_mdg_v7k_03_bb1_01): Used Storage Percent:(10.35%), Total Storage Space: 17.30 TB, Used Storage Space: 1.79 TB | SSD2_StoragePool Total Storage Space(TB)= 17.30; SSD2_StoragePool Used Storage Space(TB)= 1.79
OK - HDD1_StoragePool(idal13_01b_mdg_v7k_02_bb1_02): Used Storage Percent:(10.59%), Total Storage Space: 84.05 TB, Used Storage Space: 8.90 TB | HDD1_StoragePool Total Storage Space(TB)= 84.05; HDD1_StoragePool Used Storage Space(TB)= 8.90

Re: Nagios XI is not showing complete plugin output and grap

Posted: Thu Jul 18, 2019 4:02 pm
by mbellerue
Hello,

I am going to close out this post, as there is a ticket open for this and we would like to concentrate our efforts there.