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

2006-02-23 Thread Tom Brown



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.


ah ha! thanks - it was the --onredirect=follow that i was missing



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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] Monitoring solaris server without installing any plugin

2006-02-23 Thread Mrutyunjaya Dash
Title: Monitoring solaris server without installing  any plugin






Hi List,

I want to monitor few of the Solaris machines, but those all are production servers and they dont have any compiler installed on it. Is there any way to monitor the services without installing any software on the machine? If any of you have come across of the same kind of situation and found the solution for this, then please provide the information regarding this.

Regards,

Mrutyunjaya Dash

IT Engineer

Juniper Networks Pvt Ltd.

Bangalore






Re: [Nagios-users] Monitoring solaris server without installing any plugin

2006-02-23 Thread joseph . petrucci

I wrote a lot of my plugins to run commands
through an RSA ssh connection from my Nagios machine to other machines.
This way there is no code on the monitored machine.
Joe Petrucci 
Office: 704-383-6089
Cell : 724-462-0443






Mrutyunjaya Dash
[EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
02/23/2006 08:18 AM





To
nagios-users@lists.sourceforge.net


cc



Subject
[Nagios-users] Monitoring
solaris server without installing any
plugin








Hi List,
I want to monitor few of the
Solaris machines, but those all are production
servers and they dont have any compiler installed on it.
Is there any way
to monitor the services
without installing any software on the
machine? If any of you have come across of the same kind of situation and
found the solution for this, then please
provide the information regarding this.
Regards,
Mrutyunjaya Dash
IT Engineer
Juniper Networks Pvt Ltd.
Bangalore
ForwardSourceID:NTC1E6
 


[Nagios-users] Plotter and Printer

2006-02-23 Thread Elpida Georgiadou

Hello,

where can i find Plugins to monitor Plotter and Printers?

Thanks
Elpida


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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] Plotter and Printer

2006-02-23 Thread Richard Gliebe
On Thu, 2006-02-23 at 14:44 +0100, Elpida Georgiadou wrote:
 Hello,

Hi,

 where can i find Plugins to monitor Plotter and Printers?

I'm using check_snmp.

Regards
Richard




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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


AW: [Nagios-users] Monitoring solaris server without installing any plugin

2006-02-23 Thread Thomas . Zimmer
Title: Nachricht



Hi 
Joseph,

would 
you share these plugins?

Greetz, Thomas.
Thomas Zimmer 
Produktservice  
Betrieb Betrieb  
Support Sal. Oppenheim 
jr.  Cie., Frankfurt a. Main Telefon: +49 69 7134 5192 Internet: http://www.oppenheim.de 
E-Mail: 
[EMAIL PROTECTED] 

  
  -Ursprüngliche Nachricht-Von: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] Im Auftrag von 
  [EMAIL PROTECTED]Gesendet: Donnerstag, 23. Februar 
  2006 14:24An: Mrutyunjaya DashCc: 
  nagios-users@lists.sourceforge.net; 
  [EMAIL PROTECTED]Betreff: Re: [Nagios-users] 
  Monitoring solaris server without installing any 
  pluginI wrote a lot of 
  my plugins to run commands through an RSA ssh connection from my Nagios 
  machine to other machines. This way there is no code on the monitored 
  machine. Joe Petrucci Office: 
  704-383-6089Cell : 724-462-0443
  


  "Mrutyunjaya Dash" 
[EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 
02/23/2006 08:18 AM 
  

  
  

  To
nagios-users@lists.sourceforge.net 
  

  cc

  

  Subject
[Nagios-users] 
  Monitoring solaris server without installing any  
 plugin

  
  

Hi List, 
  I want to monitor few of the 
  Solaris machines, but those all are production 
  servers and they don't have any compiler installed on it. 
  Is there any way 
  to monitor the services 
  without installing any software on the 
  machine? If any of you have come across of the same kind of situation 
  and found the solution for 
  this, then please provide the information regarding this. 
  Regards, 
  Mrutyunjaya Dash 
  IT Engineer 
  Juniper Networks Pvt Ltd. 
  Bangalore ForwardSourceID:NTC1E6   



Zimmer, Thomas (Produktservices und Betrieb).vcf
Description: Binary data


[Nagios-users] mibs HP LaserJet

2006-02-23 Thread Richard Gliebe
Hi,

I want to monitor the Toner capacity (% of Life Remaining) from our HP
LaserJet 4100 Series, like the Webinterface show me.

Is there a mib available. 
I can't any on mibdepot.com / hp.com

thanks
Richard

-- 
Richard Gliebe
Fachhochschule Vorarlberg GmbH / University for Applied Science
Information Services



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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


AW: AW: [Nagios-users] Monitoring solaris server without installi ng any plugin

2006-02-23 Thread Thomas . Zimmer
Title: Nachricht



A yes 
sir, I know, but i didn´t want to script all your plugins by myself ;) I wrote 
some for solaris, too. But mostly they´re specialized logfile check, or as bad 
documented, that I think it would not be a good idea to share them. I even did 
not follow the specifications for the output strings
Perhaps yours specification-conform and well 
structured?
Gree3tz, Thomas.
P.S.: 
Perhaps it would be a good idea to share them at NAgios 
Exchange?
Thomas Zimmer 
Produktservice  
Betrieb Betrieb  
Support Sal. Oppenheim 
jr.  Cie., Frankfurt a. Main Telefon: +49 69 7134 5192 Internet: http://www.oppenheim.de 
E-Mail: 
[EMAIL PROTECTED] 

  
  -Ursprüngliche Nachricht-Von: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
  Gesendet: Donnerstag, 23. Februar 2006 15:29An: Zimmer, 
  Thomas (BB) Frankfurt/M.Cc: nagios-users@lists.sourceforge.net; 
  [EMAIL PROTECTED]Betreff: Re: AW: 
  [Nagios-users] Monitoring solaris server without installing any 
  pluginI will post them 
  tonight. I am at a client where I cannot connect to my server so I cannot get 
  them until tonight. Look at the check_by_ssh plugin it is also a way to do 
  this Joe Petrucci Office: 
  704-383-6089Cell : 724-462-0443
  


  [EMAIL PROTECTED] Sent by: 
[EMAIL PROTECTED] 
02/23/2006 08:56 AM 
  

  
  

  To
nagios-users@lists.sourceforge.net 
  

  cc

  

  Subject
AW: [Nagios-users] 
  Monitoring solaris server without installing
   any plugin

  
  

Hi Joseph,  would you share these plugins?  Greetz, 
  Thomas. 
  Thomas Zimmer 
  Produktservice  Betrieb Betrieb  Support Sal. Oppenheim jr.  Cie., 
  Frankfurt a. Main Telefon: +49 69 7134 5192 Internet: http://www.oppenheim.de E-Mail: [EMAIL PROTECTED] 
  
  -Ursprüngliche Nachricht-Von: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] Im Auftrag von 
  [EMAIL PROTECTED]Gesendet: Donnerstag, 23. Februar 
  2006 14:24An: Mrutyunjaya DashCc: 
  nagios-users@lists.sourceforge.net; 
  [EMAIL PROTECTED]Betreff: Re: [Nagios-users] 
  Monitoring solaris server without installing any pluginI wrote a lot of my plugins to run commands through 
  an RSA ssh connection from my Nagios machine to other machines. This way there 
  is no code on the monitored machine. Joe Petrucci Office: 704-383-6089Cell : 
  724-462-0443
  


  "Mrutyunjaya Dash" 
[EMAIL PROTECTED] Sent by: 
[EMAIL PROTECTED] 
02/23/2006 08:18 AM 

  

  
  

  To
nagios-users@lists.sourceforge.net 
  

  cc

  

  Subject
[Nagios-users] 
  Monitoring solaris server without installing any  
 plugin

  
  

Hi List, 
  I want to monitor few of the 
  Solaris machines, but those all are production 
  servers and they don't have any compiler installed on it. 
  Is there any way 
  to monitor the services 
  without installing any software on the 
  machine? If any of you have come across of the same kind of situation 
  and found the solution for 
  this, then please provide the information regarding this. 
  
  Regards, 
  Mrutyunjaya Dash 

  IT Engineer 
  Juniper Networks Pvt Ltd. 
  
  Bangalore ForwardSourceID:NTC1E6  
   ForwardSourceID:NTC232   



Zimmer, Thomas (Produktservices und Betrieb).vcf
Description: Binary data


Re: [Nagios-users] nagios not notifying by email

2006-02-23 Thread Dave Stern

On Thu, 23 Feb 2006, Toto Capuccino wrote:


Hi,

Did you check the timeperiods.cfg file as you are using workhours
notification for services, you wont receive notification out of this period.
2006/2/23, Dave Stern [EMAIL PROTECTED]:


I didn't include timeperiods.cfg because this was the generic one. 
We're using workhours and 24x7 for all hosts.
Basically, notification_period is 24x7 for all, 
{service|host_notification_period} is either 24x7 or workhours.

I presume it's not a problem if a host is set to notification_period=work
in contacts but 24x7 in hosts.cfg and services.cfg

 =-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
   Institute for Advanced Computer Studies


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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] nagios not notifying by email

2006-02-23 Thread Mrutyunjaya Dash
Hi,

You can check you services.cfg file to verify you have notifications_options to 
w c u r. This might be one of the reason if you had copied services.cfg file 
from the sample config file.

Regards,
Dash

--
Sent from my BlackBerry Wireless Handheld


-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: nagios-users@lists.sourceforge.net nagios-users@lists.sourceforge.net
Sent: Thu Feb 23 06:27:03 2006
Subject: Re: [Nagios-users] nagios not notifying by email


Hi,

Did you check the timeperiods.cfg file as you are using workhours notification 
for services, you wont receive notification out of this period.

2006/2/23, Dave Stern  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] :

Continuing with the problem of nagios not sending email notifications, 

miscommands.cfg uses the default commands for 
host/service-notify-by-email
and the paths to mail are correct. I tested the command, and it works.
I replaced it with echo ... params/tmp/somefile but this is not being 
activated so it must be one of the config params:

contacts.cfg:
# 'others' contact definition
define contact{
 contact_nameothers
 alias   Undefined hosts 
 service_notification_period workhours
 host_notification_periodworkhours
 service_notification_optionsw,u,c
 host_notification_options   d,u
 service_notification_commands   notify-by-email 
 host_notification_commands  host-notify-by-email
 email   [EMAIL PROTECTED]

 }
..
hosts.cfg :
# Generic host definition template
 define host{
 namegeneric-host
 notifications_enabled   1
 event_handler_enabled   1
 flap_detection_enabled  1
 process_perf_data   1 
 retain_status_information   1
 retain_nonstatus_information1
 register0
 }

