Hi ,I had wrote shell script for checking the port status fro tomcat,mysql,etc.
below the script in client machine:
value=(netstat -tuplen | grep 3306)
if [ "?" -eq 0 ]
echo “mysql running on port 3306”
echo “port not open”
When executed from client ,it is working as expected.
But when Sensu Server is checking the checks ,it is throwing alert and output as below:
“(Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) tomcat running on port 8080”.
Sensu server,rabbitmq,client ,redis are running on four different Linux boxes
Request anyone to help me out.
thanks in advance