What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

HTTP Advanced Sensor with prtg variables

Votes:

0

Hello support team and community,

I'm currently try to replace our meraki monitoring from direct icmp calls to cloud based monitoring. I don't use the beta or prtg meraki sensors.

My plan is to use the HTTP Advanced Sensor and call each device individual via meraki API. So far so good. The API calls and custom http header are working.

Example:

https://api.meraki.com/api/v1/organizations/123456/devices/availabilities?serials[]=ABCD-JGDS-ABCD
Custom Header: X-Cisco-Meraki-API-Key: [MerakiAPI key]

My aim: I tried to store all variables in prtg field. Example:

%host = ABCD-JGDS-ABCD (serial number)
%windowsusername = 123456 (orgaID)
%windowspassword = [MerakiAPI key] 

The solution should be scaleable to have the chance to replace central variables without a lot of efford (example: monthly API key rotation).

My problem: All prtg varaibles are not working with in the sensor settings. I testet them one-by-one and run into http fails. Example:

https://api.meraki.com/api/v1/organizations/%windowsusername/devices/availabilities?serials[]=%host
Custom Header: X-Cisco-Meraki-API-Key: %windowspassword

Does someone have a solution to pass variables into http advanced sensors ?

api httpadvanced meraki prtgvariables

Created on Jan 25, 2023 7:39:39 AM

Last change on Jan 26, 2023 7:05:04 AM by  Felix Wiesneth [Paessler Support]



1 Reply

Votes:

0

Hello,

the only variables you can use are documented in our KB here (KB article: What placeholders can I use with PRTG?)

If you want to have this feature added in a future, please submit a feature request as described here: KB article: How can I propose new features or sensors for PRTG?


Kind regards,
Johannes Beyerlein, Technical Support Team

Created on Jan 30, 2023 10:29:00 AM by  Johannes Beyerlein [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.