Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check OSSEC Agent and Server Status
2014-02-18
- Nagios 3.x
- Nagios 4.x
- Nagios XI
30363
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!
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
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
Reviews (0)
Be the first to review this listing!