Hello, I have PRTG Network monitor 13.3.6.3110. I try to create a SSH Script (on Ubuntu Linux Server) for monitoring active http connections.
This is a content of my script:
#!/bin/bash netstat -anp | grep :80 | grep ESTABLISHED | wc -l | awk '{printf "0:%s:OK", $1; print ""}'
I try to run this command and work on server console. From PRTG I receive this error:
Response not wellformed: "(No info could be read for "-p": geteuid()=1000 but you should be root.) 0:52:OK " (code: PE132)
Can you help me ?
Tnx in advance Manuel
Add comment