Is there a way to set the keyword search for a group of endpoints to the same thing via a variable? For Example, I would like to use a software version check of my network switch that will show me a warning when they are not up to date. Now I would set the software version manually for a group. I'm just trying to not have to manually update all of channels for my switches. Currently I'm using a Custom SNMP String with and OID to gather my data.
Thank you.
Article Comments
Hello there,
The thing is that the SNMP Custom String sensor display the string in the sensor's "Message" field and that's not something you can do much with in PRTG like running queries or comparisons against it.
One workaround might be to check it manually faster by running an API call, while selecting the sensors in question by a tag you need to apply before doing so:
http(s)://your_prtg_server/api/table.xml?content=sensors&output=xml&columns=objid,name,message&filter_tags=@tag(swversion)&username=prtgadmin&password=prtgadmin
@tag(swversion) is here just an example. The tags needs to exist in those sensors already which you can apply by using Multi-Edit. This API call provides you with an XML you can open in Excel containing all those sensors including the content of the sensor's message. This should provide you with a quick overview about mismatches in versioning. API calls like these are limited to 500 objects, so in case you expect more than than 500 sensors in your output, you can append an additional parameter &count=* at the end.
Kind regards,
Erhards
Oct, 2016 - Permalink
Hello there,
The thing is that the SNMP Custom String sensor display the string in the sensor's "Message" field and that's not something you can do much with in PRTG like running queries or comparisons against it.
One workaround might be to check it manually faster by running an API call, while selecting the sensors in question by a tag you need to apply before doing so:
http(s)://your_prtg_server/api/table.xml?content=sensors&output=xml&columns=objid,name,message&filter_tags=@tag(swversion)&username=prtgadmin&password=prtgadmin
@tag(swversion) is here just an example. The tags needs to exist in those sensors already which you can apply by using Multi-Edit. This API call provides you with an XML you can open in Excel containing all those sensors including the content of the sensor's message. This should provide you with a quick overview about mismatches in versioning. API calls like these are limited to 500 objects, so in case you expect more than than 500 sensors in your output, you can append an additional parameter &count=* at the end.
Kind regards,
Erhards
Oct, 2016 - Permalink