Hi, everyone. I created a SNMPCustomSensor. The value I get back is the Total Ramsize of a Sophos UTM9 Firewall in KByte (8101408). But I want it in GB so I divided it with 1048576. It is a realy long value behind the comma. Is there a chance to round the result to 2 numbers behind the comma?
best regards
Article Comments
Hi I'm using the following OID's. I've not tested every one.
Useful SNMP Query OIDs
The following list contains some commonly used OID values for SNMP queries. This is not an exhaustive list, and more information may be found by using an application capable of walking the SNMP tree, and returning all available values.
UTM Name: 1.3.6.1.2.1.1.5.0
UTM Location: 1.3.6.1.2.1.1.6.0
Total Physical RAM: .1.3.6.1.4.1.2021.4.5.0
System Uptime: .1.3.6.1.2.1.25.1.1.0
System Time: .1.3.6.1.4.1.2021.100.4.0
Network Interface Details
Each interface may be referenced directly, by replacing the # with its corresponding number
Number of network interfaces: .1.3.6.1.2.1.2.1.0
Interface Name: .1.3.6.1.2.1.2.2.1.2.#
MTU: .1.3.6.1.2.1.2.2.1.4.#
Link Speed: .1.3.6.1.2.1.2.2.1.5.#
MAC Address: .1.3.6.1.2.1.2.2.1.6.#
Bytes Received: .1.3.6.1.2.1.2.2.1.10.#
Unicast Packets Received: .1.3.6.1.2.1.2.2.1.11.#
Discarded Incoming Packets: .1.3.6.1.2.1.2.2.1.13.#
Receive Errors: .1.3.6.1.2.1.2.2.1.14.#
Bytes Sent: .1.3.6.1.2.1.2.2.1.16.#
Unicast Packets Sent: .1.3.6.1.2.1.2.2.1.17.#
Discarded Outgoing Packets: .1.3.6.1.2.1.2.2.1.19.#
Send Errors: .1.3.6.1.2.1.2.2.1.20.#
Memory Usage
Total Physical RAM: .1.3.6.1.4.1.2021.4.5.0
Total Physical RAM used: .1.3.6.1.4.1.2021.4.6.0
Total Physical RAM Free: .1.3.6.1.4.1.2021.4.11.0
Total Swap: .1.3.6.1.4.1.2021.4.3.0
Total Swap Free: .1.3.6.1.4.1.2021.4.4.0
System/CPU Load
Load Average over previous 1 minute: 1.3.6.1.4.1.2021.10.1.3.1
Load Average over previous 5 minutes: 1.3.6.1.4.1.2021.10.1.3.2
Load Average over previous 15 minutes: 1.3.6.1.4.1.2021.10.1.3.3
CPU IDLE Time
Percent of time CPU is idle: 1.3.6.1.4.1.2021.11.11.0
Source
Sophos Article 119371 Appendix for RMM
Best regards
Alexander Berkahn
Jun, 2015 - Permalink
If you go into the channel settings on the Sensor Overview page, there should a place to change how many decimals are shown in the result. Would it be possible to share here what OIDs you are using for the sensor in case someone else is looking to monitor that device?
Jun, 2015 - Permalink