diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2010-01-18 12:02:46 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2010-01-18 12:02:46 +0000 |
commit | ebd1ff2342f4ca7642820880ffbd081ec142b419 (patch) | |
tree | 9dc685357c9ce27e153288cd07df6deb38242202 /sitesummary-nodes | |
parent | 8df0d7e03e2e6ab00024191c3b9665b13b8a015c (diff) | |
download | sitesummary-ebd1ff2342f4ca7642820880ffbd081ec142b419.tar.gz sitesummary-ebd1ff2342f4ca7642820880ffbd081ec142b419.tar.bz2 sitesummary-ebd1ff2342f4ca7642820880ffbd081ec142b419.tar.xz |
Check ftp from Nagios if proftpd is installed.
Diffstat (limited to 'sitesummary-nodes')
-rwxr-xr-x | sitesummary-nodes | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sitesummary-nodes b/sitesummary-nodes index e9506a8..f2e3a13 100755 --- a/sitesummary-nodes +++ b/sitesummary-nodes @@ -338,5 +338,10 @@ sub generate_nagios_config { "check_dhcp") if is_pkg_installed($hostid, "dhcp3-server"); + # Check FTP server + print_nagios_service_check($remote, $hostname, "ftp", + "check_ftp") + if is_pkg_installed($hostid, "proftpd"); + } } |