Home Directory Plugins Others Check Regex exists in file

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check Regex exists in file

Rating
0 votes
Favoured:
0
Last Release Date
2018-12-13
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
Owner
Hits
5136
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Nagios plugin bash script for checking for presence of a regex in a file.
Usage: check_regex_in_file.sh -r REGEX -f FILE
Where:
REGEX= Grep Extended Regex
FILE= Full file path where Regex should exist