[Nagios-users] ndoutils - new objects not active after reload

2006-12-15 Thread Wolfgang Powisch
Hi, I'm using ndoutils 1.3.1 with nagios 2.x and seeing the following problem: My web-application queries the ndo_servicestate or ndo_hoststate table with an additional filter "WHERE ndo_objects.is_active=1" to get the current service and host states. This works well most of the time. Now, I no

Re: [Nagios-users] Newbie: I can't register hosts?

2006-12-15 Thread Andreas Ericsson
nic gna wrote: > This is my host.cfg and I can't register the hosts. > I get this error: > > Error: Host name, alias, or address is NULL > Error: Could not register host (config file '/etc/nagios/hosts.cfg', starting > on line 1) > > define host{ > name

Re: [Nagios-users] ndoutils - new objects not active after reload

2006-12-15 Thread Andreas Ericsson
Wolfgang Powisch wrote: > Hi, > > I'm using ndoutils 1.3.1 with nagios 2.x and seeing the following problem: > > My web-application queries the ndo_servicestate or ndo_hoststate table with an > additional filter "WHERE ndo_objects.is_active=1" to get the current service > and host > states. This

[Nagios-users] Whoops! Error: Could not read object configuration data!

2006-12-15 Thread nic gna
When I try to access the Host Details, etc, I have this error: -- Whoops! Error: Could not read object configuration data! Here

Re: [Nagios-users] Whoops! Error: Could not read object configuration data!

2006-12-15 Thread Andreas Ericsson
nic gna wrote: > When I try to access the Host Details, etc, I have this error: > Sorry to hear it. What have you done to try and fix it? -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-23023

[Nagios-users] help please

2006-12-15 Thread tyrus
I have performed all the necessary modifications to my host.cfg file and now there is this error message am getting. Error: Could not find a service matching host name 'jkuatdb' and description 'mysql' Error: Could not expand member services specified in servicegroup (config file '/usr/local/nagios

Re: [Nagios-users] Whoops! Error: Could not read object configuration data!

2006-12-15 Thread Ralph Seichter
Andreas Ericsson wrote: > Sorry to hear it. What have you done to try and fix it? Hehehe... Right on. :-) -- Mit freundlichen Grüßen / Sincerely Dipl. Inform. Ralph Seichter - Take Surveys. Earn Cash. Influence the Future

[Nagios-users] Services and Hosts

2006-12-15 Thread Mattia Martinello
Hi. In the definition of services, I have to specify which hosts belogs to which services, for example: define service{ use local-service host_name localhost service_description Root Partition check_comm

Re: [Nagios-users] Services and Hosts

2006-12-15 Thread Andreas Ericsson
Mattia Martinello wrote: > > Can I specify the relation between services and hosts in the hosts > definition, instead of in the services definition? No, only in the services. You can, however, specify multiple hosts, or entire hostgroups, in your service object definitions. -- Andreas Ericsso

Re: [Nagios-users] Unable to run make successfully fornagios-plugins-1.4.5

2006-12-15 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Ravi Malghan > Sent: Thursday, December 14, 2006 4:22 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Unable to run make successfully fornagios-plugins- > 1.4.5 > >

Re: [Nagios-users] Whoops! Error: Could not read objectconfiguration data!

2006-12-15 Thread Marcel Mitsuto Fucatu Sugano
On Fri, 2006-12-15 at 11:09 +0100, Andreas Ericsson wrote: > nic gna wrote: > > When I try to access the Host Details, etc, I have this error: > > > > Sorry to hear it. What have you done to try and fix it? > seems nothing, whatsoever. neither read docs. http://library.n0i.net/advocacy/ho

[Nagios-users] help please..kindly

2006-12-15 Thread tyrus
After entering all the necessary configurations in the nagiosfiles, i have narrowed down to the following error which i seem not to make head of: Error: Invalid max_check_attempts value for host 'localhosts' Error: Could not register host (config file '/usr/local/nagios/etc/localhost.cfg', starting

Re: [Nagios-users] help please..kindly

2006-12-15 Thread Jeff Sullivan
[EMAIL PROTECTED] wrote: > After entering all the necessary configurations in the nagiosfiles, i have > narrowed down to the following error which i seem not to make head of: > Error: Invalid max_check_attempts value for host 'localhosts' > Error: Could not register host (config file > '/usr/local/

Re: [Nagios-users] Unable to run make successfully fornagios-plugins-1.4.5

2006-12-15 Thread Luc I. Suryo
> > > > Hi: When I run make, I get the following error. I looked through the > FAQ, > > couldn't find any pointers. I am compiling this on Solaris 2.9 and > have > > make 3.81 and gcc 3.4.6 > > = > > [chop] > > > gcc: unrecognized option `-Xa' > > gcc: language arch=v8 n

[Nagios-users] NagiosGraph and multiple hostextinfo's...

2006-12-15 Thread Eric Faden
So currently I am running NagiosGrapher utilizing the serviceext info sections to link to the graphs. NagiosGrapher seems to also be creating files with hostextinfo sections in it as well. Right now I am using hostext info to display the OS or Hardware icon that it is running on. Is it possi

Re: [Nagios-users] help please..kindly

2006-12-15 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] > Sent: Friday, December 15, 2006 10:25 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] help please..kindly > > After entering all the necessary c

Re: [Nagios-users] Whoops! Error: Could not read objectconfiguration data!

2006-12-15 Thread Jim Perrin
> seems nothing, whatsoever. neither read docs. > > http://library.n0i.net/advocacy/howto-ask-questions/ > > will it be read? > Doubtful. Perhaps instead you could read it for him and summarize, cliff's notes style :-P - Take

Re: [Nagios-users] Whoops! Error: Could not read objectconfiguration data!

2006-12-15 Thread Marcel Mitsuto Fucatu Sugano
Hello, nic gna: Here are some things you should check in order to resolve this error: 1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled

[Nagios-users] SELinux policies for Nagios on RHEL 4

2006-12-15 Thread Joseph Filla
As I have seen posted before, one has to disable SELinux so the cgi scripts can run. I too encountered the problems and had to disable SELinux. Is there any progress being made to get the cgis to work correctly or to define a policy so SELinux and Nagios cgis can coexist? -- Joseph Filla Sy

Re: [Nagios-users] SELinux policies for Nagios on RHEL 4

2006-12-15 Thread Patrick Morris
On Fri, 15 Dec 2006, Joseph Filla wrote: > As I have seen posted before, one has to disable SELinux so the cgi > scripts can run. I too encountered the problems and had to disable > SELinux. Is there any progress being made to get the cgis to work > correctly or to define a policy so SELinux

Re: [Nagios-users] SELinux policies for Nagios on RHEL 4

2006-12-15 Thread Joseph Filla
Thanks for your reply, Does anyone know if the SELinux policies are transferable from Fedora to RHEL? I can run Audit2allow and try to configure my first policy, but I was wondering if someone has already cracked this nut. I donwanna redo the wheel if possible. On Dec 15, 2006, at 2:50 PM,