[Nagios-users] Notification not sending email.

2006-02-21 Thread Neil Marjoram
I'm having a little trouble with notifications. 




I can't workout why Nagios is not sending alert emails. I have read
the documentation, FAQ's and mailing lists and have concluded it
is only me that can't get it to work. Can someone have a look at
my configs below to see if I have done anything wrong. I loaded
up Nagios QL to check I am configuring the files correctly but
it has made no difference. Running the command for email on the
command line works (although it errors because of the variables)



Many thanks,



Neil.



OS : RHEL 4 / i386, using Dag rpm's 




nagios-plugins-1.4-2.2.el4.rf

nagios-2.0-2.2.el4.rf

nagios-nsca-2.5-2.2.el4.rf

nagios-nrpe-2.3-2.2.el4.rf

nagios-plugins-nrpe-2.3-2.2.el4.rf



Nagios main config file notifications is set :

enable_notifications=1



Host config :

define  host {

   host_name   haverhill

   alias   haverhill

   address 128.40.159.3

   hostgroups  Critical Web Services

   check_command   check-host-alive

   max_check_attempts  10

   check_interval  1

   active_checks_enabled   1

   passive_checks_enabled  1

   check_period24x7

   obsess_over_host1

   check_freshness 0

   event_handler   notify-by-email

   event_handler_enabled   1

   flap_detection_enabled  1

   process_perf_data   0

   retain_status_information   1

   retain_nonstatus_information0

   contact_groups  admins

   notification_interval   1

   notification_period 24x7

   notification_optionsd,u,r,f

   notifications_enabled   1

   register1

   }



Services Config : 




define  service {

   host_name   haverhill

   service_description haverhill /root

   servicegroups   Web Services

   is_volatile 0

   check_command   check_nrpe!check_diskroot

   max_check_attempts  10

   normal_check_interval   1

   retry_check_interval1

   active_checks_enabled   1

   passive_checks_enabled  1

   check_period24x7

   parallelize_check   1

   obsess_over_service 1

   check_freshness 0

   event_handler   notify-by-email

   event_handler_enabled   1

   flap_detection_enabled  1

   process_perf_data   1

   retain_status_information   1

   retain_nonstatus_information1

   contact_groups  admins

   notification_interval   1

   notification_period 24x7

   notification_optionsw,u,c,r,f

   notifications_enabled   1

   register1

   }



Contacts.cfg :

define  contact {

   contact_nameadmins

   alias   NetSaint Admin

   contactgroups   admins

   host_notification_period24x7

   service_notification_period 24x7

   host_notification_options   d,u,r

   service_notification_optionsw,u,c,r

   host_notification_commands  host-notify-by-email

   service_notification_commands   notify-by-email

   email   [EMAIL PROTECTED]

   }

Contactgroups.cfg :





define  contactgroup {

   contactgroup_name   admins

   alias   Administrators

   members admins

   }



Output to nagios.log file : 




[1140447007] SERVICE NOTIFICATION: admins;haverhill;/tmp;CRITICAL;notify-
by-email;DISK CRITICAL - free space: / 183 MB (38%): /boot 67 MB
(67%): /chroot 451 MB (93%): /dev/shm 505 MB (100%): /tmp 912 MB
(93%): /usr 915 MB (31%): /var 35887 MB (91%): /www 4234 MB (86%):
/mnt/install 791153 MB (56%): /home/neilmarj 791153 MB (56%): /home/avel
azqu 791153 MB (56%): /home/richhutch 791153 MB (56%): /home/vladkolm
791153 MB (56%):














--
Neil Marjoram
Systems Manager
Adastral Park Campus
University College London
Ross Building
Adastral Park
Martlesham Heath
Ipswich - Suffolk
IP5 3RE

Tel: 01473 663711
Fax: 01473 635199


Reclaim Your Inbox!
http://www.mozilla.org/products/thunderbird



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103

Re: [Nagios-users] Notification not sending email.

2006-02-21 Thread Neil Marjoram

Deborah,

I have tried the mail command on the command line, and it works fine, I 
have even copied the definition in, changed the variables and tried 
that, which also works. Here are the 2 definitions for email that are in 
misccommands.cfg :


define command{
   command_namehost-notify-by-email
   command_line/usr/bin/printf "%b" "* Nagios  
*\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: 
$HOSTSTATE$\nAddress:
$HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | 
/bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$

   }
define command{
   command_namenotify-by-email
   command_line/usr/bin/printf "%b" "* Nagios  
*\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: 
$SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: 
$SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional 
Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - 
$HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$

   }

Many thanks,

Neil.

Deborah Martin wrote:

how is notify-by-email defined ? Its found in miscommands.cfg. 


have you tried using the defined command on the command line to ensure it
works ? 
e.g something like  mailx -s "test" [EMAIL PROTECTED]  

hth 




-Original Message-
From: Neil Marjoram [mailto:[EMAIL PROTECTED]
Sent: 21 February 2006 09:53
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Notification not sending email.


I'm having a little trouble with notifications. 




I can't workout why Nagios is not sending alert emails. I have read
the documentation, FAQ's and mailing lists and have concluded it
is only me that can't get it to work. Can someone have a look at
my configs below to see if I have done anything wrong. I loaded
up Nagios QL to check I am configuring the files correctly but
it has made no difference. Running the command for email on the
command line works (although it errors because of the variables)



Many thanks,



Neil.



OS : RHEL 4 / i386, using Dag rpm's 




nagios-plugins-1.4-2.2.el4.rf

nagios-2.0-2.2.el4.rf

nagios-nsca-2.5-2.2.el4.rf

nagios-nrpe-2.3-2.2.el4.rf

nagios-plugins-nrpe-2.3-2.2.el4.rf



Nagios main config file notifications is set :

enable_notifications=1



Host config :

define  host {

   host_name   haverhill

   alias   haverhill

   address 128.40.159.3

   hostgroups  Critical Web Services

   check_command   check-host-alive

   max_check_attempts  10

   check_interval  1

   active_checks_enabled   1

   passive_checks_enabled  1

   check_period24x7

   obsess_over_host1

   check_freshness 0

   event_handler   notify-by-email

   event_handler_enabled   1

   flap_detection_enabled  1

   process_perf_data   0

   retain_status_information   1

   retain_nonstatus_information0

   contact_groups  admins

   notification_interval   1

   notification_period 24x7

   notification_optionsd,u,r,f

   notifications_enabled   1

   register1

   }



Services Config : 




define  service {

   host_name   haverhill

   service_description haverhill /root

   servicegroups   Web Services

   is_volatile 0

   check_command   check_nrpe!check_diskroot

   max_check_attempts  10

   normal_check_interval   1

   retry_check_interval1

   active_checks_enabled   1

   passive_checks_enabled  1

   check_period24x7

   parallelize_check   1

   obsess_over_service 1

   check_freshness 0

   event_handler   notify-by-email

   event_handler_enabled   1

   flap_detection_enabled  1

   process_perf_data   1

   retain_status_information   1

   retain_nonstatus_information1

   contact_groups  admins

   notification_interval   1

   notification_period 24x7

   notification_optionsw,u,c,r,f

   notifications_enabled   1

   register1

   }



Contacts.cfg :

define  contact {

   contact_nameadmins

   alias   NetSaint Admin

   contactgroups   admins

   host_notification_period24x7

   service_notification_period 24x7

   host_notification_opt

[Nagios-users] Re: [Nagios-devel] (Feat-req) Making hostgroups member of hostgroups

2006-02-21 Thread moshe sharon
Hello
 
it can be done by making a room1-template, room2-template etc.. and apply all your needs(active, passve, normal_check_interval...)
of course dont forget to register 0 after that make another template called windows-servers-room1 unix-servers-room1 and then add "use room1-template" in the template and at last at the service entry put use windows-servers-room1 and hostgroup_name "groupname". 

 
hope i understand correctly
Moshe Sharon


Re: [Nagios-users] Notification not sending email.

2006-02-21 Thread Neil Marjoram
OK I have just removed the nagios rpm from Dag and recomplied from 
source using Dags' options, notifications are now working, using my old 
config files. I am still using the RPM's from Dag for everything else.


Many thanks,

Neil.

Neil Marjoram wrote:


Deborah,

I have tried the mail command on the command line, and it works fine, 
I have even copied the definition in, changed the variables and tried 
that, which also works. Here are the 2 definitions for email that are 
in misccommands.cfg :


define command{
   command_namehost-notify-by-email
   command_line/usr/bin/printf "%b" "* Nagios  
*\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: 
$HOSTNAME$\nState: $HOSTSTATE$\nAddress:
$HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | 
/bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$

   }
define command{
   command_namenotify-by-email
   command_line/usr/bin/printf "%b" "* Nagios  
*\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: 
$SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: 
$SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional 
Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert 
- $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$

   }

Many thanks,

Neil.

Deborah Martin wrote:


how is notify-by-email defined ? Its found in miscommands.cfg.
have you tried using the defined command on the command line to 
ensure it
works ? e.g something like  mailx -s "test" [EMAIL PROTECTED] 
hth



-Original Message-
From: Neil Marjoram [mailto:[EMAIL PROTECTED]
Sent: 21 February 2006 09:53
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Notification not sending email.


I'm having a little trouble with notifications.


I can't workout why Nagios is not sending alert emails. I have read
the documentation, FAQ's and mailing lists and have concluded it
is only me that can't get it to work. Can someone have a look at
my configs below to see if I have done anything wrong. I loaded
up Nagios QL to check I am configuring the files correctly but
it has made no difference. Running the command for email on the
command line works (although it errors because of the variables)



Many thanks,



Neil.



OS : RHEL 4 / i386, using Dag rpm's


nagios-plugins-1.4-2.2.el4.rf

nagios-2.0-2.2.el4.rf

nagios-nsca-2.5-2.2.el4.rf

nagios-nrpe-2.3-2.2.el4.rf

nagios-plugins-nrpe-2.3-2.2.el4.rf



Nagios main config file notifications is set :

enable_notifications=1



Host config :

define  host {

   host_name   haverhill

   alias   haverhill

   address 128.40.159.3

   hostgroups  Critical Web Services

   check_command   check-host-alive

   max_check_attempts  10

   check_interval  1

   active_checks_enabled   1

   passive_checks_enabled  1

   check_period24x7

   obsess_over_host1

   check_freshness 0

   event_handler   notify-by-email

   event_handler_enabled   1

   flap_detection_enabled  1

   process_perf_data   0

   retain_status_information   1

   retain_nonstatus_information0

   contact_groups  admins

   notification_interval   1

   notification_period 24x7

   notification_optionsd,u,r,f

   notifications_enabled   1

   register1

   }



Services Config :


define  service {

   host_name   haverhill

   service_description haverhill /root

   servicegroups   Web Services

   is_volatile 0

   check_command   check_nrpe!check_diskroot

   max_check_attempts  10

   normal_check_interval   1

   retry_check_interval1

   active_checks_enabled   1

   passive_checks_enabled  1

   check_period24x7

   parallelize_check   1

   obsess_over_service 1

   check_freshness 0

   event_handler   notify-by-email

   event_handler_enabled   1

   flap_detection_enabled  1

   process_perf_data   1

   retain_status_information   1

   retain_nonstatus_information1

   contact_groups  admins

   notification_interval   1

   notification_period 24x7

   notification_optionsw,u,c,r,f

   notifications_enabled   1

   register1

   }



Contacts.cfg :

define  contact {

   contact_name  

RE: [Nagios-users] Setting threshold value for services to get alert

2006-02-21 Thread Mrutyunjaya Dash
Hi All,

I have a very specific requirement to send out alert in the case when
the disk space exceeds particular threshold value for the particular
filesystem. Can anyone help me out to share the information, how this
can be done.

Regards,
Dash

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc
Powell
Sent: Monday, February 20, 2006 8:58 PM
To: nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] Setting threshold value for services to get
alert



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Mrutyunjaya Dash
> Sent: Monday, February 20, 2006 9:17 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Setting threshold value for services to get
alert
> 
> Hi List,
> 
> I have configured few servers to get monitored through nagios 2.0b5
with
> plugin 1.4 and nrpe on the remote host. As far as nagios monitoring is
> concerned, I am able to monitor the servers through nagios web
interface.
> But how can I configure nagios to send alert mail when the value for
any
> of the services reaches to a threshold value or level like CRITICAL or
> WARNING? For example if the disk space utilization of reaches to 90%
then
> I should get alert mail from nagios.
> 
> I would be appreciating all your input to help me.

http://nagios.sourceforge.net/docs/2_0/notifications.html

The basic process is that when a plugin is executed and returns a non-OK
state up to max_check_attempts, the host or
service_notification_commands are executed for each contact in that host
or service's contact_group (after passing the filters mentioned in the
notification documentation). The sample config files provide example
host and service notification commands.

--
Marc


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


RE: [Nagios-users] no service notification (solved)

2006-02-21 Thread Mrutyunjaya Dash
Hi Mario,

Currently I am having same kind of problem. Nagios is not sending any
notification email for any critical service, it just sending email if
any host is completely down. 

I would appreciate if could let me how you could able to resolve the
issue. 

Regards,
Dash

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mario
Ohnewald
Sent: Tuesday, December 27, 2005 10:20 PM
To: Danny Russell
Cc: nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] no service notification (solved)

Hello Danny,


i am running 1.3 and i just sloved it.
The problem was a templatew definition and my MTA.

Thanks, Mario

On Tue, 2005-12-27 at 09:38 -0700, Danny Russell wrote:
> What version of Nagios are you running?
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> [EMAIL PROTECTED]
> Sent: Monday, December 26, 2005 12:44 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] no service notification
> 
> Hello List!
> 
> Nagios only sends me a mail when my host is completly down, but not
when
> a
> service fails and i wonder why.
> 
> Here are my settings.
> 
> 
> nagios.cfg
> -
> log_notifications=1
> enable_notifications=1
> 
> 
> 
> contacts.cfg
> --
> define contact{
> contact_namemyname
> alias   Linux Admin
> service_notification_period 24x7
> host_notification_period24x7
> service_notification_optionsw,u,c,r
> host_notification_options   d,u,r
> service_notification_commands
notify-by-email,notify-by-epager
> host_notification_commands 
> host-notify-by-email,host-notify-by-epager
> email   [EMAIL PROTECTED]
> pager   [EMAIL PROTECTED]
> }
> 
> 
> 
> services.cfg:
> 
> define service{
> ; The 'name' of this service template, referenced in other
> service
> definitions
> namegeneric-service
> active_checks_enabled   1
> passive_checks_enabled  0
> parallelize_check   1
> obsess_over_service 1
> check_freshness 0
> notifications_enabled   1
> event_handler_enabled   1
> flap_detection_enabled  1
> process_perf_data   1
> retain_status_information   1
> retain_nonstatus_information1
> 
> register0
> }
> 
> # Service definition
> define service{
> use generic-service
> 
> host_name   localmachine
> service_description PING
> is_volatile 0
> check_period24x7
> max_check_attempts  3
> normal_check_interval   5
> retry_check_interval1
> contact_groups  mygroup
> notification_interval   5
> notification_period 24x7
> notification_optionsw,u,c,r
> check_command   check_ping!100.0,20%!500.0,60%
> }
> 
>

