Hello,
I'd like to make a report with the availability rate of my servers. This availability rate must be a combination of many sensors.
For example the availability of my application server should be a combination of the following sensors :
- ping
- free space
- application service
- tomcat service
Thanks
Article Comments
Thanks for your reply,
I don't think that match my needs. Actually, when you use the availability rate reports you receive the availability rate of each sensor we asked. I'd like to receive the global availability rate of my server which should be an average rate of the availability of selected sensors.
Thanks for your help
May, 2014 - Permalink
As the Sensor Factory does not calculate such an average on the Uptime/Availability, it will be necessary to get the data from the PRTG API, and perform the calculation then externally. Please see "Setup"->"PRTG API"->"Historic Data" for more details.
May, 2014 - Permalink
You can try using sensor factory using boolean operations
For example
#1:Disp 100 - ( ( (status(2461)/100) +( status(2472)/100) ) /2 )
Here you can get Availability % of these two sensors
The status function returns 10000 when is down and 0 when is up
Jan, 2015 - Permalink
Hi, can we have detail example of the use of historic data and HTTP API? I mean of a real case, not only the procedure. With which tool (example)? And where are we suppose to past this command: /api/historicdata.xml?id=objectid&avg=0&sdate=2017-01-20-00-00-00&edate=2017-01-21-00-00-00 ???
May, 2017 - Permalink
Hi, can we have detail example of the use of historic data and HTTP API? I mean of a real case, not only the procedure. With which tool (example)? And where are we suppose to past this command: api historical data xml?
May, 2017 - Permalink
For example PRTGToolsFamily - CSVImport uses the API to query historic data.
You can use these requests in your very own powershell/python/etc. scripts to query data and then run calculations on the data individually. I'm afraid we don't have exact scenarios for this ourselves. PRTG only provides the interface, and not really uses cases where it may be used.
May, 2017 - Permalink
Hello,
thank you very much for your KB-Post. Please have a look at the Sensor Factory Sensor. It can show the results of several sensors in one graph / data table. Please be aware though, that the Sensor Factory will not produce an average uptime / downtime statistic of the source sensors.
best regards.
May, 2014 - Permalink