Page 1 of 1

Web template to convert Octets from snmp_get into MB or GB

Posted: Fri Apr 17, 2020 3:06 pm
by sshilton
Is there an easier way than writing a wrapper script in nagiosXI to convert snmp_get interface traffic from Palot Alto Firewalls into KB, MB, or GB?
The rrd's are increment with the counter value correctly, but the exec's wan't "prettier" graphs.
In core i would have wrote a wrapper, but I was hoping that XI (which I am new to) has something built in.
Thanks
-Sean

Re: Web template to convert Octets from snmp_get into MB or

Posted: Fri Apr 17, 2020 3:42 pm
by ssax
Unfortunately, it's the same process as you took before as it's the plugin that's returning it that way. If the plugin doesn't support it your only options would be to write a wrapper script/modify the plugin directly to support it/use a different plugin.

What is the exact plugin that you're running currently?