Quantcast
Channel: THWACK: Message List - Network Configuration Manager
Viewing all articles
Browse latest Browse all 8827

Re: NCM Last Back up list

$
0
0

Try this one in a custom query on your node details page.  I set the logic so that it displays the critical icon if the last backup is older than a day, but depending on how frequently you save your configs you may need to adjust the line with the case on it.

 

SELECT ca.NodeProperties.Nodes.Caption,

max(downloadtime) as [Last Backup], ConfigType

, case when daydiff(max(downloadtime), GETDATE())>1 then '/Orion/images/StatusIcons/Small-Critical.gif'

else '/Orion/images/StatusIcons/Small-Up.gif'

end as [_iconfor_Last Backup]

FROM NCM.ConfigArchive ca

where ca.NodeProperties.Nodes.NodeID=${Nodeid}

group by ca.NodeProperties.Nodes.Caption, configtype

order by caption, configtype

 

I was a little bit disappointed to see that it still seems to work after I set my account to have no access to NCM, suggests that SWQL may bypass those account restrictions on the account settings page. Luckily for you though.


Viewing all articles
Browse latest Browse all 8827

Trending Articles



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