Posts Tagged ‘snmp’



On the Fortigate

On the LAN Interface ( Gateway Address ) Enable SNMP

Enable SNMP with your chosen Community Name
Add the Host IP of the local N-able Agent/Server Polling the Device

In Nable

Import Following Service Templates for Fortigate


ServiceTemplateExport (1)

Add a new Device via IP Address ( Category Router ) 
Add a Professional License so that you can query the Device using SNMP

Add Service templates to device



VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

If you are trying to get the size of your Synology Volume via SNMP < you will need to query the correct Index on the OID .

Synology does not have standard indexes , so you will need to start by downloading run and install SNMP walk on a machine that can communicate to the device over network

Enter the IP of the device in SNMP Walk ( Leave rest options to default ) and get the output to text File

Open the txt file and do a Search for volume and per below you should fine the list of OID’s

The last number will be the index , for example Index will be 41 fo the volume

. = STRING: “Physical memory”
. = STRING: “Virtual memory”
. = STRING: “Memory buffers”
. = STRING: “Cached memory”
. = STRING: “Shared memory”
. = STRING: “Swap space”
. = STRING: “/”
. = STRING: “/tmp”
. = STRING: “/run”
. = STRING: “/dev/shm”
. = STRING: “/volume1”

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

How to get OID from MIB

Use Passler MIB Importer ( ) to get your .mib’s into .oidlib

File Open

Then File Save As 

Find the Oid list for the device

Get information about the Oid

Login to Nable and add Custom Service

Add -> Service -> SNMP

Add Oid


Add Metric for Oid

Use the information you gathered from to help you define what value you will be given e.g. String , Booleon or Number



Modify threshold for Normal/Warning and Faily

Perform maths between Oids using Calculation to Use


Apply Custom service to device , make sure device is using professional license for SNMP and SNMP is open on the device with correct version 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: +1 (from 1 vote)

Recently on testing an MSA serving iSCSI hosts after modifying the MTU size to varying amounts to tests throughput of a hyper V host our SNMP monitoring system detected hundreds of Inbound Errors and 10’s of discard.

To resolve this reversal was performed on the SAN to disable Jumbo frames and to change he MTU size on the Switch and the Networks cards, however this errors still displayed on the SAN Eth 0-2 ports and did nothing to resolve this. In the end we had to restart each of the storage controllers ( A and B )  to resolve this

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Enabled SSH Login on your VCenter Appliance ( this can be done through the GUI or via Direct Console Access )

Run the below commands replacing username and snmp servername

snmp.set --users username/-/-/none
snmp.set --communities liability
snmp.set --v3targets snmpservername@161/username/none/trap


This command will show you all the current settings



VN:F [1.9.22_1171]
Rating: 8.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

ESX Version 5

You need to use the CLI to edtit this per below : 

PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> get-vmho

stsnmp | set-vmhostsnmp -enable:$true -readonlycommunity @(“%communityname%”) -addtarg

et -targetcommunity ‘%communityname%’ -targethost ip.ip.ip.ip

PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> get-vmho

stsnmp | test-vmhostsnmp


ESX version > 5


esxcli system snmp set --communities %communityname%
esxcli system snmp --targets ip.ip.ip.ip@162/%communityname%
esxcli system snmp set --enable true
esxcli system snmp test
/etc/init.d/snmpd restart



VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)