Link to home
Start Free TrialLog in
Avatar of maxalarie
maxalarieFlag for Canada

asked on

Nagios External commands problem: Could not stat command file

Hi,
I have just installed nagios3 on ubuntu. I  have setup my  windows machine with nsclient++. I can see my machine's up on nagios (ping) but when i try to  schedule a check, i get the followinfg error:

Error: Could not stat() command file '/var/lib/nagios3/rw/nagios.cmd'!

I have  this file does not exist!

Any help is apreciated!
Cheers
Avatar of Sanga Collins
Sanga Collins
Flag of United States of America image

did you complete this step of the setup? it is supposed to configure nagios to allow running of external commands on other systems.

make install-commandmode
Avatar of maxalarie

ASKER

I  have used  ubuntu, i got nagios3 by goin: apt-get isntall nagios3 nagios3-plugins
i have also enabled the external_command in nagios.cfg file.
ASKER CERTIFIED SOLUTION
Avatar of koffu
koffu

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks.