Hi,
We used wheatermap long time together with nagios and cacti but we changed last year our Monitoring to PRTG from Paessler. So far a simple and easy Interface and also with great maps. But there is no Chance to get a Network wheater map from them… But they provide an API Interface so this is how i get here to the Forum.
my idea is to use the data from the api who can return an XML or a json to use as data inside the Network wheater map… any idea if this case will be simple?
the json Looks like this:
{
“prtgversion”: “17.4.33.3283+”,
“sensordata”: {
“name”: “ifc22 (Slot: 1 Port: 22) - 100 MBit/s”,
“sensortype”: “snmptraffic 64bit”,
“interval”: “60”,
“probename”: “ZWL-PRTG-PRB1”,
“parentgroupname”: “Testing”,
“parentdevicename”: “Iost_001_5520 (192.168.152.153) [RMON]”,
“parentdeviceid”: “30704”,
“lastvalue”: “-”,
“lastmessage”: “Pausiert durch überg. Objekt”,
“favorite”: “false”,
“statustext”: “Pausiert (Pausiert durch überg. Objekt)”,
“statusid”: “7”,
“lastup”: “43122.6167475347 [liegt 47 Std. 7 Min. zurück]”,
“lastdown”: “-”,
“lastcheck”: “43122.6167475347 [liegt 47 Std. 7 Min. zurück]”,
“uptime”: “100.0000%”,
“uptimetime”: “25 Min. 39 Sek.”,
“downtime”: “0.0000%”,
“downtimetime”: “0 Sek.”,
“updowntotal”: “25 Min. 39 Sek. [=0% Abdeckung]”,
“updownsince”: “43118.4181715278 [liegt 6 Tg. 3 Std. 53 Min. zurück]”,
“info”: “remoteprobe”
}
}
and the XML like this:
<?xml version="1.0" encoding="UTF-8"?>
<sensordata>
<prtg-version>17.4.33.3283+</prtg-version>
<name>
<![CDATA[ifc22 (Slot: 1 Port: 22) - 100 MBit/s]]>
</name>
<sensortype>
<![CDATA[snmptraffic 64bit]]>
</sensortype>
<interval>
<![CDATA[60]]>
</interval>
<probename>
<![CDATA[ZWL-PRTG-PRB1]]>
</probename>
<parentgroupname>
<![CDATA[Testing]]>
</parentgroupname>
<parentdevicename>
<![CDATA[Iost_001_5520 (192.168.152.153) [RMON]]]>
</parentdevicename>
<parentdeviceid>
<![CDATA[30704]]>
</parentdeviceid>
<lastvalue>
<![CDATA[-]]>
</lastvalue>
<lastmessage>
<![CDATA[Pausiert durch überg. Objekt]]>
</lastmessage>
<favorite>
<![CDATA[]]>
</favorite>
<statustext>
<![CDATA[Pausiert (Pausiert durch überg. Objekt)]]>
</statustext>
<statusid>
<![CDATA[7]]>
</statusid>
<lastup>
<![CDATA[43122.6167475347 [liegt 46 Std. 50 Min. zurück]]]>
</lastup>
<lastdown>
<![CDATA[-]]>
</lastdown>
<lastcheck>
<![CDATA[43122.6167475347 [liegt 46 Std. 50 Min. zurück]]]>
</lastcheck>
<uptime>
<![CDATA[100.0000%]]>
</uptime>
<uptimetime>
<![CDATA[25 Min. 39 Sek.]]>
</uptimetime>
<downtime>
<![CDATA[0.0000%]]>
</downtime>
<downtimetime>
<![CDATA[0 Sek.]]>
</downtimetime>
<updowntotal>
<![CDATA[25 Min. 39 Sek. [=0% Abdeckung]]]>
</updowntotal>
<updownsince>
<![CDATA[43118.4181715278 [liegt 6 Tg. 3 Std. 36 Min. zurück]]]>
</updownsince>
</sensordata>