-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release 0.3 - added performance data feature - removed camel-casing - cleaned-up code
- Loading branch information
Christian Stankowic
authored and
Christian Stankowic
committed
Oct 12, 2016
1 parent
2f0350e
commit d3e5d64
Showing
2 changed files
with
125 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
object CheckCommand "check_netio" { | ||
import "plugin-check-command" | ||
command = [ PluginDir + "/check_netio.py" ] | ||
arguments = { | ||
"-s" = { | ||
required = true | ||
description = "NETIO hostname or address" | ||
value = "$address$" | ||
} | ||
"-u" = { | ||
required = true | ||
description = "Username" | ||
value = "$netio_username$" | ||
} | ||
"-w" = { | ||
required = true | ||
description = "Password" | ||
value = "$netio_password$" | ||
} | ||
"-y" = { | ||
value = "$netio_hash$" | ||
description = "Use hash rather than username/password combination" | ||
} | ||
"-p" = { | ||
value = "$netio_kshell$" | ||
description = "KShell port" | ||
} | ||
"-k" = { | ||
set_if = "$netio_nocgi$" | ||
description = "Use KShell rather than CGI" | ||
} | ||
"-n" = { | ||
set_if = "$netio_ntp$" | ||
description = "Check NTP" | ||
} | ||
"-x" = { | ||
required = true | ||
value = "$netio_ports$" | ||
description = "Check port states" | ||
} | ||
"-P" = { | ||
value = "$netio_perfdata$" | ||
description = "Enables perfdata (default: no)" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters