Can someone tell me how to get the OID hrSystemUptime to show in the format of days hours, minutes and seconds?
Can someone tell me how to get the OID hrSystemUptime to show in the format of days hours, minutes and seconds?
This is somewhat unrelated, but may be helpful in what you are trying to accomplish. I create alerts for when an item goes down and another for when it comes back up. When it comes back up I include a line to document how long the item was down. You may be able to modify this to help.
Down for: ${SQL:Select '${N=Alerting;M=Downtime}'/1440} Days ${SQL: Select '${N=Alerting;M=Downtime}'%1440/60} Hours ${SQL: Select '${N=Alerting;M=Downtime}'%1440%60;} Minutes
This is somewhat unrelated, but may be helpful in what you are trying to accomplish. I create alerts for when an item goes down and another for when it comes back up. When it comes back up I include a line to document how long the item was down. You may be able to modify this to help.
Down for: ${SQL:Select '${N=Alerting;M=Downtime}'/1440} Days ${SQL: Select '${N=Alerting;M=Downtime}'%1440/60} Hours ${SQL: Select '${N=Alerting;M=Downtime}'%1440%60;} Minutes
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.