Page 1 of 1

Need to convert String data type to Integer for graphing

Posted: Tue Oct 13, 2015 11:48 am
by Nagman333
Hi,

I have several network management parameters that I would like to monitor via SNMP. I am able to monitor these parameters okay without any issue and I see the results in Nagios.

The issue is that I would like to graph the results for historical analysis but the data types are of type: String. It appears that Nagios is only able to graph Integer/numeric data types. Not sure if that is 100% correct though?

Is there any way to accomplish this?

Thanks,
Mark

Re: Need to convert String data type to Integer for graphing

Posted: Tue Oct 13, 2015 12:34 pm
by tgriep
From what I found, you cannot get performance data if the output is a string.
You would have to write a wrapper script to convert it.
Can you show how the command is run and the output you are receiving?