File: samplescript

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 (3 lines) | stat: -rwxr-xr-x 145 bytes parent folder | download | duplicates (2)
1
2
3
#!/bin/bash
awk '/CRITICAL/ { printf "this is critical: %s\n", $0 } /WARNING/ { printf "this is for whimps: %s\n", $0 }'
env|grep CHECK_LOGFILES