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
29704
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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