File: send_nsca

package info (click to toggle)
monitoring-plugins-check-logfiles 4.1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,992 kB
  • sloc: perl: 19,492; sh: 3,422; makefile: 72; awk: 41
file content (9 lines) | stat: -rwxr-xr-x 174 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9

echo i am the script with "$*"
if [ "$1" = "-H" ] && [ "$2" = "nagios.dierichs.de" ] && [ "$3" = "-p" ] && [ "$4" = "5555" ]; then
echo good
exit 0;
else
echo bad
exit 2
fi