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!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...