DX Unified Infrastructure Management

 View Only

Custom Dashboards: Adding SNMP Values

By Anon Anon posted Sep 28, 2012 11:09 AM

  

Ensure you have a working SNMPGET probe installed, highlight the probe and press CTRL+P to open the probe utility. From the probe commandset drop down box select the "query_agent" call back and populate the appropriate fields. Here is an example:

 

 

 

I have a basic Debian Linux server running SNMPD running protocol V2. The SNMPGET probe configuration is is quite simple the only thing I want to point out here is the root and oid values. By setting them the same SNMPGET would return a single oid value and not walk from the root to the oid retuning multiple values. This might be obvious to experienced SNMP users but not all.

 

I suggest using the probe utility above as its quicker to configure and experiment with values than using the dashboard designer interface. We will now use these values to populate a text box in Dashboard Designer with the "variable" return value from the oid we selected about, in this case "Debian-apache"

 

Create a new Dashboard in Dashboard Designer. Drag a simple text box to the canvas and select data source.

 

 

 

Populate the probe tab with the same details we used in step one using the probe utility. Don't forget to fill in the arguments section by clicking on the "arguments" button:

 

 

One last config is the advanced button:

 

 

Here we see the return from the OID and using the drop down "Result Token" we can select which value to choose. I selected "variable" because unlike the "value" return it print debian-apache without quotes.

 

 

Hit the apply button and drag the "Arrow" icon to the text box we created. Save, publish or preview the dashboard:

 

 

You should now see your SNMP value printed to screen! (Added a computer icon for added artistic value!)

 

5 comments
5 views