|
I was looking to see if anyone has ability to monitor server uptime and if it does go down alert someone.. |
Right now Paglo has a basic ability to monitor server uptime. Here is a PQL query which will find all devices which haven’t been observed for 2 days:
select system/dns_name, first(interface/inet/ip_address), last_seen
from /network/device
where last_seen < date(‘now’) – ‘2 days’
If you want to apply it to a specific device then you can add a condition to there where clause like:
select system/dns_name, first(interface/inet/ip_address), last_seen
from /network/device
where last_seen < date(‘now’) – ‘2 days’
and interface/inet/ip_address = ‘10.10.10.5’
And you probably want to reduce 2 days down to 10 minutes. You will need to modify the crawler configuration so the crawler probes that computer more frequently. The Rescan Hosts plugin in the crawler is the place to configure this.
The final step is to run the query, then choose “Create an Alert” from the menu next to the search box and create an alert which will notify you when a result is returned, or the result changes.
We are planning to add more uptime monitoring through a crawler plugin which will make it easier to keep track of whether servers are up.

