Displaying Negative value in graph Explorer

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
cskang
Posts: 68
Joined: Sat Mar 05, 2011 4:13 pm

Displaying Negative value in graph Explorer

Post by cskang »

Our wireless device collects performance data for Radio Signal Strength Indicator (RSSI) which is usually negative value.
When I tried to display the value of the RSSI performance data, it is not shown.

Is there anyway to display negative value in graph Explorer?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Displaying Negative value in graph Explorer

Post by mguthrie »

The highcharts library supports negative values, but to be honest I haven't ever tried before. Can you send a sample of your plugin output and performance data and we can take a look at what rrdtool and the graph explorer does with it?
cskang
Posts: 68
Joined: Sat Mar 05, 2011 4:13 pm

Re: Displaying Negative value in graph Explorer

Post by cskang »

Hi Mike,
Thanks for your prompt response.
Please find below, the format of the result that is being sent to the NRDP API for RSSI service of a wireless device.
Please let us know, if you need further details.

<checkresult type='service'>
<hostname>192.168.77.197</hostname>
<servicename>RSSI</servicename>
<state>0</state>
<output>RSSI OK,-29 dBm|'RSSI'=-29dBm;-70.000000;-75.000000</output>
</checkresult>


In the above <Output> tag, ('RSSI'=-29dBm;-70.000000;-75.000000) forms the performance data.

Please find two attachments:
1. the screenshot for “performance graph” for the service
2. “graphs Explorer” screenshot for the service.

It is observed that negative values are not displayed in Y-Axis of graph Explorer.
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Displaying Negative value in graph Explorer

Post by mguthrie »

It looks like I did have the minimum set at 0 for the graph explorer. I removed that setting from the attached component. Give it a try and let me know if that works. Install through the Admin->Manage Components page.
You do not have the required permissions to view the files attached to this post.
cskang
Posts: 68
Joined: Sat Mar 05, 2011 4:13 pm

Re: Displaying Negative value in graph Explorer

Post by cskang »

Mike,
The new graph Explorer handles the negative value properly.

Thanks for your quick resolution.

Regards,
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Displaying Negative value in graph Explorer

Post by mguthrie »

Good deal. I'll commit the changes for he next component version.