summaryrefslogtreecommitdiff
path: root/files/puppet/modules/pixelated/files/check_mk/check_pixelated_user_agent.sh
blob: a2d81a9a0d8d7ff87b63b768375505686f2a2ef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

STATUS[0]='OK'
STATUS[1]='Critical'
STATUS[2]='Critical'
CHECKNAME='Dispatcher_Proxy'

MESSAGE=$(/usr/lib/nagios/plugins/check_procs -a '/usr/bin/pixelated-user-agent' -c 1:1)
SERVICESTATUS=$?
echo "${SERVICESTATUS} ${CHECKNAME} running=1 ${MESSAGE}"