[Nagios-users-br] With UDP checks, a send/expect string must be specified.

2007-10-31 Thread flipe augusto
como faço para usar o check_udp corretamente, passei várias configs
diferentes e nenhuma passa
ele fica enviando essa mensagem.

With UDP checks, a send/expect string must be specified.

já tentei usar as opções de várias formas mas não vai.

valeu.

-- 
++||==||==||==||==||==||==||==||++
http://flipe.multiply.com
http://www.myspace.com/flipeicl
http://flipe.palcomp3.com.br
http://www.bandasdegaragem.com.br/flipe
http://www.estudiolivre.org/tiki-index.php?page=Eletronico+neuralbl
http://fiberonline.uol.com.br/flipe
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki


[Nagios-users] Ping Check Problem

2007-10-31 Thread Moayad Mohammad

Today I received new message when I use check_ping library, this message
is

/bin/ping -n -U -w 30 -c 5 IP
CRITICAL - Could not interpret output from ping command

This message just for one IP, and it's working for others

Please I need help ASAP


Regards,
Moayad Mohammad

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Passive Check Notifications (stalking)

2007-10-31 Thread Giles Coochey
Hi,

Can anyone see why I am not getting a notification here?
Is there a way to generate a notification for this?

I have setup a passive check, it is returning an OK state.

Within the GUI I see that the passive check result is received.

Within the Nagios Event Log I do not see any notifications generated.
Yet I have stalking enabled, notifications enabled and so on.

Here is the service template definition:

define service{
namegeneric-snmptrap
active_checks_enabled   0
passive_checks_enabled  1
parallelize_check   1
obsess_over_service 1
check_freshness 0
notifications_enabled   1
notification_interval   120
notification_optionsw,u,c,r
notification_period 24x7
contact_groups  testing
event_handler_enabled   1
flap_detection_enabled  1
failure_prediction_enabled  1
process_perf_data   1
retain_status_information   1
retain_nonstatus_information1
normal_check_interval   1
retry_check_interval1
check_freshness 0
check_periodnone
max_check_attempts  1
check_command   passive_check_missing
is_volatile 1
stalking_optionso,w,u,c
register0
}


Here is the actual service:

define service{
use generic-snmptrap
host_name   *
contact_groups  testing
service_description TRAP-OK
}

This is Nagios 2.9 from source, I see notifications for normal active
services when I get state changes, I only have stalking enabled for this
service template.

Shouldn't I get a notification for a passive check result? If not, can
I?

Thanks

Giles

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Passive Check Notifications (stalking)

2007-10-31 Thread Andreas Ericsson
Giles Coochey wrote:
 Hi,
 
 Can anyone see why I am not getting a notification here?
 Is there a way to generate a notification for this?
 
 I have setup a passive check, it is returning an OK state.
 
 Within the GUI I see that the passive check result is received.
 
 Within the Nagios Event Log I do not see any notifications generated.
 Yet I have stalking enabled, notifications enabled and so on.
 

stalking only tells nagios to *log* each check-result, not to notify on
each received check-result. Nagios otherwise only logs state-changes.

 
 This is Nagios 2.9 from source, I see notifications for normal active
 services when I get state changes, I only have stalking enabled for this
 service template.
 
 Shouldn't I get a notification for a passive check result?

Not unless they change state, no.

 If not, can I?
 

Assuming you want to take the time to write a NEB-module to send one upon
receiving a non-state change result (presumably only for stalking hosts),
then yes. Otherwise no.

-- 
Andreas Ericsson   [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Can NAGIOS check HOST via PROXY ?

2007-10-31 Thread Hari Sekhon
PiCo wrote:
 Hi!

 I'm using nagios from one month.
 I'm starting to use is for checking some service inside my LAN/WAN with  
 NRPE (Linux host) and NSClient++ (windows host).
 Now I want to extent the check to some customer host.
 This customers are connected with my company via LAN2LAN VPN.
 All this VPN starting from one single HOST.

 How can I check host on customers site from my nagios host (Nagios in  
 inside my LAN) ??

 Is it possible ??

 let me know

   
is the vpn NAT-ed?

can you see the customer host directly or can you only see the vpn host 
and the customer host is hidden behind it?

If you can connect to the customer host directly, the proceed as you 
would for any other host.

If the customer host is hidden behind the vpn device and you cannot 
access it directly, then either you must forward ports
or you see if that customer host can see your nagios server and then set 
up passive host checks to send results back to your
nagios server. I can't think of any other way of doing it off the top of 
my head...

-h

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Can NAGIOS check HOST via PROXY ?

2007-10-31 Thread Hari Sekhon
PiCo wrote:
 No I can't reach directly...
 Which ports ??
 nagios server in in my LAN... customers can't reach it!!
I need some clarification, if you cannot reach your customers and they 
cannot reach you, then how is it a vpn? What does it connect?

Ports? 5666 on the client side if using nrpe. 5667 on your side if using 
nsca. basic stuff...

Really, Marc's idea may be best for you.

If your proxy box is linux, then just nrpe to that box and get it to 
check your hosts.

More info needed.

-h

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] no newlines in notification emails ?

2007-10-31 Thread SCHAER Frederic
Hi,

 

Using nagios 3.0b5, I have the following notification command defined :

 

define command{

command_namenotify-by-email

command_line/usr/bin/printf check went wrong on host
$HOSTALIAS$\nService : $SERVICEDESC$\nCheck Command
:$SERVICECHECKCOMMAND$\nOutput summary : $

SERVICEOUTPUT$\nLong output : $LONGSERVICEOUTPUT$\n | /bin/mail -s
'$SERVICESTATE$ alert for $HOSTALIAS$/$SERVICEDESC$' $CONTACTEMAIL$

}

 

When I receive an email, This is what I get :

check went wrong on host xxx Service : firewall Check Command
:check_nrpe_firewall Output summary : Connection refused by host Long
output :

 

Is it me or are the \n stripped ? Are you also facing this with 3.0b5 ?

trying the same kind of printf | mail command on the nagios host sends
me a mail with newlines, so I doubt it's the host software that's having
a problem here...

 

Regards

Frederic

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
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] Log rotation with Logrotate

2007-10-31 Thread Marc Haber
Hi,

Packaging Nagios for Debian means doing things in a way that users
might expect them to be done to avoid confusion. One of these expected
things is that logs are rotated using logrotate, which allows people
to specify, for example, how many log generations are to be held.

Unfortunately, to do so, we need to disable nagios' built-in log
rotation or we get double rotated logs.

Is it possible to tell nagios not to rotate the logs? How will nagios
react when logrotate moves the log file away?

Greetings
Marc

-- 
-
Marc Haber | I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things.Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Log rotation with Logrotate

2007-10-31 Thread Jeremy C. Reed
On Wed, 31 Oct 2007, Marc Haber wrote:

 Is it possible to tell nagios not to rotate the logs? How will nagios
 react when logrotate moves the log file away?

log_rotation_method=n

According to 
http://nagios.sourceforge.net/docs/2_0/configmain.html#log_rotation_method
n (none) is the default

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Log rotation with Logrotate

2007-10-31 Thread Andreas Ericsson
Marc Haber wrote:
 Hi,
 
 Packaging Nagios for Debian means doing things in a way that users
 might expect them to be done to avoid confusion.

Nagios users' confusion, or Debian users' confusion? The Nagios users
will ofcourse expect Nagios to rotate its own logs, while Debian folks
with no clue of Nagios will (most likely) expect logrotate to do it
for them.

Nagios is a state machine. It reacts on state switches. It can load
state from files, but doing so is obviously less optimal than just
keeping them in memory. For large to huge networks, loading them
from file may not be an option.

Apart from that, you'll have to make sure that the nagios.cfg file
is kept in sync with the logrotate config somehow, since the cgi's
do some clever things that requires them to know when the logs are
rotated. AFAIK, logrotate can't make logfiles with the names expected
by the CGI's, so unless you have another gui to use with Nagios, I'd
really recommend you either patch the cgi's (extensively) or don't
fiddle with it.

 One of these expected
 things is that logs are rotated using logrotate, which allows people
 to specify, for example, how many log generations are to be held.
 

Historical monitoring data can be of great value and should, basically,
never be rotated out.


 Unfortunately, to do so, we need to disable nagios' built-in log
 rotation or we get double rotated logs.
 
 Is it possible to tell nagios not to rotate the logs?


Not that I know of, no.


 How will nagios
 react when logrotate moves the log file away?
 

Try and find out?

All in all, it's probably not worth bothering with, as you'll break
more things than you'll fix.

-- 
Andreas Ericsson   [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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 SELinux

2007-10-31 Thread Jaimie Livingston
Hi list

I see that a lot of folks have problems running Nagios with SELinux in 
Enforcing mode.

Try this profile: It should work with Nagios 2.x and NagiosQL.
If it works - great. If it doesn't, try building your own by trying the 
following process.

audit2allow -m local -l -i /var/log/audit/audit.log   local.te
mv local.te nagios.te
checkmodule -M -m -o nagios.mod nagios.te
semodule_package -o nagios.pp -m nagios.mod
semodule -i nagios.pp

Here's the profile I built on a clean install of Nagios 2.9, with NagiosQL on a 
CentOS 5 system, SELinux in Enforcing mode:

begin
module local 1.0;

require {
class chr_file read;
class dir { getattr search };
class fifo_file { getattr read write };
class file { execute read write };
class process { sigkill signal };
type httpd_sys_content_t;
type httpd_sys_script_rw_t;
type httpd_sys_script_t;
type httpd_t;
type initrc_var_run_t;
type ls_exec_t;
type nagios_cgi_t;
type nagios_etc_t;
type nagios_t;
type ping_t;
type prelink_t;
type public_content_t;
type urandom_device_t;
type user_home_t;
type useradd_t;
type usr_t;
type var_log_t;
role system_r;
};

allow httpd_sys_script_t nagios_etc_t:dir search;
allow httpd_sys_script_t httpd_sys_content_t:fifo_file getattr;
allow httpd_sys_script_t httpd_sys_content_t:fifo_file write;
allow httpd_sys_script_t httpd_t:file read;
allow httpd_sys_script_t public_content_t:fifo_file getattr;
allow httpd_sys_script_t usr_t:fifo_file getattr;
allow httpd_t httpd_sys_content_t:fifo_file getattr;
allow httpd_t httpd_sys_content_t:fifo_file write;
allow httpd_t nagios_cgi_t:process { sigkill signal };
allow httpd_t user_home_t:dir { getattr search };
allow httpd_t usr_t:file execute;
allow nagios_cgi_t httpd_sys_content_t:dir search;
allow nagios_t httpd_sys_script_rw_t:dir search;
allow nagios_t initrc_var_run_t:file write;
allow nagios_t urandom_device_t:chr_file read;
allow ping_t httpd_sys_content_t:fifo_file read;
allow ping_t public_content_t:fifo_file read;
allow ping_t usr_t:fifo_file read;
allow ping_t usr_t:file { read write };
allow prelink_t httpd_sys_content_t:file read;
allow useradd_t var_log_t:file { read write };
end

If you see a way to make this better, or more secure without breaking Nagios, 
let me know...


- Jaimie Livingston (jaimielives)

---
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.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] How to monitor temp on Cisco 7200's?

2007-10-31 Thread Patrick M.
Hi all,

I was wondering if anyone had any recommendations on what plugins to use 
to check temperature for a Cisco 7200 router.  If possible I'd like to 
monitor temp on our other devices like our 3560 Catalyst switches as 
well as our 3550's.

I tried looking on NagiosExchange but the plugins I found didn't monitor 
temp for these devices.  Has anyone else had any luck?

Thanks in advance.

Patrick

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] NRPE output

2007-10-31 Thread Lennard Bakker
Hello,

