add additional argument to a couple of command definitions to be more flexible
This commit is contained in:
parent
8a21b52c7b
commit
34404ee104
14
debian/changelog
vendored
14
debian/changelog
vendored
|
@ -15,6 +15,20 @@ nagios-plugins (1.4.16-2) UNRELEASED; urgency=low
|
||||||
(Closes: #708343)
|
(Closes: #708343)
|
||||||
* Fixing NULL pointer dereference in check_nt (Closes: #714281), thanks to
|
* Fixing NULL pointer dereference in check_nt (Closes: #714281), thanks to
|
||||||
Vaclav Ovsik
|
Vaclav Ovsik
|
||||||
|
* Add additional arguments to command definitions in (Closes: #709297):
|
||||||
|
- dhcp.cfg
|
||||||
|
- dns.cfg
|
||||||
|
- ftp.cfg
|
||||||
|
- http.cfg
|
||||||
|
- mail.cfg
|
||||||
|
- mysql.cfg
|
||||||
|
- news.cfg
|
||||||
|
- ntp.cfg
|
||||||
|
- pgsql.cfg
|
||||||
|
- procs.cfg
|
||||||
|
- ssh.cfg
|
||||||
|
- tcp_udp.cfg
|
||||||
|
- telnet.cfg
|
||||||
|
|
||||||
-- Jan Wagner <waja@cyconet.org> Wed, 27 Jun 2012 23:14:40 +0200
|
-- Jan Wagner <waja@cyconet.org> Wed, 27 Jun 2012 23:14:40 +0200
|
||||||
|
|
||||||
|
|
4
debian/pluginconfig/dhcp.cfg
vendored
4
debian/pluginconfig/dhcp.cfg
vendored
|
@ -4,12 +4,12 @@
|
||||||
# 'check_dhcp' command definition
|
# 'check_dhcp' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_dhcp
|
command_name check_dhcp
|
||||||
command_line /usr/lib/nagios/plugins/check_dhcp -s '$HOSTADDRESS$'
|
command_line /usr/lib/nagios/plugins/check_dhcp -s '$HOSTADDRESS$' '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_dhcp_interface' command definition
|
# 'check_dhcp_interface' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_dhcp_interface
|
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$' '$ARG2$'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
4
debian/pluginconfig/dns.cfg
vendored
4
debian/pluginconfig/dns.cfg
vendored
|
@ -1,11 +1,11 @@
|
||||||
# 'check_dns' command definition
|
# 'check_dns' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_dns
|
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$' '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_dig' command definition
|
# 'check_dig' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_dig
|
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$' '$ARG2$'
|
||||||
}
|
}
|
||||||
|
|
4
debian/pluginconfig/ftp.cfg
vendored
4
debian/pluginconfig/ftp.cfg
vendored
|
@ -1,7 +1,7 @@
|
||||||
# 'check_ftp' command definition
|
# 'check_ftp' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_ftp
|
command_name check_ftp
|
||||||
command_line /usr/lib/nagios/plugins/check_ftp -H '$HOSTADDRESS$'
|
command_line /usr/lib/nagios/plugins/check_ftp -H '$HOSTADDRESS$' '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
####
|
####
|
||||||
|
@ -11,5 +11,5 @@ define command{
|
||||||
# 'check_ftp_4' command definition
|
# 'check_ftp_4' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_ftp_4
|
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 '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
36
debian/pluginconfig/http.cfg
vendored
36
debian/pluginconfig/http.cfg
vendored
|
@ -1,55 +1,55 @@
|
||||||
# 'check_http' command definition
|
# 'check_http' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_http
|
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$' '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_http_hostname' command definition
|
# 'check_http_hostname' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_httpname
|
command_name check_httpname
|
||||||
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTNAME$' -I '$HOSTADDRESS$'
|
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTNAME$' -I '$HOSTADDRESS$' '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_http2' command definition
|
# 'check_http2' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_http2
|
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$' '$ARG4$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_squid' command definition
|
# 'check_squid' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_squid
|
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' '$ARG3$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_https' command definition
|
# 'check_https' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_https
|
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$' '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_https_hostname' command definition
|
# 'check_https_hostname' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_https_hostname
|
command_name check_https_hostname
|
||||||
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$'
|
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_https_auth' command definition
|
# 'check_https_auth' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_https_auth
|
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$' '$ARG2$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_https_auth_hostname' command definition
|
# 'check_https_auth_hostname' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_https_auth_hostname
|
command_name check_https_auth_hostname
|
||||||
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -a '$ARG1$'
|
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -a '$ARG1$' '$ARG2$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_cups' command definition
|
# 'check_cups' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_cups
|
command_name check_cups
|
||||||
command_line /usr/lib/nagios/plugins/check_http -I '$HOSTADDRESS$' -p 631
|
command_line /usr/lib/nagios/plugins/check_http -I '$HOSTADDRESS$' -p 631 '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
####
|
####
|
||||||
|
@ -59,53 +59,53 @@ define command{
|
||||||
# 'check_http_4' command definition
|
# 'check_http_4' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_http_4
|
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 '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_http_hostname_4' command definition
|
# 'check_http_hostname_4' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_httpname_4
|
command_name check_httpname_4
|
||||||
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4
|
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4 '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_http2_4' command definition
|
# 'check_http2_4' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_http2_4
|
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 '$ARG4$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_squid_4' command definition
|
# 'check_squid_4' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_squid_4
|
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 '$ARG3$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_https_4' command definition
|
# 'check_https_4' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_https_4
|
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 '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_https_hostname_4' command definition
|
# 'check_https_hostname_4' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_https_hostname_4
|
command_name check_https_hostname_4
|
||||||
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4
|
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4 '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_https_auth_4' command definition
|
# 'check_https_auth_4' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_https_auth_4
|
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 '$ARG2$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_https_auth_hostname_4' command definition
|
# 'check_https_auth_hostname_4' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_https_auth_hostname_4
|
command_name check_https_auth_hostname_4
|
||||||
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME' -I '$HOSTADDRESS$' -a '$ARG1$' -4
|
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME' -I '$HOSTADDRESS$' -a '$ARG1$' -4 '$ARG2$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_cups_4' command definition
|
# 'check_cups_4' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_cups_4
|
command_name check_cups_4
|
||||||
command_line /usr/lib/nagios/plugins/check_http -I '$HOSTADDRESS$' -p 631 -4
|
command_line /usr/lib/nagios/plugins/check_http -I '$HOSTADDRESS$' -p 631 -4 '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
24
debian/pluginconfig/mail.cfg
vendored
24
debian/pluginconfig/mail.cfg
vendored
|
@ -1,39 +1,39 @@
|
||||||
# 'check_pop' command definition
|
# 'check_pop' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_pop
|
command_name check_pop
|
||||||
command_line /usr/lib/nagios/plugins/check_pop -H '$HOSTADDRESS$'
|
command_line /usr/lib/nagios/plugins/check_pop -H '$HOSTADDRESS$' '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# 'check_smtp' command definition
|
# 'check_smtp' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_smtp
|
command_name check_smtp
|
||||||
command_line /usr/lib/nagios/plugins/check_smtp -H '$HOSTADDRESS$'
|
command_line /usr/lib/nagios/plugins/check_smtp -H '$HOSTADDRESS$' '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_ssmtp' command definition
|
# 'check_ssmtp' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_ssmtp
|
command_name check_ssmtp
|
||||||
command_line /usr/lib/nagios/plugins/check_ssmtp -H '$HOSTADDRESS$'
|
command_line /usr/lib/nagios/plugins/check_ssmtp -H '$HOSTADDRESS$' '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_imap' command definition
|
# 'check_imap' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_imap
|
command_name check_imap
|
||||||
command_line /usr/lib/nagios/plugins/check_imap -H '$HOSTADDRESS$'
|
command_line /usr/lib/nagios/plugins/check_imap -H '$HOSTADDRESS$' '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_spop' command definition
|
# 'check_spop' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_spop
|
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 '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# 'check_simap' command definition
|
# 'check_simap' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_simap
|
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 '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
####
|
####
|
||||||
|
@ -43,35 +43,35 @@ define command {
|
||||||
# 'check_pop_4' command definition
|
# 'check_pop_4' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_pop_4
|
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 '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_smtp_4' command definition
|
# 'check_smtp_4' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_smtp_4
|
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 '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_ssmtp_4' command definition
|
# 'check_ssmtp_4' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_ssmtp_4
|
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 '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_imap_4' command definition
|
# 'check_imap_4' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_imap_4
|
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 '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_spop_4' command definition
|
# 'check_spop_4' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_spop_4
|
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 '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_simap_4' command definition
|
# 'check_simap_4' command definition
|
||||||
define command {
|
define command {
|
||||||
command_name check_simap_4
|
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 '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
8
debian/pluginconfig/mysql.cfg
vendored
8
debian/pluginconfig/mysql.cfg
vendored
|
@ -1,24 +1,24 @@
|
||||||
# 'check_mysql' command definition
|
# 'check_mysql' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_mysql
|
command_name check_mysql
|
||||||
command_line /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$'
|
command_line /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$' '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_mysql_cmdlinecred' command definition
|
# 'check_mysql_cmdlinecred' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_mysql_cmdlinecred
|
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$' '$ARG3$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_mysql_database' command definition
|
# 'check_mysql_database' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_mysql_database
|
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$' '$ARG3$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_mysql_slave' command definition
|
# 'check_mysql_slave' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_mysql_slave
|
command_name check_mysql_slave
|
||||||
command_line /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$' -u '$ARG1$' -p '$ARG2$' -S
|
command_line /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$' -u '$ARG1$' -p '$ARG2$' -S '$ARG3$'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
4
debian/pluginconfig/news.cfg
vendored
4
debian/pluginconfig/news.cfg
vendored
|
@ -1,7 +1,7 @@
|
||||||
# 'check_nntp' command definition
|
# 'check_nntp' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_nntp
|
command_name check_nntp
|
||||||
command_line /usr/lib/nagios/plugins/check_nntp -H '$HOSTADDRESS$'
|
command_line /usr/lib/nagios/plugins/check_nntp -H '$HOSTADDRESS$' '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
####
|
####
|
||||||
|
@ -11,5 +11,5 @@ define command{
|
||||||
# 'check_nntp_4' command definition
|
# 'check_nntp_4' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_nntp_4
|
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 '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
6
debian/pluginconfig/ntp.cfg
vendored
6
debian/pluginconfig/ntp.cfg
vendored
|
@ -1,17 +1,17 @@
|
||||||
# 'check_ntp' command definition
|
# 'check_ntp' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_ntp
|
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$' '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_ntp_ntpq' command definition
|
# 'check_ntp_ntpq' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_ntp_ntpq
|
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 '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_time' command definition
|
# 'check_time' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_time
|
command_name check_time
|
||||||
command_line /usr/lib/nagios/plugins/check_time -H '$HOSTADDRESS$'
|
command_line /usr/lib/nagios/plugins/check_time -H '$HOSTADDRESS$' '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
4
debian/pluginconfig/pgsql.cfg
vendored
4
debian/pluginconfig/pgsql.cfg
vendored
|
@ -1,7 +1,7 @@
|
||||||
# 'check_pgsql' command definition
|
# 'check_pgsql' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_pgsql
|
command_name check_pgsql
|
||||||
command_line /usr/lib/nagios/plugins/check_pgsql -H '$HOSTADDRESS$'
|
command_line /usr/lib/nagios/plugins/check_pgsql -H '$HOSTADDRESS$' '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
####
|
####
|
||||||
|
@ -11,5 +11,5 @@ define command{
|
||||||
# 'check_pgsql_4' command definition
|
# 'check_pgsql_4' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_pgsql_4
|
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 '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
4
debian/pluginconfig/procs.cfg
vendored
4
debian/pluginconfig/procs.cfg
vendored
|
@ -1,14 +1,14 @@
|
||||||
# 'check_procs' command definition
|
# 'check_procs' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_procs
|
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$' '$ARG3$'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# 'check_procs_zombie' command definition
|
# 'check_procs_zombie' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_procs_zombie
|
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 '$ARG3$'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
8
debian/pluginconfig/ssh.cfg
vendored
8
debian/pluginconfig/ssh.cfg
vendored
|
@ -1,13 +1,13 @@
|
||||||
# 'check_ssh' command definition
|
# 'check_ssh' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_ssh
|
command_name check_ssh
|
||||||
command_line /usr/lib/nagios/plugins/check_ssh '$HOSTADDRESS$'
|
command_line /usr/lib/nagios/plugins/check_ssh '$HOSTADDRESS$' '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_ssh_port' command definition
|
# 'check_ssh_port' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_ssh_port
|
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$' '$ARG2$'
|
||||||
}
|
}
|
||||||
|
|
||||||
####
|
####
|
||||||
|
@ -17,11 +17,11 @@ define command{
|
||||||
# 'check_ssh_4' command definition
|
# 'check_ssh_4' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_ssh_4
|
command_name check_ssh_4
|
||||||
command_line /usr/lib/nagios/plugins/check_ssh -4 '$HOSTADDRESS$'
|
command_line /usr/lib/nagios/plugins/check_ssh -4 '$HOSTADDRESS$' '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_ssh_port_4' command definition
|
# 'check_ssh_port_4' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_ssh_port_4
|
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$' '$ARG2$'
|
||||||
}
|
}
|
||||||
|
|
8
debian/pluginconfig/tcp_udp.cfg
vendored
8
debian/pluginconfig/tcp_udp.cfg
vendored
|
@ -1,13 +1,13 @@
|
||||||
# 'check_tcp' command definition
|
# 'check_tcp' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_tcp
|
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$' '$ARG2$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_udp' command definition
|
# 'check_udp' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_udp
|
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$' '$ARG2$'
|
||||||
}
|
}
|
||||||
|
|
||||||
####
|
####
|
||||||
|
@ -17,11 +17,11 @@ define command{
|
||||||
# 'check_tcp_4' command definition
|
# 'check_tcp_4' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_tcp_4
|
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 '$ARG2$'
|
||||||
}
|
}
|
||||||
|
|
||||||
# 'check_udp_4' command definition
|
# 'check_udp_4' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_udp_4
|
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 '$ARG2$'
|
||||||
}
|
}
|
||||||
|
|
4
debian/pluginconfig/telnet.cfg
vendored
4
debian/pluginconfig/telnet.cfg
vendored
|
@ -1,7 +1,7 @@
|
||||||
# 'check_telnet' command definition
|
# 'check_telnet' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_telnet
|
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 '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
||||||
####
|
####
|
||||||
|
@ -11,5 +11,5 @@ define command{
|
||||||
# 'check_telnet_4' command definition
|
# 'check_telnet_4' command definition
|
||||||
define command{
|
define command{
|
||||||
command_name check_telnet_4
|
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 '$ARG1$'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue