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!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...