Other Usage

Uptime data which created alert where the server was not rebooted

Ritu
Explorer

I have created one linux uptime or reboot alert if the server gets rebooted it will trigger the alert if the uptime<=600 secs .
Now , I have one server where the uptime value is 0sec
It has created an alert but the server was up from 90 days as per Splunk logs.
The data directly comes from the server there is no script inlined.

 

Labels (1)
0 Karma

jotne
Builder

It would be hard to help if we do not see the raw data and the alert used.

0 Karma

Ritu
Explorer

UPTIME,server,server,Linux,4,4,2023-08-02 16:17:28,300,1440,"16:17:28 up 90 days; 11:34; 0 users; load average: 0.04; 0.18; 0.17" --- the raw data

The alert used:
 index=nmon host=* eventtype=uptime source=perfdata uptime=*
| fields _time host uptime
| eval host=upper(host)
| where uptime <= 600
| sort uptime
| dedup host
| lookup hostscope.csv host OUTPUTNEW Application as application PLATFORM as platform Environment
| search platform!=ONPREM
| eval urgency=case(Environment="PROD" OR Environment="PREP", "high", isnotnull(Environment), "medium")
| table host uptime application platform Environment urgency

Tags (1)
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...