> 
> 
> # Service definition
> define service{
> use generic-service ; Name
> of
> service template to use
> 
> host_name   localmachine
> service_description SMTP
> is_volatile 0
> check_period24x7
> max_check_attempts  3
> normal_check_interval   3
> retry_check_interval1
> contact_groups  mygroup
> notification_interval   5
> notification_period 24x7
> notification_optionsw,u,c,r
> check_command   check_smtp
> }
> 
> LOG:
> [1135617697] SERVICE ALERT:
localmachine;SMTP;CRITICAL;SOFT;1;Connection
> refused
> [1135617757] SERVICE ALERT:
localmachine;SMTP;CRITICAL;SOFT;2;Connection
> refused
> [1135617817] SERVICE ALERT:
localmachine;SMTP;CRITICAL;HARD;3;Connection
> refused
> 
> 
> Anyone any idea?
> Thanks a lot, Mario
> 
> 
> 
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD
SPLUNK!
> http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lis

RE: [Nagios-users] Difficulty with wildcards in serviceescalation

2006-02-21 Thread Andrew Laden
There is a documentation error. You have to use real regex. A naked * by
itself is not a valid regex.

Try .*

-Andrew 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Ivan Fetch
> Sent: Monday, February 20, 2006 5:25 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Difficulty with wildcards in serviceescalation
> 
> Hello,
> 
> 
> I'm having difficulties with wildcards in a 
> serviceescalation, running nagios 2.0-stable.  It seems like 
> the documentation discusses doing exactly this, so perhaps my 
> trying to get this to work last minute is causing me to 
> overlook something...  Any ideas?
> 
> 
> # Limit notifications to a max of 5, the last one notifying everyone.
> define serviceescalation{
> host_name   *
> service_description *
> first_notification 5
> last_notification 0
> notification_interval 0
> contact_groups everyone
> }
> 
> 
> 
> When verifying the config I get:
> 
> "Reading configuration data...
> 
> Error: Could not find any host matching '*'
> Error: Could not expand hostgroups and/or hosts specified in 
> service escalation (config file 
> '/usr/local/nagios/etc/du/services.cfg', starting on line 154)"
> 
> 
> 
> I have this set in /usr/local/nagios/etc/nagios.cfg:
> use_regexp_matching=1
> use_true_regexp_matching=0
> # ... at the end of the file ...
> cfg_dir=/usr/local/nagios/etc/du
> # (which is where the services.cfg is read, which is where the 
> #serviceescalation is defined)
> 
> 
> 
> Thanks,
> 
> Ivan Fetch.
> '
> 
> 
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep 
> through log files for problems?  Stop!  Download the new AJAX 
> search engine that makes searching your log files as easy as 
> surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&;
dat=121642
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS 
> when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] CHECK_NRPE: Socket timeout after 10 seconds.

2006-02-21 Thread Jason Gauthier
So we've installed the latest version of "nrpe" on a server (normal configuration). Then we installed "nrpe_nt" on a windows 2003 server machine and it works fine. We're also trying to run "nrpe" (for hosts) as a standalone deamon on a linux machine but we've compiled it without SSL (mainly because it wouldn't allow use to compile it, even with openssl (missing libraries)... so we're running the standalone deamon with the -n option). 
When we installed the 2.3 version, I was kinda surprised that the "allowed_hosts" command in the config file didn't work anymore and we also got that error : "CHECK_NRPE: Socket timeout after 10 seconds.", so we thought it had something to do with the "allowed_hosts" command in the config file. We were also getting an error in the "/var/log/messages" file saying : "(date) slxids nrpe[9493]: Could not read request from client, bailing out...".
So we deleted the newest version and installed the 2.0 version of NRPE (without SSL again). So the "allowed_hosts" command is back, but the -n option when we lauch nrpe as a standalone deamon isn't there anymore... and we're still getting the same errors.
Anybody has an idea of what's going on? Is it because of SSL?


RE: [Nagios-users] Setting threshold value for services to get alert

2006-02-21 Thread Marc Powell
Look at 'check_disk --help'. That, combined with the notification and
host/service configuration documentation should get you going. 

--
Marc 

> -Original Message-
> From: Mrutyunjaya Dash [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 21, 2006 4:53 AM
> To: nagios-users@lists.sourceforge.net
> Cc: Marc Powell
> Subject: RE: [Nagios-users] Setting threshold value for services to
get
> alert
> 
> Hi All,
> 
> I have a very specific requirement to send out alert in the case when
> the disk space exceeds particular threshold value for the particular
> filesystem. Can anyone help me out to share the information, how this
> can be done.
> 
> Regards,
> Dash
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Marc
> Powell
> Sent: Monday, February 20, 2006 8:58 PM
> To: nagios-users@lists.sourceforge.net
> Subject: RE: [Nagios-users] Setting threshold value for services to
get
> alert
> 
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:nagios-users-
> > [EMAIL PROTECTED] On Behalf Of Mrutyunjaya Dash
> > Sent: Monday, February 20, 2006 9:17 AM
> > To: nagios-users@lists.sourceforge.net
> > Subject: [Nagios-users] Setting threshold value for services to get
> alert
> >
> > Hi List,
> >
> > I have configured few servers to get monitored through nagios 2.0b5
> with
> > plugin 1.4 and nrpe on the remote host. As far as nagios monitoring
is
> > concerned, I am able to monitor the servers through nagios web
> interface.
> > But how can I configure nagios to send alert mail when the value for
> any
> > of the services reaches to a threshold value or level like CRITICAL
or
> > WARNING? For example if the disk space utilization of reaches to 90%
> then
> > I should get alert mail from nagios.
> >
> > I would be appreciating all your input to help me.
> 
> http://nagios.sourceforge.net/docs/2_0/notifications.html
> 
> The basic process is that when a plugin is executed and returns a
non-OK
> state up to max_check_attempts, the host or
> service_notification_commands are executed for each contact in that
host
> or service's contact_group (after passing the filters mentioned in the
> notification documentation). The sample config files provide example
> host and service notification commands.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Internal Server Error on Nagios 2.0

2006-02-21 Thread Pete Shelfo








I recently tried to fire up a new Nagios server running on
RedHat 4 Enterprise (fully patched).  Everything works fine, pre-flight
passed, http is correct, web page displays; however, whenever I access a CGI
link on the left hand page I get the following error:

“Internal Server Error
The server encountered an internal error or misconfiguration and was unable to
complete your request.
Please contact the server administrator, [EMAIL PROTECTED] and inform them of the
time the error occurred, and anything you might have done that may have caused
the error.
More information about this error may be available in the server error log.

I have tried and tried to troubleshoot the problem but have
had no success. 

1.  I have searched the forums, google and apache.  It appears this is
a common problem across many Linux platforms

2.  I have chmod 777 /usr/local/nagios permissions fully with no success
and added every userID I could like of to the group.

3.  I have even tried a default configuration with one host, a check ping
and along with all the sample configs.  The problem still occurs.  

4.  I have verified my http conf and tried all types of suggestions I found
during my searches.

My http config error log displays the following:

Tue Feb 21 10:43:50 2006] [error] [client 10.1.7.200]
Premature end of script headers: status

.cgi, referer: http://servername/nagios//side.html

I am currently running Nagios version 1.1 with no
issues.  This really looks like an incompatibility with Apache or CGI or
something?  Anyone have any ideas – I am flat out?

 

 

---

 

Pete
 Shelfo

Systems Engineer 

(919) 314-2546

[EMAIL PROTECTED]

 








[Nagios-users] check_http - user+password - string required

2006-02-21 Thread Tom Brown

Hi

Trying to get check_http to check a site that requires authorization and 
also the check needs to expect a certain string back in the response.


So far i have

./check_http -H www.foo.net -u /some/where/ -a user:pass
OK - HTTP/1.1 302 Found - 0.087 second response time 
|time=0.086617s;;;0.00 size=491B;;;0


but what can i add to this to make it so that a string i expect is 
checked. I hae tried all sensible options i can tell from the help.


thanks



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Internal Server Error on Nagios 2.0

2006-02-21 Thread jeff vier
On Tue, 2006-02-21 at 11:10 -0500, Pete Shelfo wrote:
> I recently tried to fire up a new Nagios server running on RedHat 4
> Enterprise (fully patched).  Everything works fine, pre-flight passed,
> http is correct, web page displays; however, whenever I access a CGI
> link on the left hand page I get the following error:

I think if you made the font bigger we could help more.

It's a common problem, but it has many (simple) solutions.  This is an
apache-related problem, not Nagios, though.  You'll find it.


signature.asc
Description: This is a digitally signed message part


Re: [Nagios-users] Internal Server Error on Nagios 2.0

2006-02-21 Thread Jim Perrin
> I recently tried to fire up a new Nagios server running on RedHat 4
> Enterprise (fully patched).  Everything works fine, pre-flight passed, http
> is correct, web page displays; however, whenever I access a CGI link on the
> left hand page I get the following error:
> "Internal Server Error
>  The server encountered an internal error or misconfiguration and was unable
> to complete your request.
>  Please contact the server administrator, [EMAIL PROTECTED] and inform them of
> the time the error occurred, and anything you might have done that may have
> caused the error.
>  More information about this error may be available in the server error log.
> I have tried and tried to troubleshoot the problem but have had no success.
> 1.  I have searched the forums, google and apache.  It appears this is a
> common problem across many Linux platforms
> 2.  I have chmod 777 /usr/local/nagios permissions fully with no success
> and added every userID I could like of to the group.
> 3.  I have even tried a default configuration with one host, a check
> ping and along with all the sample configs.  The problem still occurs.
> 4.  I have verified my http conf and tried all types of suggestions I
> found during my searches.
> My http config error log displays the following:
> Tue Feb 21 10:43:50 2006] [error] [client 10.1.7.200] Premature end of
> script headers: status
> .cgi, referer: http://servername/nagios//side.html
> I am currently running Nagios version 1.1 with no issues.  This really looks
> like an incompatibility with Apache or CGI or something?  Anyone have any
> ideas – I am flat out?


Your permissions or authentication via website is not correct
(REMOTE_USER isn't being set). For RHEL systems, using the rpms
provided by dag make things much easier, as the permissions etc are
done for you. All you're left doing is adding users to the web
authentication setup he provides and configuring services, or changing
his auth to whatever auth system you use in your env. They work very
well.

--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety''
Benjamin Franklin 1775


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check_http - user+password - string required

2006-02-21 Thread Jim Perrin
On 2/21/06, Tom Brown <[EMAIL PROTECTED]> wrote:
> Hi
>
> Trying to get check_http to check a site that requires authorization and
> also the check needs to expect a certain string back in the response.
>
> So far i have
>
> ./check_http -H www.foo.net -u /some/where/ -a user:pass
> OK - HTTP/1.1 302 Found - 0.087 second response time
> |time=0.086617s;;;0.00 size=491B;;;0
>
> but what can i add to this to make it so that a string i expect is
> checked. I hae tried all sensible options i can tell from the help.

Look at check_website or webinject on nagiosexchange. Both plugins let
you get much more in-depth as far as website checks. For example, we
do an indepth (check_website) check once an hour, and more frequent
checks of "is the website responding"(check_http).


--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety''
Benjamin Franklin 1775


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


RE: [Nagios-users] Internal Server Error on Nagios 2.0

2006-02-21 Thread Fernando Lima
Title: Message



Pete, it sounds that you forgot to put in place the user that you're 
logging in. At CGI.cfg file there's a SYSTEM/PROCESS INFORMATION ACCESS 
parameter that you use to tell to Nagios who has the permission to view your CGI 
links.
 
# 
SYSTEM/PROCESS INFORMATION ACCESS# This option is a comma-delimited list of 
all usernames that # have access to viewing the Nagios process information 
as# provided by the Extended Information CGI (extinfo.cgi).  By# 
default, *no one* has access to this unless you choose to# not use 
authorization.  You may use an asterisk (*) to# authorize any user who 
has authenticated to the web server.
 
authorized_for_system_information=nagiosadmin,flima,mneto
 
Best 
Regards,

Fernando 
LimaSchlumberger
Security 
Engineer[EMAIL PROTECTED]Office: +55 21 3824 6954Mobile. : +55 21 9888 9046(GMT: 
-03:00)

  
  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Pete 
  ShelfoSent: Tuesday, February 21, 2006 1:10 PMTo: 
  nagios-users@lists.sourceforge.netSubject: [Nagios-users] Internal 
  Server Error on Nagios 2.0
  
  I recently tried to fire up a new 
  Nagios server running on RedHat 4 Enterprise (fully patched).  Everything 
  works fine, pre-flight passed, http is correct, web page displays; however, 
  whenever I access a CGI link on the left hand page I get the following 
  error:
  “Internal Server ErrorThe 
  server encountered an internal error or misconfiguration and was unable to 
  complete your request.Please contact the server administrator, 
  [EMAIL PROTECTED] and inform them of the time the error occurred, and anything 
  you might have done that may have caused the error.More information about 
  this error may be available in the server error 
  log.
  I have tried 
  and tried to troubleshoot the problem but have had no success. 
  
  1.  
  I have 
  searched the forums, google and apache.  It appears this is a common 
  problem across many Linux platforms
  2.  
  I have chmod 
  777 /usr/local/nagios permissions fully with no success and added every userID 
  I could like of to the group.
  3.  
  I have even 
  tried a default configuration with one host, a check ping and along with all 
  the sample configs.  The problem still occurs.  
  
  4.  
  I have 
  verified my http conf and tried all types of suggestions I found during my 
  searches.
  My http 
  config error log displays the following:
  Tue Feb 21 
  10:43:50 2006] [error] [client 10.1.7.200] Premature end of script headers: 
  status
  .cgi, 
  referer: http://servername/nagios//side.html
  I am 
  currently running Nagios version 1.1 with no issues.  This really looks 
  like an incompatibility with Apache or CGI or something?  Anyone have any 
  ideas – I am flat out?
   
   
  ---
   
  Pete 
  Shelfo
  Systems Engineer 
  
  (919) 314-2546
  [EMAIL PROTECTED]
   


RE: [Nagios-users] check_http - user+password - string required

2006-02-21 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Tom Brown
> Sent: Tuesday, February 21, 2006 10:14 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] check_http - user+password - string required
> 
> Hi
> 
> Trying to get check_http to check a site that requires authorization
and
> also the check needs to expect a certain string back in the response.
> 
> So far i have
> 
> ./check_http -H www.foo.net -u /some/where/ -a user:pass
> OK - HTTP/1.1 302 Found - 0.087 second response time
> |time=0.086617s;;;0.00 size=491B;;;0
> 
> but what can i add to this to make it so that a string i expect is
> checked. I hae tried all sensible options i can tell from the help.

The URL you're checking is returning a 302 REDIRECT. There is no HTML to
look at. You'll probably want to add '--onredirect=follow' and either a
-s, -R or -e string check based on your needs.

--
Marc


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


RE: [Nagios-users] Internal Server Error on Nagios 2.0

2006-02-21 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Pete Shelfo
> Sent: Tuesday, February 21, 2006 10:10 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Internal Server Error on Nagios 2.0
> 
> I recently tried to fire up a new Nagios server running on RedHat 4
> Enterprise (fully patched).  Everything works fine, pre-flight passed,
> http is correct, web page displays; however, whenever I access a CGI
link
> on the left hand page I get the following error:
> 
> 
> "Internal Server Error
> The server encountered an internal error or misconfiguration and was
> unable to complete your request.
> Please contact the server administrator, [EMAIL PROTECTED] and inform
them of
> the time the error occurred, and anything you might have done that may
> have caused the error.
> More information about this error may be available in the server error
> log.
> 

[chop]

> My http config error log displays the following:
> 
> 
> Tue Feb 21 10:43:50 2006] [error] [client 10.1.7.200] Premature end of
> script headers: status
> 
> 
> .cgi, referer: http://servername/nagios//side.html
> 
> 
> 
> I am currently running Nagios version 1.1 with no issues.  This really
> looks like an incompatibility with Apache or CGI or something?  Anyone
> have any ideas - I am flat out?

I would expect Apache to be providing more useful information in the
error_logs. At any rate, do you have SELinux enabled? Have you verified
that you are not experiencing restrictions based on that. I would also
try running status.cgi from the command line as a non-root user to see
if you experience any errors that way. It's not a perfect test but it
may provide some insight. I doubt it's a compatibility issue. Probably
SELinux or some library that isn't where it's expected. Were the CGI's
compiled on this machine? You might try running 'ldd status.cgi' and
make sure that the libraries are where they're expected and readable by
your apache user.

--
Marc 


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] statusmap questions

2006-02-21 Thread Mike Linden
I am monitoring a large number (650) of linux systems in a cluster environment.  I would liketo have the statusmap display these systems as they are physically setup in their racks.I have currently got the statusmap working but I have 2 issues with the display
First, I get a green circle with cross hairs for each host which I would like to not see.  I only need the words up/down to display.Second, I would like to actually have pictures of the racks with system icons.  Has anyone seen
this type of map?ThanksMike-- 


Re: [Nagios-users] statusmap questions

