Quantcast
Viewing all articles
Browse latest Browse all 21093

Re: Want to prepare and send daily node down report with the event time from NPM

This should get you pointed in the right direction:

 

select  caption,  max(eventtime) as 'last time down',  message
from nodes
join events on nodeid = networknode
where eventtype = 1
and status = 2
and (eventtime > (getdate()-1) )
group by caption, message

 

 

- ZackM

http://www.loop1systems.com

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 21093

Trending Articles