Hello,

I have many network switches and i run auto-discover on some of them to add active port that were connected. How can i add the option "Show alarm when disconnected" on all newlly discoverd network interfaces ?

Thank you, Yaron


Article Comments

Yaron,

What you could do is set up a device template with an snmp traffic sensor and the other sensors that you want to set up for these devices. After creating the template, you could edit the XML to force the traffic sensors to have this setting by editing the following tag:

        <monitorstate>
          0
        </monitorstate>

Change this to a 1 and the default setting for the Connection Handling Status will be changed to Show alarm when disconnected.


Mar, 2014 - Permalink

Hello Greg, Thank you for your reply. Is it possible to apply this setting as a default to the automatic discovery of PRTG or as a default setting for the snmp traffic sensor ?

Thank you, Yaron


Mar, 2014 - Permalink

This cannot be made as the default setting for this sensor type other than by using the device template with Auto-Discovery.


Mar, 2014 - Permalink

Can you tell me the location of the XML file?

Thank you, Yaron


Mar, 2014 - Permalink

On a normal 64 bit installation it should be under C:\Program Files (x86)\PRTG Network Monitor\devicetemplates. If you installed PRTG somewhere else, then you will have to look under the program files directory for the devicetemplates folder. You can check this article as well for where PRTG stores data.


Mar, 2014 - Permalink

thank you


Mar, 2014 - Permalink