2006-02-21 Thread Toto Capuccino
On the stausmap page you got a scrolling list called Layout method, it looks like the one you want is circular. If you want icons to be displayed you need to create a hostextinfo.cfg file you'll find in nagios doc how the cookie crumbles. Check also nagiosexchange to find nice icons, there's some reprsenting racks with flags for OS.
2006/2/21, Mike Linden <[EMAIL PROTECTED]>:
I am monitoring a large number (650) of linux systems in a cluster environment.  I would liketo have the statusmap display these systems as they are physically setup in their racks.I have currently got the statusmap working but I have 2 issues with the display
First, I get a green circle with cross hairs for each host which I would like to not see.  I only need the words up/down to display.Second, I would like to actually have pictures of the racks with system icons.  Has anyone seen
this type of map?ThanksMike-- 

-- Le bon sens est la chose du monde la mieux partagée.


Re: [Nagios-users] statusmap questions

2006-02-21 Thread Rafael Bandeira da Costa

Mike Linden escreveu:

First, I get a green circle with cross hairs for each host which I 
would like to not see.  I only need the

words up/down to display.
Second, I would like to actually have pictures of the racks with 
system icons.  Has anyone seen

this type of map?



Mike

   Have a look at Extended Host Information 
(http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostextinfo). 
Another nice option for visual status maps is NagVis 
(http://www.nagvis.org/); have a look at version 0.9, it's really easy 
to configure and nice to see :)


--
Rafael Costa
[EMAIL PROTECTED]
Curitiba - PR - Brasil


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] seg fault exiting downtime

2006-02-21 Thread David Schlecht
Hi All,



After extensive testing, I've been able to isolate this seg fault.
 I'm still uncertain if this is related to a configuration setting,
 or if it's a bug in Nagios. If anyone has any input, I would certainly
 appreciate hearing from you.



I can reproduce this on the following platforms:

SuSE8 on I386, Nagios v1.2

SuSE9 on Z/VM, Nagios v2.0a1

SuSE9 on I64, Nagios v2.0b4



The log file shows:

Feb 21 09:44:48 nagios2 nagios: EXTERNAL COMMAND: SCHEDULE_SVC_DOWNTIME;n
voltpwb01;PING;1140543869;1140580169;1;0;7200;David Schlecht;test

Feb 21 09:44:49 nagios2 nagios: SERVICE DOWNTIME ALERT: nvoltpwb01;PING;S
TARTED; Service has entered a period of scheduled downtime

Feb 21 09:45:07 nagios2 nagios: EXTERNAL COMMAND: SCHEDULE_SVC_DOWNTIME;n
voltpwb01;MSAC SQL Services;1140543893;1140544193;1;0;7200;David
 Schlecht;test

Feb 21 09:45:08 nagios2 nagios: SERVICE DOWNTIME ALERT: nvoltpwb01;MSAC
 SQL Services;STARTED; Service has entered a period of scheduled
 downtime

Feb 21 09:49:53 nagios2 nagios: SERVICE DOWNTIME ALERT: nvoltpwb01;MSAC
 SQL Services;STOPPED; Service has exited from a period of scheduled
 downtime

Feb 21 09:49:53 nagios2 nagios: SERVICE DOWNTIME ALERT: nvoltpwb01;PING;S
TOPPED; Service has exited from a period of scheduled downtime

Feb 21 09:49:53 nagios2 nagios: Caught SIGSEGV, shutting down...



--

The Service.cfg definition for the PING check is:

define service {

usegeneric-service

hostgroup_namenvolGroup

service_descriptionPING

contact_groups   internet-services,operations

check_commandcheck_ping!100.0,20%!500.0,60%

}



Any ideas?



- David Schlecht (dschl)



---

The mailing list archive is found here:

http://www.nagiosexchange.org/nagios-users.34.0.html




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


RE: [Nagios-users] Internal Server Error on Nagios 2.0

2006-02-21 Thread jeff vier

always cc the list so others may learn by your experiences.

On Tue, 2006-02-21 at 15:15 -0500, Pete Shelfo wrote:
> Can you point me in a direction, give me ideas or possibly recommend a
> web resource?

what happens when you run the status.cgi from the command line as the
apache user?

is this error happening with *all* cgis, or just this one?

'Premature end of script headers' *almost always* means the cgi is
throwing an error (before completing headers the browser can
understand).

The best place to start is pasting in the error, in quotes, into google:
http://www.google.com/search?q=%22Premature+end+of+script+headers%22

> -Original Message-
> From: jeff vier [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, February 21, 2006 11:18 AM
> To: Pete Shelfo
> Cc: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Internal Server Error on Nagios 2.0
> 
> On Tue, 2006-02-21 at 11:10 -0500, Pete Shelfo wrote:
> > I recently tried to fire up a new Nagios server running on RedHat 4
> > Enterprise (fully patched).  Everything works fine, pre-flight passed,
> > http is correct, web page displays; however, whenever I access a CGI
> > link on the left hand page I get the following error:
> 
> I think if you made the font bigger we could help more.
> 
> It's a common problem, but it has many (simple) solutions.  This is an
> apache-related problem, not Nagios, though.  You'll find it.


signature.asc
Description: This is a digitally signed message part


RE: [Nagios-users] Internal Server Error on Nagios 2.0

2006-02-21 Thread Pete Shelfo
I found the answer!!!  Unfortunately installing Nagios via the RPM did
not help.  The problem lies within SELINUX.  If I disable SELinux the
CGI scripts work fine.

/etc/selinux/config 
SELinux=disable
Reboot the server

Now the question is why does the security enhanced Linux module cause
problems with the CGI scripts?  I value a secure Linux server so I am
off to research some more.

-Original Message-
From: Jim Perrin [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 21, 2006 11:19 AM
To: Pete Shelfo
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Internal Server Error on Nagios 2.0

> I recently tried to fire up a new Nagios server running on RedHat 4
> Enterprise (fully patched).  Everything works fine, pre-flight passed,
http
> is correct, web page displays; however, whenever I access a CGI link
on the
> left hand page I get the following error:
> "Internal Server Error
>  The server encountered an internal error or misconfiguration and was
unable
> to complete your request.
>  Please contact the server administrator, [EMAIL PROTECTED] and inform
them of
> the time the error occurred, and anything you might have done that may
have
> caused the error.
>  More information about this error may be available in the server
error log.
> I have tried and tried to troubleshoot the problem but have had no
success.
> 1.  I have searched the forums, google and apache.  It appears
this is a
> common problem across many Linux platforms
> 2.  I have chmod 777 /usr/local/nagios permissions fully with no
success
> and added every userID I could like of to the group.
> 3.  I have even tried a default configuration with one host, a
check
> ping and along with all the sample configs.  The problem still occurs.
> 4.  I have verified my http conf and tried all types of
suggestions I
> found during my searches.
> My http config error log displays the following:
> Tue Feb 21 10:43:50 2006] [error] [client 10.1.7.200] Premature end of
> script headers: status
> .cgi, referer: http://servername/nagios//side.html
> I am currently running Nagios version 1.1 with no issues.  This really
looks
> like an incompatibility with Apache or CGI or something?  Anyone have
any
> ideas - I am flat out?


Your permissions or authentication via website is not correct
(REMOTE_USER isn't being set). For RHEL systems, using the rpms
provided by dag make things much easier, as the permissions etc are
done for you. All you're left doing is adding users to the web
authentication setup he provides and configuring services, or changing
his auth to whatever auth system you use in your env. They work very
well.

--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety''
Benjamin Franklin 1775


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Nagios web interface,frontend or GUI tools list

2006-02-21 Thread Radhika
Hi Guys,     Here is the list of nagios GUI tools for allusers and admins wants to manage .     http://www.debianhelp.co.uk/nagiosweb.htm     If any one knows any other tools they can post here so that it would help more users.     thanks
		 Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.

Re: [Nagios-users] Nagios web interface,frontend or GUI tools list

2006-02-21 Thread Toto Capuccino
you can find some here:http://www.nagiosexchange.org/Frontends.37.0.htmlhttp://www.nagiosexchange.org/Configuration.40.0.html
2006/2/21, Radhika <[EMAIL PROTECTED]>:
Hi Guys,     Here is the list of nagios GUI tools for allusers and admins wants to manage .     
http://www.debianhelp.co.uk/nagiosweb.htm     If any one knows any other tools they can post here so that it would help more users.     thanks
		 
Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.
-- Le bon sens est la chose du monde la mieux partagée.


[Nagios-users] (U) Statsmap visual indicator

2006-02-21 Thread Cook Robin K Civ CPSG/ZCI
Classification: UNCLASSIFIED

Is there a way to get the status map (user defined) to display an indicator
for a host when a service associated with that host has a problem?  I would
rather not have icons for the services on the status map as it is busy
enough as it is.

Robin K. Cook

Classification: UNCLASSIFIED



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] hostgroupescalations not working

2006-02-21 Thread Derek J. Balling
I'm running the latest version of Nagios included with Debian sarge/ 
stable (it reports itself as 1.3-cvs.20050402-2.sarge.1).


I have defined, in /etc/nagios/escalations.cfg, a  
hostgroupescalation, like so:


define hostgroupescalation{
hostgroup_name  all-linux
first_notification  3
last_notification   0
contact_groups  oncall,sysadmins-pgr
notification_interval   5
}

... thinking that from escalation point 3 and up, the oncall person  
and the sysadmins will get notified every five minutes.


Except that it never seems to get processed. The "default"  
contact_groups, from the services declaration, all get their notices,  
but the escalation-people never get theirs.


I created a service escalation (for the service I've been using to  
test the escalation), and it worked just fine (it's now commented out  
though as I try to get the hostgroupescalation to work):


#define serviceescalation{
#   host_name   smtp03
#   service_description SMTP
#   first_notification  3
#   last_notification   0
#   contact_groups  oncall,sysadmins-pgr
#   notification_interval   5
#}

... so I know that the escalations.cfg is being processed, and it's  
*willing* to escalate, just not to escalate for a hostgroup.


I confirmed that smtp03 *is* in the "all-linux" hostgroup  
declaration, and it appears there in all the GUI locations, so it's  
not that the hostgroup simply doesn't match the server in question.


What am I missing? Is this some stupid typo that I'm not noticing?  
The members of the service's contact_groups field all get their  
notices, but the people it's supposed to escalate to don't. What am I  
missing?


Thanks much!

Cheers,
D

--

Derek J. Balling
Systems Administrator
Vassar College
124 Raymond Ave
Box 13 - Computer Center 221
Poughkeepsie, NY 12604
(845) 437-7231




smime.p7s
Description: S/MIME cryptographic signature


[Nagios-users] Tru64 NRPE client for Nagios

2006-02-21 Thread Dany Allard
Hello Everyone

 Does anyone have a compiled NRPE client for Tru64 5.1a?
We tried to compile the source from
http://altinity.blogs.com/dotorg/2005/09/22/index.html#a000694

But we had some errors.

 Thanks

 Dany Allard
This message is intended only for the addressee and may contain personal, 
privileged or confidential information. 
If you have received this message in error, please notify the sender 
immediately and delete or destroy this 
message without making copies or opening any attachments. Any further 
distribution, duplication or disclosure 
is prohibited.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null