Re: Syntax Command Check_netstat_conn
Posted: Tue Mar 29, 2016 7:30 am
Hello friends,
I thank all of you help!
But really it takes is starting a criterion, for example.
#############################
if [ "$ arg1" -gt 2]
Then
echo "Service is OK"
fi
#############################
And starting this status or otherwise, the status it it in Dashboard green turns to red or yellow, referring to the criteria that I set.
As follows the image below. I set a criterion, but the service is still green despite being Warning regarding the criteria that define the Scritp.
I thank all of you help!
But really it takes is starting a criterion, for example.
#############################
if [ "$ arg1" -gt 2]
Then
echo "Service is OK"
fi
#############################
And starting this status or otherwise, the status it it in Dashboard green turns to red or yellow, referring to the criteria that I set.
As follows the image below. I set a criterion, but the service is still green despite being Warning regarding the criteria that define the Scritp.