Where would you add a multiplier?
-p 161 -o 'arrayVoltage.0' -C 'public' -P 2c -l 'Voltage' -m TRISTAR-MPPT -w 125 -c 150
Need to multiply against 0.003051757813 to get a true value on dashboard dashlet.
Macros
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Macros
If this is check_snmp it does not currently have a multiplier argument (it is a feature request). Your solution is to write a wrapper script that performs this conversion for you.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Macros
OK. Sorry to sound like a newb, but how do you do that? Or point me where I can learn how to.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Macros
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.