Nagios Exchange Nagios Exchange
  • Home
  • Directory
  • Library
  • Support
  • About

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up
  • Home
  • Directory
  • Library
  • Support
  • About
Plugins4387Themes and Skins11Add-ons734Documentation283Graphics and Logos36View All Categories
LinuxSecuritySNMPFile SystemCloud
New Listings Recently Updated Listings Most Favored Listings Most Popular Listings Most Rated Listings Most Reviewed Listings
Random Project
2012 Nagios World Conference Presentations Nagios Conference 2012 – Kishore Jalleda – Nagios in the Agile DevOps Continuous Deployment World
0.0 (0)
48.9K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Julien DESMAREST (6)LAMY (6)Davide Lemma (4)deskwork_itunes142 (4)Joerg Hoerter (3)
See More
Newest Contributors
Guillaume8723 (1)Salvo (1)SOHA-IT (1)Tsvetomir Tsvetanov (1)Igor Ru (1)
See More

Copyright © 2009-2025 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home > Colin
C

Colin

@OldBlogger

User Stats

Member Since: April 6, 2019

Favorites0

Views

Projects0

No Projects Found
check_fail2ban

Not Sure How This Ever Worked

In the header block it mentions a staus check being implemented which I think is where this came from at line 18 ps_state=$(ps aux |grep "fail2ban.sock" |grep -v grep| wc -l) This seems to be an attempt to check if the fail2ban.sock socket has been created by the nagios-server, except this is looking at processes not sockets or at least it is on my Centos 7.7 installation, it always returns zero so the program aborts further down with the message ++++ Process is not running ++++ Change line 18 to this instead ps_state=$(ss -aux |grep "fail2ban.sock" |grep -v grep| wc -l) Basically use ss instead of ps and put the - before the aux options. Then it returns 1 as expected if the fail2ban-server is running and the script works correctly.

Reviewed 6 years ago

Nag Small Screen

Useful For Quick Check On Status

I have been using this for quite a while now on my Android phone, created a link on the phones home screen which opens it up, great for a quick status overview on the move, recently started having that Python warning mentioned in another review did as suggested and its working great again.

Reviewed 7 years ago

No Favorites Found

Copyright © 2009-2025 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile