[Nagios-users] Service Dependencies

2006-04-01 Thread Carl Davis
I think I have service dependencies backwards in my head.  If I were
utilizing a flow chart and b required service on a to be up, I would put
a as the dependent_service_description and b as the host_name?  I have a
long line of wireless links and if the first one fails I do not want to
be notified that the others will fail as well.

Is the status map built from service dependencies, because it appears
correctly, however I get service notifications for everything when we
have a link problem.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check_snmp_int.pl problem

2006-04-01 Thread Raphaël 'SurcouF' Bordet
Le vendredi 31 mars 2006 à 22:32 -0700, Neil Lehouillier a écrit :
 Hi all,
  
 I hoping someone out there can help me out.  I'm having a problem with
 the check_snmp_int.pl script.
  
 When I issue the following command from the command line
 check_snmp_int.pl -H 192.168.0.12 -C public -n -w 600,600 -c 800,800
 to display the status of all the network adapters I get the following:
  
 MS TCP Loopback interface:UP, 3Com SOHO PCI:UP:2 UP: OK
 
  
 But when I issue the command from nagios I only receive the following
 on the nagios web screen:  (I omitted the date time and other non
 essential info)

Hi,

This plugin can use regex to match interfaces you want.
You can use this following regex: ^[^MS TCP Loopback]
You've all interfaces without this naming interface.

Regards,
 
-- 
Raphaël 'SurcouF' Bordet 
http://debianfr.net/ | JID: surcouf at debianfr dot net




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check_snmp_int.pl problem

2006-04-01 Thread Neil Lehouillier

Thanks...

that worked great.  Anyone out there wouldn't happen to know how to make the 
check_snmp_int.pl script display the statistics within nagios?


Currently when I query the interface on a box I get:

a green line with the following:
 NIC Usage

OK 04-01-2006 09:29:54 3d 22h 47m 8s 1/3 3Com 3C90x Ethernet Adapter


I would like to see the statistics within the 3com 3C90x line.

Also does anyone know what happens when there are multiple nics within the 
same box?  Does it display all the interfaces or just the first one?


Thanks again

Neil



From: Raphaël 'SurcouF' Bordet [EMAIL PROTECTED]
To: nagios-users@lists.sourceforge.net
Sent: Saturday, April 01, 2006 8:02 AM
Subject: Re: [Nagios-users] check_snmp_int.pl problem


Le vendredi 31 mars 2006 à 22:32 -0700, Neil Lehouillier a écrit :

Hi all,

I hoping someone out there can help me out.  I'm having a problem with
the check_snmp_int.pl script.

When I issue the following command from the command line
check_snmp_int.pl -H 192.168.0.12 -C public -n -w 600,600 -c 800,800
to display the status of all the network adapters I get the following:

MS TCP Loopback interface:UP, 3Com SOHO PCI:UP:2 UP: OK


But when I issue the command from nagios I only receive the following
on the nagios web screen:  (I omitted the date time and other non
essential info)


Hi,

This plugin can use regex to match interfaces you want.
You can use this following regex: ^[^MS TCP Loopback]
You've all interfaces without this naming interface.

Regards,



--
Raphaël 'SurcouF' Bordet
http://debianfr.net/ | JID: surcouf at debianfr dot net




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=kkid0944bid$1720dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.

::: Messages without supporting info will risk being sent to /dev/null



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Service Dependencies

2006-04-01 Thread Hugo van der Kooij
On Sat, 1 Apr 2006, Carl Davis wrote:

 I think I have service dependencies backwards in my head.  If I were
 utilizing a flow chart and b required service on a to be up, I would put
 a as the dependent_service_description and b as the host_name?  I have a
 long line of wireless links and if the first one fails I do not want to
 be notified that the others will fail as well.

 Is the status map built from service dependencies, because it appears
 correctly, however I get service notifications for everything when we
 have a link problem.

The status maps does not care about dependencies. It only uses the parent
field.

Assume router arwen and host bilbo. You can only reach bilbo through
arwen. (Or at least your Nagios checks.)

Then you would define:

define hostdependency {
dependent_host_name bilbo
hostnamearwen
.

I admit it takes some reading and it is propably even more confusing for
those whose native language is not English.

I would have expected:

define hostdependency {
hostnamebilbo
depend_on_hostname  arwen


I do recommend to rewrite this to be less ambigious in v3.

Hugo.

-- 
I hate duplicates. Just reply to the relevant mailinglist.
[EMAIL PROTECTED]   http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of magicians,
for they are subtle and quick to anger.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] snmp plugins

2006-04-01 Thread Nelson Serafica
is it possible to monitor disk usage, load and mem using nagios with only snmp running in remote server?i have no root access to remote server (only in local server) but there  was snmp running in remote with community public. i have installed snmp  in local and download check_snmp_mem.pl in sourceforge but when i run  it manually it shows:perl check_snmp_mem.pl and ./check_snmp_mem.plCan't locate Net/SNMP.pm in @INC (@INC contains:  /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi  /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi  /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi  /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi  /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi  /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi  /usr/lib/perl5/site_perl/5Attache is the script of check_snmp_mem.pl
		New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.

check_snmp_mem.pl
Description: 1535370674-check_snmp_mem.pl


Re: [Nagios-users] snmp plugins

2006-04-01 Thread Hugo van der Kooij
On Sat, 1 Apr 2006, Nelson Serafica wrote:

   Can't locate Net/SNMP.pm in @INC

So where did YOU install this perl module? This is something YOU must fix
in your server.

Hugo.

-- 
I hate duplicates. Just reply to the relevant mailinglist.
[EMAIL PROTECTED]   http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of magicians,
for they are subtle and quick to anger.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null