Hi all not having much look trying to find the info - but i need some swql for nodes currently down & currently up, also swql for number of Service now tickets raised - thanks in advance
Also which widgets should i be using for this - thanks
The widget name is this:
Below are a couple query's you can use, depending on which select you remark out it will either give you the numbers or a list.
------------------------------------------------------------Count of Up NodesSELECT Count(Caption) AS Caption --SELECT Caption , StatusDescription -- List of Down NodesFROM Orion.NodesWhere Status LIKE '1'-------------------------------------------------------------Count of Down NodesSELECT Count(Caption) AS Caption --SELECT Caption , StatusDescription -- List of Down NodesFROM Orion.NodesWhere Status LIKE '2'------------------------------------------------------------
....and here is some code to show number of tickets per state. Maybe you can use that to show what you want.
SELECT I.State ,Count(I.ID) AS QTYFROM Orion.ESI.AlertIncident AS IGROUP BY I.State
hi - i might be having a moment here but it doesnt like the code for the ticket status
sorted it - thanks
ok - so i need an amendment to the swql for nodes down to not include the following -
--Count of Down NodesSELECT Count(Caption) AS Caption --SELECT Caption , StatusDescription -- List of Down NodesFROM Orion.NodesWhere Status LIKE '2' and [Nodes].CustomProperties.CoreProductionSystem LIKE '%YES%'
Hi There,
I used this to show the number of incidents created but I can't make them clickable. Can you please help me to make them clickable?