Hi,
I am trying to get your RESTAPI working and am getting an error returned
"Last Message: '=' is an unexpected token. The expected token is ';'. Line 29, position 94.: |
In the PRTG screen when it polls the url
Using the a REST Client I enter the following request
Get https://192.168.208.72/api/4.0/edges/edge-1/status |
And I get a response of
HTTP/1.1 200 OK
<?xml version="1.0" encoding="UTF-8"?> <edgeStatus> <timestamp>1507850357296</timestamp> <systemStatus>good</systemStatus> <activeVseHaIndex>0</activeVseHaIndex> <edgeStatus>GREEN</edgeStatus> <publishStatus>APPLIED</publishStatus> <version>165</version> <edgeVmStatus/> <featureStatuses> <featureStatus> <service>routing</service> <status>Applied</status> </featureStatus> <featureStatus> <service>highAvailability</service> <status>not_configured</status> </featureStatus> <featureStatus> <service>ipsec</service> <status>down</status> </featureStatus> <featureStatus> <service>nat</service> <status>Applied</status> </featureStatus> <featureStatus> <service>sslvpn</service> <status>up</status> </featureStatus> <featureStatus> <service>loadBalancer</service> <status>down</status> </featureStatus> <featureStatus> <service>l2vpn</service> <status>not_configured</status> </featureStatus> <featureStatus> <service>firewall</service> <status>Applied</status> </featureStatus> <featureStatus> <service>dhcp</service> <status>up</status> </featureStatus> <featureStatus> <service>syslog</service> <status>down</status> </featureStatus> <featureStatus> <service>dns</service> <status>up</status> </featureStatus> </featureStatuses> </edgeStatus>
How can I turn this info into a sensor? This is for VMware NSX.
Regards Trevor
Add comment