[Nagios-users-br] RES: Assunto OREON

2007-02-13 Thread Roberto Lima Alves de Oliveira
Caros,

Me desculpem se a pergunta for meio ignorante hehe.

Qual é a real função do OREON, pois até hoje nao consegui faze-lo funcionar em 
meus servidores Linux e BSD.

Existe algum site com DEMO para que eu possa visualiza-lo?

Atenciosamente,

Roberto Lima.


-Mensagem original-
De: [EMAIL PROTECTED] em nome de Gustavo Fontinha
Enviada: seg 12/02/2007 21:27
Para: nagios-users-br@lists.sourceforge.net
Assunto: [Nagios-users-br] Assunto  OREON
 
Pessoal,

O que acontece é que por padrão o diretório do seu nagios não está apontando
para o mesmo diretório do oreon, o que é errado, ambos devem apontar para o
mesmo local. Para resolver vc tem duas opções:

1 - Alterar os arquivos de configuração
2 - Criar links simbólicos.

Estou usando o oreon com muito sucesso em minha empresa, facilitou muito o
trabalho. Tendo dúvidas fiquem a vontade para me perguntar.

Abraços,

Gustavo FOntinha Dias
Gerente de Operações
nTime Mobile Solutions
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642-- 
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] Could not register hostgroup

2007-02-13 Thread Rejaine Monteiro
O erro é Error: Hostgroup 'netapp_filers' has already been defined

Entao, sera que o hostgroup netapp_filers nao foi definido novamente em algum 
outro arquivo de configuracao? Vc tera que verificar em todos os arquivos .cfg 
se pode haver alguma outra entrada para esse grupo. 


Andre Luis escreveu:
 On 2/2/07, Andre Luis wrote:
   
 Pessoal,

 Estou tentando iniciar o nagios, mas estou recebendo a mensagem de erro
 abaixo:


 --
 servidorA# ./nagios -v /usr/local/nagios/etc/nagios.cfg
 Nagios 2.5
 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
 Last Modified: 07-13-2006
 License: GPL
 Reading configuration data...
 Error: Hostgroup 'netapp_filers' has already been defined
 Error: Could not register hostgroup (config file
 '/usr/local/nagios/etc/servers/hostgroups.cfg', starting on line 16)

 Alguém sabe como posso resolver este problema??
 Desde já agradeço pela ajuda.
 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki


[Nagios-users] Problems with sqlplus (Oracle)

2007-02-13 Thread magic_rooter
Hello. I have just installed sqlplus in order to write my own perl
plugin to check oracle db.
But I have the following errorw while connecting and I don't know what to do:(

[EMAIL PROTECTED] libexec]# sqlplus user/pass@//server/test_db
SQL*Plus: Release 10.1.0.5.0 - Production on Tue Feb 13 11:21:58 2007

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified


Enter user-name:
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
__
I made strace of sqlplus and saw that I have no tnsnames.ora and
sqlplus.ora files. I have made it and put to /root/.sqlplus.ora and
/etc/tnsnames.ora
Here are these files:
tnsnames.ora
TEST =
  (DESCRIPTION = (ADDRESS_LIST =
  (ADDRESS = (PROTOCOL = TCP)(HOST = server)(PORT = 1521))
)
(CONNECT_DATA =
  (SID=TEST)
)
  )

sqlnet.ora
names.directory_path= (tnsnames)
sqlnet.expire_time = 30

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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] Problems with sqlplus (Oracle)

2007-02-13 Thread Carsten Koop
Hi,

I'm using SQL Plus 10.2 - my tnsnames.ora looks like this:

test.oracle =
  (DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST =  insert ip here)(PORT = 1521))
(CONNECT_DATA =
  (SERVER = DEDICATED)
  (SERVICE_NAME = insert instancename/SID here)
)
   )

save the file and try: sqlplus user/[EMAIL PROTECTED] - should work - even 
under 10.1
I'm working with Oracle 9 and 10.


Mit freundlichen Grüßen / best regards

  Carsten Koop




 magic_rooter [EMAIL PROTECTED] 
Gesendet von: [EMAIL PROTECTED]
13.02.2007 09:29

An
nagios-users@lists.sourceforge.net
Kopie

Thema
[Nagios-users] Problems with sqlplus (Oracle) 






Hello. I have just installed sqlplus in order to write my own perl
plugin to check oracle db.
But I have the following errorw while connecting and I don't know what to 
do:(

[EMAIL PROTECTED] libexec]# sqlplus user/pass@//server/test_db
SQL*Plus: Release 10.1.0.5.0 - Production on Tue Feb 13 11:21:58 2007

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified


Enter user-name:
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
__
I made strace of sqlplus and saw that I have no tnsnames.ora and
sqlplus.ora files. I have made it and put to /root/.sqlplus.ora and
/etc/tnsnames.ora
Here are these files:
tnsnames.ora
TEST =
  (DESCRIPTION = (ADDRESS_LIST =
  (ADDRESS = (PROTOCOL = TCP)(HOST = server)(PORT = 1521))
)
(CONNECT_DATA =
  (SID=TEST)
)
  )

sqlnet.ora
names.directory_path= (tnsnames)
sqlnet.expire_time = 30

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job 
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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] cpu usage / memory usage

2007-02-13 Thread Niels Hamaker
Hi raghavendra,

the check_mem plugin is a simple and effective plugin to check memory. You 
can find it on nagiosexchange.org.
We generally don't check CPU usage, just load, but it depends on your 
setup, the applications your running, which of the two is the most 
informative. It would be useful to look into that.

Niels


--On February 13, 2007 1:17:04 PM +0530 raghavendra kristam 
[EMAIL PROTECTED] wrote:


 Hi Hugo,

 Thanks for the reply.

 I need to handle both CPU usage and Memory usage.

 i) I think check_load plugin supports cpu usage which provides the load
 information using with: uptime command. If we need cpu usage with vmstat
 command which plugin do I need to use.


 ii) How to handle memory usage, which plugin do I need to use.

 Correct me if am wrong with this understanding.


 Thanks,
 Raghavendra.



 Can some one provide directions how to handle cpu usage / memory
 usage.
 I am using check_disk plugin for disk usage.

 Assuming you're talking about a unix variant, check_load is included in
 the standard plugins and can be used to infer cpu usage. There are also
 quite a few cpu and memory specific plugins available at
 http://www.nagiosexchange.org .

 Correct me if I am wrong but the load on a unix system is not quite
 nescessary related to the CPU usage.

 You can get the load info for example with: uptime
  19:24:23 up 165 days,  1:09,  3 users,  load average: 0.02, 0.02, 0.00

 And your CPU usage with: vmstat
 procs ---memory-- ---swap-- -io --system--
 cpu
  r  b   swpd   free   buff  cache   si   sobibo   incs us sy
 id wa
  0  0   1072  67176 184720 79293600 076 1138   110  0  0
 100  0

 While there usually is a relation between the two of them they are two
 different things.

 The question is which of these two do you (raghavendra kristam) want?

 There is a check_load plugin that does the load thing. For most alerting
 purposes that is quite enough. As th load tends to go up if you are low on
 memory.

 Hugo.



Met vriendelijke groet,

Niels Hamaker
Support desk

ICS B.V.
Stadhouderslaan 57
3583 JD UTRECHT
The Netherlands
T: +31 30 6355730
F: +31 30 6355731

http://www.ic-s.nl/

ICS biedt Service  Support, Development en Consultancy op uiteenlopende 
internet-gerelateerde platformen, met een voorliefde voor Open Source.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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] cpu usage / memory usage

2007-02-13 Thread Tobias Klausmann
Hi! 

On Tue, 13 Feb 2007, Niels Hamaker wrote:
 the check_mem plugin is a simple and effective plugin to check memory. You 
 can find it on nagiosexchange.org.
 We generally don't check CPU usage, just load, but it depends on your 
 setup, the applications your running, which of the two is the most 
 informative. It would be useful to look into that.

The check_me.pl script that comes with Nagios 2.x (contrib/) is
broken, it uses the wrong columns of vmstat output to determine
free and used memory. Actually, what exactly constitutes free (or
usable?) memory probably is debatable.

Regards,
Tobias


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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] Followup: ndoutils not logging to MySQL

2007-02-13 Thread Marek Narkiewicz
Hi there. Following on form my email yesterday, I discovered that
while the socket /var/nagios/ndo.sock existed (AS specified in
ndo2db.cfg and ndomod.cfg) the process had stopped running. I removed
the socket and restarted the process and then was able to import the
archived nagios log files to MySQL using log2ndo and specifying the
socket in the commandline. (this only imported entries into tables:
nagios_conninfo, nagios_instances and   nagios_logentries)

nagios.log however maintains that it cannot connect to the daemon:

 [1171362753] ndomod: Still unable to connect to data sink.  1463360
items lost, 5000 queued items to flush.

repeated over and over again with the items lost part incremented.

netstat -p does not list ndo2db even though I can seemingly access it
with log2ndo.

Any suggestions gratefuly received.

Marek

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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] packet loss -25% with check_ping

2007-02-13 Thread Marco Borsani
Hi all !

 

This is the situation:

- Nagios version 1.4

- Nagios plug-in verision 1.3.1

 

Performing a check_ping on a Linux RedHat Enterprise 4.0, sometime the
answer is:

 

PING UNKNOWN - Packet loss = -25%, RTA = 14.00 ms

 

Normally that server (like the others) answer correctly.

 

Have you got any idea?

 

Regards

Marco

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
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-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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] Followup: ndoutils not logging to MySQL

2007-02-13 Thread Marek Narkiewicz
As an additional point, I get the same message when i attempt to use
tcp socket connections too. Is there some way I can debug the ndomod
broker in more detail to see exactly where it is failing?

On 2/13/07, Marek Narkiewicz [EMAIL PROTECTED] wrote:
 Hi there. Following on form my email yesterday, I discovered that
 while the socket /var/nagios/ndo.sock existed (AS specified in
 ndo2db.cfg and ndomod.cfg) the process had stopped running. I removed
 the socket and restarted the process and then was able to import the
 archived nagios log files to MySQL using log2ndo and specifying the
 socket in the commandline. (this only imported entries into tables:
 nagios_conninfo, nagios_instances and   nagios_logentries)

 nagios.log however maintains that it cannot connect to the daemon:

  [1171362753] ndomod: Still unable to connect to data sink.  1463360
 items lost, 5000 queued items to flush.

 repeated over and over again with the items lost part incremented.

 netstat -p does not list ndo2db even though I can seemingly access it
 with log2ndo.

 Any suggestions gratefuly received.

 Marek


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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] Fwd: Re: Net-SNMP and SNMPTT

2007-02-13 Thread Kevin DaSilva


 Kevin DaSilva 2/13/2007 9:21 AM 
Thank You Patrick for your help! After installing the Config::IniFiles
and the rest of the prerequisites... I am now able to receive traps!

Quick question... when I set the debugging on, I show all of my traps
as Unknown Traps. I was under the assumption that a I should see
something in the spool directory and/or a snmptt.log file. Right?

Attached are copies of my debug file and snmpt.ini for reference.

Any help would be greatly appreciated! (again!)


 Patrick Morris [EMAIL PROTECTED] 2/9/2007 4:33 PM 
On Fri, 09 Feb 2007, Kevin DaSilva wrote:

 Where do the 2 files get placed?
 
 
 
  Patrick Morris [EMAIL PROTECTED] 2/9/2007 3:43 PM 
 On Fri, 09 Feb 2007, Kevin DaSilva wrote:
 
  I set to the debug to 2 and no logging... When I try to run the
handler manually this is what I get...
  
  nagios1:/sbin # snmptt
  Can't locate Config/IniFiles.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.3/i586-linux-thread-multi /usr/lib/perl5/5.8.3
/usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl .) at
/usr/sbin/snmptt line 3515.
  
  
  Must have to do something with Perl 
 
 Yep. You need the Config::IniFiles module installed.  Check the
 Requirements section of the docs for the other prerequisites you
need.

It depends how you're installing it -- there are a few ways you could
do
it.  You could either just install a package if your OS ditribution
has
one available, you could install it through CPAN (perl -MCPAN -e
shell,
followed by install Config::IniFiles) , or you could grab the
source package and do perl Makefile.PL; make; make install.

Just dropping the two files you have into one of the directories
mentioned in your error message (I'm not sure which two you're
referring to) may or may not work, but I wouldn't recommend it.


snmptt_debug.log
Description: Binary data


snmptt.ini
Description: Binary data
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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] check_smtp socket timeout problem

2007-02-13 Thread Lane, Jim
Hi, All 

I'm not sure this is a Nagios problem strictly speaking but hopefully
people here may be able to shed some light on it. 

I have a set of 4 Solaris 10 boxes one of which is the Nagios server,
Nagios 2.6 to be exact. The other 3 boxes are monitored by it.

One thing I'm checking is SMTP with the plug-in check_smtp. As far as I
know all 3 monitored boxes have the same configuration aside from host
names and IP addresses. Sendmail is set up and working on all 3 boxes. I
know this because I'm receiving messages from them on my laptop. The
problem is that for 1 of the 3 the check_smtp plug-in times out. When I
try it from the command prompt I get messages as follows: 

[EMAIL PROTECTED] /usr/local/nagios/libexec $ ./check_smtp -H
10.3.245.196 -v
220 cbaobus-cbbipl1 ESMTP Sendmail 8.13.6+Sun/8.13.6; Tue, 13 Feb 2007
09:55:31 -0500 (EST)
CRITICAL - Socket timeout after 10 seconds

When I check on the failing server I see syslog messages such as:

Feb 13 09:55:41 cbaobus-cbbipl1 sendmail[28731]: [ID 801593 mail.info]
l1DEtVQd028731: cbaobus-cbbwls2 [10.3.245.204] did not issue
MAIL/EXPN/VRFY/ETRN during connection to MTA-v4

every 5 minutes corresponding to Nagios running the check_smtp plug-in. 

Does anybody know what this message is trying to tell me? 

Regards,
Jim Lane 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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] Net-SNMP and SNMPTT

2007-02-13 Thread Morris, Patrick
 Thank You Patrick for your help! After installing the 
 Config::IniFiles and the rest of the prerequisites... I am 
 now able to receive traps!
 
 Quick question... when I set the debugging on, I show all of 
 my traps as Unknown Traps. I was under the assumption that 
 a I should see something in the spool directory and/or a 
 snmptt.log file. Right?

Normally that would mean that the unknown traps you're receiving aren't
included in your snmptt config files.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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] packet loss -25% with check_ping

2007-02-13 Thread Morris, Patrick
 This is the situation:
 - Nagios version 1.4
 - Nagios plug-in verision 1.3.1
 
 Performing a check_ping on a Linux RedHat Enterprise 4.0, 
 sometime the answer is:
 
 PING UNKNOWN - Packet loss = -25%, RTA = 14.00 ms
 
 Normally that server (like the others) answer correctly.
 
 Have you got any idea?

You have some packet loss on your network.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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] Net-SNMP and SNMPTT

2007-02-13 Thread Kevin DaSilva
By any chance, is there a way to confirm that some of the traps are
being processed??


 Morris, Patrick [EMAIL PROTECTED] 2/13/2007 11:48 AM 
 Thank You Patrick for your help! After installing the 
 Config::IniFiles and the rest of the prerequisites... I am 
 now able to receive traps!
 
 Quick question... when I set the debugging on, I show all of 
 my traps as Unknown Traps. I was under the assumption that 
 a I should see something in the spool directory and/or a 
 snmptt.log file. Right?

Normally that would mean that the unknown traps you're receiving
aren't
included in your snmptt config files.

-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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] Followup: ndoutils not logging to MySQL

2007-02-13 Thread Marek Narkiewicz
Thank you Sjaak and Natalia for the suggestions.

I have implemented all of those except downgrading to the previous
ndoutils package (I will try that later this evening) and still get
the following output in my nagios.log on startup:

[1171382416] Nagios 2.7 starting... (PID=14030)
[1171382416] LOG VERSION: 2.0
[1171382416] ndomod: NDOMOD 1.4b2 (01-19-2007) Copyright (c) 2005-2007
Ethan Galstad ([EMAIL PROTECTED])
[1171382416] ndomod: Could not open data sink!  I'll keep trying, but
some output may get lost...
[1171382416] Event broker module '/usr/lib/nagios/ndomod.o'
initialized successfully.
[1171382416] Finished daemonizing... (New PID=14031)

This is the same whether I use tcp socket or unix domain socket, and
log2ndo works with the same settings I have in ndomod.cfg. All files
in the installation are chown nagios.nagios and the database details
in ndo2db.cfg clearly are correct since log2ndo works.

Anyone with any more suggestions? Thanks again for those already given.
Marek

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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] packet loss -25% with check_ping

2007-02-13 Thread Morris, Patrick
Ah -- good point.

This has come up on the list before. I believe some versions of the
check_ping plugin had a pug that would send an extra ping.  I believe
it's been fixed in the latest plugin release. 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Ben O'Hara
 Sent: Tuesday, February 13, 2007 9:09 AM
 To: Morris, Patrick
 Cc: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] packet loss -25% with check_ping
 
 On 2/13/07, Morris, Patrick [EMAIL PROTECTED] wrote:
 
This is the situation:
- Nagios version 1.4
- Nagios plug-in verision 1.3.1
   
Performing a check_ping on a Linux RedHat Enterprise 4.0,
sometime the answer is:
   
PING UNKNOWN - Packet loss = -25%, RTA = 14.00 ms
   
Normally that server (like the others) answer correctly.
   
Have you got any idea?
   
   You have some packet loss on your network.
 
 
 
 Or is that packet generation ;-)  notice its -25% loss 
 
 Ben 
 
 
 
   
 --
 --- 
   Using Tomcat but need to do more? Need to support web 
 services, security?
   Get stuff done quickly with pre-integrated technology 
 to make your job easier.
   Download IBM WebSphere Application Server v.1.0.1 based 
 on Apache Geronimo 
   
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057;
 dat=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
   
 
 
 
 
 --
 A Scientist will earn a living by taking a really difficult 
 problem and spends many years solving it, an engineer earns a 
 living by finding really difficult problems and side stepping them 
 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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_smtp socket timeout problem

2007-02-13 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Lane, Jim
 Sent: Tuesday, February 13, 2007 9:04 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] check_smtp socket timeout problem
 
 Hi, All
 

[chop]

 know this because I'm receiving messages from them on my laptop. The
 problem is that for 1 of the 3 the check_smtp plug-in times out. When
I
 try it from the command prompt I get messages as follows:
 
 [EMAIL PROTECTED] /usr/local/nagios/libexec $ ./check_smtp -H
 10.3.245.196 -v
 220 cbaobus-cbbipl1 ESMTP Sendmail 8.13.6+Sun/8.13.6; Tue, 13 Feb 2007
 09:55:31 -0500 (EST)
 CRITICAL - Socket timeout after 10 seconds

It's always best to run these kinds of tests as the nagios user. You may
see different behavior. When this is occurring, can you manually telnet
to the mail server, see the banner and issue a quit command that
terminates in under 10 seconds? I'm thinking that you have greet_pause
enabled or something else that's causing your connection to take longer
than 10 seconds from start to finish. Example --

 telnet 10.3.245.196 25
   220 cbaobus-cbbipl1 ESMTP Sendmail 8.13.6+Sun/8.13.6; Tue, 13 Feb
2007 09:55:31 -0500 (EST)
   quit


Should take less than 10 seconds.

 When I check on the failing server I see syslog messages such as:
 
 Feb 13 09:55:41 cbaobus-cbbipl1 sendmail[28731]: [ID 801593 mail.info]
 l1DEtVQd028731: cbaobus-cbbwls2 [10.3.245.204] did not issue
 MAIL/EXPN/VRFY/ETRN during connection to MTA-v4
 
 every 5 minutes corresponding to Nagios running the check_smtp
plug-in.
 
 Does anybody know what this message is trying to tell me?

It's telling you that 10.3.245.204 made a connection to the mail server
but didn't issue any mail sending commands. This is expected as the
check_smtp plugin as you've specified it only connects to the port looks
for the banner then quits. You can use the -C and -R options to chat
further with the mail server if you like.

--
Marc

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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] check_disks and NagiosGrapher

2007-02-13 Thread Lars Stavholm
Hi List!
Does anyone know of a way to use the standard check_disk
plugin (without specifying any partition, thus checking
all filesystems with one service entry) together with
NagiosGrapher in order to produce individual graphs of
all avaiilable filesystems without specifying each of
the filesystems in the *.ncfg configuration file?
/L

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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] check_iftraffic and NagiosGrapher

2007-02-13 Thread Lars Stavholm
Hi All,
I tried the check_iftraffic.pl and check_iftraffic.ncfg combo
for NagiosGrapher, but it does not work as advertised on my
SuSE Linux 10.2 platform with latest nagios and NagiosGrapher.
Has anyone got it working?
/L

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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_iftraffic and NagiosGrapher

2007-02-13 Thread Lars Stavholm
Lars Stavholm wrote:
 Hi All,
 I tried the check_iftraffic.pl and check_iftraffic.ncfg combo
 for NagiosGrapher, but it does not work as advertised on my
 SuSE Linux 10.2 platform with latest nagios and NagiosGrapher.
 Has anyone got it working?

Answering myself: yes, I did.
Sorry 'bout this post.
If anyone's in doubt, it all works as advertised at
http://www.nagiosexchange.org/Summary.85.0.html?tx_drwiki_pi1[keyword]=check_iftraffic.

Apologies
/Lars

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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] Request new functionality: Off Hours state.

2007-02-13 Thread Larry P. Schrof
Hello,

I work for a trading firm, and upper management has begun to have a
solid appreciation for Nagios and what it can do. However, we have a few
requirements in a monitoring solution that I would love to see
added to Nagios, as I think they would be useful to the community at large.
I'll put forth one idea per email.

Request for new functionality:
--

Right now, for the sake of discussion, let's assume a service is
checked from 8:00am to 4:00pm every five minutes. Assume, at 3:57pm
that a service is in the critical state.

The problem our company has is this: The Nagios CGI's will continue to
report the service in a critical state from 3:57pm THROUGH the off
hours until the next morning. This pollutes the displays with a red
critical entry that we don't want to see. Manually submitting (or
scripting) a passive check just after 4pm to set the service back to
an 'Ok' is unacceptable, as our folks want to know, at a quick glance,
what should be currently monitored and what shouldn't be.

What we need / would like is a per-service and per-host configuration
option that allows a host or service to enter an Off hours state in
the CGI displays. (Or perhaps there should also be a global option for this?)

It would be nice if performance data would not be gathered during this
state. (Perhaps that's the way it works now - haven't checked.)

I am even envisioning a new color for the service / host entries in
the CGI's - perhaps blue. This color would readily allow folks to identify
entries that are in off hours, as opposed to processes that are
being monitored and in an 'ok' state.

I do realize that many folks do want to know / see the last state of
their services before the time_period expired, but in our case, it is
important that we explicitly have the last known state wiped from the
CGI's once the time_period has expired. Our service response team
doesn't want to have 40+ red, yellow, or orange entries showing up for
hosts that aren't even currently in their active time_period.

Maybe it would just take a host / service config entry such as
'display_off_hours_state' ?

Can folks who are intimately familiar with the source code let me know
how feasible this potentially is?

Thanks.
- Larry

P.S. Am unable to subscribe to the list, please explicitly include my
address on all replies. Will keep trying to subscribe throughout the day.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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