Linux Process monitoring returns "Timeout, no reply from server"

Hello,

I'm testing the Serverscheck momitoring software on a Suse Linux system.
I downloaded the Linux agent and tried compiling serverscheck.c with the command "gcc serverscheck.c -o serverscheck" but always got an error "undefined reference to `pthread_create'".
After researching around, the command "gcc serverscheck.c -o serverscheck -pthread" worked and did not return any errors.
I then ran the agent in the background with the command "nohup /ServersCheck/xlinuxagent/serverscheck < /dev/null > /ServersCheck/xlinuxagent/serverscheck.out 2>&1 &"
I was then able to setup new sensors for CPU, MEMORY and DISK-SPACE and they worked!
The problem comes in when I add a sensor for a Linux process. The Serverscheck monitoring software returns the error "Timeout, no reply from server" and the serverscheck.out file has entries:
got line: passServerscheck::PROCESS
incorrect command
got line: passServerscheck::PROCESS
incorrect command
got line: passServerscheck::PROCESS
incorrect command
got line: passServerscheck::MEM
sent answer: (0)
got line: passServerscheck::CPU
sent answer: 0(1)
got line: passServerscheck::DISK-SPACE
sent answer: disk1:18

So everything works but checking for processes!
Why is it getting that "incorrect command" error?

Please help in resolving this.

Thanks,

TonyS

Sign In or Register to comment.