Page 1 of 1
Displaying Negative value in Graph Explorer
Posted: Mon Nov 05, 2012 11:54 pm
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?
Re: Displaying Negative value in Graph Explorer
Posted: Tue Nov 06, 2012 10:52 am
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?
Re: Displaying Negative value in Graph Explorer
Posted: Thu Nov 08, 2012 12:19 pm
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.
Re: Displaying Negative value in Graph Explorer
Posted: Thu Nov 08, 2012 2:22 pm
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.
Re: Displaying Negative value in Graph Explorer
Posted: Fri Nov 09, 2012 5:39 pm
by cskang
Mike,
The new Graph Explorer handles the negative value properly.
Thanks for your quick resolution.
Regards,
Re: Displaying Negative value in Graph Explorer
Posted: Mon Nov 12, 2012 10:35 am
by mguthrie
Good deal. I'll commit the changes for he next component version.