restarting snmp service on windows server flags the server as down in observium
![](https://secure.gravatar.com/avatar/b052e7decb48b624735ce658ab35fc38.jpg?s=120&d=mm&r=g)
Hi, I have an alert that says if the device_uptime is less than 360, alert that the server was down. I happened to restart the snmp service on several of my servers and was surprised to find the alert triggered. I am guessing that when snmp restarts, the uptime counter goes to zero? Is there any way to get a true read of the uptime? I am trying to alert if the server rebooted within the poling window.
thanks
Tony
![](https://secure.gravatar.com/avatar/11b54b3dd25b712395dab9818c67596f.jpg?s=120&d=mm&r=g)
Hi Tony,
Some devices don’t give an accurate uptime figure. I think on windows we end up using the snmp agent time, because that’s the only time available.
Mike might have a more accurate explanation.
I’m not sure if we get a better uptime from WMI, though.
Adam.
Sent from my iPhone
On 18 Mar 2022, at 18:25, Tony Guadagno via observium observium@observium.org wrote:
Hi, I have an alert that says if the device_uptime is less than 360, alert that the server was down. I happened to restart the snmp service on several of my servers and was surprised to find the alert triggered. I am guessing that when snmp restarts, the uptime counter goes to zero? Is there any way to get a true read of the uptime? I am trying to alert if the server rebooted within the poling window.
thanks
Tony
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/b052e7decb48b624735ce658ab35fc38.jpg?s=120&d=mm&r=g)
I have wmi enabled….if you could do that, it would help…..
From: observium observium-bounces@observium.org On Behalf Of Adam Armstrong via observium Sent: Friday, March 18, 2022 5:21 PM To: Observium observium@observium.org Cc: Adam Armstrong adama@observium.org Subject: Re: [Observium] restarting snmp service on windows server flags the server as down in observium
Hi Tony,
Some devices don’t give an accurate uptime figure. I think on windows we end up using the snmp agent time, because that’s the only time available.
Mike might have a more accurate explanation.
I’m not sure if we get a better uptime from WMI, though.
Adam.
Sent from my iPhone
On 18 Mar 2022, at 18:25, Tony Guadagno via observium <observium@observium.orgmailto:observium@observium.org> wrote: Hi, I have an alert that says if the device_uptime is less than 360, alert that the server was down. I happened to restart the snmp service on several of my servers and was surprised to find the alert triggered. I am guessing that when snmp restarts, the uptime counter goes to zero? Is there any way to get a true read of the uptime? I am trying to alert if the server rebooted within the poling window.
thanks
Tony
_______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/b052e7decb48b624735ce658ab35fc38.jpg?s=120&d=mm&r=g)
Adam, Is this something you would consider implementing? Should I put in a request on Jira?
From: observium observium-bounces@observium.org On Behalf Of Tony Guadagno via observium Sent: Friday, March 18, 2022 6:10 PM To: Observium observium@observium.org Cc: Tony Guadagno tonyg@guadagno.org Subject: Re: [Observium] restarting snmp service on windows server flags the server as down in observium
I have wmi enabled….if you could do that, it would help…..
From: observium <observium-bounces@observium.orgmailto:observium-bounces@observium.org> On Behalf Of Adam Armstrong via observium Sent: Friday, March 18, 2022 5:21 PM To: Observium <observium@observium.orgmailto:observium@observium.org> Cc: Adam Armstrong <adama@observium.orgmailto:adama@observium.org> Subject: Re: [Observium] restarting snmp service on windows server flags the server as down in observium
Hi Tony,
Some devices don’t give an accurate uptime figure. I think on windows we end up using the snmp agent time, because that’s the only time available.
Mike might have a more accurate explanation.
I’m not sure if we get a better uptime from WMI, though.
Adam.
Sent from my iPhone
On 18 Mar 2022, at 18:25, Tony Guadagno via observium <observium@observium.orgmailto:observium@observium.org> wrote: Hi, I have an alert that says if the device_uptime is less than 360, alert that the server was down. I happened to restart the snmp service on several of my servers and was surprised to find the alert triggered. I am guessing that when snmp restarts, the uptime counter goes to zero? Is there any way to get a true read of the uptime? I am trying to alert if the server rebooted within the poling window.
thanks
Tony
_______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (2)
-
Adam Armstrong
-
Tony Guadagno