adding ' around arguments in plugin confs
This commit is contained in:
parent
5cc06623c7
commit
efa65d0ee2
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -28,7 +28,8 @@ nagios-plugins (1.4.12-1) UNRELEASED; urgency=low
|
|||
perl of check_disk_smb, thanks Stephane Chazelas <stephane@artesyncp.com>
|
||||
for providing it (Closes: #478906)
|
||||
* add 34_fix_smbclient_check_disk_smb.dpatch which fixes usage of smbclient,
|
||||
thanks Stephane Chazelas <stephane@artesyncp.com> for providing it
|
||||
thanks Stephane Chazelas <stephane@artesyncp.com> for providing it and
|
||||
adding ' around arguments in plugin configs
|
||||
(Closes: #478942)
|
||||
* add 35_check_http_date.dpatch which fixes date parsing of check_http,
|
||||
thanks Hilko Bengen <bengen@debian.org> for providing it (Closes: #460097)
|
||||
|
|
2
debian/pluginconfig/breeze.cfg
vendored
2
debian/pluginconfig/breeze.cfg
vendored
|
@ -1,5 +1,5 @@
|
|||
# 'check_breeze' command definition
|
||||
define command {
|
||||
command_name check_breeze
|
||||
command_line /usr/lib/nagios/plugins/check_breeze -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$
|
||||
command_line /usr/lib/nagios/plugins/check_breeze -H '$HOSTADDRESS$' -w '$ARG1$' -c '$ARG2$'
|
||||
}
|
||||
|
|
4
debian/pluginconfig/dhcp.cfg
vendored
4
debian/pluginconfig/dhcp.cfg
vendored
|
@ -4,12 +4,12 @@
|
|||
# 'check_dhcp' command definition
|
||||
define command{
|
||||
command_name check_dhcp
|
||||
command_line /usr/lib/nagios/plugins/check_dhcp -s $HOSTADDRESS$
|
||||
command_line /usr/lib/nagios/plugins/check_dhcp -s '$HOSTADDRESS$'
|
||||
}
|
||||
|
||||
# 'check_dhcp_interface' command definition
|
||||
define command{
|
||||
command_name check_dhcp_interface
|
||||
command_line /usr/lib/nagios/plugins/check_dhcp -s $HOSTADDRESS$ -i $ARG1$
|
||||
command_line /usr/lib/nagios/plugins/check_dhcp -s '$HOSTADDRESS$' -i '$ARG1$'
|
||||
}
|
||||
|
||||
|
|
16
debian/pluginconfig/disk-smb.cfg
vendored
16
debian/pluginconfig/disk-smb.cfg
vendored
|
@ -1,54 +1,54 @@
|
|||
# 'check_disk_smb' command definition
|
||||
define command{
|
||||
command_name check_disk_smb
|
||||
command_line /usr/lib/nagios/plugins/check_disk_smb -H "$ARG1$" -s $ARG2$
|
||||
command_line /usr/lib/nagios/plugins/check_disk_smb -H '$ARG1$' -s '$ARG2$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_disk_smb_workgroup' command definition
|
||||
define command{
|
||||
command_name check_disk_smb_workgroup
|
||||
command_line /usr/lib/nagios/plugins/check_disk_smb -H "$ARG1$" -s $ARG2$ -W $ARG3$
|
||||
command_line /usr/lib/nagios/plugins/check_disk_smb -H '$ARG1$' -s '$ARG2$' -W '$ARG3$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_disk_smb_host' command definition
|
||||
define command{
|
||||
command_name check_disk_smb_host
|
||||
command_line /usr/lib/nagios/plugins/check_disk_smb -a $HOSTADDRESS$ -H "$ARG1$" -s $ARG2$
|
||||
command_line /usr/lib/nagios/plugins/check_disk_smb -a '$HOSTADDRESS$' -H '$ARG1$' -s '$ARG2$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_disk_smb_workgroup_host' command definition
|
||||
define command{
|
||||
command_name check_disk_smb_workgroup_host
|
||||
command_line /usr/lib/nagios/plugins/check_disk_smb -a $HOSTADDRESS$ -H "$ARG1$" -s $ARG2$ -W $ARG3$
|
||||
command_line /usr/lib/nagios/plugins/check_disk_smb -a '$HOSTADDRESS$' -H '$ARG1$' -s '$ARG2$' -W '$ARG3$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_disk_smb_user' command definition
|
||||
define command{
|
||||
command_name check_disk_smb_user
|
||||
command_line /usr/lib/nagios/plugins/check_disk_smb -H "$ARG1$" -s $ARG2$ -u $ARG3$ -p $ARG4$
|
||||
command_line /usr/lib/nagios/plugins/check_disk_smb -H '$ARG1$' -s '$ARG2$' -u '$ARG3$' -p '$ARG4$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_disk_smb_workgroup_user' command definition
|
||||
define command{
|
||||
command_name check_disk_smb_workgroup_user
|
||||
command_line /usr/lib/nagios/plugins/check_disk_smb -H "$ARG1$" -s $ARG2$ -W $ARG3$ -u $ARG4$ -p $ARG5$
|
||||
command_line /usr/lib/nagios/plugins/check_disk_smb -H '$ARG1$' -s '$ARG2$' -W '$ARG3$' -u '$ARG4$' -p '$ARG5$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_disk_smb_host_user' command definition
|
||||
define command{
|
||||
command_name check_disk_smb_host_user
|
||||
command_line /usr/lib/nagios/plugins/check_disk_smb -a $HOSTADDRESS$ -H "$ARG1$" -s $ARG2$ -u $ARG3$ -p $ARG4$
|
||||
command_line /usr/lib/nagios/plugins/check_disk_smb -a '$HOSTADDRESS$' -H '$ARG1$' -s '$ARG2$' -u '$ARG3$' -p '$ARG4$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_disk_smb_workgroup_host_user' command definition
|
||||
define command{
|
||||
command_name check_disk_smb_workgroup_host_user
|
||||
command_line /usr/lib/nagios/plugins/check_disk_smb -a $HOSTADDRESS$ -H "$ARG1$" -s $ARG2$ -W $ARG3$ -u $ARG4$ -p $ARG5$
|
||||
command_line /usr/lib/nagios/plugins/check_disk_smb -a '$HOSTADDRESS$' -H '$ARG1$' -s '$ARG2$' -W '$ARG3$' -u '$ARG4$' -p '$ARG5$'
|
||||
}
|
||||
|
|
8
debian/pluginconfig/disk.cfg
vendored
8
debian/pluginconfig/disk.cfg
vendored
|
@ -1,19 +1,19 @@
|
|||
# 'check_disk' command definition
|
||||
define command{
|
||||
command_name check_disk
|
||||
command_line /usr/lib/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
|
||||
command_line /usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -p '$ARG3$'
|
||||
}
|
||||
|
||||
# 'check_all_disks' command definition
|
||||
define command{
|
||||
command_name check_all_disks
|
||||
command_line /usr/lib/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$
|
||||
command_line /usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$'
|
||||
}
|
||||
|
||||
# 'ssh_disk' command definition
|
||||
define command{
|
||||
command_name ssh_disk
|
||||
command_line /usr/lib/nagios/plugins/check_by_ssh -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$'
|
||||
command_line /usr/lib/nagios/plugins/check_by_ssh -H '$HOSTADDRESS$' -C '/usr/lib/nagios/plugins/check_disk -w '\''$ARG1$' -c '\''$ARG2$'\'' -p '\''$ARG3$'\'
|
||||
}
|
||||
|
||||
####
|
||||
|
@ -23,5 +23,5 @@ define command{
|
|||
# 'ssh_disk_4' command definition
|
||||
define command{
|
||||
command_name ssh_disk_4
|
||||
command_line /usr/lib/nagios/plugins/check_by_ssh -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$' -4
|
||||
command_line /usr/lib/nagios/plugins/check_by_ssh -H '$HOSTADDRESS$' -C '/usr/lib/nagios/plugins/check_disk -w '\''$ARG1$'\'' -c '\''$ARG2$'\'' -p '\''$ARG3$'\' -4
|
||||
}
|
||||
|
|
4
debian/pluginconfig/dns.cfg
vendored
4
debian/pluginconfig/dns.cfg
vendored
|
@ -1,11 +1,11 @@
|
|||
# 'check_dns' command definition
|
||||
define command{
|
||||
command_name check_dns
|
||||
command_line /usr/lib/nagios/plugins/check_dns -H www.google.com -s $HOSTADDRESS$
|
||||
command_line /usr/lib/nagios/plugins/check_dns -H www.google.com -s '$HOSTADDRESS$'
|
||||
}
|
||||
|
||||
# 'check_dig' command definition
|
||||
define command{
|
||||
command_name check_dig
|
||||
command_line /usr/lib/nagios/plugins/check_dig -H $HOSTADDRESS$ -l $ARG1$
|
||||
command_line /usr/lib/nagios/plugins/check_dig -H '$HOSTADDRESS$' -l '$ARG1$'
|
||||
}
|
||||
|
|
2
debian/pluginconfig/dummy.cfg
vendored
2
debian/pluginconfig/dummy.cfg
vendored
|
@ -25,5 +25,5 @@ define command {
|
|||
# return-numeric definition
|
||||
define command {
|
||||
command_name return-numeric
|
||||
command_line /usr/lib/nagios/plugins/check_dummy $ARG1$
|
||||
command_line /usr/lib/nagios/plugins/check_dummy '$ARG1$'
|
||||
}
|
||||
|
|
2
debian/pluginconfig/flexlm.cfg
vendored
2
debian/pluginconfig/flexlm.cfg
vendored
|
@ -1,6 +1,6 @@
|
|||
# 'check_flexlm' command definition
|
||||
define command{
|
||||
command_name check_flexlm
|
||||
command_line /usr/lib/nagios/plugins/check_flexlm -F $ARG1$
|
||||
command_line /usr/lib/nagios/plugins/check_flexlm -F '$ARG1$'
|
||||
}
|
||||
|
||||
|
|
2
debian/pluginconfig/fping.cfg
vendored
2
debian/pluginconfig/fping.cfg
vendored
|
@ -1,5 +1,5 @@
|
|||
# 'check-fast-alive' command definition
|
||||
define command{
|
||||
command_name check-fast-alive
|
||||
command_line /usr/lib/nagios/plugins/check_fping -H $HOSTADDRESS$
|
||||
command_line /usr/lib/nagios/plugins/check_fping -H '$HOSTADDRESS$'
|
||||
}
|
||||
|
|
4
debian/pluginconfig/ftp.cfg
vendored
4
debian/pluginconfig/ftp.cfg
vendored
|
@ -1,7 +1,7 @@
|
|||
# 'check_ftp' command definition
|
||||
define command{
|
||||
command_name check_ftp
|
||||
command_line /usr/lib/nagios/plugins/check_ftp -H $HOSTADDRESS$
|
||||
command_line /usr/lib/nagios/plugins/check_ftp -H '$HOSTADDRESS$'
|
||||
}
|
||||
|
||||
####
|
||||
|
@ -11,5 +11,5 @@ define command{
|
|||
# 'check_ftp_4' command definition
|
||||
define command{
|
||||
command_name check_ftp_4
|
||||
command_line /usr/lib/nagios/plugins/check_ftp -H $HOSTADDRESS$ -4
|
||||
command_line /usr/lib/nagios/plugins/check_ftp -H '$HOSTADDRESS$' -4
|
||||
}
|
||||
|
|
4
debian/pluginconfig/games.cfg
vendored
4
debian/pluginconfig/games.cfg
vendored
|
@ -1,14 +1,14 @@
|
|||
# 'check_quake' command definition
|
||||
define command{
|
||||
command_name check_quake
|
||||
command_line /usr/lib/nagios/plugins/check_game qs $HOSTADDRESS$
|
||||
command_line /usr/lib/nagios/plugins/check_game qs '$HOSTADDRESS$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_unreal' command definition
|
||||
define command{
|
||||
command_name check_unreal
|
||||
command_line /usr/lib/nagios/plugins/check_game uns $HOSTADDRESS$ -P $ARG1$ -p 8
|
||||
command_line /usr/lib/nagios/plugins/check_game uns '$HOSTADDRESS$' -P '$ARG1$' -p 8
|
||||
}
|
||||
|
||||
|
||||
|
|
2
debian/pluginconfig/hppjd.cfg
vendored
2
debian/pluginconfig/hppjd.cfg
vendored
|
@ -1,6 +1,6 @@
|
|||
# 'check_hpjd' command definition
|
||||
define command{
|
||||
command_name check_hpjd
|
||||
command_line /usr/lib/nagios/plugins/check_hpjd -H $HOSTADDRESS$ -C public
|
||||
command_line /usr/lib/nagios/plugins/check_hpjd -H '$HOSTADDRESS$' -C public
|
||||
}
|
||||
|
||||
|
|
24
debian/pluginconfig/http.cfg
vendored
24
debian/pluginconfig/http.cfg
vendored
|
@ -1,38 +1,38 @@
|
|||
# 'check_http' command definition
|
||||
define command{
|
||||
command_name check_http
|
||||
command_line /usr/lib/nagios/plugins/check_http -H $HOSTADDRESS$ -I $HOSTADDRESS$
|
||||
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -I '$HOSTADDRESS$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_http2' command definition
|
||||
define command{
|
||||
command_name check_http2
|
||||
command_line /usr/lib/nagios/plugins/check_http -H $ARG1$ -I $HOSTADDRESS$ -w $ARG2$ -c $ARG3$
|
||||
command_line /usr/lib/nagios/plugins/check_http -H '$ARG1$' -I '$HOSTADDRESS$' -w '$ARG2$' -c '$ARG3$'
|
||||
}
|
||||
|
||||
# 'check_squid' command definition
|
||||
define command{
|
||||
command_name check_squid
|
||||
command_line /usr/lib/nagios/plugins/check_http -H $HOSTADDRESS$ -p $ARG1$ -u $ARG2$ -e 'HTTP/1.0 200 OK'
|
||||
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$' -e 'HTTP/1.0 200 OK'
|
||||
}
|
||||
|
||||
# 'check_https' command definition
|
||||
define command{
|
||||
command_name check_https
|
||||
command_line /usr/lib/nagios/plugins/check_http --ssl -H $HOSTADDRESS$ -I $HOSTADDRESS$
|
||||
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$'
|
||||
}
|
||||
|
||||
# 'check_https_auth' command definition
|
||||
define command{
|
||||
command_name check_https_auth
|
||||
command_line /usr/lib/nagios/plugins/check_http --ssl -H $HOSTADDRESS$ -I $HOSTADDRESS$ -a $ARG1$
|
||||
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_cups' command definition
|
||||
define command{
|
||||
command_name check_cups
|
||||
command_line /usr/lib/nagios/plugins/check_http -H $HOSTADDRESS$ -p 631
|
||||
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -p 631
|
||||
}
|
||||
|
||||
####
|
||||
|
@ -42,36 +42,36 @@ define command{
|
|||
# 'check_http_4' command definition
|
||||
define command{
|
||||
command_name check_http_4
|
||||
command_line /usr/lib/nagios/plugins/check_http -H $HOSTADDRESS$ -I $HOSTADDRESS$ -4
|
||||
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -4
|
||||
}
|
||||
|
||||
|
||||
# 'check_http2_4' command definition
|
||||
define command{
|
||||
command_name check_http2_4
|
||||
command_line /usr/lib/nagios/plugins/check_http -H $ARG1$ -I $HOSTADDRESS$ -w $ARG2$ -c $ARG3$ -4
|
||||
command_line /usr/lib/nagios/plugins/check_http -H '$ARG1$' -I '$HOSTADDRESS$' -w '$ARG2$' -c '$ARG3$' -4
|
||||
}
|
||||
|
||||
# 'check_squid_4' command definition
|
||||
define command{
|
||||
command_name check_squid_4
|
||||
command_line /usr/lib/nagios/plugins/check_http -H $HOSTADDRESS$ -p $ARG1$ -u $ARG2$ -e 'HTTP/1.0 200 OK' -4
|
||||
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$' -e 'HTTP/1.0 200 OK' -4
|
||||
}
|
||||
|
||||
# 'check_https_4' command definition
|
||||
define command{
|
||||
command_name check_https_4
|
||||
command_line /usr/lib/nagios/plugins/check_http --ssl -H $HOSTADDRESS$ -I $HOSTADDRESS$ -4
|
||||
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -4
|
||||
}
|
||||
|
||||
# 'check_https_auth_4' command definition
|
||||
define command{
|
||||
command_name check_https_auth_4
|
||||
command_line /usr/lib/nagios/plugins/check_http --ssl -H $HOSTADDRESS$ -I $HOSTADDRESS$ -a $ARG1$ -4
|
||||
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$' -4
|
||||
}
|
||||
|
||||
# 'check_cups_4' command definition
|
||||
define command{
|
||||
command_name check_cups_4
|
||||
command_line /usr/lib/nagios/plugins/check_http -H $HOSTADDRESS$ -p 631 -4
|
||||
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -p 631 -4
|
||||
}
|
||||
|
|
8
debian/pluginconfig/ifstatus.cfg
vendored
8
debian/pluginconfig/ifstatus.cfg
vendored
|
@ -1,23 +1,23 @@
|
|||
# 'check_ifstatus' command definition
|
||||
define command{
|
||||
command_name check_ifstatus
|
||||
command_line /usr/lib/nagios/plugins/check_ifstatus -H $HOSTADDRESS$ -C $ARG1$
|
||||
command_line /usr/lib/nagios/plugins/check_ifstatus -H '$HOSTADDRESS$' -C '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_ifstatus_exclude' command definition
|
||||
define command{
|
||||
command_name check_ifstatus_exclude
|
||||
command_line /usr/lib/nagios/plugins/check_ifstatus -H $HOSTADDRESS$ -C $ARG1$ -x $ARG2$
|
||||
command_line /usr/lib/nagios/plugins/check_ifstatus -H '$HOSTADDRESS$' -C '$ARG1$' -x '$ARG2$'
|
||||
}
|
||||
|
||||
# 'check_ifoperstatus_ifindex' command definition
|
||||
define command{
|
||||
command_name check_ifoperstatus_ifindex
|
||||
command_line /usr/lib/nagios/plugins/check_ifoperstatus -H $HOSTADDRESS$ -C $ARG1$ -k $ARG2$
|
||||
command_line /usr/lib/nagios/plugins/check_ifoperstatus -H '$HOSTADDRESS$' -C '$ARG1$' -k '$ARG2$'
|
||||
}
|
||||
|
||||
# 'check_ifoperstatus_ifdescr' command definition
|
||||
define command{
|
||||
command_name check_ifoperstatus_ifdescr
|
||||
command_line /usr/lib/nagios/plugins/check_ifoperstatus -H $HOSTADDRESS$ -C $ARG1$ -d $ARG2$
|
||||
command_line /usr/lib/nagios/plugins/check_ifoperstatus -H '$HOSTADDRESS$' -C '$ARG1$' -d '$ARG2$'
|
||||
}
|
||||
|
|
10
debian/pluginconfig/ldap.cfg
vendored
10
debian/pluginconfig/ldap.cfg
vendored
|
@ -1,13 +1,13 @@
|
|||
# 'check_ldap' command definition
|
||||
define command{
|
||||
command_name check_ldap
|
||||
command_line /usr/lib/nagios/plugins/check_ldap -H $HOSTADDRESS$ -b $ARG1$
|
||||
command_line /usr/lib/nagios/plugins/check_ldap -H '$HOSTADDRESS$' -b '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_ldaps' command definition
|
||||
define command{
|
||||
command_name check_ldaps
|
||||
command_line /usr/lib/nagios/plugins/check_ldaps -H $HOSTADDRESS$ -b $ARG1$
|
||||
command_line /usr/lib/nagios/plugins/check_ldaps -H '$HOSTADDRESS$' -b '$ARG1$'
|
||||
}
|
||||
|
||||
####
|
||||
|
@ -17,11 +17,11 @@ define command{
|
|||
# 'check_ldap_4' command definition
|
||||
define command{
|
||||
command_name check_ldap_4
|
||||
command_line /usr/lib/nagios/plugins/check_ldap -H $HOSTADDRESS$ -b $ARG1$ -4
|
||||
command_line /usr/lib/nagios/plugins/check_ldap -H '$HOSTADDRESS$' -b '$ARG1$' -4
|
||||
}
|
||||
|
||||
# 'check_ldaps_4' command definition
|
||||
define command{
|
||||
command_name check_ldaps_4
|
||||
command_line /usr/lib/nagios/plugins/check_ldaps -H $HOSTADDRESS$ -b $ARG1$ -4
|
||||
}
|
||||
command_line /usr/lib/nagios/plugins/check_ldaps -H '$HOSTADDRESS$' -b '$ARG1$' -4
|
||||
}
|
||||
|
|
2
debian/pluginconfig/load.cfg
vendored
2
debian/pluginconfig/load.cfg
vendored
|
@ -1,6 +1,6 @@
|
|||
# 'check_load' command definition
|
||||
define command{
|
||||
command_name check_load
|
||||
command_line /usr/lib/nagios/plugins/check_load --warning=$ARG1$,$ARG2$,$ARG3$ --critical=$ARG4$,$ARG5$,$ARG6$
|
||||
command_line /usr/lib/nagios/plugins/check_load --warning='$ARG1$,$ARG2$,$ARG3$' --critical='$ARG4$,$ARG5$,$ARG6$'
|
||||
}
|
||||
|
||||
|
|
32
debian/pluginconfig/mail.cfg
vendored
32
debian/pluginconfig/mail.cfg
vendored
|
@ -1,63 +1,63 @@
|
|||
# 'check_pop' command definition
|
||||
define command {
|
||||
command_name check_pop
|
||||
command_line /usr/lib/nagios/plugins/check_pop -H $HOSTADDRESS$
|
||||
command_line /usr/lib/nagios/plugins/check_pop -H '$HOSTADDRESS$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_smtp' command definition
|
||||
define command {
|
||||
command_name check_smtp
|
||||
command_line /usr/lib/nagios/plugins/check_smtp -H $HOSTADDRESS$
|
||||
command_line /usr/lib/nagios/plugins/check_smtp -H '$HOSTADDRESS$'
|
||||
}
|
||||
|
||||
# 'check_ssmtp' command definition
|
||||
define command {
|
||||
command_name check_ssmtp
|
||||
command_line /usr/lib/nagios/plugins/check_ssmtp -H $HOSTADDRESS$
|
||||
command_line /usr/lib/nagios/plugins/check_ssmtp -H '$HOSTADDRESS$'
|
||||
}
|
||||
|
||||
# 'check_imap' command definition
|
||||
define command {
|
||||
command_name check_imap
|
||||
command_line /usr/lib/nagios/plugins/check_imap -H $HOSTADDRESS$
|
||||
command_line /usr/lib/nagios/plugins/check_imap -H '$HOSTADDRESS$'
|
||||
}
|
||||
|
||||
# 'check_spop' command definition
|
||||
define command {
|
||||
command_name check_spop
|
||||
command_line /usr/lib/nagios/plugins/check_pop -p 995 -H $HOSTADDRESS$ -S
|
||||
command_line /usr/lib/nagios/plugins/check_pop -p 995 -H '$HOSTADDRESS$' -S
|
||||
}
|
||||
|
||||
|
||||
# 'check_simap' command definition
|
||||
define command {
|
||||
command_name check_simap
|
||||
command_line /usr/lib/nagios/plugins/check_imap -p 993 -H $HOSTADDRESS$ -S
|
||||
command_line /usr/lib/nagios/plugins/check_imap -p 993 -H '$HOSTADDRESS$' -S
|
||||
}
|
||||
|
||||
# 'check-mailq' for sendmail
|
||||
define command {
|
||||
command_name check_mailq_sendmail
|
||||
command_line /usr/lib/nagios/plugins/check_mailq -w $ARG1$ -c $ARG2$ -M sendmail
|
||||
command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M sendmail
|
||||
}
|
||||
|
||||
# 'check-mailq' for postfix
|
||||
define command {
|
||||
command_name check_mailq_postfix
|
||||
command_line /usr/lib/nagios/plugins/check_mailq -w $ARG1$ -c $ARG2$ -M postfix
|
||||
command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M postfix
|
||||
}
|
||||
|
||||
# 'check-mailq' for exim
|
||||
define command {
|
||||
command_name check_mailq_exim
|
||||
command_line /usr/lib/nagios/plugins/check_mailq -w $ARG1$ -c $ARG2$ -M exim
|
||||
command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M exim
|
||||
}
|
||||
|
||||
# 'check-mailq' for qmail
|
||||
define command {
|
||||
command_name check_mailq_qmail
|
||||
command_line /usr/lib/nagios/plugins/check_mailq -w $ARG1$ -c $ARG2$ -M qmail
|
||||
command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M qmail
|
||||
}
|
||||
|
||||
####
|
||||
|
@ -67,35 +67,35 @@ define command {
|
|||
# 'check_pop_4' command definition
|
||||
define command {
|
||||
command_name check_pop_4
|
||||
command_line /usr/lib/nagios/plugins/check_pop -H $HOSTADDRESS$ -4
|
||||
command_line /usr/lib/nagios/plugins/check_pop -H '$HOSTADDRESS$' -4
|
||||
}
|
||||
|
||||
# 'check_smtp_4' command definition
|
||||
define command {
|
||||
command_name check_smtp_4
|
||||
command_line /usr/lib/nagios/plugins/check_smtp -H $HOSTADDRESS$ -4
|
||||
command_line /usr/lib/nagios/plugins/check_smtp -H '$HOSTADDRESS$' -4
|
||||
}
|
||||
|
||||
# 'check_ssmtp_4' command definition
|
||||
define command {
|
||||
command_name check_ssmtp_4
|
||||
command_line /usr/lib/nagios/plugins/check_ssmtp -H $HOSTADDRESS$ -4
|
||||
command_line /usr/lib/nagios/plugins/check_ssmtp -H '$HOSTADDRESS$' -4
|
||||
}
|
||||
|
||||
# 'check_imap_4' command definition
|
||||
define command {
|
||||
command_name check_imap_4
|
||||
command_line /usr/lib/nagios/plugins/check_imap -H $HOSTADDRESS$ -4
|
||||
command_line /usr/lib/nagios/plugins/check_imap -H '$HOSTADDRESS$' -4
|
||||
}
|
||||
|
||||
# 'check_spop_4' command definition
|
||||
define command {
|
||||
command_name check_spop_4
|
||||
command_line /usr/lib/nagios/plugins/check_pop -p 995 -H $HOSTADDRESS$ -S -4
|
||||
command_line /usr/lib/nagios/plugins/check_pop -p 995 -H '$HOSTADDRESS$' -S -4
|
||||
}
|
||||
|
||||
# 'check_simap_4' command definition
|
||||
define command {
|
||||
command_name check_simap_4
|
||||
command_line /usr/lib/nagios/plugins/check_imap -p 993 -H $HOSTADDRESS$ -S -4
|
||||
command_line /usr/lib/nagios/plugins/check_imap -p 993 -H '$HOSTADDRESS$' -S -4
|
||||
}
|
||||
|
|
4
debian/pluginconfig/mrtg.cfg
vendored
4
debian/pluginconfig/mrtg.cfg
vendored
|
@ -1,14 +1,14 @@
|
|||
# 'check_mrtg' command definition
|
||||
define command{
|
||||
command_name check_mrtg
|
||||
command_line /usr/lib/nagios/plugins/check_mrtg $ARG1$ 10 AVG $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$
|
||||
command_line /usr/lib/nagios/plugins/check_mrtg '$ARG1$' 10 AVG '$ARG2$' '$ARG3$' '$ARG4$' '$ARG5$' '$ARG6$'
|
||||
}
|
||||
|
||||
|
||||
# 'traffic_average' command definition
|
||||
define command{
|
||||
command_name traffic_average
|
||||
command_line /usr/lib/nagios/plugins/check_mrtgtraf $ARG1$ 10 AVG $ARG2$ $ARG3$ $ARG4$ $ARG5$
|
||||
command_line /usr/lib/nagios/plugins/check_mrtgtraf '$ARG1$' 10 AVG '$ARG2$' '$ARG3$' '$ARG4$' '$ARG5$'
|
||||
}
|
||||
|
||||
|
||||
|
|
6
debian/pluginconfig/mysql.cfg
vendored
6
debian/pluginconfig/mysql.cfg
vendored
|
@ -1,17 +1,17 @@
|
|||
# 'check_mysql' command definition
|
||||
define command{
|
||||
command_name check_mysql
|
||||
command_line /usr/lib/nagios/plugins/check_mysql -H $HOSTADDRESS$
|
||||
command_line /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$'
|
||||
}
|
||||
|
||||
# 'check_mysql_cmdlinecred' command definition
|
||||
define command{
|
||||
command_name check_mysql_cmdlinecred
|
||||
command_line /usr/lib/nagios/plugins/check_mysql -H $HOSTADDRESS$ -u $ARG1$ -p $ARG2$
|
||||
command_line /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$' -u '$ARG1$' -p '$ARG2$'
|
||||
}
|
||||
|
||||
# 'check_mysql_database' command definition
|
||||
define command{
|
||||
command_name check_mysql_database
|
||||
command_line /usr/lib/nagios/plugins/check_mysql -d $ARG3$ -H $HOSTADDRESS$ -u $ARG1$ -p $ARG2$
|
||||
command_line /usr/lib/nagios/plugins/check_mysql -d '$ARG3$' -H '$HOSTADDRESS$' -u '$ARG1$' -p '$ARG2$'
|
||||
}
|
||||
|
|
24
debian/pluginconfig/netware.cfg
vendored
24
debian/pluginconfig/netware.cfg
vendored
|
@ -1,84 +1,84 @@
|
|||
# 'check_netware_logins' command definition
|
||||
define command{
|
||||
command_name check_netware_logins
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H $HOSTADDRESS$ -v "LOGINS" -w $ARG1$ -c $ARG2$
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "LOGINS" -w '$ARG1$' -c '$ARG2$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_nwstat_conns' command definition
|
||||
define command{
|
||||
command_name check_nwstat_conns
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H $HOSTADDRESS$ -v CONNS -w $ARG1$ -c $ARG2$
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v CONNS -w '$ARG1$' -c '$ARG2$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_netware_1load' command definition
|
||||
define command{
|
||||
command_name check_netware_1load
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H $HOSTADDRESS$ -v "LOAD1" -w 70 -c 90
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "LOAD1" -w 70 -c 90
|
||||
}
|
||||
|
||||
|
||||
# 'check_netware_5load' command definition
|
||||
define command{
|
||||
command_name check_netware_5load
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H $HOSTADDRESS$ -v "LOAD5" -w 70 -c 90
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "LOAD5" -w 70 -c 90
|
||||
}
|
||||
|
||||
|
||||
# 'check_netware_15load' command definition
|
||||
define command{
|
||||
command_name check_netware_15load
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H $HOSTADDRESS$ -v "LOAD15" -w 70 -c 90
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "LOAD15" -w 70 -c 90
|
||||
}
|
||||
|
||||
|
||||
# 'check_nwstat_vol_p' command definition
|
||||
define command{
|
||||
command_name check_nwstat_vol_p
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H $HOSTADDRESS$ -v VPF$ARG1$ -w $ARG2$ -c $ARG3$
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v VPF'$ARG1$' -w '$ARG2$' -c '$ARG3$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_nwstat_vol_k' command definition
|
||||
define command{
|
||||
command_name check_nwstat_vol_k
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H $HOSTADDRESS$ -v VKF$ARG1$ -w $ARG2$ -c $ARG3$
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v VKF'$ARG1$' -w '$ARG2$' -c '$ARG3$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_nwstat_ltch' command definition
|
||||
define command{
|
||||
command_name check_nwstat_ltch
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H $HOSTADDRESS$ -v LTCH -w $ARG1$ -c $ARG2$
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v LTCH -w '$ARG1$' -c '$ARG2$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_nwstat_puprb' command definition
|
||||
define command{
|
||||
command_name check_nwstat_puprb
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H $HOSTADDRESS$ -v PUPRB -w $ARG1$ -c $ARG2$
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v PUPRB -w '$ARG1$' -c '$ARG2$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_nwstat_dsdb' command definition
|
||||
define command{
|
||||
command_name check_nwstat_dsdb
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H $HOSTADDRESS$ -v DSDB
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v DSDB
|
||||
}
|
||||
|
||||
|
||||
# 'check_netware_abend' command definition
|
||||
define command{
|
||||
command_name check_netware_abend
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H $HOSTADDRESS$ -v "ABENDS" -w 10 -c 30
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "ABENDS" -w 10 -c 30
|
||||
}
|
||||
|
||||
|
||||
# 'check_nwstat_csprocs' command definition
|
||||
define command{
|
||||
command_name check_nwstat_csprocs
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H $HOSTADDRESS$ -v CSPROCS -w $ARG1$ -c $ARG2$
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v CSPROCS -w '$ARG1$' -c '$ARG2$'
|
||||
}
|
||||
|
||||
|
||||
|
|
4
debian/pluginconfig/news.cfg
vendored
4
debian/pluginconfig/news.cfg
vendored
|
@ -1,7 +1,7 @@
|
|||
# 'check_nntp' command definition
|
||||
define command{
|
||||
command_name check_nntp
|
||||
command_line /usr/lib/nagios/plugins/check_nntp -H $HOSTADDRESS$
|
||||
command_line /usr/lib/nagios/plugins/check_nntp -H '$HOSTADDRESS$'
|
||||
}
|
||||
|
||||
####
|
||||
|
@ -11,5 +11,5 @@ define command{
|
|||
# 'check_nntp_4' command definition
|
||||
define command{
|
||||
command_name check_nntp_4
|
||||
command_line /usr/lib/nagios/plugins/check_nntp -H $HOSTADDRESS$ -4
|
||||
command_line /usr/lib/nagios/plugins/check_nntp -H '$HOSTADDRESS$' -4
|
||||
}
|
||||
|
|
2
debian/pluginconfig/nt.cfg
vendored
2
debian/pluginconfig/nt.cfg
vendored
|
@ -1,5 +1,5 @@
|
|||
# 'check_nt' command definition
|
||||
define command {
|
||||
command_name check_nt
|
||||
command_line /usr/lib/nagios/plugins/check_nt -H $HOSTADDRESS$ -v $ARG1$
|
||||
command_line /usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -v '$ARG1$'
|
||||
}
|
||||
|
|
6
debian/pluginconfig/ntp.cfg
vendored
6
debian/pluginconfig/ntp.cfg
vendored
|
@ -1,17 +1,17 @@
|
|||
# 'check_ntp' command definition
|
||||
define command{
|
||||
command_name check_ntp
|
||||
command_line /usr/lib/nagios/plugins/check_ntp_peer -H $HOSTADDRESS$
|
||||
command_line /usr/lib/nagios/plugins/check_ntp_peer -H '$HOSTADDRESS$'
|
||||
}
|
||||
|
||||
# 'check_ntp_ntpq' command definition
|
||||
define command{
|
||||
command_name check_ntp_ntpq
|
||||
command_line /usr/lib/nagios/plugins/check_ntp_peer -H $HOSTADDRESS$ -j 10 -k 15
|
||||
command_line /usr/lib/nagios/plugins/check_ntp_peer -H '$HOSTADDRESS$' -j 10 -k 15
|
||||
}
|
||||
|
||||
# 'check_time' command definition
|
||||
define command{
|
||||
command_name check_time
|
||||
command_line /usr/lib/nagios/plugins/check_time -H $HOSTADDRESS$
|
||||
command_line /usr/lib/nagios/plugins/check_time -H '$HOSTADDRESS$'
|
||||
}
|
||||
|
|
4
debian/pluginconfig/pgsql.cfg
vendored
4
debian/pluginconfig/pgsql.cfg
vendored
|
@ -1,7 +1,7 @@
|
|||
# 'check_pgsql' command definition
|
||||
define command{
|
||||
command_name check_pgsql
|
||||
command_line /usr/lib/nagios/plugins/check_pgsql -H $HOSTADDRESS$
|
||||
command_line /usr/lib/nagios/plugins/check_pgsql -H '$HOSTADDRESS$'
|
||||
}
|
||||
|
||||
####
|
||||
|
@ -11,5 +11,5 @@ define command{
|
|||
# 'check_pgsql_4' command definition
|
||||
define command{
|
||||
command_name check_pgsql_4
|
||||
command_line /usr/lib/nagios/plugins/check_pgsql -H $HOSTADDRESS$ -4
|
||||
command_line /usr/lib/nagios/plugins/check_pgsql -H '$HOSTADDRESS$' -4
|
||||
}
|
||||
|
|
20
debian/pluginconfig/ping.cfg
vendored
20
debian/pluginconfig/ping.cfg
vendored
|
@ -1,35 +1,35 @@
|
|||
# 'check_ping' command definition
|
||||
define command{
|
||||
command_name check_ping
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w '$ARG1$' -c '$ARG2$'
|
||||
}
|
||||
|
||||
|
||||
# 'check-host-alive' command definition
|
||||
define command{
|
||||
command_name check-host-alive
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1
|
||||
}
|
||||
|
||||
|
||||
# 'check-printer-alive' command definition
|
||||
define command{
|
||||
command_name check-printer-alive
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1
|
||||
}
|
||||
|
||||
|
||||
# 'check-switch-alive' command definition
|
||||
define command{
|
||||
command_name check-switch-alive
|
||||
command_line /usr/lib/nagios/plugins/check_ping $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1
|
||||
command_line /usr/lib/nagios/plugins/check_ping '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1
|
||||
}
|
||||
|
||||
|
||||
# 'check-router-alive' command definition
|
||||
define command{
|
||||
command_name check-router-alive
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1
|
||||
}
|
||||
|
||||
####
|
||||
|
@ -39,34 +39,34 @@ define command{
|
|||
# 'check_ping_4' command definition
|
||||
define command{
|
||||
command_name check_ping_4
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -4
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w '$ARG1$' -c '$ARG2$' -4
|
||||
}
|
||||
|
||||
|
||||
# 'check-host-alive_4' command definition
|
||||
define command{
|
||||
command_name check-host-alive_4
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1 -4
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4
|
||||
}
|
||||
|
||||
|
||||
# 'check-printer-alive_4' command definition
|
||||
define command{
|
||||
command_name check-printer-alive_4
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1 -4
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4
|
||||
}
|
||||
|
||||
|
||||
# 'check-switch-alive_4' command definition
|
||||
define command{
|
||||
command_name check-switch-alive_4
|
||||
command_line /usr/lib/nagios/plugins/check_ping $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1 -4
|
||||
command_line /usr/lib/nagios/plugins/check_ping '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4
|
||||
}
|
||||
|
||||
|
||||
# 'check-router-alive_4' command definition
|
||||
define command{
|
||||
command_name check-router-alive_4
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1 -4
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4
|
||||
}
|
||||
|
||||
|
|
6
debian/pluginconfig/procs.cfg
vendored
6
debian/pluginconfig/procs.cfg
vendored
|
@ -1,20 +1,20 @@
|
|||
# 'check_procs' command definition
|
||||
define command{
|
||||
command_name check_procs
|
||||
command_line /usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$
|
||||
command_line /usr/lib/nagios/plugins/check_procs -w '$ARG1$' -c '$ARG2$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_procs_zombie' command definition
|
||||
define command{
|
||||
command_name check_procs_zombie
|
||||
command_line /usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -s Z
|
||||
command_line /usr/lib/nagios/plugins/check_procs -w '$ARG1$' -c '$ARG2$' -s Z
|
||||
}
|
||||
|
||||
|
||||
# 'check_procs_httpd' command definition
|
||||
define command{
|
||||
command_name check_procs_httpd
|
||||
command_line /usr/lib/nagios/plugins/check_procs -w 5:$ARG1$ -c 1:$ARG2$ -C httpd
|
||||
command_line /usr/lib/nagios/plugins/check_procs -w 5:'$ARG1$' -c 1:'$ARG2$' -C httpd
|
||||
}
|
||||
|
||||
|
|
2
debian/pluginconfig/radius.cfg
vendored
2
debian/pluginconfig/radius.cfg
vendored
|
@ -1,6 +1,6 @@
|
|||
# 'check_radius' command definition
|
||||
define command{
|
||||
command_name check_radius
|
||||
command_line /usr/lib/nagios/plugins/check_radius $ARG1$ $ARG2$ $HOSTADDRESS$ 1812 $ARG3$
|
||||
command_line /usr/lib/nagios/plugins/check_radius '$ARG1$' '$ARG2$' '$HOSTADDRESS$' 1812 '$ARG3$'
|
||||
}
|
||||
|
||||
|
|
4
debian/pluginconfig/real.cfg
vendored
4
debian/pluginconfig/real.cfg
vendored
|
@ -1,13 +1,13 @@
|
|||
# 'check_real_url' command definition
|
||||
define command{
|
||||
command_name check_real_url
|
||||
command_line /usr/lib/nagios/plugins/check_real $HOSTADDRESS$ -p $ARG1$ -wt $ARG2$ -ct $ARG3$ -to 5 -u $ARG4$
|
||||
command_line /usr/lib/nagios/plugins/check_real '$HOSTADDRESS$' -p '$ARG1$' -wt '$ARG2$' -ct '$ARG3$' -to 5 -u '$ARG4$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_real' command definition
|
||||
define command{
|
||||
command_name check_real
|
||||
command_line /usr/lib/nagios/plugins/check_real $HOSTADDRESS$ -p $ARG1$ -wt $ARG2$ -ct $ARG3$ -to 5
|
||||
command_line /usr/lib/nagios/plugins/check_real '$HOSTADDRESS$' -p '$ARG1$' -wt '$ARG2$' -ct '$ARG3$' -to 5
|
||||
}
|
||||
|
||||
|
|
4
debian/pluginconfig/rpc-nfs.cfg
vendored
4
debian/pluginconfig/rpc-nfs.cfg
vendored
|
@ -2,13 +2,13 @@
|
|||
# 'check-rpc' command definition
|
||||
define command{
|
||||
command_name check-rpc
|
||||
command_line /usr/lib/nagios/plugins/check_rpc -H $HOSTADDRESS$ -C $ARG1$
|
||||
command_line /usr/lib/nagios/plugins/check_rpc -H '$HOSTADDRESS$' -C '$ARG1$'
|
||||
}
|
||||
|
||||
|
||||
# 'check-nfs' command definition
|
||||
define command{
|
||||
command_name check-nfs
|
||||
command_line /usr/lib/nagios/plugins/check_rpc -H $HOSTADDRESS$ -C nfs -c2,3
|
||||
command_line /usr/lib/nagios/plugins/check_rpc -H '$HOSTADDRESS$' -C nfs -c2,3
|
||||
}
|
||||
|
||||
|
|
40
debian/pluginconfig/snmp.cfg
vendored
40
debian/pluginconfig/snmp.cfg
vendored
|
@ -1,139 +1,139 @@
|
|||
# 'snmp_load' command definition
|
||||
define command{
|
||||
command_name snmp_load
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.2021.10.1.5.1,.1.3.6.1.4.1.2021.10.1.5.2,.1.3.6.1.4.1.2021.10.1.5.3 -w :$ARG2$,:$ARG3$,:$ARG4$ -c :$ARG5$,:$ARG6$,:$ARG7$ -l load
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.10.1.5.1,.1.3.6.1.4.1.2021.10.1.5.2,.1.3.6.1.4.1.2021.10.1.5.3 -w :'$ARG2$',:'$ARG3$',:'$ARG4$' -c :'$ARG5$',:'$ARG6$',:'$ARG7$' -l load
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_cpustats' command definition
|
||||
define command{
|
||||
command_name snmp_cpustats
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.2021.11.9.0,.1.3.6.1.4.1.2021.11.10.0,.1.3.6.1.4.1.2021.11.11.0 -l 'CPU usage (user system idle)' -u '%'
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.11.9.0,.1.3.6.1.4.1.2021.11.10.0,.1.3.6.1.4.1.2021.11.11.0 -l 'CPU usage (user system idle)' -u '%'
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_procname' command definition
|
||||
define command{
|
||||
command_name snmp_procname
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.2021.2.1.5.$ARG2$ -w $ARG3$:$ARG4$ -c $ARG5$:$ARG6$
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.2.1.5.'$ARG2$' -w '$ARG3$':'$ARG4$' -c '$ARG5$':'$ARG6$'
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_disk' command definition
|
||||
define command{
|
||||
command_name snmp_disk
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.2021.9.1.7.$ARG2$,.1.3.6.1.4.1.2021.9.1.9.$ARG2$ -w $ARG3$:,:$ARG4$ -c $ARG5$:,:$ARG6$ -u 'kB free (','% used)' -l 'disk space'
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.9.1.7.'$ARG2$',.1.3.6.1.4.1.2021.9.1.9.'$ARG2$' -w '$ARG3$':,:'$ARG4$' -c '$ARG5$':,:'$ARG6$' -u 'kB free (','% used)' -l 'disk space'
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_mem' command definition
|
||||
define command{
|
||||
command_name snmp_mem
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.2021.4.6.0,.1.3.6.1.4.1.2021.4.5.0 -w $ARG2$: -c $ARG3$:
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.4.6.0,.1.3.6.1.4.1.2021.4.5.0 -w '$ARG2$': -c '$ARG3$':
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_swap' command definition
|
||||
define command{
|
||||
command_name snmp_swap
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.2021.4.4.0,.1.3.6.1.4.1.2021.4.3.0 -w $ARG2$: -c $ARG3$:
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.4.4.0,.1.3.6.1.4.1.2021.4.3.0 -w '$ARG2$': -c '$ARG3$':
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_procs' command definition
|
||||
define command{
|
||||
command_name snmp_procs
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o host.hrSystem.hrSystemProcesses -w :$ARG2$ -c :$ARG3$ -l processes
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrSystem.hrSystemProcesses -w :'$ARG2$' -c :'$ARG3$' -l processes
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_users' command definition
|
||||
define command{
|
||||
command_name snmp_users
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o host.hrSystem.hrSystemNumUsers -w :$ARG2$ -c :$ARG3$ -l users
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrSystem.hrSystemNumUsers -w :'$ARG2$' -c :'$ARG3$' -l users
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_mem2' command definition
|
||||
define command{
|
||||
command_name snmp_mem2
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.$ARG2$,host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.$ARG2$ -w $ARG3$ -c $ARG4$
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$',host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.'$ARG2$' -w '$ARG3$' -c '$ARG4$'
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_swap2' command definition
|
||||
define command{
|
||||
command_name snmp_swap2
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.$ARG2$,host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.$ARG2$ -w $ARG3$ -c $ARG4$
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$',host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.'$ARG2$' -w '$ARG3$' -c '$ARG4$'
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_mem3' command definition
|
||||
define command{
|
||||
command_name snmp_mem3
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.$ARG2$,host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.$ARG2$ -w $ARG3$ -c $ARG4$
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$',host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.'$ARG2$' -w '$ARG3$' -c '$ARG4$'
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_swap3' command definition
|
||||
define command{
|
||||
command_name snmp_swap3
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.$ARG2$,host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.$ARG2$ -w $ARG3$ -c $ARG4$
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$',host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.'$ARG2$' -w '$ARG3$' -c '$ARG4$'
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_disk2' command definition
|
||||
define command{
|
||||
command_name snmp_disk2
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.$ARG2$ -w $ARG3$ -c $ARG4$
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$' -w '$ARG3$' -c '$ARG4$'
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_tcpopen' command definition
|
||||
define command{
|
||||
command_name snmp_tcpopen
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o tcp.tcpCurrEstab.0 -w $ARG2$ -c $ARG3$
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o tcp.tcpCurrEstab.0 -w '$ARG2$' -c '$ARG3$'
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_tcpstats' command definition
|
||||
define command{
|
||||
command_name snmp_tcpstats
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o tcp.tcpActiveOpens.0,tcp.tcpPassiveOpens.0,tcp.tcpInSegs.0,tcp.tcpOutSegs.0,tcp.tcpRetransSegs.0 -l 'TCP stats'
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o tcp.tcpActiveOpens.0,tcp.tcpPassiveOpens.0,tcp.tcpInSegs.0,tcp.tcpOutSegs.0,tcp.tcpRetransSegs.0 -l 'TCP stats'
|
||||
}
|
||||
|
||||
|
||||
# 'check_snmp_bgpstate' command definition
|
||||
define command{
|
||||
command_name check_snmp_bgpstate
|
||||
command_line /usr/lib/nagios/plugins/check_bgpstate $HOSTADDRESS$ -c $ARG1$
|
||||
command_line /usr/lib/nagios/plugins/check_bgpstate '$HOSTADDRESS$' -c '$ARG1$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_netapp_uptime' command definition
|
||||
define command{
|
||||
command_name check_netapp_uptime
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.2.1.1.3.0 --delimiter=')' -l "Uptime is"
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.2.1.1.3.0 --delimiter=')' -l "Uptime is"
|
||||
}
|
||||
|
||||
|
||||
# 'check_netapp_cpuload' command definition
|
||||
define command{
|
||||
command_name check_netapp_cpuload
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.789.1.2.1.3.0 -w 90 -c 95 -u '%' -l "CPU LOAD "
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.789.1.2.1.3.0 -w 90 -c 95 -u '%' -l "CPU LOAD "
|
||||
}
|
||||
|
||||
|
||||
# 'check_netapp_numdisks' command definition
|
||||
define command{
|
||||
command_name check_netapp_numdisks
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.789.1.6.4.1.0,.1.3.6.1.4.1.789.1.6.4.2.0,.1.3.6.1.4.1.789.1.6.4.8.0,.1.3.6.1.4.1.789.1.6.4.7.0 -u 'Total Disks','Active','Spare','Failed' -l ""
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.789.1.6.4.1.0,.1.3.6.1.4.1.789.1.6.4.2.0,.1.3.6.1.4.1.789.1.6.4.8.0,.1.3.6.1.4.1.789.1.6.4.7.0 -u 'Total Disks','Active','Spare','Failed' -l ""
|
||||
}
|
||||
|
||||
|
||||
# 'check_compaq_thermalCondition' command definition
|
||||
define command{
|
||||
command_name check_compaq_thermalCondition
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.232.6.2.1.0,.1.3.6.1.4.1.232.6.2.2.0,.1.3.6.1.4.1.232.6.2.3.0,.1.3.6.1.4.1.232.6.2.4.0 -u 'ThermalCondition','ThermalTemp','ThermalSystem','ThermalCPUFan' -w 2:2,2:2,2:2,2:2 -c 1:2,1:2,1:2,1:2 -l "Thermal status "
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.232.6.2.1.0,.1.3.6.1.4.1.232.6.2.2.0,.1.3.6.1.4.1.232.6.2.3.0,.1.3.6.1.4.1.232.6.2.4.0 -u 'ThermalCondition','ThermalTemp','ThermalSystem','ThermalCPUFan' -w 2:2,2:2,2:2,2:2 -c 1:2,1:2,1:2,1:2 -l "Thermal status "
|
||||
}
|
||||
|
||||
|
|
8
debian/pluginconfig/ssh.cfg
vendored
8
debian/pluginconfig/ssh.cfg
vendored
|
@ -1,13 +1,13 @@
|
|||
# 'check_ssh' command definition
|
||||
define command{
|
||||
command_name check_ssh
|
||||
command_line /usr/lib/nagios/plugins/check_ssh $HOSTADDRESS$
|
||||
command_line /usr/lib/nagios/plugins/check_ssh '$HOSTADDRESS$'
|
||||
}
|
||||
|
||||
# 'check_ssh_port' command definition
|
||||
define command{
|
||||
command_name check_ssh_port
|
||||
command_line /usr/lib/nagios/plugins/check_ssh -p $ARG1$ $HOSTADDRESS$
|
||||
command_line /usr/lib/nagios/plugins/check_ssh -p '$ARG1$' '$HOSTADDRESS$'
|
||||
}
|
||||
|
||||
####
|
||||
|
@ -17,11 +17,11 @@ define command{
|
|||
# 'check_ssh_4' command definition
|
||||
define command{
|
||||
command_name check_ssh_4
|
||||
command_line /usr/lib/nagios/plugins/check_ssh $HOSTADDRESS$ -4
|
||||
command_line /usr/lib/nagios/plugins/check_ssh '$HOSTADDRESS$' -4
|
||||
}
|
||||
|
||||
# 'check_ssh_port_4' command definition
|
||||
define command{
|
||||
command_name check_ssh_port_4
|
||||
command_line /usr/lib/nagios/plugins/check_ssh -4 -p $ARG1$ $HOSTADDRESS$
|
||||
command_line /usr/lib/nagios/plugins/check_ssh -4 -p '$ARG1$' '$HOSTADDRESS$'
|
||||
}
|
||||
|
|
8
debian/pluginconfig/tcp_udp.cfg
vendored
8
debian/pluginconfig/tcp_udp.cfg
vendored
|
@ -1,13 +1,13 @@
|
|||
# 'check_tcp' command definition
|
||||
define command{
|
||||
command_name check_tcp
|
||||
command_line /usr/lib/nagios/plugins/check_tcp -H $HOSTADDRESS$ -p $ARG1$
|
||||
command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_udp' command definition
|
||||
define command{
|
||||
command_name check_udp
|
||||
command_line /usr/lib/nagios/plugins/check_udp -H $HOSTADDRESS$ -p $ARG1$
|
||||
command_line /usr/lib/nagios/plugins/check_udp -H '$HOSTADDRESS$' -p '$ARG1$'
|
||||
}
|
||||
|
||||
####
|
||||
|
@ -17,11 +17,11 @@ define command{
|
|||
# 'check_tcp_4' command definition
|
||||
define command{
|
||||
command_name check_tcp_4
|
||||
command_line /usr/lib/nagios/plugins/check_tcp -H $HOSTADDRESS$ -p $ARG1$ -4
|
||||
command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p '$ARG1$' -4
|
||||
}
|
||||
|
||||
# 'check_udp_4' command definition
|
||||
define command{
|
||||
command_name check_udp_4
|
||||
command_line /usr/lib/nagios/plugins/check_udp -H $HOSTADDRESS$ -p $ARG1$ -4
|
||||
command_line /usr/lib/nagios/plugins/check_udp -H '$HOSTADDRESS$' -p '$ARG1$' -4
|
||||
}
|
||||
|
|
4
debian/pluginconfig/telnet.cfg
vendored
4
debian/pluginconfig/telnet.cfg
vendored
|
@ -1,7 +1,7 @@
|
|||
# 'check_telnet' command definition
|
||||
define command{
|
||||
command_name check_telnet
|
||||
command_line /usr/lib/nagios/plugins/check_tcp -H $HOSTADDRESS$ -p 23
|
||||
command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p 23
|
||||
}
|
||||
|
||||
####
|
||||
|
@ -11,5 +11,5 @@ define command{
|
|||
# 'check_telnet_4' command definition
|
||||
define command{
|
||||
command_name check_telnet_4
|
||||
command_line /usr/lib/nagios/plugins/check_tcp -H $HOSTADDRESS$ -p 23 -4
|
||||
command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p 23 -4
|
||||
}
|
||||
|
|
2
debian/pluginconfig/users.cfg
vendored
2
debian/pluginconfig/users.cfg
vendored
|
@ -1,6 +1,6 @@
|
|||
# 'check_users' command definition
|
||||
define command{
|
||||
command_name check_users
|
||||
command_line /usr/lib/nagios/plugins/check_users -w $ARG1$ -c $ARG2$
|
||||
command_line /usr/lib/nagios/plugins/check_users -w '$ARG1$' -c '$ARG2$'
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue