Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # check_uptime
- # /usr/lib/nagios/plugins/check_uptime
- #!/bin/bash
- echo -n "OK "
- uptime | sed -r 's#.*up (.*),\s*[0-9]+ user.*#\1#'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement