Quantcast
Viewing all articles
Browse latest Browse all 20518

Re: "No activity to report" on a web console built report on NPM 10.6

Hi ZackM,

 

Thanks for your comment.

Please, see the codes below.

------------------------------------------------------------------------------------------------------------------------------------------------

IF (DatePart (weekday, GETDATE()) <> 7) AND (DatePart(weekday, GETDATE()) <> 1)

SELECT Nodes.NodeID AS NodeID, Nodes.Caption AS NodeName, Nodes.Location AS Location,
AVG(ResponseTime.Availability) AS AVERAGE_of_Availability

FROM
Nodes INNER JOIN ResponseTime ON (Nodes.NodeID = ResponseTime.NodeID)

WHERE

(DatePart(Hour, GETDATE()) >= 8) AND (DatePart(Hour, GETDATE()) <= 18)

AND

(

  (Nodes.Caption LIKE '%%SWITCH-2960%%')
)

 

GROUP BY Nodes.NodeID, Nodes.Caption, Nodes.Location


ORDER BY 2 ASC


-------------------------------------------------------------------------------------------------------------------------

 

Actually, I want to create a dynamic report that would run during the scheduled time and send the report to my email as an attachment.

 

Many thanks as you assist.

 

Regards,

 

David.


Viewing all articles
Browse latest Browse all 20518

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>