Building Blocks

Create a map called stencil, paste these and use copies of them to create other maps.

<?xml version="1.0" ?>
<dude version="4.0beta3">
 <Device>
  <sys-type>15</sys-type>
  <sys-id>240078804</sys-id>
  <sys-name>Router</sys-name>
  <addresses>0.0.0.0</addresses>
  <dnsNames>Router</dnsNames>
  <lookup>name to address</lookup>
  <typeID>10295</typeID>
  <snmpProfileID>10002</snmpProfileID>
  <probeEnabled>no</probeEnabled>
 </Device>
 <NetworkMapElement>
  <sys-type>7810</sys-type>
  <sys-id>240078806</sys-id>
  <sys-name>[Device.Name]\0d\0a[Connected()]\0d\0a[Device.ServicesDown]</sys-name>
  <itemID>240078804</itemID>
  <itemX>94</itemX>
  <itemY>73</itemY>
  <itemUpColor>0080FF</itemUpColor>
  <itemDownPartialColor>FFFF00</itemDownPartialColor>
  <itemDownCompleteColor>FF0606</itemDownCompleteColor>
  <itemUnknownColor>D2D2D2</itemUnknownColor>
  <itemAckedColor>E413EA</itemAckedColor>
  <itemFont>0B00000000000000000000000000000000000000000000010000000042697473747265616D20566572612053616E7300000000000000000000000000</itemFont>
 </NetworkMapElement>
 <DataSource>
  <sys-type>41</sys-type>
  <sys-id>240078808</sys-id>
  <sys-name>ping @ Router</sys-name>
  <type>builtin</type>
  <unit>s</unit>
 </DataSource>
 <Service>
  <sys-type>17</sys-type>
  <sys-id>240078810</sys-id>
  <sys-name>Service</sys-name>
  <enabled>no</enabled>
  <deviceID>240078804</deviceID>
  <probeID>10261</probeID>
  <dataSourceID>240078808</dataSourceID>
  <timeSinceChanged>08/22/2017 08:10:07</timeSinceChanged>
 </Service>
 <Device>
  <sys-type>15</sys-type>
  <sys-id>240078792</sys-id>
  <sys-name>UPS</sys-name>
  <addresses>0.0.0.0</addresses>
  <dnsNames>UPS</dnsNames>
  <lookup>name to address</lookup>
  <typeID>105461</typeID>
  <snmpProfileID>10001</snmpProfileID>
 </Device>
 <NetworkMapElement>
  <sys-type>7810</sys-type>
  <sys-id>240078794</sys-id>
  <sys-name>[Device.Name]\0d\0a[Connected()]\0d\0a[Device.ServicesDown]</sys-name>
  <itemID>240078792</itemID>
  <itemX>219</itemX>
  <itemY>72</itemY>
  <itemUpColor>0080FF</itemUpColor>
  <itemDownPartialColor>FFFF00</itemDownPartialColor>
  <itemDownCompleteColor>FF0606</itemDownCompleteColor>
  <itemUnknownColor>D2D2D2</itemUnknownColor>
  <itemAckedColor>E413EA</itemAckedColor>
  <itemFont>0B00000000000000000000000000000000000000000000010000000042697473747265616D20566572612053616E7300000000000000000000000000</itemFont>
 </NetworkMapElement>
 <NetworkMapElement>
  <sys-type>7810</sys-type>
  <sys-id>240078741</sys-id>
  <sys-name>Net</sys-name>
  <itemType>static</itemType>
  <itemX>400</itemX>
  <itemY>72</itemY>
  <itemUseUpColor>yes</itemUseUpColor>
  <itemUseShape>yes</itemUseShape>
  <itemUseFont>yes</itemUseFont>
  <itemUpColor>FFFFFF</itemUpColor>
  <itemShape>cloud</itemShape>
  <itemFont>0B00000000000000000000000000000000000000000000010000000042697473747265616D20566572612053616E7300000000000000000000000000</itemFont>
 </NetworkMapElement>
 <Device>
  <sys-type>15</sys-type>
  <sys-id>240078784</sys-id>
  <sys-name>website</sys-name>
  <addresses>0.0.0.0</addresses>
  <lookup>name to address</lookup>
  <typeID>240009324</typeID>
  <probeEnabled>no</probeEnabled>
 </Device>
 <NetworkMapElement>
  <sys-type>7810</sys-type>
  <sys-id>240078786</sys-id>
  <sys-name>[Device.Name]\0d\0a[Device.ServicesDown]</sys-name>
  <itemID>240078784</itemID>
  <itemX>308</itemX>
  <itemY>74</itemY>
  <itemUseShape>yes</itemUseShape>
  <itemUseImageScale>yes</itemUseImageScale>
  <itemUpColor>0080FF</itemUpColor>
  <itemDownPartialColor>FFFF00</itemDownPartialColor>
  <itemDownCompleteColor>FF0606</itemDownCompleteColor>
  <itemUnknownColor>D2D2D2</itemUnknownColor>
  <itemAckedColor>E413EA</itemAckedColor>
  <itemShape>cloud</itemShape>
  <itemFont>0B00000000000000000000000000000000000000000000010000000042697473747265616D20566572612053616E7300000000000000000000000000</itemFont>
  <itemImageScale>40</itemImageScale>
 </NetworkMapElement>
 <DataSource>
  <sys-type>41</sys-type>
  <sys-id>240078788</sys-id>
  <sys-name>ping @ Kronos WEB</sys-name>
  <type>builtin</type>
  <unit>s</unit>
 </DataSource>
 <Service>
  <sys-type>17</sys-type>
  <sys-id>240078790</sys-id>
  <sys-name>Service</sys-name>
  <deviceID>240078784</deviceID>
  <probeID>10261</probeID>
  <dataSourceID>240078788</dataSourceID>
  <timeSinceChanged>08/24/2017 01:26:36</timeSinceChanged>
  <timeLastUp>1d 19:05:20</timeLastUp>
  <timeLastDown>00:00:40</timeLastDown>
  <timePrevUp>1264d 13:35:25</timePrevUp>
  <timePrevDown>19:55:03</timePrevDown>
  <probesDown>3</probesDown>
 </Service>
 <Device>
  <sys-type>15</sys-type>
  <sys-id>240078796</sys-id>
  <sys-name>switch</sys-name>
  <addresses>0.0.0.0</addresses>
  <dnsNames>switch</dnsNames>
  <lookup>name to address</lookup>
  <typeID>10296</typeID>
  <probeEnabled>no</probeEnabled>
 </Device>
 <NetworkMapElement>
  <sys-type>7810</sys-type>
  <sys-id>240078798</sys-id>
  <sys-name>[Device.Name]\0d\0a[Connected()]\0d\0a[Device.ServicesDown]</sys-name>
  <itemID>240078796</itemID>
  <itemX>157</itemX>
  <itemY>71</itemY>
  <itemUpColor>0080FF</itemUpColor>
  <itemDownPartialColor>FFFF00</itemDownPartialColor>
  <itemDownCompleteColor>FF0606</itemDownCompleteColor>
  <itemUnknownColor>D2D2D2</itemUnknownColor>
  <itemAckedColor>E413EA</itemAckedColor>
  <itemFont>0B00000000000000000000000000000000000000000000010000000042697473747265616D20566572612053616E7300000000000000000000000000</itemFont>
 </NetworkMapElement>
 <DataSource>
  <sys-type>41</sys-type>
  <sys-id>240078800</sys-id>
  <sys-name>ping @ switch</sys-name>
  <type>builtin</type>
  <unit>s</unit>
 </DataSource>
 <Service>
  <sys-type>17</sys-type>
  <sys-id>240078802</sys-id>
  <sys-name>Service</sys-name>
  <deviceID>240078796</deviceID>
  <probeID>10261</probeID>
  <dataSourceID>240078800</dataSourceID>
  <timeSinceChanged>08/22/2017 08:11:28</timeSinceChanged>
 </Service>
</dude>

cloudicon.png

I don’t use auto discover so creating a stencil map is the next best thing. The above XLM would not paste into another dude server which is confusing. Anyhow here is a screenshot of some objects that I put on a stencils map. I added the probes I like and save them then when I add a new device I just copy one of these.
stencils.png
Another thing that I wanted was a way to see if a device was up but not have it turn red or send a notification when down. I created a function called “online” and placed it on the device label. Now when it is up the label says “online”. Actually have two functions, one to return 1 or 0 and the other to return “online” The online one relies on the binary one.

function returns 1 if the device is up.
Name: binaryup
if( array_element(ping(device_property(“FirstAddress”)) , 0)<0 , 0 , 1 )

Function returns “online” if the device is up. relies on binaryup function.
Name: online
if(binaryup()<>1,“”,“online”)

Create the above functions then put [online()] on a device label and you will have a visual indicator of if the device is online but you will not get notifications. You can then use these in a probe to graph the RTT if you want to track the outages.

I really enjoy trying to find interesting ways to solve issues and push the envelope with the existing functionality, I want to move to the 6x version and keep enjoying the best free network monitor.