# 'host1' host definition
define host{
 use generic-host 
 host_name   host1
 alias   host1
 address  10.8.122.129
 check_command   check-host-alive 
 max_check_attempts  10
 notification_interval   1
 notification_period 24x7
 notification_period 24x7
 notification_optionsd,u 
 }
...

nagios.cfg includes
log_notifications=1
notification_timeout=30
enable_notifications=1


services.cfg:
# Generic service definition template
define service{
 namegeneric-service
 active_checks_enabled   1
 passive_checks_enabled  1
 parallelize_check   1
 obsess_over_service 1
 check_freshness 1 
 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   host1
   service_description AVAILABLE 
   is_volatile 0
   check_period24x7
   max_check_attempts  3
   normal_check_interval   10
   retry_check_interval1
   contact_groups   others 
   notification_interval   11
   notification_period 24x7
   notification_optionsw,u,c
  check_command   check-host-alive
   }


Can anyone see where notification by email may have been turned off 
or have any other ideas on diagnosing?
TIA


  =-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=
  David SternUniversity of Maryland
Institute for Advanced Computer Studies 


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting 

[Nagios-users] Important Message from the Accredo Health Email Gateway

2006-02-23 Thread thomas . edwards
In order to protect our employees, patients, partners and computer
systems, Accredo Health, Inc. places restrictions on email passing
between our network and the Internet.

In compliance with that policy, a message addressed to you has been
automatically blocked by the gateway due to decomposition errors.

The message details are as follows:

   From: Mrutyunjaya Dash [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
Subject: Re: [Nagios-users] nagios not notifying by email
   Date: 02/23/06, 08:59:36

The message is currently being held in a quarantine area, and may be
released for delivery provided there is a legitimate business need. In
order to ensure that the message is appropriate for delivery, the Email
Gateway admin staff will need to open and manually inspect the message
and any associated attachments.

To request that the message be released, please reply to this message,
include this notice, and explain why you need the email to be released
to you.

Please send any questions or comments to
[EMAIL PROTECTED]

---
Message ID: 6FE3120822W5640897-01
---



[Nagios-users] Important Message from the Accredo Health Email Gateway

2006-02-23 Thread thomas . edwards
In order to protect our employees, patients, partners and computer
systems, Accredo Health, Inc. places restrictions on email passing
between our network and the Internet.

In compliance with that policy, a message addressed to you has been
automatically blocked by the gateway due to decomposition errors.

The message details are as follows:

   From: Mrutyunjaya Dash [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
Subject: Re: AW: [Nagios-users] Monitoring solaris server without
installing any plugin
   Date: 02/23/06, 09:10:18

The message is currently being held in a quarantine area, and may be
released for delivery provided there is a legitimate business need. In
order to ensure that the message is appropriate for delivery, the Email
Gateway admin staff will need to open and manually inspect the message
and any associated attachments.

To request that the message be released, please reply to this message,
include this notice, and explain why you need the email to be released
to you.

Please send any questions or comments to
[EMAIL PROTECTED]

---
Message ID: 6FE30FD922W5646877-01
---



[Nagios-users] Check_http with size and regex conditions ignoring size check.

2006-02-23 Thread Andrew Laden
Title: Check_http with size and regex conditions ignoring size check.





I want to check a web page, and check both for a regex and for a minimum size.


However, it appears that the regex requirement overides the size. Eg. (names changes to protect the innocent)
check_http (nagios-plugins 1.4.1) 1.81


[EMAIL PROTECTED] check_http -H servername -p 8080 -u uri -r REGEX CHECK -m 60:100
HTTP OK HTTP/1.1 200 OK - 0.420 second response time |time=0.419695s;;;0.00 size=2405B;60;0;0


[EMAIL PROTECTED] check_http -H servername -p 8080 -u uri -m 60:100
HTTP WARNING: page size 2405 too large|size=2405B;60;0;0


Is this a bug in check_http?


-Andrew





AW: AW: [Nagios-users] Monitoring solaris server without installi ng any plugin

2006-02-23 Thread Thomas . Zimmer
Hi Dash, you still need plugins on your solaris machines even if you use the
check_by_ssh cmd. A sample check_command should be included within the
sample-config. You simply execute a plugin remotely with check_by_ssh. The
option -C ... is used to pass the command and options for the plugin. But
you can use all shell-script-plugins and perl-plugins, uf a perl-interpreter
is installed on your production machines.
For generating a private/public key pair for authentication without typing a
password, there exist a lot of howtos on the internet.
I hope that helps.
Ah, generally i think it´s no good idea to execute commands via ssh. I
didn´t do any real performance checks on this, but i expect executing a
check via ssh utilizes the cpu and network a lot more than using nrpe or
nsca. Perhaps someone can give a more exact statement in this issue?
However, my system is running about 100 checks via ssh in very short
intervals without abnormal CPU- or network-utilization.
If you like to, I could try to send a package of my compiled plugins for a
solaris 9 system, but I may have probs to pass the firewall...

Thomas Zimmer
Produktservice  Betrieb
Betrieb  Support
Sal. Oppenheim jr.  Cie., Frankfurt a. Main
Telefon: +49 69 7134 5192
Internet: http://www.oppenheim.de
E-Mail: [EMAIL PROTECTED]



-Ursprüngliche Nachricht-
Von: Mrutyunjaya Dash [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 23. Februar 2006 16:09
An: [EMAIL PROTECTED]; Zimmer, Thomas (BB) Frankfurt/M.
Cc: nagios-users@lists.sourceforge.net;
[EMAIL PROTECTED]
Betreff: Re: AW: [Nagios-users] Monitoring solaris server without installing
any plugin


Hi Joseph,

Thank you very much. As far as the check_by_ssh is concerned how can I use
this. Do I need create any configuration file in the nagios server for
check_cy_ssh to work? And for ssh authentication how can the nagios server
communicate with remote host? If you can point me to some information for
utilizing check_by_ssh command.

Regards,
Dash
--
Sent from my BlackBerry Wireless Handheld


-Original Message-
From: [EMAIL PROTECTED]
[EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
CC: nagios-users@lists.sourceforge.net nagios-users@lists.sourceforge.net;
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Sent: Thu Feb 23 06:28:50 2006
Subject: Re: AW: [Nagios-users] Monitoring solaris server without installing
any plugin


I will post them tonight. I am at a client where I cannot connect to my
server so I cannot get them until tonight. Look at the check_by_ssh plugin
it is also a way to do this 

Joe Petrucci 
Office: 704-383-6089
Cell : 724-462-0443




[EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED] 

02/23/2006 08:56 AM 

To
nagios-users@lists.sourceforge.net 
cc

Subject
AW: [Nagios-users] Monitoring solaris server without installing
any plugin






Hi Joseph, 
  
would you share these plugins? 
  
Greetz, Thomas. 

Thomas Zimmer 
Produktservice  Betrieb 
Betrieb  Support 
Sal. Oppenheim jr.  Cie., Frankfurt a. Main 
Telefon: +49 69 7134 5192 
Internet: http://www.oppenheim.de http://www.oppenheim.de/  
E-Mail: [EMAIL PROTECTED] 

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
[EMAIL PROTECTED]
Gesendet: Donnerstag, 23. Februar 2006 14:24
An: Mrutyunjaya Dash
Cc: nagios-users@lists.sourceforge.net;
[EMAIL PROTECTED]
Betreff: Re: [Nagios-users] Monitoring solaris server without installing any
plugin


I wrote a lot of my plugins to run commands through an RSA ssh connection
from my Nagios machine to other machines. This way there is no code on the
monitored machine. 
Joe Petrucci 
Office: 704-383-6089
Cell : 724-462-0443



Mrutyunjaya Dash [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED] 

02/23/2006 08:18 AM 

To
nagios-users@lists.sourceforge.net 
cc

Subject
[Nagios-users] Monitoring solaris server without installing  any
plugin








Hi List, 

I want to monitor few of the Solaris machines, but those all are production
servers and they don't have any compiler installed on it. Is there any way
to monitor the services without installing any software on the machine? If
any of you have come across of the same kind of situation and found the
solution for this, then please provide the information regarding this. 

Regards, 

Mrutyunjaya Dash 

IT Engineer 

Juniper Networks Pvt Ltd. 

Bangalore 
ForwardSourceID:NTC1E6 
ForwardSourceID:NTC232 




Zimmer, Thomas (Produktservices und Betrieb).vcf
Description: Binary data


Re: [Nagios-users] nagios not notifying by email

2006-02-23 Thread Dave Stern

On Thu, 23 Feb 2006, Mrutyunjaya Dash wrote:


Hi,

You can check you services.cfg file to verify you have notifications_options to 
w c u r. This might be one of the reason if you had copied services.cfg file 
from the sample config file.



services.cfg has notification options currently set to w,u,c. I added 
recover.


One hint, on the webpage for a host availability, it says in the upper
left corner Notifications are disabled

This is in contrast to the fact that 
enable_notifications=1

is set in nagios.cfg
(and cgi.cfg says main_config_file=/some/path/nagios.cfg)

I just tried disabling all state_retention (was previously on) and bounced
nagios and finally got a message.   so perhaps state retention was set
incorrectly. What I'd like to do is have it retain state when I bounce
nagios st I don't get msgs about those I know are down on restart. Here's
what I have:

nagios.cfg:
log_initial_states=0
retain_state_information=0
state_retention_file=/usr/local/stow/nagios/var/status.sav
use_retained_program_state=0

host.cfg:
retain_status_information   0
retain_nonstatus_information0

services.cfg:
 retain_status_information   0
 retain_nonstatus_information0

 =-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
   Institute for Advanced Computer Studies


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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] Check_http with size and regex conditions ignoring size check.

2006-02-23 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Andrew Laden
 Sent: Thursday, February 23, 2006 9:40 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Check_http with size and regex conditions
ignoring
 size check.
 
 I want to check a web page, and check both for a regex and for a
minimum
 size.
 
 However, it appears that the regex requirement overides the size. Eg.
 (names changes to protect the innocent)
 check_http (nagios-plugins 1.4.1) 1.81
 
 [EMAIL PROTECTED] check_http -H servername -p 8080 -u uri -r REGEX
CHECK  -
 m 60:100
 HTTP OK HTTP/1.1 200 OK - 0.420 second response time
 |time=0.419695s;;;0.00 size=2405B;60;0;0
 
 [EMAIL PROTECTED] check_http -H servername -p 8080 -u uri  -m 60:100
 HTTP WARNING: page size 2405 too large|size=2405B;60;0;0
 
 Is this a bug in check_http?

Technically no it's not a bug, the command line arguments are not
compatible. Looking around line 1030 and forward of check_http.c, the
regex tests and size tests are not progressive. The order (from there
forward) is header checks, regex checks then size checks. Each will exit
the program based on *success* or failure of the check. I would call it
a feature request to have checks be progressive. On success, continue to
the next test...  You might want to bounce this over to the
nagiosplug-devel list for their consideration.

--
Marc


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
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


AW: AW: [Nagios-users] Monitoring solaris server without installi ng any plugin

2006-02-23 Thread Thomas . Zimmer
A possible check_by_ssh command:

define command {
command_name   check_by_ssh
command_line   $USER4$/check_by_ssh -H
$HOSTADDRESS$ -t 300 -4 -C ./plugins/$ARG1$ $ARG2$
}

Where the $ARG1$ is the path+name of the plugin to use on the remote
machine, and $ARG2$ is used to defin all parameters and their values like
this:

define service {
host_name  host
service_descriptionPROCS-bla
check_command  check_by_ssh!check_procs!-w
1:1 -c 1:1 -C /opt/dir/process
 -a proc_args
usePROCS-TEMPLATE
check_period   24x7
notification_period24x7
notification_options   w,u,c
notifications_enabled  1
contact_groups masters_of_the_universe
}

Thomas Zimmer
Produktservice  Betrieb
Betrieb  Support
Sal. Oppenheim jr.  Cie., Frankfurt a. Main
Telefon: +49 69 7134 5192
Internet: http://www.oppenheim.de
E-Mail: [EMAIL PROTECTED]



-Ursprüngliche Nachricht-
Von: Mrutyunjaya Dash [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 23. Februar 2006 16:09
An: [EMAIL PROTECTED]; Zimmer, Thomas (BB) Frankfurt/M.
Cc: nagios-users@lists.sourceforge.net;
[EMAIL PROTECTED]
Betreff: Re: AW: [Nagios-users] Monitoring solaris server without installing
any plugin


Hi Joseph,

Thank you very much. As far as the check_by_ssh is concerned how can I use
this. Do I need create any configuration file in the nagios server for
check_cy_ssh to work? And for ssh authentication how can the nagios server
communicate with remote host? If you can point me to some information for
utilizing check_by_ssh command.

Regards,
Dash
--
Sent from my BlackBerry Wireless Handheld


-Original Message-
From: [EMAIL PROTECTED]
[EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
CC: nagios-users@lists.sourceforge.net nagios-users@lists.sourceforge.net;
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Sent: Thu Feb 23 06:28:50 2006
Subject: Re: AW: [Nagios-users] Monitoring solaris server without installing
any plugin


I will post them tonight. I am at a client where I cannot connect to my
server so I cannot get them until tonight. Look at the check_by_ssh plugin
it is also a way to do this 

Joe Petrucci 
Office: 704-383-6089
Cell : 724-462-0443




[EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED] 

02/23/2006 08:56 AM 

To
nagios-users@lists.sourceforge.net 
cc

Subject
AW: [Nagios-users] Monitoring solaris server without installing
any plugin






Hi Joseph, 
  
would you share these plugins? 
  
Greetz, Thomas. 

Thomas Zimmer 
Produktservice  Betrieb 
Betrieb  Support 
Sal. Oppenheim jr.  Cie., Frankfurt a. Main 
Telefon: +49 69 7134 5192 
Internet: http://www.oppenheim.de http://www.oppenheim.de/  
E-Mail: [EMAIL PROTECTED] 

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
[EMAIL PROTECTED]
Gesendet: Donnerstag, 23. Februar 2006 14:24
An: Mrutyunjaya Dash
Cc: nagios-users@lists.sourceforge.net;
[EMAIL PROTECTED]
Betreff: Re: [Nagios-users] Monitoring solaris server without installing any
plugin


I wrote a lot of my plugins to run commands through an RSA ssh connection
from my Nagios machine to other machines. This way there is no code on the
monitored machine. 
Joe Petrucci 
Office: 704-383-6089
Cell : 724-462-0443



Mrutyunjaya Dash [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED] 

02/23/2006 08:18 AM 

To
nagios-users@lists.sourceforge.net 
cc

Subject
[Nagios-users] Monitoring solaris server without installing  any
plugin








Hi List, 

I want to monitor few of the Solaris machines, but those all are production
servers and they don't have any compiler installed on it. Is there any way
to monitor the services without installing any software on the machine? If
any of you have come across of the same kind of situation and found the
solution for this, then please provide the information regarding this. 

Regards, 

Mrutyunjaya Dash 

IT Engineer 

Juniper Networks Pvt Ltd. 

Bangalore 
ForwardSourceID:NTC1E6 
ForwardSourceID:NTC232 




Zimmer, Thomas (Produktservices und Betrieb).vcf
Description: Binary data


Re: [Nagios-users] Monitoring solaris server without installing any plugin

2006-02-23 Thread Ben O'Hara
Same problem here, i just compiled with --without-ssl i belive and run it unencrypted over our management network.BenOn 2/23/06, James E. Pratt
 [EMAIL PROTECTED] wrote:Hi i have a similar problem where no matter how i try and compile on
either sol8 or sol9 (sparc) using the software from sunfreeware (gcc,openssl etc etc), i just cannot get NRPE ssl handshakes to work viainetd... I've tried everything, and triple-checked everything countless
times, but always get the Failed to complete ssl handshake message..Can anyone give me any insight, or has seen this issue before? ...Iwould use snmp instead, but i'm pretty clueless on snmp and it's not set
up in nagios (yet), and i have no clue what mibs or whatever i wouldneed etc... Any help/pointers there are appreciated as well on the snmpstuff - i see there are countless ways to do snmp on 
nagios.org - whatworks best for most out there etc?thanks,Jamie-Original Message-From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of RobertHajime LanningSent: Thursday, February 23, 2006 11:12 AMTo: 
nagios-users@lists.sourceforge.netSubject: Re: [Nagios-users] Monitoring solaris server without installingany pluginquote who=Mrutyunjaya Dash Hi List, I want to monitor few of the Solaris machines, but those all are
 production servers and they don't have any compiler installed on it. Is there any way to monitor the services without installing any software on the machine? If any of you have come across of the same
 kind of situation and found the solution for this, then please provide the information regarding this?If you just have an issue with using a compiling environment, you caninstall openssl and net-snmp packages from 
http://www.sunfreeware.com/.We do system health monitoring and checking for processes via SNMPpolls.You get raw data from SNMP and have all the plugin logic running
on the Nagios server.--And, did Guloka think the Ulus were too ugly to save? -Centauri---This 
SF.Net email is sponsored by xPML, a groundbreaking scriptinglanguagethat extends applications into web and mobile media. Attend the livewebcastand join the prime developer group breaking into this new coding
territory!http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642___
Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS whenreporting any issue.::: Messages without supporting info will risk being sent to /dev/null---
This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcastand join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642___
Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://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-- 
A Scientist will earn a living by taking a really difficult problem and spends many years solving it, an engineer earns a living by finding really difficult problems and side stepping them


Re: [Nagios-users] Monitoring solaris server without installing any plugin

2006-02-23 Thread Mrutyunjaya Dash
Hi All,

I was having same problem, I just compiled with-ssl on the both nagios and 
monitered host and removed the entry -n option for the check_nrpe command from 
checkcommands.cfg file. Might be this is what happening with your end. Check if 
this would help you.

Regards,
Dash
--
Sent from my BlackBerry Wireless Handheld


-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: James E. Pratt [EMAIL PROTECTED]
CC: nagios-users@lists.sourceforge.net nagios-users@lists.sourceforge.net
Sent: Thu Feb 23 08:40:25 2006
Subject: Re: [Nagios-users] Monitoring solaris server without installing any 
plugin

Same problem here, i just compiled with --without-ssl i belive and run it 
unencrypted over our management network.

Ben


On 2/23/06, James E. Pratt [EMAIL PROTECTED] wrote:

Hi i have a similar problem where no matter how i try and compile on 
either sol8 or sol9 (sparc) using the software from sunfreeware (gcc,
openssl etc etc), i just cannot get NRPE ssl handshakes to work via
inetd... I've tried everything, and triple-checked everything countless
times, but always get the Failed to complete ssl handshake message..

Can anyone give me any insight, or has seen this issue before? ...I
would use snmp instead, but i'm pretty clueless on snmp and it's not 
set 
up in nagios (yet), and i have no clue what mibs or whatever i would
need etc... Any help/pointers there are appreciated as well on the snmp
stuff - i see there are countless ways to do snmp on nagios.org 
http://nagios.org  - what
works best for most out there etc?

thanks,
Jamie



-Original Message-
From: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Hajime Lanning
Sent: Thursday, February 23, 2006 11:12 AM
To: nagios-users@lists.sourceforge.net 
mailto:nagios-users@lists.sourceforge.net 
Subject: Re: [Nagios-users] Monitoring solaris server without installing
any plugin


quote who=Mrutyunjaya Dash
 Hi List,

 I want to monitor few of the Solaris machines, but those all are 
 production servers and they don't have any compiler installed on it.
 Is there any way to monitor the services without installing any
 software on the machine? If any of you have come across of the same 
 kind of situation and found the solution for this, then please provide

 the information regarding this?

If you just have an issue with using a compiling environment, you can
install openssl and net-snmp packages from http://www.sunfreeware.com/.

We do system health monitoring and checking for processes via SNMP
polls.  You get raw data from SNMP and have all the plugin logic running
on the Nagios server.

--
And, did Guloka think the Ulus were too ugly to save?
 -Centauri



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding 
territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___ 
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users 
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 xPML, a groundbreaking scripting 
language
that extends applications into web and mobile media. Attend the live 
webcast
and join the prime developer group breaking into this new coding 
territory! 
http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642
___ 
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users 
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





-- 
A Scientist will earn a living by taking a really difficult problem 

Re: [Nagios-users] Monitoring solaris server without installing any plugin

2006-02-23 Thread Luc I. Suryo


 Hi i have a similar problem where no matter how i try and compile on
 either sol8 or sol9 (sparc) using the software from sunfreeware (gcc,
 openssl etc etc), i just cannot get NRPE ssl handshakes to work via
 inetd... I've tried everything, and triple-checked everything countless
 times, but always get the Failed to complete ssl handshake message..
 
 Can anyone give me any insight, or has seen this issue before? ...I
 would use snmp instead, but i'm pretty clueless on snmp and it's not set
 up in nagios (yet), and i have no clue what mibs or whatever i would
 need etc... Any help/pointers there are appreciated as well on the snmp
 stuff - i see there are countless ways to do snmp on nagios.org - what
 works best for most out there etc?
 
I have mine work just fine, sparc 8, 9  10. But I do use an older
version of nrpe 

./check_nrpe_ssl  -h

NRPE Plugin for Nagios
Copyright (c) 1999-2003 Ethan Galstad ([EMAIL PROTECTED])
Version: 2.0
Last Modified: 09-08-2003
License: GPL with exemptions (-l for more info)
SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required


The thing is to generate your own cert. unless you want to use the one
that came with teh sources..

my inetd.conf (i have ssl nrpe and none ssl nrpe configured)
if you have tcp-wrapper remember to configure hosts.allow

# Nagios agent
nrpestream  tcp nowait  sys /usr/sbin/tcpd /usr/local/sbin/nrpe -i 
-c /usr/local/etc/nagios/nrpe.cfg
snrpe   stream  tcp nowait  sys /usr/sbin/tcpd /usr/local/sbin/nrpe_ssl 
-i -c /usr/local/etc/nagios/nrpe.cfg

5711 = none ssl
5712 = ssl

./check_nrpe_ssl -H localhost -p 5711 -c check_root_disk 
CHECK_NRPE: Socket timeout after 10 seconds.

now to the ssl port

 ./check_nrpe_ssl -H localhost -p 5712 -c check_root_disk 
DISK OK [3945564 kB (65%) free on /]


as you can see it works...

I can sent you th ebinary if you want to but it does depends on the
correct openssl libraries!


hope this may help a bit :)

-ls


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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] Monitoring solaris server without installing any plugin

2006-02-23 Thread Aaron Carr
Have you considered check_by_ssh?

IMO, far easier to configure, and just as effective.

Aaron

On 2/23/06, Luc I. Suryo [EMAIL PROTECTED] wrote:


  Hi i have a similar problem where no matter how i try and compile on
  either sol8 or sol9 (sparc) using the software from sunfreeware (gcc,
  openssl etc etc), i just cannot get NRPE ssl handshakes to work via
  inetd... I've tried everything, and triple-checked everything countless
  times, but always get the Failed to complete ssl handshake message..
 
  Can anyone give me any insight, or has seen this issue before? ...I
  would use snmp instead, but i'm pretty clueless on snmp and it's not set
  up in nagios (yet), and i have no clue what mibs or whatever i would
  need etc... Any help/pointers there are appreciated as well on the snmp
  stuff - i see there are countless ways to do snmp on nagios.org - what
  works best for most out there etc?
 
 I have mine work just fine, sparc 8, 9  10. But I do use an older
 version of nrpe

 ./check_nrpe_ssl  -h

 NRPE Plugin for Nagios
 Copyright (c) 1999-2003 Ethan Galstad ([EMAIL PROTECTED])
 Version: 2.0
 Last Modified: 09-08-2003
 License: GPL with exemptions (-l for more info)
 SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required


 The thing is to generate your own cert. unless you want to use the one
 that came with teh sources..

 my inetd.conf (i have ssl nrpe and none ssl nrpe configured)
 if you have tcp-wrapper remember to configure hosts.allow

 # Nagios agent
 nrpestream  tcp nowait  sys /usr/sbin/tcpd /usr/local/sbin/nrpe 
 -i -c /usr/local/etc/nagios/nrpe.cfg
 snrpe   stream  tcp nowait  sys /usr/sbin/tcpd 
 /usr/local/sbin/nrpe_ssl -i -c /usr/local/etc/nagios/nrpe.cfg

 5711 = none ssl
 5712 = ssl

 ./check_nrpe_ssl -H localhost -p 5711 -c check_root_disk
 CHECK_NRPE: Socket timeout after 10 seconds.

 now to the ssl port

  ./check_nrpe_ssl -H localhost -p 5712 -c check_root_disk
 DISK OK [3945564 kB (65%) free on /]


 as you can see it works...

 I can sent you th ebinary if you want to but it does depends on the
 correct openssl libraries!


 hope this may help a bit :)

 -ls


 ---
 This SF.Net email is sponsored by xPML, a groundbreaking scripting language
 that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory!
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
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] nrpe + solaris problems

2006-02-23 Thread Toto Capuccino
my 2 cents: check that the IP of the host in hosts.cfg is the good one.2006/2/23, Tom Healy [EMAIL PROTECTED]:
I can't seem to get nrpe to work correctly, the web interface reportsconnection refused, but if I run it via the command line it getsresults.Example below:On remote solaris 9 box:# ./nrpe -n -c nrpe.cfg
-d# ps -ef|grep nrp nagios1125 10 11:51:51 ?0:00 ./nrpe -n -c nrpe.cfg -d# ./check_nrpe -n -H 127.0.0.1 -c check_usersUSERS OK - 26 users currently logged in |users=26;75;100;0
On nagios server (solaris 9) as user nagios:---# ./check_nrpe -n -H xxx.foobar.com -c check_usersUSERS OK - 26 users currently logged in |users=26;75;100;0
On same nagios server, but the web interface:-check_users.process CRITICAL02-23-2006 11:52:310d 0h 59m1s 3/3 Connection refused by host
Config entry for this host:---define service{ host_name xxx.foobar.com service_description check_users.process
 check_command check_nrpe!check_users max_check_attempts3 normal_check_interval 5 retry_check_interval1 check_period24x7 notification_interval 5
 notification_period 24x7 notification_optionsc,r contact_groupshealy}Check commands entry for the server:-# Check NRPE Daemon
define command{ command_namecheck_nrpe command_line/usr/local/nagios/libexec/check_nrpe -H$HOSTADDRESS$ -c $ARG1$ }nrpe 2.4 compiled from source, both boxes solaris 9.Running nagios
Nagios 2.0b4 (upgrading soon).Is this a bug in the 2.0b4 branch oram I just being dense  missing something obvious?-Tom---
This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcastand join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642___
Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://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-- 
Le bon sens est la chose du monde la mieux partagée.


Re: [Nagios-users] nrpe + solaris problems

2006-02-23 Thread Tom Healy
Nope, they match.On Feb 23, 2006, at 12:20 PM, Toto Capuccino wrote:my 2 cents: check that the IP of the host in hosts.cfg is the good one.2006/2/23, Tom Healy [EMAIL PROTECTED]: I can't seem to get nrpe to work correctly, the web interface reportsconnection refused, but if I run it via the command line it getsresults.  Example below:On remote solaris 9 box:# ./nrpe -n -c nrpe.cfg   -d# ps -ef|grep nrp   nagios  1125 1  0 11:51:51 ?0:00 ./nrpe -n -c nrpe.cfg -d# ./check_nrpe -n -H 127.0.0.1 -c check_usersUSERS OK - 26 users currently logged in |users=26;75;100;0 On nagios server (solaris 9) as user nagios:---# ./check_nrpe -n -H xxx.foobar.com -c check_usersUSERS OK - 26 users currently logged in |users=26;75;100;0 On same nagios server, but the web interface:-check_users.process CRITICAL02-23-2006 11:52:31  0d 0h 59m1s   3/3 Connection refused by host Config entry for this host:---define service{ host_name   xxx.foobar.com service_description check_users.process  check_command   check_nrpe!check_users max_check_attempts3 normal_check_interval 5 retry_check_interval  1 check_period  24x7 notification_interval 5  notification_period   24x7 notification_options  c,r contact_groupshealy}Check commands entry for the server:-# Check NRPE Daemon define command{ command_namecheck_nrpe command_line/usr/local/nagios/libexec/check_nrpe -H$HOSTADDRESS$ -c $ARG1$ }nrpe 2.4 compiled from source, both boxes solaris 9.  Running nagios Nagios 2.0b4 (upgrading soon).  Is this a bug in the 2.0b4 branch oram I just being dense  missing something obvious?-Tom

RE: [Nagios-users] nagios not notifying by email

2006-02-23 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Dave Stern
 Sent: Thursday, February 23, 2006 9:49 AM
 To: Mrutyunjaya Dash
 Cc: [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] nagios not notifying by email
 

[chop]

 
 I just tried disabling all state_retention (was previously on) and
bounced
 nagios and finally got a message.   so perhaps state retention was set
 incorrectly. What I'd like to do is have it retain state when I bounce

The 'Retention Notes' at
http://nagios.sourceforge.net/docs/2_0/xodtemplate.html will provide
insight into how retention works.

 nagios st I don't get msgs about those I know are down on restart.
Here's
 what I have:
 
 nagios.cfg:
 log_initial_states=0
 retain_state_information=0
 state_retention_file=/usr/local/stow/nagios/var/status.sav
 use_retained_program_state=0
 
 host.cfg:
  retain_status_information   0
  retain_nonstatus_information0
 
 services.cfg:
   retain_status_information   0
   retain_nonstatus_information0

We use --

nagios.cfg -
retain_state_information=1
use_retained_program_state=0
state_retention_file=/usr/local/nagios/var/status.sav

host template -

retain_status_information   1
retain_nonstatus_information1

service template -

retain_status_information   1
retain_nonstatus_information1

Notifications are not sent out on restart.

--
Marc



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
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] Important Message from the Accredo Health Email Gateway

2006-02-23 Thread thomas . edwards
In order to protect our employees, patients, partners and computer
systems, Accredo Health, Inc. places restrictions on email passing
between our network and the Internet.

In compliance with that policy, a message addressed to you has been
automatically blocked by the gateway due to decomposition errors.

The message details are as follows:

   From: Mrutyunjaya Dash [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
Subject: Re: [Nagios-users] Monitoring solaris server without installing
any plugin
   Date: 02/23/06, 15:46:55

The message is currently being held in a quarantine area, and may be
released for delivery provided there is a legitimate business need. In
order to ensure that the message is appropriate for delivery, the Email
Gateway admin staff will need to open and manually inspect the message
and any associated attachments.

To request that the message be released, please reply to this message,
include this notice, and explain why you need the email to be released
to you.

Please send any questions or comments to
[EMAIL PROTECTED]

---
Message ID: 6FE0F2CD25C13475-01
---



Re: [Nagios-users] Important Message from the Accredo Health Email Gateway

2006-02-23 Thread Ethan Galstad
On 23 Feb 2006 at 23:41, Hugo van der Kooij wrote:

 On Thu, 23 Feb 2006 [EMAIL PROTECTED] wrote:
 
  In order to protect our employees, patients, partners and computer
  systems, Accredo Health, Inc. places restrictions on email passing
  between our network and the Internet.
 
 Listmaster: Please remove this person from the mailinglist.
 
[snip]

Done.


Ethan Galstad,
Nagios Developer
---
Email: [EMAIL PROTECTED]
Website: http://www.nagios.org



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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