[Nagios-users] Premature end of script headers

2006-01-04 Thread Salman Usmani
Hello, I installed nagios 1.3 on one of our RHEL3 boxes. Running ../bin/nagios -v nagios.cfg from the /etc directory gave no errors. However the web interface doesnt seem to allow the cgi's to execute. I can get to http://serverIP/nagios/ The index page and documentation loads fine but i

Antwort: [Nagios-users] Premature end of script headers

2006-01-04 Thread srunschke
[EMAIL PROTECTED] schrieb am 04.01.2006 11:18:58: However the web interface doesnt seem to allow the cgi's to execute. I can get to http://serverIP/nagios/ The index page and documentation loads fine but i get the following errors when trying to load ANY of the cgi's: Premature end

RE: [Nagios-users] Premature end of script headers

2006-01-04 Thread Salman Usmani
I have the following lines added to the httpd.conf: ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ Directory /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all /Directory Alias /nagios/ /usr/local/nagios/share/ Directory

Re: [Nagios-users] Premature end of script headers

2006-01-04 Thread Jim Perrin
On 1/4/06, Salman Usmani [EMAIL PROTECTED] wrote: I have the following lines added to the httpd.conf: ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ Directory /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all /Directory Alias /nagios/

Re: [Nagios-users] Premature end of script headers

2006-01-04 Thread Salman Usmani
Thanks for the reply. I must have overloooked the RPM's. Will try them out now. Salman From: Jim Perrin [EMAIL PROTECTED] To: Salman Usmani [EMAIL PROTECTED] CC: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Premature end of script headers Date: Wed, 4 Jan 2006 09:24:26

RE: [Nagios-users] 2.0 upgrade, passive checks problem

2006-01-04 Thread Sloane, Robert Raymond
This is a bug in my opinion, though no one seems to agree with me. I agree that this behaviour should be changed back. -- Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045 Email:[EMAIL PROTECTED] http://www.ku.edu/home/sloane Phone:(785)864-0444

[Nagios-users] Sending SNMP traps from Nagios

2006-01-04 Thread pespinar
Dear all, I need to send traps from Nagios to another NMS, in the ocurrence of some events. I have read all the documentation about snmptrap and the MIB notification, but I have not been able to put it to work, because I do not see the exact syntax of the snmptrap command I have to issue in the

RE: [Nagios-users] 2.0 upgrade, passive checks problem

2006-01-04 Thread jeff vier
On Wed, 2006-01-04 at 09:00 -0500, Andrew Laden wrote: check_period = none active_check_enabled = 1 used to work, now you have to use check_period = 24x7 active_checks_enabled = 0 Huh. I never thought to set mine up the old way, I've always done it as you described as the new way. By

[Nagios-users] Installing Nagios RPM

2006-01-04 Thread Salman Usmani
Hi, I dont seem to be able to find any documentation on how to intall the nagios rpm on rhel3. Can someone help? Thanks Salman --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop!

Re: [Nagios-users] Installing Nagios RPM

2006-01-04 Thread Jim Perrin
On 1/4/06, Salman Usmani [EMAIL PROTECTED] wrote: Hi, I dont seem to be able to find any documentation on how to intall the nagios rpm on rhel3. It gets installed the same way you install other rpms on the system. man rpm for assistance. -- Jim Perrin System Architect - UIT Ft Gordon US

Re: [Nagios-users] Installing Nagios RPM

2006-01-04 Thread Salman Usmani
Doing rpm -q nagios shows nagios-1.2-2.1.el3.rf How do I remove that? Doing rpm -e nagios Shows: error reading information on service nagios: No such file or directory error: %preun(nagios-1.2-2.1.el3.rf) scriptlet failed, exit status 1 Thanks Salman From: Harper Mann [EMAIL PROTECTED]

Re: [Nagios-users] Installing Nagios RPM

2006-01-04 Thread Cott Lang
But when i do [EMAIL PROTECTED] [~]# rpm -q nagios-1.2-2.1.el3.rf.i386.rpm I get: package nagios-1.2-2.1.el3.rf.i386.rpm is not installed try: rpm -q nagios --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log

Re: [Nagios-users] Installing Nagios RPM

