LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-05-2013, 08:49 AM   #1
tissam89
Member
 
Registered: Mar 2013
Posts: 47

Rep: Reputation: Disabled
Run monitoring engine debug (-v) Error


Hi !

I have just installer FAN(Nagios+centreon+...) version 2.4 .but I have an error when I try to run monitoring engine debug :

Progress (10%)
Preparing environment... OK
Running debug mode... NOK
Aborted. [ + ][ - ] default
sudo: no tty present and no askpass program specified

But not when I run :

Generate Configuration Files
Move Export Files
Restart Monitoring Engine

Please help me to fix my problem .

this is the contain of my sudoers file :

Code:
## BEGIN: CENTREON SUDO
#Add by CENTREON installation script
User_Alias      CENTREON=daemon,centreon
Defaults:CENTREON !requiretty
# Monitoring engine Restart
#CENTREON   ALL = NOPASSWD: /etc/init.d/nagios* restart
CENTREON   ALL = NOPASSWD: /etc/init.d/nagios restart
# Monitoring engine reload
#CENTREON   ALL = NOPASSWD: /etc/init.d/nagios* reload
CENTREON   ALL = NOPASSWD: /etc/init.d/nagios reload
# Monitoring engine test config
#CENTREON   ALL = NOPASSWD: /usr/local/nagios/bin/nagios* -v *
#CENTREON   ALL = NOPASSWD: /usr/local/nagios/bin/nagios -v *
CENTREON   ALL = NOPASSWD: /usr/bin/nagios -v *

# Monitoring engine test for optim config
#CENTREON   ALL = NOPASSWD: /usr/local/nagios/bin/nagios* -s *
# CENTREON   ALL = NOPASSWD: /usr/local/nagios/bin/nagios -s *
CENTREON   ALL = NOPASSWD: /usr/bin/nagios -s *
# Snmptrapd Restart
CENTREON   ALL = NOPASSWD: /etc/init.d/snmptrapd restart
# Snmptt restart
CENTREON   ALL = NOPASSWD: /etc/init.d/snmptt restart
# CentStorage Restart
CENTREON   ALL = NOPASSWD: /etc/init.d/centstorage restart
# CentStorage stop
CENTREON   ALL = NOPASSWD: /etc/init.d/centstorage stop
# CentStorage start
CENTREON   ALL = NOPASSWD: /etc/init.d/centstorage start
# Broker engine Restart
#CENTREON   ALL = NOPASSWD: /etc/init.d/ndo2db* restart
CENTREON   ALL = NOPASSWD: /etc/init.d/ndo2db restart
# Broker engine reload
#CENTREON   ALL = NOPASSWD: /etc/init.d/ndo2db* reload
CENTREON   ALL = NOPASSWD: /etc/init.d/ndo2db reload
## END: CENTREON SUDO
Please help me

Last edited by tissam89; 04-05-2013 at 08:51 AM.
 
Old 04-08-2013, 04:02 PM   #2
Habitual
LQ Addict
 
Registered: Jan 2011
Posts: 8,486
Blog Entries: 11

Rep: Reputation: 2386Reputation: 2386Reputation: 2386Reputation: 2386Reputation: 2386Reputation: 2386Reputation: 2386Reputation: 2386Reputation: 2386Reputation: 2386Reputation: 2386
(duplicate?) post every week until you fix it?
http://www.linuxquestions.org/questi...-a-4175456202/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
debug error brucewang Linux - Newbie 1 09-08-2011 06:19 AM
I don't want typos in the Run box to activate a search engine newbiesforever Linux - General 2 09-06-2011 01:41 PM
Run two instances of a dlz engine in BIND 9.5? fmillion Linux - Networking 3 06-14-2008 01:48 AM
MySQL Error 1030 : Got error 127 from storage engine mohtasham1983 Programming 2 02-24-2006 07:47 AM
Bad Argument '53' IPtables doesn't run and has no bash debug lines? piratebiter Linux - Security 3 09-02-2003 10:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:52 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration