[Nagios-users] Problem with Router status in notification.

2008-05-20 Thread Michael Mukherji
Hello list

I am using nagios 3.0.I am having problem in getting notification for any
port down in my router.I am using snmp to collect data.

define service{
usegeneric-service; Inherit values from a template
host_namehongkong-gw1
service_descriptionPort 10 descr adminstatus operstatus
check_commandcheck_snmp! -C public -o
ifDescr.14,ifAdminStatus.14,ifOperStatus.14

this gives me output

SNMP OK - Serial0/0 up(1) up(1) FTIL1566 Connection to Londonpop-gw1
Ser0/3

now when the  port goes down , i recieve messege saying SMNP data not
recieved from host , problem unknown.but i want that it should give me
messege that the port is down.

is there anything i need to change in the above check_snmp command?

appreciate your help !!

regards
Michael
-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] Problem with Router status in notification.

2008-05-20 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Michael Mukherji wrote:
| Hello list
|
| I am using nagios 3.0.I am having problem in getting notification for
| any port down in my router.I am using snmp to collect data.
|
| define service{
| usegeneric-service; Inherit values from a template
| host_namehongkong-gw1
| service_descriptionPort 10 descr adminstatus operstatus
| check_commandcheck_snmp! -C public -o
| ifDescr.14,ifAdminStatus.14,ifOperStatus.14
|
| this gives me output
|
| SNMP OK - Serial0/0 up(1) up(1) FTIL1566 Connection to Londonpop-gw1
| Ser0/3
|
| now when the  port goes down , i recieve messege saying SMNP data not
| recieved from host , problem unknown.but i want that it should give me
| messege that the port is down.
|
| is there anything i need to change in the above check_snmp command?

No. You need to get another router. Cisco in their infinite wisdom will
give odd results on some interfaces if they are down. I have seen cases
where the interface is there if it's up but when it's down the interface
is gone as far as SNMP is concerned.

I suggest you open a supprt ticket with Cisco on this odd behaviour.
It's their problem and they need to fix it.

Hugo.

- --
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFIMofYBvzDRVjxmYERAu8sAJwKf81ROkyCpkcMsakPbXvjMCF5ygCbBkaG
cZ6DMrhKEhkQOx2lsTJbX7M=
=XGIN
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] OT: Procmail filter to add Reply-To: to mailinglist

2008-05-20 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

A bit off-topic but this list is the only one I have a hard time sending
replies back to.

So I was thinking of adding a Reply-To: header on my side by adding some
code to my procmail filters. Anyone happen to have a working set they
would like to share?

I allready organize all mailinglists to end up in their respective
folders like:

:0
* ^X-BeenThere: [EMAIL PROTECTED]
Maildir/.NAGIOS-USERS/


Hugo.

- --
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFIMom+BvzDRVjxmYERAnCzAJ9fw2lDrCLNqhc9aMT3d6N+BStRAQCeI7MN
XhwoImtfb0uN7OEW+gyPJ88=
=RU6x
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Problem with Router status in notification.

2008-05-20 Thread Michael Mukherji
Hi
thanks for your input.But the port was actually down.Bt i want notification
saying that port is down rather than snmp unable to collect data

So is any extra parameter such as -s /-r is required in my check_snmp
command.

On Tue, May 20, 2008 at 1:42 PM, Hugo van der Kooij 
[EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Michael Mukherji wrote:
 | Hello list
 |
 | I am using nagios 3.0.I am having problem in getting notification for
 | any port down in my router.I am using snmp to collect data.
 |
 | define service{
 | usegeneric-service; Inherit values from a template
 | host_namehongkong-gw1
 | service_descriptionPort 10 descr adminstatus operstatus
 | check_commandcheck_snmp! -C public -o
 | ifDescr.14,ifAdminStatus.14,ifOperStatus.14
 |
 | this gives me output
 |
 | SNMP OK - Serial0/0 up(1) up(1) FTIL1566 Connection to Londonpop-gw1
 | Ser0/3
 |
 | now when the  port goes down , i recieve messege saying SMNP data not
 | recieved from host , problem unknown.but i want that it should give me
 | messege that the port is down.
 |
 | is there anything i need to change in the above check_snmp command?

 No. You need to get another router. Cisco in their infinite wisdom will
 give odd results on some interfaces if they are down. I have seen cases
 where the interface is there if it's up but when it's down the interface
 is gone as far as SNMP is concerned.

 I suggest you open a supprt ticket with Cisco on this odd behaviour.
 It's their problem and they need to fix it.

 Hugo.

 - --
 [EMAIL PROTECTED]   http://hugo.vanderkooij.org/
 PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting frowned upon?

 Bored? Click on http://spamornot.org/ and rate those images.

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (GNU/Linux)

 iD8DBQFIMofYBvzDRVjxmYERAu8sAJwKf81ROkyCpkcMsakPbXvjMCF5ygCbBkaG
 cZ6DMrhKEhkQOx2lsTJbX7M=
 =XGIN
 -END PGP SIGNATURE-

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 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: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] Performance data for service

2008-05-20 Thread Marcus
Hi Izz,

Izz Abdullah schrieb:
 I have enabled performance data for my monitored Windows 2k3 server.  I am 
 receiving performance data, not extremely clear, but receiving, for the 
 defaulted services.  What I want is to see performance data on running 
 processes as well (e.g. the Explorer.exe process has nothing in the 
 performance data field).  Can someone please assist?

What kind of performance data would you expect from explorer.exe? With 
some services, it just doesn't make much sense to have performance 
analyzed, in my opinion.

Greetz, Marcus

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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

2008-05-20 Thread Christian Schneemann
On Tuesday May 20 2008 10:38:24 am Villanueva, Pete wrote:
 Hello All,



 I have a problem regarding the nrpe when I try this command ./check_nrpe
 -H 10.65.32.98 -c check_disk ...error occurred CHECK_NRPE: Received 0
 bytes.  Are we allowed to connect to the host?

First, try to answer the question, are you allowed to connect to the host? How 
have you configured the nrpd on the clientside?

If you are allowed to connect there by xinitd configuration, is a firewall 
active?

greetings,
   Christian


 How do I fix this?







 Pete Sherwin S. Villanueva
 Information Technology Department
 Lear Automotive Services (Netherlands) B.V Philippine Branch
 MEPZ 1, Lapu-Lapu City 6015 Philippines
 Phone: (32) 349-9300 loc 4140
 Fax : (32) 3400-411
 Email: [EMAIL PROTECTED]

 

 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of #ANG
 CHIN TECK#
 Sent: Tuesday, May 06, 2008 12:05 PM
 To: nagios-users
 Subject: [Nagios-users] high check latency,slow update of config on web
 interface



 Hi all,

 I am currently monitoring 50 hosts with no services, only pinging them.
 perf info for these 50 hosts:
 check interval: 10 mins
 check duration: avg 4 s (5 pings)
 but my check latency fluctuates alot (10s , 140s , 250s)

 I am also monitoring 2 other hosts with 10 services.
 perf info for these 10 services:
 check interval: 1 min
 check duration: avg 3s
 check latency fluctuates (2s, 5s, 48s)

 Why does the latency fluctuates so much?

 Another problem is that after i update my config file, verify and
 restart nagios, it takes 15 mins for the web interface to register the
 change.

 Under view config, the change was not registered too.

 Are the 2 problems linked?

 Thanks.



 **
 ** LEGAL DISCLAIMER **
 **

 This E-mail message and any attachments may contain
 legally privileged, confidential or proprietary
 information. If you are not the intended recipient(s),
 or the employee or agent responsible for delivery of
 this message to the intended recipient(s), you are
 hereby notified that any dissemination, distribution
 or copying of this E-mail message is strictly
 prohibited. If you have received this message in
 error, please immediately notify the sender and
 delete this E-mail message from your computer.



-- 
Christian Schneemann

-
SUSE LINUX Products GmbH,
Maxfeldstr. 5, D - 90409 Nürnberg

Phone:  +49 (0)911 - 740 53 0
e-mail:[EMAIL PROTECTED]
-
SUSE LINUX Products GmbH, GF: Markus Rex
HRB 16746 (AG Nürnberg)

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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

2008-05-20 Thread Villanueva, Pete

Hello All,

 

I have a problem regarding the nrpe when I try this command ./check_nrpe
-H 10.65.32.98 -c check_disk ...error occurred CHECK_NRPE: Received 0
bytes.  Are we allowed to connect to the host?

 

How do I fix this? 

 

 

 

Pete Sherwin S. Villanueva 
Information Technology Department 
Lear Automotive Services (Netherlands) B.V Philippine Branch 
MEPZ 1, Lapu-Lapu City 6015 Philippines 
Phone: (32) 349-9300 loc 4140 
Fax : (32) 3400-411
Email: [EMAIL PROTECTED] 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of #ANG
CHIN TECK#
Sent: Tuesday, May 06, 2008 12:05 PM
To: nagios-users
Subject: [Nagios-users] high check latency,slow update of config on web
interface

 

Hi all,

I am currently monitoring 50 hosts with no services, only pinging them. 
perf info for these 50 hosts:
check interval: 10 mins
check duration: avg 4 s (5 pings)
but my check latency fluctuates alot (10s , 140s , 250s)

I am also monitoring 2 other hosts with 10 services.
perf info for these 10 services:
check interval: 1 min
check duration: avg 3s
check latency fluctuates (2s, 5s, 48s)

Why does the latency fluctuates so much?

Another problem is that after i update my config file, verify and
restart nagios, it takes 15 mins for the web interface to register the
change.

Under view config, the change was not registered too.

Are the 2 problems linked?

Thanks.



**
** LEGAL DISCLAIMER **
**

This E-mail message and any attachments may contain 
legally privileged, confidential or proprietary 
information. If you are not the intended recipient(s),
or the employee or agent responsible for delivery of 
this message to the intended recipient(s), you are 
hereby notified that any dissemination, distribution 
or copying of this E-mail message is strictly 
prohibited. If you have received this message in 
error, please immediately notify the sender and 
delete this E-mail message from your computer.-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] Performance data for service

2008-05-20 Thread Izz Abdullah
Not necessarily explorer.exe.

I am looking more at some java instances, (java.exe, etc.).  I want to know CPU 
load as well as Memory usage of a process.

Thanks,
Izz

 -Original Message-
 From: [EMAIL PROTECTED]
 Sent: Tue, 20 May 2008 10:49:48 +0200
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Performance data for service
 
 Hi Izz,
 
 Izz Abdullah schrieb:
 I have enabled performance data for my monitored Windows 2k3 server.  I
 am receiving performance data, not extremely clear, but receiving, for
 the defaulted services.  What I want is to see performance data on
 running processes as well (e.g. the Explorer.exe process has nothing in
 the performance data field).  Can someone please assist?
 
 What kind of performance data would you expect from explorer.exe? With
 some services, it just doesn't make much sense to have performance
 analyzed, in my opinion.
 
 Greetz, Marcus
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 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


FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] check_nrpe issues

2008-05-20 Thread Izz Abdullah
I have a remote Linux host (ubuntu), and the monitoring server is Redhat Linux 
Enterprise 4.  I have disabled SSL for check_nrpe and when testing the 
connection to the remote host with the /usr/local/nagios/libexec/check_nrpe -H 
192.168.0.1 command, I receive the following error:
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for 
error messages.

There are no firewalls in-between the monitoring server and the remote host, 
and the remote host can check itself and get the NRPE version number.

Help is greatly appreciated as I am banging my head on this one :)

-Izz

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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_nrpe issues

2008-05-20 Thread Marcus
Izz Abdullah schrieb:
 I have a remote Linux host (ubuntu), and the monitoring server is Redhat 
 Linux Enterprise 4.  I have disabled SSL for check_nrpe and when testing the 
 connection to the remote host with the /usr/local/nagios/libexec/check_nrpe 
 -H 192.168.0.1 command, I receive the following error:
 CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for 
 error messages.

Hm, what helped me recently figuring out a 0 bytes-issue, was 
activating the debug in nrpe.cfg on the remote host and looking in the 
syslog. There I immediately found the error. (Missing utils.pm in 
perl-path).

Greetz,
  Marcus

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Increasing latency - over the top - a cry for help

2008-05-20 Thread Ståle Askerød Johansen


Hello, oh thou sweet fountain of problem-solving knowledge :-)

Here at the University of Oslo we are running Natios to monitor
roughly 10k services out of which ~9500 are active. We also monitor
~700 hosts. We are running nagios 3.0.1 on a Dell 2850 with 4 Gb of RAM.
And 4 kernels. We upgraded from 2.9 roughly a month ago.

We have the following problem, and are turning here for help after
fumbling in darkness for some time: The latency of both host checks
and service checks increase over time.

After a stop/start of nagios, we see the following pattern:

1) The service latency starts of at ~2.8 seconds, which we are happy 
with. It increases with about 1 ms per minute, a rough estimate.
2) The nagios process starts off at about 17m resident, shown in top.
3) The system part of cpu usage starts off at ~30%

However.

4) The system part of cpu usage increases over a period of approx.
six hours, till it reaches a threshold of some kind at ~290%. At the
same time, the system load increases till four or five.
5) At this point, the latency of both host and service checks will
start increasing much faster, until another stop/start of nagios.
The service latency will reach 160 seconds (!) after ~9 hours.
6) At

The question is what causes this. We started using mrtg for graphing
some time after we noticed a problem, so we are not quite sure when
this started.

Our setup is actually quite simple.

o no flap-detection
o no environment macros
o no dependencies


We have tried the following, with no real effect:

use_large_installation_tweaks=1 (with various sub-tweaks)
playing with the max_concurrent_checks
checkresults on a tmpfs filesystem

So.

We are very grateful for any ideas.

I have gathered some useful data on http://folk.uio.no/staalej/nagios/

-- 
Ståle Johansen, soon in despair.

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] nagiosql - hosts issue

2008-05-20 Thread Tom Brown
this is a nagiosql question really but i wonder if any users here have 
encountered this before.

using nagiosql i can generate and write configs both into the db and 
onto the filesystem. Nagios can read them and startup etc.

The problem is that for some reason when configs are deleted from the db 
the host.cfg file for that host still remains on the filesystem, which 
is odd as if nagiosql is supposed to delete them it should do as it has 
rights to write and so in effect delete. Does anyone have any clues?

thanks


-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Increasing latency - over the top - a cry for help

2008-05-20 Thread Marc Powell

On May 20, 2008, at 4:50 AM, Ståle Askerød Johansen wrote:



 Hello, oh thou sweet fountain of problem-solving knowledge :-)

 Here at the University of Oslo we are running Natios to monitor
 roughly 10k services out of which ~9500 are active. We also monitor
 ~700 hosts. We are running nagios 3.0.1 on a Dell 2850 with 4 Gb of  
 RAM.
 And 4 kernels. We upgraded from 2.9 roughly a month ago.

 We have the following problem, and are turning here for help after
 fumbling in darkness for some time: The latency of both host checks
 and service checks increase over time.

 After a stop/start of nagios, we see the following pattern:

 1) The service latency starts of at ~2.8 seconds, which we are happy
 with. It increases with about 1 ms per minute, a rough estimate.
 2) The nagios process starts off at about 17m resident, shown in  
 top.
 3) The system part of cpu usage starts off at ~30%

I seem to recall this being related to using the embedded perl  
interpreter. Did you compile nagios with ePN? Try without it if you did.

--
Marc
-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] HOST - check is not working

2008-05-20 Thread Saulo Silva
Hi All ,

I have a strange situation where my nagios is not recovering after some
server goes to UNREACHABLE state  unless I force a recheck .

That is the state before the Re-schedule the next check of this host

Host Status:  UNREACHABLE
Status Information:CRITICAL - Plugin timed out after 10 seconds Performance
Data:
Current Attempt:1/4 State Type:HARD Last Check Type:ACTIVE Last Check
Time:05-20-2008
10:05:32 Status Data Age: 0d 0h 1m 20s Next Scheduled Active Check:  N/A
Latency:0.000 seconds Check Duration:10.034 seconds Last State
Change:05-17-2008
01:03:56 Current State Duration: 3d 9h 2m 56s
So after the Re-check :

Host Status:  UP
Status Information:PING OK - Packet loss = 0%, RTA = 58.26 ms Performance
Data:
Current Attempt:0/4 State Type:HARD Last Check Type:ACTIVE Last Check
Time:05-20-2008
10:08:24 Status Data Age: 0d 0h 0m 13s Next Scheduled Active Check:  N/A
Latency:5.545 seconds Check Duration:0.077 seconds Last State Change:05-20-2008
10:08:24 Current State Duration: 0d 0h 0m 13s

Any clue ?
-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] Help with large scale planning

2008-05-20 Thread Mark Potter
Hello List,

Been a while since I have been able to post on a regular basis due to
being given the opportunity to seek other employment! I have landed,
gracefully, in a position where I have been tasked with designing a
large scale Nagios installation. The requirements are all client
requirements and pretty necessary. I need a little advice on where to
start. I will describe the environment and then lay out my idea on how I
see the design coming together.

The environment is an HPCC environment and the requirements are based on
that aspect almost exclusively. Initially the monitoring will be for
clustering only and then expanding out to other servers outside of the
HPCC environment.

1. No client installed on compute nodes (there is an HA head node where
a client or a full install could be done).
2. No active checks directly to compute nodes
3. Ganglia is available for node data

That is the majority of the requirements. Ganglia makes things a bit
easier but I am not sure how much easier. It looks like GroundWork could
handle this but I don't see the large scale features available in the
open source version.

The environment is as follows

1. 80 clusters
2. Each cluster has 70-72 compute nodes 


The client wants a single point of monitoring for this environment. I am
looking at the following for a setup:

Using the ganglia plugin from Nagios Exchange to gather and parse the
data, on the HA head node, and having this report back to a main Nagios
server (HA) for the single point of monitoring.

What I don't know is how Nagios 3.x will scale with ~5000-6000 hosts
coming into a single point of monitoring. What cannot happen is the
checks causing any degradation in the HPCC environment. Ganglia is
already in place and accounted for in performance so querying the
ganglia process is allowed but they would prefer to pull this data from
gmetad and not gmond.

Also, from the Nagios management side, I would like to see if there is a
way to automatically add hosts if a new host pops up in the ganglia
data. This is not a deal breaker but will make life so much easier in
the long run. I have likely not given enough information somewhere but I
think there is enough here to get a discussion started.

It's good to be back!
Regards,

Mark L. Potter
eXcellence in IS Solutions, Inc. (X-ISS) 
Office:  713-862-9200  x219
Email : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
http://www.x-iss.com http://www.x-iss.com/ 

Making IT Work for You
HPC  Enterprise IT Solutions

* HPC Application Acceleration
* Cluster Design, Deploy, Manage, Train
* Linux/Windows Integration
* Remote Management, Backup, Anti-Spam/Virus
* Network Assessments, Design
* Security Audits, Design
* Datacenter Design, Relocation
* Messaging and Collaboration



NOTICE:
This message may contain privileged or otherwise confidential information.
If you are not the intended recipient, please immediately advise the sender
by reply email and delete the message and any attachments without using,
copying or disclosing the contents.



-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] HOST - check is not working

2008-05-20 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Saulo Silva wrote:

| I have a strange situation where my nagios is not recovering after some
| server goes to UNREACHABLE state  unless I force a recheck .

What service have you assigned to this host? How did you define this host?

Did you read the section about host checks?


Hugo.

- --
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFIMt6TBvzDRVjxmYERAs8iAJkBAlgbOh7Nt5XFxAOip+H6NihoIACfc5QG
zaC5IUC32ARg/h/ximdwjBY=
=RBP6
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] HOST - check is not working

2008-05-20 Thread Saulo Silva
Here some host example

define host{
   host_namehostname
   contact_groups   1
   alias  hostname.fulname
   address  x.xx.xxx.xxx
   parents route1
   use  generic-host-active
}

define host{
   host_nameroute1
   contact_groups   1
   address  x.xx.xxx.xxx
   use  generic-host-active
}

define  host{
   name generic-host-active
   register  0
   notification_options d,u,r
   check_commandcheck-host-alive
   event_handler_enabled1
   flap_detection_enabled   1
   notification_interval120
   notification_period  full_week
   notifications_enabled1
   max_check_attempts   4
}

define command{
   command_name check-host-alive
   command_line /usr/lib/nagios/plugins/check_ping
-H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1
}

So that is it . That is a few services associated to the server if necessary
I can include that here .

Thanks for help

Saulo Silva


2008/5/20 Hugo van der Kooij [EMAIL PROTECTED]:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Saulo Silva wrote:

 | I have a strange situation where my nagios is not recovering after some
 | server goes to UNREACHABLE state  unless I force a recheck .

 What service have you assigned to this host? How did you define this host?

 Did you read the section about host checks?


 Hugo.

 - --
 [EMAIL PROTECTED]   http://hugo.vanderkooij.org/
 PGP/GPG http://hugo.vanderkooij.org/PGP/GPG? Use:
 http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting frowned upon?

 Bored? Click on http://spamornot.org/ and rate those images.

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (GNU/Linux)

 iD8DBQFIMt6TBvzDRVjxmYERAs8iAJkBAlgbOh7Nt5XFxAOip+H6NihoIACfc5QG
 zaC5IUC32ARg/h/ximdwjBY=
 =RBP6
 -END PGP SIGNATURE-

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 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: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] Problem with Router status in notification.

2008-05-20 Thread Jay R. Ashworth
On Tue, May 20, 2008 at 02:16:23PM +0530, Michael Mukherji wrote:
thanks for your input.But the port was actually down.Bt i want notification
saying that port is down rather than snmp unable to collect data
 
So is any extra parameter such as -s /-r is required in my check_snmp
command.

No.

As he noted, the problem is that the Cisco doesn't behave properly.  If
the port is down, the Cisco should *say that it is down*, rather than
simply ceasing to respond properly.

But that's what it does, and that's what you're seeing.

Marc, I gather provided a workaround, but that will likely obscure
those circumstances when the entire router drops dead.  Well, at least,
the historical logs will say the wrong thing.

No way to do better.

I concur: contact TAC; open a ticket. 

Cheers,
-- jra


[EMAIL PROTECTED] wrote:
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
Michael Mukherji wrote:
| Hello list
|
| I am using nagios 3.0.I am having problem in getting notification for
| any port down in my router.I am using snmp to collect data.
|
| define service{
| usegeneric-service; Inherit values from a template
| host_namehongkong-gw1
| service_descriptionPort 10 descr adminstatus operstatus
| check_commandcheck_snmp! -C public -o
| ifDescr.14,ifAdminStatus.14,ifOperStatus.14
|
| this gives me output
|
| SNMP OK - Serial0/0 up(1) up(1) FTIL1566 Connection to Londonpop-gw1
| Ser0/3
|
| now when the  port goes down , i recieve messege saying SMNP data not
| recieved from host , problem unknown.but i want that it should give me
| messege that the port is down.
|
| is there anything i need to change in the above check_snmp command?
 
  No. You need to get another router. Cisco in their infinite wisdom will
  give odd results on some interfaces if they are down. I have seen cases
  where the interface is there if it's up but when it's down the interface
  is gone as far as SNMP is concerned.
  I suggest you open a supprt ticket with Cisco on this odd behaviour.
  It's their problem and they need to fix it.
  Hugo.
  - --
  [EMAIL PROTECTED]   [3]http://hugo.vanderkooij.org/
  PGP/GPG? Use: [4]http://hugo.vanderkooij.org/0x58F19981.asc
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
  Bored? Click on [5]http://spamornot.org/ and rate those images.
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.7 (GNU/Linux)
  iD8DBQFIMofYBvzDRVjxmYERAu8sAJwKf81ROkyCpkcMsakPbXvjMCF5ygCbBkaG
  cZ6DMrhKEhkQOx2lsTJbX7M=
  =XGIN
  -END PGP SIGNATURE-
  -
  This SF.net email is sponsored by: Microsoft
  Defy all challenges. Microsoft(R) Visual Studio 2008.
  [6]http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
  ___
  Nagios-users mailing list
  [EMAIL PROTECTED]
  [8]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
 
 References
 
1. mailto:[EMAIL PROTECTED]
2. mailto:[EMAIL PROTECTED]
3. http://hugo.vanderkooij.org/PGP/GPG
4. http://hugo.vanderkooij.org/0x58F19981.asc
5. http://spamornot.org/
6. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
7. mailto:Nagios-users@lists.sourceforge.net
8. https://lists.sourceforge.net/lists/listinfo/nagios-users

 -
 This SF.net email is sponsored by: Microsoft 
 Defy all challenges. Microsoft(R) Visual Studio 2008. 
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 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

-- 
Jay R. Ashworth   Baylink  [EMAIL PROTECTED]
Designer The Things I Think   RFC 2100
Ashworth  Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA  http://photo.imageinc.us +1 727 647 1274

 Those who cast the vote decide nothing.
 Those who count the vote decide everything.
   -- (Joseph Stalin)

-
This SF.net email is sponsored by: Microsoft 
Defy all 

Re: [Nagios-users] OT: Procmail filter to add Reply-To: to mailinglist

2008-05-20 Thread Marc Powell

On May 20, 2008, at 3:20 AM, Hugo van der Kooij wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi,

 A bit off-topic but this list is the only one I have a hard time  
 sending
 replies back to.

 So I was thinking of adding a Reply-To: header on my side by adding  
 some
 code to my procmail filters. Anyone happen to have a working set they
 would like to share?

The first hit on Google for 'procmail add reply-to header' seems to be  
what you're looking for.

--
Marc

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Problem with Router status in notification.

2008-05-20 Thread Marc Powell

On May 20, 2008, at 11:39 AM, Jay R. Ashworth wrote:

 On Tue, May 20, 2008 at 02:16:23PM +0530, Michael Mukherji wrote:
   thanks for your input.But the port was actually down.Bt i want  
 notification
   saying that port is down rather than snmp unable to collect data

   So is any extra parameter such as -s /-r is required in my  
 check_snmp
   command.

 No.

 As he noted, the problem is that the Cisco doesn't behave properly.   
 If
 the port is down, the Cisco should *say that it is down*, rather than
 simply ceasing to respond properly.

 But that's what it does, and that's what you're seeing.

That's not how I interpreted his issue at all and I'm a bit dubious  
about it. The problem interface was a Serial interface, possibly the  
only upstream connection. check_snmp will behave this way if the  
router is unreachable. I've never personally experienced this  
'disappearing' interface problem or non-responsiveness with any kind  
of physical connection (Serial, (Fast)Ethernet, etc), only virtuals  
such as ISDN Virtual interfaces, which are expected and even those  
have never caused SNMP to be non-responsive. I do perform somewhat  
extensive checking of interfaces via SNMP (several thousand).

Michael: Can you clarify? I'm interested in knowing if this is  
something I need to be concerned about. What IOS version are you  
running?

--
Marc

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] OT: Procmail filter to add Reply-To: to mailinglist

2008-05-20 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Marc Powell wrote:
| On May 20, 2008, at 3:20 AM, Hugo van der Kooij wrote:
|
| -BEGIN PGP SIGNED MESSAGE-
| Hash: SHA1
|
| Hi,
|
| A bit off-topic but this list is the only one I have a hard time
| sending
| replies back to.
|
| So I was thinking of adding a Reply-To: header on my side by adding
| some
| code to my procmail filters. Anyone happen to have a working set they
| would like to share?
|
| The first hit on Google for 'procmail add reply-to header' seems to be
| what you're looking for.

The first few hits have delivered me codes that resulted in lost
messages. So it is a bit more complex then that.

Hugo.

- --
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFIMyXYBvzDRVjxmYERAiG8AJ9LWdYxYlFZJMnsxAEa8IYStaIyQACghV4D
KxGwA7yBvW9c+57K9iqe1JE=
=QiDu
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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 3 visual map

2008-05-20 Thread Israel Brewster
I posted this question about a month and a half ago, but didn't get  
any replies. I'm hoping that now that Nagios 3 has been out a bit  
longer, there might be more options.

My company has been using nagios 2.x for some time, with the add-on  
Nexsm for displaying a visual overview of the network at-a-glance.  
It was also useful for showing visitors (and management) what our  
network was like cleanly and easily. Since Nagios 3 was released, and  
we migrated over to it (for a number of reasons), nexsum no longer  
works. The author says he'd like to add nagios 3 support, but he  
doesn't have the time at the moment and may not anytime soon. So I am  
looking for another option. Any suggestions?

I did look at nagvis a while back, but at least at that time it would  
have required me to go through a very time-consuming process of  
placing each host and each link on the layout manually, and then  
adjusting the coordinates of each host and link in a configuration  
file to make it look good. This process would have been prohibitively  
time-consuming. I need something that can automatically place the  
hosts and links on the map, and simply allow me to drag the hosts  
around to position them. Thanks for any suggestions anyone might have  
to offer!

---
Israel Brewster
Computer Support Technician
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
---



-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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 3 visual map

2008-05-20 Thread Hendrik BŠäcker

Hi,

Israel Brewster schrieb:


I did look at nagvis a while back, but at least at that time it would  
have required me to go through a very time-consuming process of  
placing each host and each link on the layout manually, and then  
adjusting the coordinates of each host and link in a configuration  
file to make it look good. This process would have been prohibitively  
time-consuming. I need something that can automatically place the  
hosts and links on the map, and simply allow me to drag the hosts  
around to position them. Thanks for any suggestions anyone might have  
to offer!




well... give NagVis a second chance - it now has a Automap feature.

http://www.nagvis.org/_media/nagvis-1.3-automap_undirected-1.png

Regards,
Hendrik


smime.p7s
Description: S/MIME Cryptographic Signature
-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] Basic Distributed setup question - Central server passive service only reads PENDING

2008-05-20 Thread Ray Keaveney
I have followed the documentation on the centralized/distributed  
model. I believe I have everything setup properly:

My central server has active checks disabled, it has the same services  
and host configuration data as the distributed server. I have NSCA  
functioning, and I can see that the central server is receiving NSCA  
data from the distributed server by looking at the syslog output:

May 20 16:14:18 dnag5 nsca[32101]: Connection from 172.27.20.202 port  
58500
May 20 16:14:18 dnag5 nsca[32101]: Handling the connection...
May 20 16:14:19 dnag5 nsca[32101]: End of connection...


However the passive service check's status on the central server reads  
as: PENDING.


Any ideas on what could be causing this?

Thanks,

-Ray

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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 for Stale AIX Processes with Nagios ?

2008-05-20 Thread Mirza Dedic
Hello,

We have AIX 5.3 running on our production servers and the way things are setup 
we need to make sure there are no STALE processes on the box, by STALE I mean 
any idle process that has been running for more than 5 hours. Sure we can 
monitor this with topas -P and have a terminal session open at all times but 
this is not ideal.

Does anyone know of a script or a way to accomplish this? Even if we would need 
to write a script/cron job to get the job done?

Any help is appreciated and thank you.
-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] Performance data for service

2008-05-20 Thread Anthony Montibello
You should be able to get this data through the Process performance counter
object with the instance set to the process name (as long as you can map the
process name to an actual counter instance)

or you should be able to get this data through a WMI querry

Or you can write a script or program and get the data through NC_NEt or
a NRPE plugin

TOny (author of NC_Net)
On Tue, May 20, 2008 at 5:05 AM, Izz Abdullah [EMAIL PROTECTED]
wrote:

 Not necessarily explorer.exe.

 I am looking more at some java instances, (java.exe, etc.).  I want to know
 CPU load as well as Memory usage of a process.

 Thanks,
 Izz

  -Original Message-
  From: [EMAIL PROTECTED]
  Sent: Tue, 20 May 2008 10:49:48 +0200
  To: nagios-users@lists.sourceforge.net
  Subject: Re: [Nagios-users] Performance data for service
 
  Hi Izz,
 
  Izz Abdullah schrieb:
  I have enabled performance data for my monitored Windows 2k3 server.  I
  am receiving performance data, not extremely clear, but receiving, for
  the defaulted services.  What I want is to see performance data on
  running processes as well (e.g. the Explorer.exe process has nothing in
  the performance data field).  Can someone please assist?
 
  What kind of performance data would you expect from explorer.exe? With
  some services, it just doesn't make much sense to have performance
  analyzed, in my opinion.
 
  Greetz, Marcus
 
  -
  This SF.net email is sponsored by: Microsoft
  Defy all challenges. Microsoft(R) Visual Studio 2008.
  http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
  ___
  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

 
 FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
 Check it out at http://www.inbox.com/earth

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 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: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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-plugins fail to compile solaris 10 x86/x64

2008-05-20 Thread Terry L. Inzauro
list,

im getting the following when attempting to compile nagios-plugins on a
solaris 10 x86 (x4500) box.


# begin background system info


-bash-3.00$ uname -a
SunOS loraine 5.10 Generic_127128-11 i86pc i386 i86pc

-bash-3.00$ gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

-bash-3.00$ which ar
/usr/local/bin/ar

-bash-3.00$ which make
/usr/local/bin/make

-bash-3.00$ make -v
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-pc-solaris2.10

# end background system


# begin make errors (output truncated)

if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl -D_REENTRANT
-I/usr/local/ssl/include  -g -O2 -MT vasnprintf.o -MD -MP -MF
.deps/vasnprintf.Tpo -c -o vasnprintf.o vasnprintf.c; \
then mv -f .deps/vasnprintf.Tpo .deps/vasnprintf.Po; else rm
-f .deps/vasnprintf.Tpo; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl -D_REENTRANT
-I/usr/local/ssl/include  -g -O2 -MT vasprintf.o -MD -MP -MF
.deps/vasprintf.Tpo -c -o vasprintf.o vasprintf.c; \
then mv -f .deps/vasprintf.Tpo .deps/vasprintf.Po; else rm
-f .deps/vasprintf.Tpo; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl -D_REENTRANT
-I/usr/local/ssl/include  -g -O2 -MT xmalloc.o -MD -MP -MF
.deps/xmalloc.Tpo -c -o xmalloc.o xmalloc.c; \
then mv -f .deps/xmalloc.Tpo .deps/xmalloc.Po; else rm -f
.deps/xmalloc.Tpo; exit 1; fi
rm -f libgnu.a
ar cru libgnu.a full-read.o full-write.o strnlen1.o xalloc-die.o
xstrndup.o asnprintf.o asprintf.o basename.o c-strtod.o cloexec.o
creat-safer.o dirname.o dup-safer.o error.o exitfail.o fd-safer.o
fsusage.o getopt.o getopt1.o mbchar.o mountlist.o open-safer.o
pipe-safer.o printf-args.o printf-parse.o regex.o safe-read.o
safe-write.o strcasecmp.o stripslash.o strndup.o strnlen.o vasnprintf.o
vasprintf.o xmalloc.o
/bin/bash: /usr/local/bin/ar: Invalid argument
make[3]: *** [libgnu.a] Error 126
make[3]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11/gl'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11/gl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11'


any ideas?



regards,


_Terry



-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Query regarding negate wrapper

2008-05-20 Thread Satish Kumar P
Hi,

I have been trying to test and implement the negate wrapper in our Nagios
environment. It has worked successfully with all (except one) of the
plugins.
'negate' is not working as expected when I try to use with check_http (with
-u URL argument especially). When I actually run the negate wrapper
with check_http plugin against a web server (enabled with SSL), it doesn't
negate the state returned (only when the web server is down).

When the web server is down (connect to socket times out) and check_http
plugin actually returns STATE_CRITICAL with time out error. But when
negate wrapper is used, surprisingly it doesn't negate the output, but
instead returns STATE_CRITICAL. I have included the commands and the output
of the commands as below:

prod-unix-mon04:/usr/lib/nagios/plugins# /usr/lib/nagios/plugins/check_http
-S -p 443 -u '/EdgeAuth/login.jsp' -H server_name
CRITICAL - Socket timeout after 10 seconds
prod-unix-mon04:/usr/lib/nagios/plugins# echo $?
2
prod-unix-mon04:/usr/lib/nagios/plugins# /usr/lib/nagios/plugins/negate
/usr/lib/nagios/plugins/check_http -S -p 443 -u '/EdgeAuth/login.jsp' -H
server_name
CRITICAL - Plugin timed out after 10 seconds
prod-unix-mon04:/usr/lib/nagios/plugins# echo $?
2

Our Nagios environment details are as follows:
Nagios Version : 3.0
Nagios Plugins Version : 1.4.11

Appreciate any quick help / suggestions to get around this problem. Thanks
in advance.

Thanks  Regards,
  Satish Kumar P
-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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 for Stale AIX Processes with Nagios ?

2008-05-20 Thread Russell Adams
You could write a simple cron job and use NCSA to push the results to
Nagios.

I suggest send_ncsa.pl so you don't have to compile any software.

On Tue, May 20, 2008 at 06:09:36PM -0700, Mirza Dedic wrote:
 Hello,
 
 We have AIX 5.3 running on our production servers and the way things are 
 setup we need to make sure there are no STALE processes on the box, by STALE 
 I mean any idle process that has been running for more than 5 hours. Sure we 
 can monitor this with topas -P and have a terminal session open at all times 
 but this is not ideal.
 
 Does anyone know of a script or a way to accomplish this? Even if we would 
 need to write a script/cron job to get the job done?
 
 Any help is appreciated and thank you.

 -
 This SF.net email is sponsored by: Microsoft 
 Defy all challenges. Microsoft(R) Visual Studio 2008. 
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 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


--
Russell Adams[EMAIL PROTECTED]

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Basic Distributed setup question - Central server passive service only reads PENDING

2008-05-20 Thread Ray Keaveney
I have followed the documentation on the centralized/distributed  
model. I believe I have everything setup properly:

My central server has active checks disabled, it has the same services  
and host configuration data as the distributed server. I have NSCA  
functioning, and I can see that the central server is receiving NSCA  
data from the distributed server by looking at the syslog output:

May 20 16:14:18 dnag5 nsca[32101]: Connection from 172.27.20.202 port  
58500
May 20 16:14:18 dnag5 nsca[32101]: Handling the connection...
May 20 16:14:19 dnag5 nsca[32101]: End of connection...


However the passive service check's status on the central server reads  
as: PENDING.


Any ideas on what could be causing this?

Thanks,

-Ray

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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