This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Node Reboot + Availability Report

Hi 

iam trying to make report which shows Nodes Today's Reboot + Availability but SQL Query is not showing any result.

SELECT
Nodes.Caption
,COUNT(Nodes.LastBoot) AS [total boot count]
,Nodes.ATM_Branches
,ResponseTime.Availability
FROM dbo.ResponseTime
INNER JOIN dbo.Nodes
ON ResponseTime.NodeID = Nodes.NodeID
WHERE Nodes.ATM_Branches = ' atm branches'
GROUP BY Nodes.Caption
,Nodes.ATM_Branches
,ResponseTime.Availability

SQL Query Empty Output:

Parents Reply
  • Again - a "reboot" here means that your Orion server can't communicate with it.  You cannot COUNT Last Boot because it's only one field for each node (there is no historical information to count).  You need multiple fields with multiple values to count things.

    If you want to filter off ICMP nodes then add:

      -- Ignore ICMP Nodes
      AND [Downtime].Node.ObjectSubType <> 'ICMP'

    To the end of the WHERE clause.

Children