All tests with check_nrpe are giving a Crititcal Connection refused or
timed out result if the target host is down. Is it possible to get an
Unknown result is check_nrpe is called with the -c para but no
connection could be made (the remote check is never performed).
If nrped itself is checked (no -c para) is should still give an Critital
if no connection could be made.

Kind regards,

Lennard

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] How to monitor temp on Cisco 7200's?

2007-10-31 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Patrick M.
 Sent: Wednesday, October 31, 2007 11:21 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] How to monitor temp on Cisco 7200's?
 
 Hi all,
 
 I was wondering if anyone had any recommendations on what plugins to
use
 to check temperature for a Cisco 7200 router.  If possible I'd like to
 monitor temp on our other devices like our 3560 Catalyst switches as
 well as our 3550's.

Simple check_snmp works great here. Note that the OID changes based on
whether it has an NPE-G1 or not. I'm 99% sure that below is inlet
temperature. For other devices, just do an snmpwalk or look at the MIB
to identify the temperature OID you're interested in. --

define command {
command_name   check_temperature
command_line   $USER1$/check_snmp -H $HOSTADDRESS$
-u 'Degrees Celsius' -o .1.3.6.1.4.1.9.9.13.1.3.1.3.2 -C $USER3$ -w
37:32 -c 99:38 -l 'Temperature is'
}

define command {
command_name   check_temperature_npe-g1
command_line   $USER1$/check_snmp -H $HOSTADDRESS$
-u 'Degrees Celsius' -o .1.3.6.1.4.1.9.9.13.1.3.1.3.1 -C $USER3$ -w
37:32 -c 99:38 -l 'Temperature is'
}

--
Marc

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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 output

2007-10-31 Thread Hari Sekhon
Lennard Bakker wrote:
 Hello,

 All tests with check_nrpe are giving a Crititcal Connection refused or
 timed out result if the target host is down. Is it possible to get an
 Unknown result is check_nrpe is called with the -c para but no
 connection could be made (the remote check is never performed).
 If nrped itself is checked (no -c para) is should still give an Critital
 if no connection could be made.
   
Write a shell wrapper to achieve this. Test the output, change the exit 
code and possibly the message. easy.

-h

Hari Sekhon


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] How to monitor temp on Cisco 7200's?

2007-10-31 Thread Peter Gritsch
On Wednesday 31 October 2007, Patrick M. wrote:
 Hi all,

 I was wondering if anyone had any recommendations on what plugins
 to use to check temperature for a Cisco 7200 router.  If possible
 I'd like to monitor temp on our other devices like our 3560
 Catalyst switches as well as our 3550's.

Hi Patrick, hi all, 

SNMP4Nagios (http://snmp4nagios.sourceforge.net) contains a plugin
which monitors Cisco temperatures. It does work with my 7204s.

I can't tell if 3560s and 3550s support the appropriate objects.

2950 and 2960 do not
4506 and 4510 do

HTH,
Peter
-- 
Peter Gritsch
mail: [EMAIL PROTECTED]
web:  http://snmp4nagios.sourceforge.net/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] How to monitor temp on Cisco 7200's?

2007-10-31 Thread Anthony Mendoza
You should be able to use SNMP to do this if you have the MIB and
appropriate OID for environmental monitor on the router.  I don't have a
7200 router so can't check on it for you.  You can read more here though:

http://tinyurl.com/2pqrru

Patrick M. wrote, On 10/31/2007 09:21 AM:
 Hi all,
 
 I was wondering if anyone had any recommendations on what plugins to use 
 to check temperature for a Cisco 7200 router.  If possible I'd like to 
 monitor temp on our other devices like our 3560 Catalyst switches as 
 well as our 3550's.
 
 I tried looking on NagiosExchange but the plugins I found didn't monitor 
 temp for these devices.  Has anyone else had any luck?
 
 Thanks in advance.
 
 Patrick
 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] NRPE error CHECK_NRPE: Response packet had invalidCRC32

2007-10-31 Thread John Tabasz (jtabasz)
Anyone seen this before? I run the command #./check_nrpe -n -H 127.0.0.1
-c check_procs on the remote host to check if nrpe is working and I get
the error message in the subject heading. 

The nrpe is ver 2.8 as is the ver of the rest of the plug-ins. The host
is a Solaris 2.8 host. 

Please advise.

Thanks,

John

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Manual only check and file copy

2007-10-31 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
 Sent: Wednesday, October 31, 2007 2:02 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Manual only check and file copy
 
 I would like to have two things that an administrator could do with my
 Nagios monitoring system.
 
 1)  I would like to be able to launch a check manually only.  I know I
can
 disable active checks then reschedule a check and disable it again.
This
 looks really ugly.  Is there another way to do this that would be more
 simple?

Leave active checks enabled but set a check_period of none (a standard
timeperiod definition).
 
 2)  I would like to be able to copy a file to all members of a host
group.

Sounds like a job for cfengine or the like _but_, if this were a
recurring task, a custom plugin that scp'd the file then reported
success or failure using plugin guidelines might do. Set that as the
check_command in a service definition assigned to all members of the
hostgroup. Kind of like using a fork to eat ice cream though. It'll
work, but not as good as a spoon.

--
Marc 

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Manual only check and file copy

2007-10-31 Thread Larry Low
1) Use a time schedule that has nothing but the name and alias defined.  I
use this myself for a couple services.

2) Copy a file?


Larry Low
4150 N Drinkwater Blvd., 5th Floor
Scottsdale, AZ  85251
Office: 480.385.7045
E-mail: [EMAIL PROTECTED]'

Telesphere Networks, Inc


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
 Sent: Wednesday, October 31, 2007 12:02 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Manual only check and file copy
 
 I would like to have two things that an administrator could do with my
 Nagios monitoring system.
 
 1)  I would like to be able to launch a check manually only.  I know I
 can
 disable active checks then reschedule a check and disable it again.
 This
 looks really ugly.  Is there another way to do this that would be more
 simple?
 
 2)  I would like to be able to copy a file to all members of a host
 group.
 
 Thank you ahead of time for your help.
 
 Will Y.
 
 
 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 
 
 ---
 --
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now  http://get.splunk.com/
 ___
 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.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Manual only check and file copy

2007-10-31 Thread aragonx
I would like to have two things that an administrator could do with my
Nagios monitoring system.

1)  I would like to be able to launch a check manually only.  I know I can
disable active checks then reschedule a check and disable it again.  This
looks really ugly.  Is there another way to do this that would be more
simple?

2)  I would like to be able to copy a file to all members of a host group.

Thank you ahead of time for your help.

Will Y.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] How to monitor temp on Cisco 7200's?

2007-10-31 Thread Patrick M.
I tried them, and I Don't get an actual readin, I just get a 'temp OK'.  
I even tried to specify a celcius value and when I specify 1 as the 
measurement it still tells me OK.

I dont know if this is working or not, but thanks though - are there any 
others out there?

Patrick


Valdinger, Stephen (DOV, MSX) wrote:
 You could try googling for Patrick Proy's SNMP plugins. I believe he has
 the stuff to do just what you are asking. 

 -Original Message-
 From: Patrick M. [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, October 31, 2007 12:21 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] How to monitor temp on Cisco 7200's?

 Hi all,

 I was wondering if anyone had any recommendations on what plugins to use

 to check temperature for a Cisco 7200 router.  If possible I'd like to 
 monitor temp on our other devices like our 3560 Catalyst switches as 
 well as our 3550's.

 I tried looking on NagiosExchange but the plugins I found didn't monitor

 temp for these devices.  Has anyone else had any luck?

 Thanks in advance.

 Patrick

 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now  http://get.splunk.com/
 ___
 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.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Manual only check and file copy

2007-10-31 Thread aragonx
 1) Use a time schedule that has nothing but the name and alias defined.  I
 use this myself for a couple services.

 2) Copy a file?

I know, I know...  Security risks abound with this one but management
rules...

I guess what I really want is to be able to do my first request on a host
group.  i.e. can you force a check on a group of servers with one click?



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Manual only check and file copy

2007-10-31 Thread aragonx
 2)  I would like to be able to copy a file to all members of a host
 group.

 Sounds like a job for cfengine or the like _but_, if this were a
 recurring task, a custom plugin that scp'd the file then reported
 success or failure using plugin guidelines might do. Set that as the
 check_command in a service definition assigned to all members of the
 hostgroup. Kind of like using a fork to eat ice cream though. It'll
 work, but not as good as a spoon.

You are right of course.  I think the idea is to be able to use a single
web interface to do a few simple tasks.

I guess the real question is if I can reschedule checks by group instead
of singly by host.  If so I can coble together a way to do it.  I just
didn't see a way to reschedule a check like this.



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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 monitoring windows machines

2007-10-31 Thread Anthony Mendoza
Just an FYI - but sometimes when I've seen (what appears to be) random
reboots on Windows servers it's because Automatic Updates is scheduled
to run and install.  Make sure that's either set to Download only or
disabled as applicable for your environment.

Christy New wrote, On 10/31/2007 01:00 PM:
snip
 are what we run monitoring utilities on for the network on.  We are
 experianceing down time of these devices and I want to monitor why they
 keep getting shutdown.   If I restart these machines, we may loose some
snip

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Manual only check and file copy

2007-10-31 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
 Sent: Wednesday, October 31, 2007 3:10 PM
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Manual only check and file copy
 


 I guess the real question is if I can reschedule checks by group
instead
 of singly by host.  If so I can coble together a way to do it.  I just
 didn't see a way to reschedule a check like this.

Well, these are the command options for hostgroups that the CGI's
support directly. There don't appear to be any that are promising other
than enable/disable active checks --

Schedule downtime for all hosts in this hostgroup
Schedule Downtime For All Services In This Hostgroup
Enable Notifications For All Hosts In This Hostgroup
Disable Notifications For All Hosts In This Hostgroup   
Enable Notifications For All Services In This Hostgroup
Disable Notifications For All Services In This Hostgroup
Enable Active Checks Of All Services In This Hostgroup
Disable Active Checks Of All Services In This Hostgroup

--
Marc

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] How to monitor temp on Cisco 7200's?

2007-10-31 Thread Jonathan Call
Hello Patrick 

The Cisco 3560 and 3550 are very different from the Cisco 7200. You
cannot get an actual temperature value from them, just a temperature
state.

You'll need to use this SNMP Table:
ciscoEnvMonTemperatureState   .1.3.6.1.4.1.9.9.13.1.3.1.6
Possible states are: 
1:normal 2:warning 3:critical 4:shutdown 5:notPresent 6:notFunctioning

The 3560 and 3550 only have one thermal sensor so it's
1.3.6.1.4.1.9.9.13.1.3.1.6.1

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Patrick M.
 Sent: Wednesday, October 31, 2007 10:21 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] How to monitor temp on Cisco 7200's?
 
 Hi all,
 
 I was wondering if anyone had any recommendations on what plugins to
use
 to check temperature for a Cisco 7200 router.  If possible I'd like to
 monitor temp on our other devices like our 3560 Catalyst switches as
 well as our 3550's.
 
 I tried looking on NagiosExchange but the plugins I found didn't
monitor
 temp for these devices.  Has anyone else had any luck?
 
 Thanks in advance.
 
 Patrick
 


This email message is intended for the use of the person to whom it has been 
sent, and may contain information that is confidential or legally protected. If 
you are not the intended recipient or have received this message in error, you 
are not authorized to copy, distribute, or otherwise use this message or its 
attachments. Please notify the sender immediately by return e-mail and 
permanently delete this message and any attachments. Verio, Inc. makes no 
warranty that this email is error or virus free.  Thank you.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] statuwrl.cgi not working for IE

2007-10-31 Thread Jaimie Livingston
Hi Siwei

The most likely cause is that the VML extension assignment in Windows. Make 
sure that the VML file extension is registered to the application that is going 
to be used to view the VML files.

