Here is a SWQL query that may help, using different vendors since I have no Fortigate
SELECT n.Vendor, COUNT (CASE n.Status WHEN '1' THEN 1 else NULL end) AS UP, COUNT (CASE n.Status WHEN '2' THEN 1 else NULL end) AS DOWN, COUNT (CASE n.Status WHEN '3' THEN 1 else NULL end) AS WARNING, COUNT (CASE n.Status WHEN '9' THEN 1 else NULL end) AS UNMANAGED FROM Orion.Nodes n WHERE n.Vendor like 'Cisco' or n.Vendor like 'Windows' GROUP BY n.Vendor
I would like to use this one on the Classic Dashboards if possible.
CourtesyIT, Something like this?
Add a custom query widget and below code:
SELECT n.Vendor, COUNT (CASE n.Status WHEN '1' THEN 1 else NULL end) AS UP, COUNT (CASE n.Status WHEN '2' THEN 1 else NULL end) AS DOWN, COUNT (CASE n.Status WHEN '3' THEN 1 else NULL end) AS WARNING, COUNT (CASE n.Status WHEN '9' THEN 1 else NULL end) AS UNMANAGED, CONCAT('/NetPerfMon/Images/Vendors/',N.VendorIcon) AS [_IconFor_Vendor] FROM Orion.Nodes n WHERE n.Vendor like 'Cisco' or n.Vendor like 'Windows' GROUP BY n.Vendor, N.VendorIcon
What kind of error do you get? If the same as on your posted picture above you are using "custom table widget". Use "custom query widget" instead.
The path to icons are relative to the web installation so drive letter should not matter.
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 195,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.