LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-21-2008, 11:08 PM   #1
cmx08
Member
 
Registered: Aug 2008
Location: Malaysia
Distribution: Fedora Core
Posts: 35

Rep: Reputation: 15
Nagios notifications for a host problem


Hi All

I have install the Nagios monitor tool. I can run the Nagios properly without any problem but when I try to use the Nagios web interface to schedule a host for downtime (disable notifications for a host) I get the following error:

Code:
Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!

The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands.

An error occurred while attempting to commit your command for processing.
I already check all the .cfg file and didn't see any problem there. Is anybody can give me the solution to fix this problem?

Thx.

Last edited by cmx08; 10-24-2008 at 03:50 AM.
 
Old 07-20-2011, 07:35 AM   #2
Babs
LQ Newbie
 
Registered: Jul 2011
Posts: 4

Rep: Reputation: Disabled
Nagios issue

do chkconfig --list to check if nagios services has started. Depending on Linux
distribution
Ref Centos
run the following command.
chkconfig nagios on
service nagios start or /etc/init.d/nagios start

Use the command below to check exactly what is causing the problem for you this must be done on your nagios server and you might need to change the path to suit your environment. if you using CentOS or RedHat this will work depnding on how you install Nagios on the box though.
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nagios & SMS notifications. mastrboy Linux - Software 4 03-21-2010 09:44 AM
LXer: Custom checks and notifications for Nagios LXer Syndicated Linux News 0 09-12-2008 11:40 AM
Nagios e-Mail notifications netmaster3620 Linux - Newbie 1 07-01-2008 07:33 PM
Nagios notifications nuganen Linux - Newbie 1 06-20-2008 02:13 PM
E-mail notifications not working with nagios hondo Linux - Server 3 10-28-2007 12:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration