[Nagios-users-br] RES: Ajuda

2009-05-22 Thread Thiago Zanardo - Grupo Medina
Rubia.. se eu n me engano vc tem q comentar la em nagios.cfg com o #

V ai e mi fala se funcionou

-Mensagem original-
De: Rúbia Karla [mailto:donab...@gmail.com] 
Enviada em: quarta-feira, 20 de maio de 2009 09:40
Para: nagios-users-br@lists.sourceforge.net
Assunto: [Nagios-users-br] Ajuda

Tou achando uma coisa estranha.

Alguns servidores que não estão em funcionamento estão aparecendo no Nagios
e mesmo tirando-os da configuração dos hosts.cfg e hostexinfo.cfg, ele
continuiam lá?

Feitiçaria?

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals.
Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.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


--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.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


Re: [Nagios-users-br] Criar plugin especifico de checagem

2009-05-22 Thread Jose Oliveira
Olá Bruno

Com o nsclient++ voce pode verificar o status de um processo ou de um
serviço. Como o programa em execução é um processo, voce não precisa
escrever um plugin para tal fim. Use o nsclient++ no Windows alvo.



2009/5/21 Bruno Bettero bbett...@gmail.com

 bom dia lista,
 teria como fazer um plugin especifico para verificar se uma aplicação do
 windows esta rodando??
 para ser mais especifico checar se um programa em python esta no ar, no
 windows

 valeu...

 --
 Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
 is a gathering of tech-side developers  brand creativity professionals.
 Meet
 the minds behind Google Creative Lab, Visual Complexity, Processing, 
 iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
 Group, R/GA,  Big Spaceship. http://www.creativitycat.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




-- 
Abraços
JGeraldo
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.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


Re: [Nagios-users-br] Ajuda

2009-05-22 Thread Shine
Reiniciou o processo?

sd,
Edgar

2009/5/20 Rúbia Karla donab...@gmail.com:
 Tou achando uma coisa estranha.

 Alguns servidores que não estão em funcionamento estão aparecendo no Nagios
 e mesmo tirando-os da configuração dos hosts.cfg e hostexinfo.cfg, ele
 continuiam lá?

 Feitiçaria?
 --
 Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
 is a gathering of tech-side developers  brand creativity professionals. Meet
 the minds behind Google Creative Lab, Visual Complexity, Processing, 
 iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
 Group, R/GA,  Big Spaceship. http://www.creativitycat.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


--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.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


Re: [Nagios-users] Error While Using check_ifstatus

2009-05-22 Thread Assaf Flatto


On Thursday 21 May 2009 14:31:26 Martin Fontanez wrote:
 I am new to Nagios.  Trying to get link state info (up/down) on NIC cards
 on my box (realizing I could use check_ping but ICMP is blocked).  I am
 using el5 and mii-tools/mii-diag does not work since my kernel is 2.6 or .

 I setup check-ifstatus but I am getting this error:

 CRITICAL: Requested table is empty or does not exist for
 1.3.6.1.2.1.2.2.1.8  with snmp version 1

 Wondering if anyone knows of a workaround. 

Are you sure the device you are quering is using SNMP v1 ?
most devices come with SNMP2 or even 3 , check the setting of you snmp query 
and the snmp setting on 
the device to see what version you need to use to check..

-- 
Assaf Flatto
SSP Ops Team
Linux System Administrator
169 Euston Road, London, NW1 2AE

Along with a few colleagues I am doing The Three Peaks Challenge again 
this year to raise money for The Railway Children.
Please sponsor me by making a donation online, simply click on the link 
below and give via your switch/credit card. Thank you.
http://www.justgiving.com/londonnorththreepeaks




IMPORTANT . this email and the information in it may be confidential, legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient, please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any medium.
Please also delete all copies of this email and any attachments from your
system.

We cannot guarantee the security or confidentiality of email communications. We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service Partner UK
Limited. Should you communicate with anyone at Select Service Partner UK 
Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and Wales
(company number 05687183) whose registered office is at 1 The Heights, 
Brooklands, Weybridge. Surrey. KT13 0NY
 
 

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.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] hostgroups and service dependencies?

2009-05-22 Thread Assaf Flatto
The 53 second delay is natural - as nagios is calculating the dependencies and 
what it 
calls circular dependencies  - meaning it check that the definition is 
correct and the logic you 
defined is fine .

the delay will be there as long as you have the dependencies - as you are 
adding more complexity to 
the nagios operations and work logic - so it takes more time to prepare and 
create 
the understanding  of the logic and requirements.

creating 100 definitions of service dependencies will not reduce the 
calculation time , and will 
only make you have a more mess in the configuration , the way you set it up 
is correct , and more 
elegant to read and understand by the next guy that will need to take care of 
the system (if that 
ever happens ).

 

On Wednesday 20 May 2009 19:35:20 Frost, Mark {PBG} wrote:
 I'm just starting to get into service dependencies.  My problem is that
 I don't quite see how I can get around doing it individually for each
 and every service and host needed.

 An example is if I've got 100 Windows servers all configured to be part
 of a hostgroup.  Then I've got a


   define service {
   hostgroup_name
 prod_windows_servers
   service_description NRPE Service
   check_command   NRPE Service
   use Production
 Windows Service
   }

   define service {
   hostgroup_name
 prod_windows_servers
   service_description CPU Load
   check_command
 check_windows_load!90%!90%
   use Production
 Windows Service
   }

   define service {
   hostgroup_name
 prod_windows_servers
   service_description C: Drive
   check_command
 check_windows_disk!C:!90%!90%
   use Production
 Windows Service
   }

 where the 100 servers are all part of the 'prod_windows_servers
 hostgroup.  Here I can list the checks nice and compactly and add new
 hosts/checks merely by putting them in that hostgroup.

 I would like to make service checks on these boxes dependent on the
 NRPE Service check above.  So if the NRPE service was not responding,
 Nagios wouldn't bother sending me alerts about all the other things on
 that box it could not reach.

 The object definitions seem to say that I can do

   define servicedependency {
   hostgroup_name
 prod_windows_servers
   service_description NRPE Service
   dependent_hostgroup_name
 prod_windows_servers
   dependent_service_description   C: Drive
   execution_failure_criteria  n
   notification_failure_criteria   w,u,c
   }

 I'm assuming that this is supposed to match up each
 'prod_windows_servers' entry with its matching entry rather than making
 each server dependent on this servers from *every* other hostgroup
 member?

 Just to see, I tried this out and when I did a pre-flight check it took
 53 seconds (checking the host and service dependencies) when it normally
 runs instantly.

 I'm not sure this does what I want.  Even so, I don't know that I can
 handle the 53 second wait which I imagine would escalate for each
 service I defined in this way).  The only other route I can think of is
 to create a unique servicedepency definition for each of these.  That's
 100 x n dependency definitions, where n is the number of other services
 I'm checking on each of these boxes.

 Am I looking at this the wrong way?  Is there an easier way to do this?

 Thanks

 Mark


 ---
--- Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables
 unlimited royalty-free distribution of the report engine
 for externally facing server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 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



-- 
Assaf Flatto
SSP Ops Team
Linux System Administrator
169 Euston Road, London, NW1 2AE

Along with a few colleagues I am doing The Three Peaks Challenge again 
this year to raise money for The Railway Children.
Please sponsor me by making a donation online, simply click on the link 
below and give via your switch/credit card. Thank you.
http://www.justgiving.com/londonnorththreepeaks




IMPORTANT . this email and the information in it may 

Re: [Nagios-users] hostgroups and service dependencies?

2009-05-22 Thread Andreas Ericsson
Frost, Mark {PBG} wrote:
 I'm just starting to get into service dependencies.  My problem is that
 I don't quite see how I can get around doing it individually for each
 and every service and host needed.
 
 An example is if I've got 100 Windows servers all configured to be part
 of a hostgroup.  Then I've got a 
 
 
   define service {
   hostgroup_name
 prod_windows_servers
   service_description NRPE Service
   check_command   NRPE Service
   use Production
 Windows Service
   }
 
   define service {
   hostgroup_name
 prod_windows_servers
   service_description CPU Load
   check_command
 check_windows_load!90%!90%
   use Production
 Windows Service
   }
 
   define service {
   hostgroup_name
 prod_windows_servers
   service_description C: Drive
   check_command
 check_windows_disk!C:!90%!90%
   use Production
 Windows Service
   }
 
 where the 100 servers are all part of the 'prod_windows_servers
 hostgroup.  Here I can list the checks nice and compactly and add new
 hosts/checks merely by putting them in that hostgroup.
 
 I would like to make service checks on these boxes dependent on the
 NRPE Service check above.  So if the NRPE service was not responding,
 Nagios wouldn't bother sending me alerts about all the other things on
 that box it could not reach.
 
 The object definitions seem to say that I can do
 
   define servicedependency {
   hostgroup_name
 prod_windows_servers
   service_description NRPE Service
   dependent_hostgroup_name
 prod_windows_servers
   dependent_service_description   C: Drive
   execution_failure_criteria  n
   notification_failure_criteria   w,u,c
   }
 
 I'm assuming that this is supposed to match up each
 'prod_windows_servers' entry with its matching entry rather than making
 each server dependent on this servers from *every* other hostgroup
 member?
 

You assume wrong. This makes it depend on each hostgroup member. In order
to do same-host dependencies, you can leave out one of the hostgroup_name
or dependent_hostgroup_name. I can't remember which, so go browse the docs
to find out. Do note that same-host dependencies only work in Nagios 3.

 Just to see, I tried this out and when I did a pre-flight check it took
 53 seconds (checking the host and service dependencies) when it normally
 runs instantly.
 

Right. I'll try to apply the depth first search to host and service
dependencies too. It was originally a patch from Jean Gabès, and it
speeds up parent/child relations for hosts by a *huge* amount, so it's
probably worth adding it to dependencies too.

Even so, I'm guessing you actually added 100 (or more) times the number of
dependencies you expected to add, so it's not surprising this eats a lot
of CPU.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Register now for Nordic Meet on Nagios, June 3-4 in Stockholm
 http://nordicmeetonnagios.op5.org/

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.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] Monitoring Oracle database

2009-05-22 Thread Lei Chen
http://www.consol.de/opensource/nagios/check-oracle-health/

Hope this helps.

2009/5/21  chethan@wipro.com:
 Dear All,



 I m trying to monitor Oracle database using check_oracle plug-in.



 I need to know what all parameters (related to database) can be monitored
 through Nagios and please advice for configuring the same.





 Please help.



 Thanks  Regards,



 Chethan M N,
 Sr Engineer - EMS



 --
 Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
 is a gathering of tech-side developers  brand creativity professionals.
 Meet
 the minds behind Google Creative Lab, Visual Complexity, Processing, 
 iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
 Group, R/GA,  Big Spaceship. http://www.creativitycat.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




-- 
Thanks,
Chenlei  石头++
MSN Messenger: c...@163.com

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.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 While Using check_ifstatus

2009-05-22 Thread Martin Fontanez
Thanks Assaf,
 
It looks like I have version 2
 
[r...@localhost snmp]# snmpwalk -v3 -c public localhost
snmpwalk: No securityName specified
[r...@localhost snmp]#
 
[r...@localhost snmp]# snmpwalk -v2c -c public localhost system
SNMPv2-MIB::sysDescr.0 = STRING: Linux localhost.localdomain 2.6.11-121.1.1.el5 
#1 SMP Mon Jan 26 13:59:00 EST 2009 i686
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (15121490) 1 day, 18:00:14.90
SNMPv2-MIB::sysContact.0 = STRING: Root r...@localhost (configure 
/etc/snmp/snmp.local.conf)
SNMPv2-MIB::sysName.0 = STRING: localhost.localdomain
SNMPv2-MIB::sysLocation.0 = STRING: Unknown (edit /etc/snmp/snmpd.conf)
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (65) 0:00:00.65
SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.2 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.3 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.4 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.5 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORID.6 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.7 = OID: SNMP-MPD-MIB::snmpMPDCompliance
SNMPv2-MIB::sysORID.8 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for managing TCP 
implementations
SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing IP and ICMP 
implementations
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing UDP 
implementations
SNMPv2-MIB::sysORDescr.5 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORDescr.6 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.7 = STRING: The MIB for Message Processing and 
Dispatching.
SNMPv2-MIB::sysORDescr.8 = STRING: The management information definitions for 
the SNMP User-based Security Model.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (64) 0:00:00.64
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (64) 0:00:00.64
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (64) 0:00:00.64
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (64) 0:00:00.64
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (64) 0:00:00.64
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (65) 0:00:00.65
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (65) 0:00:00.65
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (65) 0:00:00.65
[r...@localhost snmp]#

 
I tried check_ifstatus with -v 2  option and getting same message:
 
[r...@localhost etc]# /usr/local/nagios/libexec/check_ifstatus -H localhost -v 
2 -C public -I -u E1 6/0
CRITICAL: Requested table is empty or does not exist for 1.3.6.1.2.1.2.2.1.8  
with snmp version 2

I'll guess the message that requested table is empty or does not exist for 
1.3.6.1.2.1.2.2.1.8  means that there is something that needs configuring in 
snmp (???).  I am very green with snmp.


--- On Fri, 5/22/09, Assaf Flatto assaf.fla...@ssp-intl.com wrote:


From: Assaf Flatto assaf.fla...@ssp-intl.com
Subject: Re: [Nagios-users] Error While Using check_ifstatus
To: nagios-users@lists.sourceforge.net
Date: Friday, May 22, 2009, 5:57 AM




On Thursday 21 May 2009 14:31:26 Martin Fontanez wrote:
 I am new to Nagios.  Trying to get link state info (up/down) on NIC cards
 on my box (realizing I could use check_ping but ICMP is blocked).  I am
 using el5 and mii-tools/mii-diag does not work since my kernel is 2.6 or .

 I setup check-ifstatus but I am getting this error:

 CRITICAL: Requested table is empty or does not exist for
 1.3.6.1.2.1.2.2.1.8  with snmp version 1

 Wondering if anyone knows of a workaround. 

Are you sure the device you are quering is using SNMP v1 ?
most devices come with SNMP2 or even 3 , check the setting of you snmp query 
and the snmp setting on 
the device to see what version you need to use to check..

-- 
Assaf Flatto
SSP Ops Team
Linux System Administrator
169 Euston Road, London, NW1 2AE

Along with a few colleagues I am doing The Three Peaks Challenge again 
this year to raise money for The Railway Children.
Please sponsor me by making a donation online, simply click on the link 
below and give via your switch/credit card. Thank you.
http://www.justgiving.com/londonnorththreepeaks




IMPORTANT . this email and the information in it may be confidential, legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient, please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any medium.
Please also delete all copies of this email and any attachments from your
system.

We cannot guarantee the security or confidentiality of email communications. We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery or
mis-delivery, 

Re: [Nagios-users] Disabled services

2009-05-22 Thread Jason Frisvold
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Marc Powell wrote:
 Enable active checks, set the check_command as check_dummy but set the  
 check_period to be 'none' is what I do.

Ahh.. check_period.  Didn't think of that, thanks!

 --
 Marc


- --
- ---
Jason Frisvold
Network Engineer
frisv...@lafayette.edu
- ---
What I cannot create, I do not understand
   - Richard Feynman
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkoWsNkACgkQO80o6DJ8UvlOfQCfXL2iIKP63fjtefvPFj70SMNI
Me0An0eO89F+6OqRWlsTtKv5hAkRiIsx
=VDHu
-END PGP SIGNATURE-

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.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] Different notification contacts depending on service state

2009-05-22 Thread Andreas Ericsson
Chris Picton wrote:
 Hi all
 
 I am trying to create a service which will notify one group of users if 
 the service state is 'u' and a different group of users if the state is 
 'c'
 
 Is this possible without creating duplicate service checks?
 

Yes. Check the documentation for service escalations.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Register now for Nordic Meet on Nagios, June 3-4 in Stockholm
 http://nordicmeetonnagios.op5.org/

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.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] Monitoring Oracle database

2009-05-22 Thread chethan.mnc
  

 

Dear All,

 

I m trying to monitor Oracle database using check_oracle plug-in. 

 

I need to know what all parameters (related to database) can be
monitored through Nagios and please advice for configuring the same.

 

 

Please help.

 

Thanks  Regards,

 

Chethan M N,
Sr Engineer - EMS

 

image001.gif--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.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] Using a different notification command after a certain downtime

2009-05-22 Thread Georg M. Sorst
Hi list!

I am currently integrating Skype into our monitoring to provide SMS
notifications. It's working pretty fine and if you're interested you can
check out my documentation in the Nagios wiki [1].

However, I had one tiny problem with the configuration that I would like
to sort out if possible. The problem is: When the HTTPs are down for
more than 20 minutes I want to be notified by SMS, but I still want to
use the regular mail notifications (currently set to occur after I
believe 3 Minutes). My solution to this was to duplicate the service
definitions for HTTP to provide different check intervals / max check
attempts (coming out at 10 minutes and 20 minutes respectively) and
contact groups / contacts (the contacts in the first group use mail
notifications, the contacts in the second group use SMS notifications,
but are essentially the same users as in the first group, just
duplicated). Have a look at the wiki page if this description is unclear.

So, in essence my question is if there is any way to tell Nagios to
switch to a different notification command after a certain downtime or
any other way to avoid this duplication.

Thanks and best regards,
Georg


[1] http://community.nagios.org/wiki/index.php/SkypeSmsNotification

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.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] Kelsey Smith/CFS01/CFS is out of the office.

2009-05-22 Thread kelseysmith

I will be out of the office starting  05/22/2009 and will not return until
06/04/2009.
--
 Confirmed virus-free by mymssp.net
 see www.anchortechnologies.com for more information.
--
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.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] sidebar does not display correctly

2009-05-22 Thread Haffner, David (GE, Corporate, consultant)
Hi all, 
I've been having a horrible time getting the sidebar to display
correctly.  Can anyone point me to a file or directory or something that
needs to be tweeked?
I've got it running on RHEL4.  Everything functions fine, it's just that
the sidebar displays wrong.  Here's a screenshot.
 
Thanks!
 

 
Dave Haffner
 
att75128.jpg

smime.p7s
Description: S/MIME cryptographic signature
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.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] sidebar does not display correctly

2009-05-22 Thread Kevin Keane
side.html

It looks like it actually is displaying correctly but ignoring the 
styles for some reason.

Haffner, David (GE, Corporate, consultant) wrote:
 Hi all,
 I've been having a horrible time getting the sidebar to display 
 correctly.  Can anyone point me to a file or directory or something 
 that needs to be tweeked?
 I've got it running on RHEL4.  Everything functions fine, it's 
 just that the sidebar displays wrong.  Here's a screenshot.
  
 Thanks!
  
  
 Dave Haffner
  
 

 --
 Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
 is a gathering of tech-side developers  brand creativity professionals. Meet
 the minds behind Google Creative Lab, Visual Complexity, Processing,  
 iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
 Group, R/GA,  Big Spaceship. http://www.creativitycat.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


-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.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] sidebar does not display correctly

2009-05-22 Thread Gary Every
Do the logs show any 404's when looking for main.css ?

On Fri, May 22, 2009 at 12:56 PM, Kevin Keane subscript...@kkeane.comwrote:

 side.html

 It looks like it actually is displaying correctly but ignoring the
 styles for some reason.

 Haffner, David (GE, Corporate, consultant) wrote:
  Hi all,
  I've been having a horrible time getting the sidebar to display
  correctly.  Can anyone point me to a file or directory or something
  that needs to be tweeked?
  I've got it running on RHEL4.  Everything functions fine, it's
  just that the sidebar displays wrong.  Here's a screenshot.
 
  Thanks!
 
 
  Dave Haffner
 
  
 
 
 --
  Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
  is a gathering of tech-side developers  brand creativity professionals.
 Meet
  the minds behind Google Creative Lab, Visual Complexity, Processing, 
  iPhoneDevCamp asthey present alongside digital heavyweights like
 Barbarian
  Group, R/GA,  Big Spaceship. http://www.creativitycat.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


 --
 Kevin Keane
 Owner
 The NetTech
 Find the Uncommon: Expert Solutions for a Network You Never Have to Think
 About

 Office: 866-642-7116
 http://www.4nettech.com

 This e-mail and attachments, if any, may contain confidential and/or
 proprietary information. Please be advised that the unauthorized use or
 disclosure of the information is strictly prohibited. The information herein
 is intended only for use by the intended recipient(s) named above. If you
 have received this transmission in error, please notify the sender
 immediately and permanently delete the e-mail and any copies, printouts or
 attachments thereof.



 --
 Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
 is a gathering of tech-side developers  brand creativity professionals.
 Meet
 the minds behind Google Creative Lab, Visual Complexity, Processing, 
 iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
 Group, R/GA,  Big Spaceship. http://www.creativitycat.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




-- 
Gary Every
Pay it Forward!
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.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] Cacti

2009-05-22 Thread Eduardo Barreto
Hi All,

Are there any app to integrate Cacti in Nagios? I've red about Centreon, can
it be used instead of Cacti?


Cheers

Eduardo Barreto
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.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] Fwd: sysUpTime.0: Status showing 'UNKNOWN'

2009-05-22 Thread Jimmyboy
Hi All,

Yesterday, I was unable to get the snmp-based Uptime data of a remote RSM in
the Nagios Web Interface.

Today, I have setup an L3 switch with VLAN and its IP address, and global
SNMP settings (public community only).

SNMP settings are as follows:
snmp-server community public ro
access-list 60 permit any
snmp-server host IP public
snmp-server enable traps
snmp-server enable traps snmp
snmp-server enable traps syslog

   - This switch is in the same subnet as the Nagios machine.
   - The access-list is set with permit 'any'.

 Still, I am unable to get the sysUpTime information in nagios web
interface. However, on doing an snmpwalk as under succeeds.

snmpwalk -v1 -ccommunity address sysUptime
DISMAN-EVENT-MIB::sysUpTimeInstance
= Timeticks: (496887) 1:22:48.87

So, I feel there is something I have missed out on?

Any idea what that might be?


Thanks,
Jim

=-=-=-=

-- Forwarded message -- From: Jimmyboy 
jimmyjose2...@gmail.com
Date: Fri, May 22, 2009 at 3:40 AM
Subject: Re: [Nagios-users] sysUpTime.0: Status showing 'UNKNOWN'
To: frisv...@lafayette.edu, Sean Carolan scaro...@gmail.com




I installed SNMP service on a Windows machine and set the NAGIOS
configuration files to monitor it for 'sysUptime'. It returns me a
successful reply on doing an *snmpwalk*.

 snmpwalk -v1 -ccommunity address sysUptime
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (10375118) 1 day,
4:49:11.18

However, the Nagios web interface shows its status as UNKNOWN. The 'Status
Information' against it says this:
Usage:check_snmp -H ip_address -o OID [-w warn_range] [-c crit_range]

But, this fails.

At this point, we can say that Nagios is doing its job through SNMP.
So, as you pointed out, may be there are ACLs applied on the RSM, which I
need to check out.


Thanks,
Jim

=-=-=





On Fri, May 22, 2009 at 2:25 AM, Sean Carolan scaro...@gmail.com wrote:

 On Thu, May 21, 2009 at 3:45 PM, Jimmyboy jimmyjose2...@gmail.com wrote:
  Thanks for the reply.
 
  snmpwalk -v1 -c d!0nts#0w ipaddress errors out saying bash: !0: event
 not
  found
  snmpwalk -v1 -c public ipaddress errors out saying Timeout: No Response
  from IP
 
  Is there anything I need to do on the RSM other than setting the
 snmp-server
  communities?


 Yes, you can choose a less weird snmp community name.  You have a ! 
 character
 in it which your bash shell is choking on.  Pick something
 simple with only numbers and letters and you should get better
 results.  If you're worried about security you can do the following:

 1.  Don't expose the switch to the Internet. If its on your internal
 LAN and you aren't forwarding any ports to it from the 'net, you
 should be fine.
 2.  If the device will allow it you can restrict it to only allow snmp
 queries from certain IPs.

 hope this helps

 Sean


--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.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 While Using check_ifstatus

2009-05-22 Thread Lei Chen
2009/5/22 Martin Fontanez jdmfo...@yahoo.com:
 Thanks Assaf,

 It looks like I have version 2

 [r...@localhost snmp]# snmpwalk -v3 -c public localhost
 snmpwalk: No securityName specified
 [r...@localhost snmp]#

 [r...@localhost snmp]# snmpwalk -v2c -c public localhost system
 SNMPv2-MIB::sysDescr.0 = STRING: Linux localhost.localdomain
 2.6.11-121.1.1.el5 #1 SMP Mon Jan 26 13:59:00 EST 2009 i686
 SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (15121490) 1 day,
 18:00:14.90
 SNMPv2-MIB::sysContact.0 = STRING: Root r...@localhost (configure
 /etc/snmp/snmp.local.conf)
 SNMPv2-MIB::sysName.0 = STRING: localhost.localdomain
 SNMPv2-MIB::sysLocation.0 = STRING: Unknown (edit /etc/snmp/snmpd.conf)
 SNMPv2-MIB::sysORLastChange.0 = Timeticks: (65) 0:00:00.65
 SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB
 SNMPv2-MIB::sysORID.2 = OID: TCP-MIB::tcpMIB
 SNMPv2-MIB::sysORID.3 = OID: IP-MIB::ip
 SNMPv2-MIB::sysORID.4 = OID: UDP-MIB::udpMIB
 SNMPv2-MIB::sysORID.5 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
 SNMPv2-MIB::sysORID.6 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
 SNMPv2-MIB::sysORID.7 = OID: SNMP-MPD-MIB::snmpMPDCompliance
 SNMPv2-MIB::sysORID.8 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
 SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module for SNMPv2 entities
 SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for managing TCP
 implementations
 SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing IP and ICMP
 implementations
 SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing UDP
 implementations
 SNMPv2-MIB::sysORDescr.5 = STRING: View-based Access Control Model for SNMP.
 SNMPv2-MIB::sysORDescr.6 = STRING: The SNMP Management Architecture MIB.
 SNMPv2-MIB::sysORDescr.7 = STRING: The MIB for Message Processing and
 Dispatching.
 SNMPv2-MIB::sysORDescr.8 = STRING: The management information definitions
 for the SNMP User-based Security Model.
 SNMPv2-MIB::sysORUpTime.1 = Timeticks: (64) 0:00:00.64
 SNMPv2-MIB::sysORUpTime.2 = Timeticks: (64) 0:00:00.64
 SNMPv2-MIB::sysORUpTime.3 = Timeticks: (64) 0:00:00.64
 SNMPv2-MIB::sysORUpTime.4 = Timeticks: (64) 0:00:00.64
 SNMPv2-MIB::sysORUpTime.5 = Timeticks: (64) 0:00:00.64
 SNMPv2-MIB::sysORUpTime.6 = Timeticks: (65) 0:00:00.65
 SNMPv2-MIB::sysORUpTime.7 = Timeticks: (65) 0:00:00.65
 SNMPv2-MIB::sysORUpTime.8 = Timeticks: (65) 0:00:00.65
 [r...@localhost snmp]#

 I tried check_ifstatus with -v 2  option and getting same message:

 [r...@localhost etc]# /usr/local/nagios/libexec/check_ifstatus -H localhost
 -v 2 -C public -I -u E1 6/0
 CRITICAL: Requested table is empty or does not exist for
 1.3.6.1.2.1.2.2.1.8  with snmp version 2
 I'll guess the message that requested table is empty or does not exist for
 1.3.6.1.2.1.2.2.1.8  means that there is something that needs configuring
 in snmp (???).  I am very green with snmp.

Try this to verify the test the  IF-MIB::IfOperStatus OID.
snmpwalk -v 2c -c public 127.0.0.1 1.3.6.1.2.1.2.2.1.8
 --- On Fri, 5/22/09, Assaf Flatto assaf.fla...@ssp-intl.com wrote:

 From: Assaf Flatto assaf.fla...@ssp-intl.com
 Subject: Re: [Nagios-users] Error While Using check_ifstatus
 To: nagios-users@lists.sourceforge.net
 Date: Friday, May 22, 2009, 5:57 AM



 On Thursday 21 May 2009 14:31:26 Martin Fontanez wrote:
 I am new to Nagios.  Trying to get link state info (up/down) on NIC cards
 on my box (realizing I could use check_ping but ICMP is blocked).  I am
 using el5 and mii-tools/mii-diag does not work since my kernel is 2.6 or
 .

 I setup check-ifstatus but I am getting this error:

 CRITICAL: Requested table is empty or does not exist for
 1.3.6.1.2.1.2.2.1.8  with snmp version 1

 Wondering if anyone knows of a workaround.

 Are you sure the device you are quering is using SNMP v1 ?
 most devices come with SNMP2 or even 3 , check the setting of you snmp query
 and the snmp setting on
 the device to see what version you need to use to check..

 --
 Assaf Flatto
 SSP Ops Team
 Linux System Administrator
 169 Euston Road, London, NW1 2AE

 Along with a few colleagues I am doing The Three Peaks Challenge again
 this year to raise money for The Railway Children.
 Please sponsor me by making a donation online, simply click on the link
 below and give via your switch/credit card. Thank you.
 http://www.justgiving.com/londonnorththreepeaks




 IMPORTANT . this email and the information in it may be confidential,
 legally
 privileged and/or protected by law. It is intended solely for the use of the
 person to whom it is addressed. If you are not the intended recipient,
 please
 notify the sender immediately and do not disclose the contents to any other
 person, use it for any purpose, or store or copy the information in any
 medium.
 Please also delete all copies of this email and any attachments from your
 system.

 We cannot guarantee the security or confidentiality of email communications.
 We
 do not accept any liability