2006-01-04 Thread Jim Perrin
On 1/4/06, Fernando Lima [EMAIL PROTECTED] wrote: To list. Is it a good idea to install Nagios through RPM??? It will configure the nagios user, nagios group (with nobody and nagios), etc? Yes, the nagios rpm will create the nagios user, and set up the apache environment for you. You have

Antwort: Re: [Nagios-users] Installing Nagios RPM

2006-01-04 Thread srunschke
[EMAIL PROTECTED] schrieb am 04.01.2006 18:40:10: Doing rpm -q nagios shows nagios-1.2-2.1.el3.rf How do I remove that? Doing rpm -e nagios Shows: error reading information on service nagios: No such file or directory error: %preun(nagios-1.2-2.1.el3.rf) scriptlet failed, exit status

RE: [Nagios-users] Send only X Notifications on failure

2006-01-04 Thread scott_yem
Additionally, you should be able to add the information to the template and use templates as described in the manual. This would make the changes you make global. Alternatively, you should be able to vi the file and :%s/last_notification 60/last_notification 1/ to make the change

[Nagios-users] Fix when not broken?

2006-01-04 Thread Edward Ford
I have Nagios version 2.0b3 and it is running pretty good. Is there any advantage to running/upgrading to version 2.0rc1? Do the upgrade Nagios programs have anything different than the version I am using? Is the upgrade path: 1) kill Nagios and reinstall the new version? 2) Upgrade

RE: [Nagios-users] Fix when not broken?

2006-01-04 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Edward Ford Sent: Wednesday, January 04, 2006 1:28 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Fix when not broken? I have Nagios version 2.0b3 and it is running

[Nagios-users] softstates and retry check intervals

2006-01-04 Thread Tharanga
Greetings, My nagios system alerts as critical when the system gives CHECK_NRPE time out. so..i need to retry 3 attempts using retry intervals..then after this 3 checks i want to send the critical alert. but theres a method called softstates in nagios. can any one help me to configure this..

[Nagios-users] Slow Starting Of Nagios 2.0b6

2006-01-04 Thread Joseph Hardeman
Hi Everyone,I am wondering if anyone knows how I may get Nagios to start faster and check the configs faster. I have a little over 9000 hosts and about 19500 services. It is taking about 25 minutes to start. I have/am setting up distributed checks on the main hosts and have all of the other hosts

RE: [Nagios-users] softstates and retry check intervals

2006-01-04 Thread Danny Russell
That should work, here is a sample from my config: define service { name --template Customer Service max_check_attempts 5 normal_check_interval 10 retry_check_interval 3 active_checks_enabled 1 check_period 24x7 process_perf_data 1

RE: [Nagios-users] softstates and retry check intervals

2006-01-04 Thread Danny Russell
Email us the status.log that contains the checks of the service. -Original Message- From: Tharanga [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 04, 2006 7:29 PM To: Danny Russell; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] softstates and retry check intervals

Re: [Nagios-users] softstates and retry check intervals

2006-01-04 Thread Tharanga
here is the status.log [1136429754] SERVICE;DB-server;cpu load;OK;1/30;HARD;1136429719;1136429744;ACTIVE;1;1;1;1136414173;0;OK;4877981 ;0;50829;42026;0;0;1;8;2;1;0;0.00;0;1;1;1;OK - load average: 0.74, 0.86, 0.88 [1136429754]

RE: [Nagios-users] softstates and retry check intervals

2006-01-04 Thread Danny Russell
There are only 3 entries in that log. Email the parts that have PBX-Asterisk in them. Should look something like: [1136429754] SERVICE;Linux-PBX;PBX-Asterisk; -Original Message- From: Tharanga [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 04, 2006 8:03 PM To: Danny Russell;

Re: [Nagios-users] disk_check for a remote machine

2006-01-04 Thread Yogesh Hasabnis
Hi All, Thanks for all the suggestions. I will try out the nrpe option today and give a feedback. If required, I will also try other options that have been suggested. Thanks Yogesh On 1/3/06, Lori Adams [EMAIL PROTECTED] wrote: also look at nagios' brother, nrpe.Your nagios server calls