SquidGuard is a URL redirector used to use blacklists with the proxysoftware Squid. There are two big advantages to squidguard: it is fast and it is free.
Hosts and Hostgroups
Host definitions will be saved in /usr/local/nagios/etc/hosts.cfg
.
define host{
host_name Bogus-server
alias Bogus Server #1
address 192.168.1.12
check_command check-host-alive
max_check_attempts 5
check_period 24x7
process_perf_data 0
contact_groups admins
notification_interval 30
notification_period 24x7
notification_options d,u,r
}
Depending on many services you plan on monitoring, it might be easier to store host group definitions in a separate file: /usr/local/nagios/etc/hostgroups.cfg
. Otherwise, you can simply include them in /usr/local/nagios/etc/host.cfg
define hostgroup{
hostgroup_name mail
alias Mail Servers
members mailserver1,mailserver2
}
- Log in to post comments