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
Plugins4396Themes and Skins12Add-ons746Documentation283Graphics 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
Network Connections, Stats and Bandwidth check_interfaces_wmi
1.7 (3)
154.9K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Yoann LAMY (7)Julien DESMAREST (6)Davide Lemma (4)deskwork_itunes142 (4)Gary T. GIesen (2)
See More
Newest Contributors
juanfertor (1)zsoltaire (1)RavuAlHemio (1)sowoii (1)Nitatemic (1)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > Ariel Sandber
AS

Ariel Sandber

@aricade

User Stats

Member Since: August 16, 2012

Favorites0

Views

Projects0

No Projects Found
check_logwarn

Thanks for great plugin!

1st!!!!!!!!!!!! define command{ command_name check_logwarn command_line bash /usr/lib/nagios/plugins/check_logwarn -d /tmp/logwarn -p $ARG1$ $ARG2$ #ARG1 is file ARG2 is regex } define service{ use generic-service host_name HOSTNAME service_description Log Warning max_check_attempts 1 check_command check_logwarn!/var/log/file.log!^.*YOURWORDHERE.* } needed to add -d /tmp/logwarn dir. Make sure to chown nagios.nagios /tmp/logwarn. Maybe it would be better to place in /var/lib/nagios3/logwarn it's up to you. Also set max_check_attempts to 1 as my default was 4. so it would take 4 failures in a row to actually trigger a notification. I was really stumped on this for a bit! Save yourself some pain and set it to 1. My setup may still need some tweaking but it is working well enough right now. Our nagios box is a syslog server and recieves logs from our switches/routers. I am able to watch for certain events with this plugin. I have yet to see how it works with logrotate but it apparently does support on what the man page reads. Thanks! This a great plugin that solves some clumsy limitations we have.

Reviewed 13 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile