.pdf)
WHM Plugins
| API Version: | 1 - Click here for documentation |
|---|---|
| Syntax: | Serverinfo::servicestatus( ) |
| Description: | Print HTML that includes information about the status of services that are monitored by chkservd. |
| Returns: | |
The output should resemble the following: <tr class="statusrow"> <td class="statuscell">exim-12</td> <td class="statuscell">up</td> <td class="statuscell"><img src="/green-status.gif"></td> </tr> <tr class="statusrow"> <td class="statuscell">mysql (5.0.89-community)</td> <td class="statuscell">down</td> <td class="statuscell"><img src="/red-status.gif"></td> </tr> <tr class="statusrow"> <td class="statuscell">cpsrvd</td> <td class="statuscell">up</td> <td class="statuscell"><img src="/green-status.gif"></td> </tr> <tr class="statusrow"> <td class="statuscell">imap</td> <td class="statuscell">up</td> <td class="statuscell"><img src="/green-status.gif"></td> </tr> ... etc. |