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 ?
Add comment