Up until XP, this was done from the Windows Explorer Folder Options  File 
Types. 


- Jaimie Livingston (jaimielives)

---
This thread is located in the archive at this URL:
http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi1[showUid]=6016


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Error: Could not read object configuration data!

2007-10-31 Thread Jaimie Livingston
Not to be silly, but have to checked your available disk space on the volume 
that your nagios logs are stored? If you're running low on log space, many odd 
things can happen.


- Jaimie Livingston (jaimielives)

---
This thread is located in the archive at this URL:
http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi1[showUid]=5964


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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 newlines in notification emails ?

2007-10-31 Thread Jaimie Livingston
I had the same problem when I was testing 3.0b4 on CentOS. I thought it was 
just me at the time...


- Jaimie Livingston (jaimielives)

---
This thread is located in the archive at this URL:
http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi1[showUid]=5985


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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 monitoring windows machines

2007-10-31 Thread Anthony Montibello
Hi Christy

Asside from monitoring,

A quick review of the Event log sometimes reveals a lot about particular
issues, just look for the time of the startup events then manually read
through events that occured just prior to that,

Also you can always try using NC_NEt, for an easy to use WIndows plugin.
it uses the check_nt.c plugin to monitor services and other standard things
It also has its own replacement of check_nt called check_nc_net to handle
more checks,
like WMI queries, Event Log queries, and more.  THe install process is a msi
installer just double click and start the service, and the configuration
files are documented internally.

Tony (author of NC_Net)


On 10/31/07, Christy New [EMAIL PROTECTED] wrote:

 NSC.ini file for monitoring windows machines.

 Should I just remove all the ( ; ) or the (#) too, and can some one break
 this part of the process down in laymens terms.  If I remove these, am I
 suppose to reboot these systems, in order for this to take affect.  Also
 what exactly will this one INI file do..I just want to be really
 careful, because the two window machines I want to set nagios to monitor,
 are what we run monitoring utilities on for the network on.  We are
 experianceing down time of these devices and I want to monitor why they
 keep getting shutdown.   If I restart these machines, we may loose some
 documentation's.  Not say we will, but if there are any mistakes, we can
 loose vital information.

 Please Advise.


 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now  http://get.splunk.com/
 ___
 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.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
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] Return code of 127 is out of bounds - plugin may bemissing

2007-10-31 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Bob DeBolt
 Sent: Wednesday, October 31, 2007 9:54 PM
 To: nagios-users
 Subject: [Nagios-users] Return code of 127 is out of bounds - plugin
may
 bemissing

 Ideas please?

FAQ:
http://www.nagios.org/faqs/viewfaq.php?faq_id=17expand=falseshowdesc=f
alse

The plugins referenced in your command{} definitions do not exist in the
location you've specified. If you're using a macro such as $USER1$ in
place of the path, make sure it's properly defined in resource.cfg and
that file in included as resource file in nagios.cfg.

--
Marc


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Return code of 127 is out of bounds - plugin may be missing

2007-10-31 Thread Bob DeBolt
Nagios Server install RPMs

CentOS 4.5

nagios-devel-2.9-1.el4.rf
nagios-plugins-1.4.9-1.el4.rf
nagios-2.9-1.el4.rf
nagios-nsca-2.6-1.el4.rf

Other Monitored Servers

CentOS 5

nagios-nrpe-2.5.2-1.el5.rf
nagios-plugins-1.4.9-1.el5.rf
nagios-2.9-1.el5.rf
nagios-plugins-nrpe-2.5.2-1.el5.rf

I have not seen this error occur previously

Because this is a new set of servers I reinstalled the entire servers
from scratch just to make sure I didn't have something corrupted.

The base set of services all run fine from the
Nagios server command line as the default user Nagios.
They all return correct values.

Using TCPDump, no traffic is passed from the Nagios server to any of the
monitored units during the normal nagios cycling.

Am I missing permissions somewhere??

Pre flight checks are perfect
restarted Nagios and NRPE

Ideas please?

Bob D



signature.asc
Description: OpenPGP digital signature
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
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