Hello
- I downloaded this report from thwack Content Exchange area. Down Nodes with Duration also here attached
- Removed this part ( , nodes.n_mute_reason as Addtl_Info ) from the SQL SELECT query since the filed is a Custom Propert which I don't need )
- Added a PC as an SNMP Node then disconnected it to produce the "Node Down" Event
- I ran the report which shows the exected Day / Hours / Minutes the PC had been down like: 0d 1h 12m (i.e 0 Day, 1 Hour and 12 Min)
Problem: When I came next morning (aftre 15 hours and 23 Min) it shows "Down_Since"1d 16h 35m while it supposed to be 0d 16h 35m
So, as long as we are within the same day, before midnight, the Report is Ok but not next day where it shows an "Extra Day"
In fact for "n" down days it shows "n+1" down days execpt when it's withing the same day
Whoever willing to help can easily test it after removing the Custom Propert Field I mention above and enabling SNMP on a test PC
I'd appreciate a SQL Help to fix this bug please
Thank you