Home Directory Addons Security Check OSSEC Agent and Server Status

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 OSSEC Agent and Server Status

Rating
0 votes
Favoured:
0
Last Release Date
2014-02-18
Compatible With
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
Hits
30363
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!
Shell script to check the status of OSSEC agents and server.
This script should be run on the OSSEC server. Alert on disconnected
agents by name or by the number of agents no longer connected to the
server. Also, provides check for running OSSEC services.
Check for status of OSSEC agents and server.
This script should be run on the OSSEC server.

###########
# Examples: #
###########

# 1.) Check status of OSSEC services excluding active response i.e. execd
# $ ./check_ossec.sh -s execd

# 2.) Check status of OSSEC agent
# $ ./check_ossec.sh -a server1

# 3.) Check status of multiple OSSEC agents
# $ ./check_ossec.sh -a "server1,server2,station3"

# 4.) Report critical if more than 3 agents are offline and warning if at least 1 is offline.
# $ ./check_ossec.sh -c 3 -w 1