Compute the statistics of one or more rules, optionally aggregated
price: free!
<result>
<stats>
<stat>
<name> string (80) </name>
<rid> unsigned int </rid>
<active> boolean </active>
<consecutive_errors> unsigned int </consecutive_errors>
<timewarn> int </timewarn>
<timepoor> int </timepoor>
<lastcheck> timestamp </lastcheck>
<errorsince> datetime </errorsince>
<probes> unsigned int </probes>
<probe_errors> unsigned int </probe_errors>
<checks> unsigned int </checks>
<check_errors> unsigned int </check_errors>
<uptime> unsigned int </uptime>
<ttime> unsigned int </ttime>
<ctime> unsigned int </ctime>
<ptime> unsigned int </ptime>
<dtime> unsigned int </dtime>
<dsize> unsigned int </dsize>
<sla_warn> unsigned int </sla_warn>
<sla_poor> unsigned int </sla_poor>
</stat>
...
</stats>
</result>
(presence of output fields depends on input parameters)| code | description |
|---|---|
| 0 | okay |
| 1000 | authentication error |
| 1001 | call syntax error |
| 1002 | undefined name or id |
| 1003 | account limit exceeded |
| 1004 | database error |
| 1005 | duplicate entry |
| 1006 | upgrade account |
| 1007 | not yours (anymore) |
| 1008 | session expired |
| 1009 | insufficient credits |
| 1010 | messaging error |
| 1011 | undefined result |
| 1012 | cannot perform that operation |
| 1013 | illegal parameter value |
| 1014 | TOS restriction |
| 1015 | unconfirmed address |
| 1016 | contact helpdesk first |
| 9999 | unsupported feature |
| 1017 | value not allowed |