Re: [Nagios-users] nsca daemon performance

2010-05-04 Thread Noel Platzke
If you're running the nsca daemon in xinetd you can up the number of threads and connections. I had a similar issue as I started adding services and eventually fixed it by adding these lines to /etc/xinetd.d/nsca instances = UNLIMITED per_source = UNLIMITED cps

Re: [Nagios-users] alias in server cfg file

2010-04-14 Thread Noel Platzke
define it this way instead... define host { host_nameVIO_server address 172.16.165.41 ... } On Wed, Apr 14, 2010 at 6:43 AM, Brian O'Mahony brian.omah...@curamsoftware.com wrote: I have a number of machines that cannot be looked up by hostname, however I don’t want

[Nagios-users] state change question

2010-04-01 Thread Noel Platzke
I'm trying to track down an issue and am not sure If I'm following what is happening correctly. We had a service go critical and start sending alerts. The service was then acknowledged so it would stop sending notifications. The problem with that service was then resolved by getting the service

Re: [Nagios-users] state change question

2010-04-01 Thread Noel Platzke
Yeah, it's the sticky acknowledgement that caused the problem. I'm permanently disabling it. There needs to be a better way to control this other than hacking the gui. On Thu, Apr 1, 2010 at 11:06 AM, steve f a31mod...@hotmail.com wrote: Hey Fritz, Maybe this is the issue ? Steve F.

Re: [Nagios-users] init.d/nagios

2010-03-19 Thread Noel Platzke
The init script should really be changed to this so we avoid this problem altogether... NagiosStatusFile=$(grep status_file= $NagiosCfgFile | awk -F\= '{print $2}') NagiosRetentionFile=$(grep state_retention_file= $NagiosCfgFile | awk -F\= '{print $2}') NagiosCommandFile=$(grep command_file

Re: [Nagios-users] Want to Install nagios

2010-03-08 Thread Noel Platzke
That's not a nagios problem. It's an issue with your machine not being able to talk to the yum repository. On Mon, Mar 8, 2010 at 1:29 PM, ravishankar.gundlap...@wipro.com wrote: Hi, I have given the command ' yum install httpd php ' to install the packages initially but the below error

Re: [Nagios-users] Unable to install Packages .

2010-03-08 Thread Noel Platzke
As was stated earlier, you really need to direct this question to the fedora list. This isn't a nagios problem but rather an issue with your machine not being able to talk to the yum repo. On Mon, Mar 8, 2010 at 2:53 PM, ravishankar.gundlap...@wipro.com wrote: Hi, I have a Linux Box with

Re: [Nagios-users] You do not have permission to access /nagios on this server

2010-03-08 Thread Noel Platzke
You posted a MySQL error. The error you should be seeing will be in the apache logs. I'm kind of confused. On Mon, Mar 8, 2010 at 3:47 PM, Gezina Dekker gezin...@gmail.com wrote: James, Thank you for the reply. I am over the first hurdle, changing the pernissions to +rx fixed it, and

Re: [Nagios-users] nagios3 only doing one check attempt

2009-11-30 Thread Noel Platzke
If anyone figures this out it would be greatly appreciated. I posted about the same thing a few weeks back. I had services defined with max_check_attempts set to 3 and wasn't getting alerted because it would get stuck on the first or second attempt. After digging through my logs I saw that when

[Nagios-users] inconsistencies across distributed servers

2009-11-16 Thread Noel Platzke
I'm occasionally seeing inconsistencies across my distributed setup. It's very infrequent but the result is that occasionally the data sent to a master will either incorrectly trigger or fail to trigger an alert. The first time I saw this it was with a host being marked as hard down in a

[Nagios-users] distributed servers not updating master with host problems

2009-11-09 Thread Noel Platzke
I've just started noticing a strange problem. If a host being monitored by a distributed server dies the master server isn't receiving the information it needs to generate an email. This doesn't happen every time only on occasion but I can't figure out why it's an intermittent problem. *This is

[Nagios-users] notifications not being sent on host down/unreachable

2009-10-06 Thread Noel Platzke
I have a nagios setup consisting of 2 distributed servers and one master using nsca. I'm having an issue where notifications aren't being sent for hosts going down or becoming unreachable but I see them in that state in the GUI and the logs. If a service check fails the notification is sent fine

Re: [Nagios-users] notifications not being sent on host down/unreachable

2009-10-06 Thread Noel Platzke
address server1.domain.com } The same goes for contacts everything else. On Tue, Oct 6, 2009 at 1:53 PM, Marc Powell m...@ena.com wrote: On Oct 6, 2009, at 12:21 PM, Noel Platzke wrote: My host, service and contacts are defined with the following templates

Re: [Nagios-users] notifications not being sent on host down/unreachable

2009-10-06 Thread Noel Platzke
PM, Noel Platzke neuf...@gmail.com wrote: I included the template because the actual host definitions only include the server specific information. I'm not overriding anything. For example... define host{ use standard-host host_name server1

[Nagios-users] capturing $LONGSERVICEOUPUT$ from custom plugins

2009-10-05 Thread Noel Platzke
I have a custom plugin that prints a small bit of data when it exits but for some reason it's not being captured by nagios. I read that there's a 4k byte limit but the data I'm printing is very very small, only a few lines so I shouldn't be hitting that limit. I altered the script to write the

Re: [Nagios-users] capturing $LONGSERVICEOUPUT$ from custom plugins

2009-10-05 Thread Noel Platzke
AM, Noel Platzke wrote: I'm looking for it to be captured in the $LONGSERVICEOUTPUT$ macro. Where else would it be? That will capture anything after the first line of text but if you're looking for it as part of a host notification (or elsewhere it's not supported), you're not going

Re: [Nagios-users] capturing $LONGSERVICEOUPUT$ from custom plugins

2009-10-05 Thread Noel Platzke
Problem solved. It had to do with nsca. When the script was executed from one of the slave servers it never passed the output back to the master. I updated my nsca script and it works fine now. On Mon, Oct 5, 2009 at 12:10 PM, Noel Platzke neuf...@gmail.com wrote: The custom plugin is being

Re: [Nagios-users] The reason of commands.cfg.

2009-10-05 Thread Noel Platzke
Say we have a bunch of servers that need multiple checks that do an HTTP GET on different URIs and look for a specific string in the response. Isn't it easier to maintain a single command that takes a few arguments than having to constantly define a new command that does basically the same thing

[Nagios-users] passing arguments with spaces

2009-09-10 Thread Noel Platzke
I've tried everything possible. I am completely lost. I want to throw my keyboard through a window. How in god's name do I get nagios to accept an argument that includes spaces? I have a service that uses the check_by_ssh plugin to run a script on a remote server. The script takes an argument

[Nagios-users] trouble accessing cgi pages after enabling ldap authentication with active directory

2009-09-02 Thread Noel Platzke
Hi, I've recently changed the authentication scheme for my nagios installion from htpasswd files to active directory authentication using active directory. I can login fine but I'm presented with the It appears as though you do not have permission to view information for any of the services you

Re: [Nagios-users] trouble accessing cgi pages after enabling ldap authentication with active directory

2009-09-02 Thread Noel Platzke
Problem solved. I had enabled use_ssl_authentication in cgi.cfg and when I turned it off username stopped being displayed as '?' and I was able to access the cgi pages. On Wed, Sep 2, 2009 at 2:26 PM, Noel Platzke neuf...@gmail.com wrote: Hi, I've recently changed the authentication scheme