Home Section_sub_break Share-it Discussions Section_sub_break Share-it Discussion
Icon_shareit_forum_small Uptime Monitoring
I was looking to see if anyone has ability to monitor server uptime and if it does go down alert someone..
Icon_post
2
Icon_person
Bill Paul
Icon_time
07/08/2008 at 09:21
Reply
1 post
Joined: 07/07/08
Empty_star Empty_star Empty_star Empty_star
Icon_time 07/07/2008 at 20:27

I was looking to see if anyone has ability to monitor server uptime and if it does go down alert someone..

106 posts
Joined: 05/22/08
Qualification_star Qualification_star Qualification_star Qualification_star
  • Private beta user
Icon_time 07/08/2008 at 08:21

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.

33 posts
Joined: 05/23/08
Qualification_star Qualification_star Qualification_star Qualification_star
  • Private beta user
Icon_time 07/08/2008 at 09:21

There is now a shared Alert to do this. You can access it at:

https://community.paglo.com/shareit/show/603

You will need to change the IP address from 10.10.10.5 to that of your particular server. You will also need to make sure that your Crawler is checking your server more frequently than the 10 minute interval specified in the Alert. You can do this using the plugins section in the Crawler configuration.

Reply