how do i get the same information that is in /api/getstatus.htm in /api/getstatus.xml?
For example, i would like to display all sensor counts on a display board and would like them in XML format, however, getstatus.xml does not report up sensor counts (as well as others).
Article Comments
If you want to have those values in the getstatus.xml api call, you can go to the webroot\api folder under the PRTG program files and edit the XML call to also have these lines of code:
<UnusualSens><#objectstatus name="unusualsens" id="0" show="textraw"></UnusualSens>
<UpSens><#objectstatus name="upsens" id="0" show="textraw"></UpSens>
<WarnSens><#objectstatus name="warnsens" id="0" show="textraw"></WarnSens>
<PausedSens><#objectstatus name="pausedsens" id="0" show="textraw"></PausedSens>
<UnknownSens><#objectstatus name="undefinedsens" id="0" show="textraw"></UnknownSens>
May, 2013 - Permalink
If you want to have those values in the getstatus.xml api call, you can go to the webroot\api folder under the PRTG program files and edit the XML call to also have these lines of code:
May, 2013 - Permalink