[Nagios-users-br] Cacti e check_rrd

2008-09-11 Thread André Moura
pessoal,

É possível utilizar o cacti pra checar todo o hardware e perfromance
da uma máquina; e com o check_rrd pelo nagios, verificar se tem algum
problema e alarmar no Nagios?



-- 
André O Moura
http://andrem.wordpress.com

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
-- 
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] Cacti e check_rrd

2008-09-11 Thread Shine
Sim. O Cacti armazena os dados dos gráficos em RRD.
O que precisa prestar atenção é qto ao formato dos dados no RRD para q seja
lido corretamente pelo check_rrd.
sd,
Edgar
2008/9/11 André Moura [EMAIL PROTECTED]

 pessoal,

 É possível utilizar o cacti pra checar todo o hardware e perfromance
 da uma máquina; e com o check_rrd pelo nagios, verificar se tem algum
 problema e alarmar no Nagios?



 --
 André O Moura
 http://andrem.wordpress.com

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
-- 
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] service group

2008-09-11 Thread Pardeep Sharma
Hi all How can configure service group, i tried but did not success
__
 
 DISCLAIMER
 
This message(including any attachments) contains confidential information 
intended for a
specific individual and purpose,and is protected by law. If you have received 
it by mistake
please notify the sender by return e-mail and delete this message from your 
system. Any
unauthorised use or dissemination of this message in whole or in part is 
strictly prohibited.
Please note that e-mails are susceptible to change. Eon Infotech Limited shall 
not be liable 
for the improper or incomplete transmission.
__

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios 3 structure

2008-09-11 Thread Paul Weaver
I would suggest putting your nagios configuration into subversion. Initially 
you can see who makes changes, and roll back any you don't like. You could then 
move to adding hooks in to check the config before hand.

Perl scripts are all you need for batch updates (like adding n number of hosts 
to a new service group, which I started doing a couple of days ago)

Our (nagios 2) layout is a little like this:

./etc/nagios.cfg
 inherits commands.cfg (all commands)
 inherits time.cfg (all time periods)
 inherits template.cfg (default template -- hourly notification, 24/7 checks, 4 
minute checks, 30 second retrys)
 inheirts directories
  contacts
  system-infrastructure (routers, dns, etc)
  system-system1
  system-system2
  system-system3

Each of those has their own templates, which overrides things like contact 
details, and sub directories based on the system (so system-foo contains 
components midtier, database, media, etc)

Each directory eventually has a single file (usually hostname.cfg) for each 
host, containing host definition and services. 

E.g.
./system-live/template_live.cfg
./system-live/quantel/template_live_quantel.cfg
./system-live/quantel/bidir1.cfg
./system-live/quantel/clipcache06.cfg
./system-live/quantel/clipcache01.cfg
./system-live/midtier/template_live_midtier.cfg
./system-live/midtier/newsjtcapp02.cfg
./system-live/midtier/newsjtcapp23.cfg
./system-live/midtier/newsjtcapp11.cfg
./system-live/other/template_live_other.cfg
./system-live/other/newsjtcmpp26.cfg
./system-live/other/newsjtcvtr01.cfg
./system-live/other/newsjtcmpp16.cfg
./system-live/other/newsjtccodec04.cfg


--
Paul Weaver 
Systems Development Engineer



 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Ronaldo A. Bueno Filho
 Sent: 11 September 2008 05:11
 To: Taylor Dondich
 Cc: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Nagios 3 structure
 
 
 
 Good! I will take a look.
 Is this like NagiosQL?
 
 In the future, I will install centreon 2. I think it will not 
 be a problem, but just to confirm: is there any problem if I 
 use centreon 2 if in the past I have used Lilac?
 
 Thanks
 
 --
 Ronaldo A. Bueno Filho
 
 
 - Mensagem Original 
 De: Taylor Dondich [EMAIL PROTECTED]
 Para: Ronaldo A. Bueno Filho [EMAIL PROTECTED]
 Cópia: nagios-users@lists.sourceforge.net
 Assunto: Re: [Nagios-users] Nagios 3 structure
 Data: 10/09/08 12:33
 
  
  You could take a look at Lilac, a configuration tool I wrote.  This 
  way you do not have to deal with the layout of the file 
 structure, but 
  instead work inside an easy to use GUI.  Lilac supports 
 Nagios 3 and 
  full dependencies, escalations, etc.  www.lilacplatform.com is the 
  project page.
  
  Otherwise, you can structure the files in any way you want.  Don't 
  feel like you need to maintain the structure.  You can ALWAYS move 
  them around at a later time, because the cfg_dir directive in the 
  Nagios main configuration file is recursive in nature, so 
 changing it 
  later on will not disrupt it.
  
  Taylor
  
  On Wed, Sep 10, 2008 at 1:18 AM, Ronaldo A. Bueno Filho 
  lt;[EMAIL PROTECTED]gt; wrote: gt;
  gt;
  gt; Hi people!
  gt;
  gt; The reason I am sending this e-mail is that I am not 
 sure how I can
 organize
  gt; the Nagios 3 structure.
  gt; I just made a tree layout (shown below) showing how I thought 
  about
 the
  gt; organization (folders and files).
  gt; The environment consists in several customers, my own 
 network and
 some other
  gt; services that I can use someday, like to monitor web 
 pages, etc. 
  gt; I must organize the files in order facilitate the management, 
  because
 I will
  gt; update, change, delete and insert new services, customers,
 configurations
  gt; and stuff.
  gt;
  gt; I also have some questions regarding host dependency, service
 dependency,
  gt; host escalation and service escalation. These 
 questions are after 
  the
 tree
  gt; layout.
  gt;
  gt; objects (main folder)
  gt; |
  gt; |
  gt; |--hosts (folder)
  gt; |  |--host_groups (folder)
  gt; |  |  |--hostgroup1.cfg
  gt; |  |  |--hostgroup2.cfg
  gt; |  |  |--hostgroupn.cfg
  gt; |  |
  gt; |  |--own_corp (folder)
  gt; |  |  |--corp_host1.cfg
  gt; |  |  |--corp_host2.cfg
  gt; |  |  |--corp_hostn.cfg
  gt; |  |
  gt; |  |--customers (folder)
  gt; | |--customer1 (folder)
  gt; | |  |--cus1_host1.cfg
  gt; | |  |--cus1_host2.cfg
  gt; | |  |--cus1_hostn.cfg
  gt; | |
  gt; | |--customer2 (folder)
  gt; | |   |--cus2_host1.cfg
  gt; | |   |--cus2_host2.cfg
  gt; | |   |--cus2_hostn.cfg
  gt; | |
  gt; | |--customern (folder)
  gt; ||--cusn_host1.cfg
  gt; ||--cusn_host2.cfg
  gt; ||--cusn_hostn.cfg
  gt; |
  gt; |--services (folder)
  gt; |  |--services_groups (folder)
  gt; |  |  |--servicegroup1
  gt; |  |  |--servicegroup2
  gt; |  |  |--servicegroupn
  gt; |  |
  gt; |  |--services (folder)
  gt; | 

[Nagios-users] check_procs in reverse

2008-09-11 Thread Thomas Kinghorn - MWEB
Good morning List.

Apologies if this is a dumb question. I am new to setting up nagios.

I have a server running a Session Border Controller.
It runs 8 processes for the SBC.

If the number of processes drops to 4, I need to flag as a warning
If it drops to 2, flag as critical.

How would I get the check_procs to check this?

I have noticed that the -w argument cannot be higher than the -c
argument.

Thanks for your time.

Regards

Tom


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Nagios 3.0.3 + ndo problem

2008-09-11 Thread ·:iNot:·
Hello.
I've got the problem.
If I start ndo first and after this start nagios. Nagios freeze and didn't
work.

[1221127746] Nagios 3.0.3 starting... (PID=32631)
[1221127746] Local time is Thu Sep 11 14:09:06 MSD 2008
[1221127746] LOG VERSION: 2.0
[1221127746] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007 Ethan
Galstad ([EMAIL PROTECTED])
[1221127746] ndomod: Successfully connected to data sink.  0 queued items to
flush.
[1221127746] Event broker module '/usr/local/nagios/bin/ndomod.o'
initialized successfully.

If i start nagios then ndo, and make reload nagios config, every this is ok.


/etc/init.d/nagios start

[1221127740] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007 Ethan
Galstad ([EMAIL PROTECTED])
[1221127740] ndomod: Could not open data sink!  I'll keep trying, but some
output may get lost...
[1221127740] Event broker module '/usr/local/nagios/bin/ndomod.o'
initialized successfully.
[1221127740] Warning: Host 'PDC.miit' has no services associated with it!
[1221127740] Finished daemonizing... (New PID=32631)


/usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg

/etc/init.d/nagios reload

[1221127746] Caught SIGHUP, restarting...
[1221127746] ndomod: Shutdown complete.
[1221127746] Event broker module '/usr/local/nagios/bin/ndomod.o'
deinitialized successfully.
[1221127746] Nagios 3.0.3 starting... (PID=32631)
[1221127746] Local time is Thu Sep 11 14:09:06 MSD 2008
[1221127746] LOG VERSION: 2.0
[1221127746] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007 Ethan
Galstad ([EMAIL PROTECTED])
[1221127746] ndomod: Successfully connected to data sink.  0 queued items to
flush.
[1221127746] Event broker module '/usr/local/nagios/bin/ndomod.o'
initialized successfully.


Any suggestions? Where I can look at ndo logs?
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
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] montitoring a system only via email-transport of status-informations

2008-09-11 Thread Ralf Prengel
Hallo,

we are monitoring several system using ssh, snmp, nrpe and a lot of
plugings.
Now we have to check a server without any direct access. The only way to
get informatiosn is using email.
Has anyone docs or links how to transfer statusinformations via email
from the server to the nagios-server?

Thanks for hints

-- 
i.A. Ralf Prengel
Customer Care Manager
Comline AG
Hauert 8
D-44227 Dortmund/Germany

Fon +49231 97575- 904
Fax +49231 97575- 905
EMail [EMAIL PROTECTED]


www.comline.de 
Vorstand Stephan Schilling, Erwin Leonhardi
Aufsichtsrat Dr. Franz Schoser (Vorsitzender) HR Dortmund B 14570 USt.-ID-Nr. 
DE 124727422


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] montitoring a system only via email-transport of status-informations

2008-09-11 Thread Matthew Macdonald-Wallace
On Thu, 11 Sep 2008 13:05:32 +0200
Ralf Prengel [EMAIL PROTECTED] wrote:

 we are monitoring several system using ssh, snmp, nrpe and a lot of
 plugings.
 Now we have to check a server without any direct access. The only way
 to get informatiosn is using email.
 Has anyone docs or links how to transfer statusinformations via email
 from the server to the nagios-server?

I'd look at setting up a mailbox specifically for this.  Get your MTA
to send the emails to that address to a pipe which redirects them to a
script.

In the script, work out from the message headers which service this
relates to.  Process the message and provide an output accordingly to a
file.  Process this file as either an NSCA or NRPE plugin and see if
you get the correct results!

Is there any reason why you can't use ssh-wrapped nrpe commands?

M.
-- 
Matthew Macdonald-Wallace
[EMAIL PROTECTED]
http://www.truthisfreedom.org.uk

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] montitoring a system only via email-transport of status-informations

2008-09-11 Thread Ralf Prengel
Matthew Macdonald-Wallace schrieb:

 
 In the script, work out from the message headers which service this
 relates to.  Process the message and provide an output accordingly to a
 file.  Process this file as either an NSCA or NRPE plugin and see if
 you get the correct results!
 
 Is there any reason why you can't use ssh-wrapped nrpe commands?

No chance.
The system we ve to monitor is installed in a network without any access
from outside and very limited communication from inside to outsie.


-- 
i.A. Ralf Prengel
Customer Care Manager
Comline AG
Hauert 8
D-44227 Dortmund/Germany

Fon +49231 97575- 904
Fax +49231 97575- 905
EMail [EMAIL PROTECTED]


www.comline.de 
Vorstand Stephan Schilling, Erwin Leonhardi
Aufsichtsrat Dr. Franz Schoser (Vorsitzender) HR Dortmund B 14570 USt.-ID-Nr. 
DE 124727422


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios 3.0.3 + ndo problem

2008-09-11 Thread Assaf Flatto
AFAIK - NDO reads the loaded configuration of nagios  and submits that to the 
DB for queries.
So nagios needs to be running for NDO to have any data to read and work with .
as for logs- the ndo has an option for output file (ndomod.cfg)
output=/usr/local/nagios/var/ndo.dat (commented out on default).

Assaf


On Thursday 11 September 2008 10:54:48 ·:iNot:· wrote:
 Hello.
 I've got the problem.
 If I start ndo first and after this start nagios. Nagios freeze and didn't
 work.

 [1221127746] Nagios 3.0.3 starting... (PID=32631)
 [1221127746] Local time is Thu Sep 11 14:09:06 MSD 2008
 [1221127746] LOG VERSION: 2.0
 [1221127746] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007
 Ethan Galstad ([EMAIL PROTECTED])
 [1221127746] ndomod: Successfully connected to data sink.  0 queued items
 to flush.
 [1221127746] Event broker module '/usr/local/nagios/bin/ndomod.o'
 initialized successfully.

 If i start nagios then ndo, and make reload nagios config, every this is
 ok.


 /etc/init.d/nagios start

 [1221127740] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007
 Ethan Galstad ([EMAIL PROTECTED])
 [1221127740] ndomod: Could not open data sink!  I'll keep trying, but some
 output may get lost...
 [1221127740] Event broker module '/usr/local/nagios/bin/ndomod.o'
 initialized successfully.
 [1221127740] Warning: Host 'PDC.miit' has no services associated with it!
 [1221127740] Finished daemonizing... (New PID=32631)


 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg

 /etc/init.d/nagios reload

 [1221127746] Caught SIGHUP, restarting...
 [1221127746] ndomod: Shutdown complete.
 [1221127746] Event broker module '/usr/local/nagios/bin/ndomod.o'
 deinitialized successfully.
 [1221127746] Nagios 3.0.3 starting... (PID=32631)
 [1221127746] Local time is Thu Sep 11 14:09:06 MSD 2008
 [1221127746] LOG VERSION: 2.0
 [1221127746] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007
 Ethan Galstad ([EMAIL PROTECTED])
 [1221127746] ndomod: Successfully connected to data sink.  0 queued items
 to flush.
 [1221127746] Event broker module '/usr/local/nagios/bin/ndomod.o'
 initialized successfully.


 Any suggestions? Where I can look at ndo logs?






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
 
 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] montitoring a system only via email-transport of status-informations

2008-09-11 Thread Aaron K. Moore
 -Original Message-
 Matthew Macdonald-Wallace schrieb:
 
  
  In the script, work out from the message headers which service this 
  relates to.  Process the message and provide an output 
 accordingly to 
  a file.  Process this file as either an NSCA or NRPE plugin 
 and see if 
  you get the correct results!
  
  Is there any reason why you can't use ssh-wrapped nrpe commands?
 
 No chance.
 The system we ve to monitor is installed in a network without 
 any access from outside and very limited communication from 
 inside to outsie.
 

I've done it once before.  Check on nagiosexchange.org. I'm pretty sure
I used something that was uploaded there.

One of the PERL scripts is named smtpreceiver.pl. 

--
Aaron Kent Moore
Information Technology Services
DeKalb Memorial Hospital, Inc.
Auburn, Indiana
Phone:  260.920.2808
E-Mail:  [EMAIL PROTECTED]


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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_procs in reverse

2008-09-11 Thread Mikael Fridh
On Thu, Sep 11, 2008 at 11:55 AM, Thomas Kinghorn - MWEB
[EMAIL PROTECTED] wrote:
 If the number of processes drops to 4, I need to flag as a warning

 If it drops to 2, flag as critical.

-w 5:8 -c 3:8

Note that anything above 8 will be critical. Adjust your wmax and cmax
values as appropriate.

--
Fridh

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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 group

2008-09-11 Thread Marcus
Pardeep Sharma schrieb:
 Hi all How can configure service group, i tried but did not success

You could either post your unsucceeding config file(s) so we don't have
to unwrap our crystal balls, or you could refer to the fine manual,
where the configuration of a service group probably is thoroughly described.

Best regards
 Marcus

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] montitoring a system only via email-transport of status-informations

2008-09-11 Thread Alain Williams
On Thu, Sep 11, 2008 at 01:05:32PM +0200, Ralf Prengel wrote:
 Hallo,
 
 we are monitoring several system using ssh, snmp, nrpe and a lot of
 plugings.
 Now we have to check a server without any direct access. The only way to
 get informatiosn is using email.
 Has anyone docs or links how to transfer statusinformations via email
 from the server to the nagios-server?

Yes - I have done this, I created a new plugin that takes monitoring data and 
mails
it to another machine where it is injected into nagios. It works well, I have
been using it for a year or so.

I announced it to little interest, I'll check out what I have and put it up 
somewhere.
I may be part way though an upgrade of what it does, I can't remember since it 
is
some time since I have tinkered with it.

-- 
Alain Williams
Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256  http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: 
http://www.phcomp.co.uk/contact.php
Chairman of UKUUG: http://www.ukuug.org/
#include std_disclaimer.h

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Service Notifications Issue on SLES sp2

2008-09-11 Thread Mark.Keyte
Hi 

Sorry this is my first post to this list. I have had a problem with service 
alert notifications (eg. PING etc) since upgrading from SLES 10 SP1 to SLES 10 
SP2 (everything was working fine before this). For some reason Nagios has 
stopped sending service alerts to the postfix mail relay when a service becomes 
critical. If you send a custom service notification it works fine so the 
postfix side of things still seem to be ok. I'm wondering whether a package 
update has busted it. Looking at mail logs it seems that messages are just not 
being sent from Nagios.

Has anybody had similar issues using SLES SP2.


Thanks

Mark


Mark Keyte
IT Services
London School of Hygiene  Tropical Medicine
Keppel St, London, WC1E 7HT
ext 8362
0207 958 8362 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] What are people using to create/edit nagios (nagvis) maps

2008-09-11 Thread stan
What tools (UNIX or Windows) have people found work well for creating and
maintaining Nagios and Nagvis maps? 

One of my people is using visio, but it does not seem to be all that
efficient.

-- 
One of the main causes of the fall of the roman empire was that, lacking
zero, they had no way to indicate successful termination of their C
programs.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] service dependency on host?

2008-09-11 Thread Charlie Reddington
Hi,

I have nagios up and working but I want to tweak it some so I'm not  
getting buried under sms messages.

My setup works like so.

I have a file called Loc-Servers.cfg

In this file it has the host definitions that look like this, but just  
a ton of them

# serv01
define host{
 use linux-server
 host_name   serv01.example.com
 alias   serv01
 address 192.168.1.101
 }

# serv01
define host{
 use linux-server
 host_name   serv02.example.com
 alias   serv02
 address 192.168.1.102
 }

And then after the hosts I have the services setup generally like this:

define service{
 use generic-service
 host_name   serv01.example.com,  
serv02.example.com
 service_description Ping
 check_command  check_ping!100.0,20%!500.0,60%
 }

My real question comes down to dependencies. As much as I love getting  
400 messages if something 'upstream' goes down like a switch, I  
generally want to try to get alerts only for hosts down and alerts for  
the first point of failure.

So assuming one of my networks look like this:

  Router -- Switch - serv01, serv02, serv03

Lets say the switch goes down. Which makes the servers all  
unreachable, which fails out all other servers. I don't want to have  
any notifications really for anything below the switch.

I've seen the docs about having services dependent on services, and  
hosts dependent on hosts.  But how about services, dependent on hosts.  
Do I just use hosts instead of services in the config?

Thanks for you time and for your help,

Charlie

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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 dependency on host?

2008-09-11 Thread Charlie Reddington
I thought I was done

There is no mention about the services for the affected hosts. Will  
they by default not send alerts, but only unreachables as well?

So if the hosts aren't sending notifications because the head switch  
is down, what about the sub sequent services?

Thanks,

Charlie

On Sep 11, 2008, at 2:15 PM, Goldschrafe, Jeffrey wrote:

 You don't want host or service dependencies, you want parent/child  
 relationships on the hosts.

 FAQ (old): http://www.nagios.org/faqs/viewfaq.php?faq_id=145
 Docs (current): 
 http://nagios.sourceforge.net/docs/3_0/networkreachability.html

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios- 
 users-
 [EMAIL PROTECTED] On Behalf Of Charlie Reddington
 Sent: Thursday, September 11, 2008 3:11 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] service dependency on host?

 Hi,

 I have nagios up and working but I want to tweak it some so I'm not
 getting buried under sms messages.

 My setup works like so.

 I have a file called Loc-Servers.cfg

 In this file it has the host definitions that look like this, but  
 just
 a ton of them

 # serv01
 define host{
 use linux-server
 host_name   serv01.example.com
 alias   serv01
 address 192.168.1.101
 }

 # serv01
 define host{
 use linux-server
 host_name   serv02.example.com
 alias   serv02
 address 192.168.1.102
 }

 And then after the hosts I have the services setup generally like  
 this:

 define service{
 use   generic-service
 host_name serv01.example.com,
 serv02.example.com
 service_description Ping
 check_command  check_ping!100.0,20%!500.0,60%
 }

 My real question comes down to dependencies. As much as I love  
 getting
 400 messages if something 'upstream' goes down like a switch, I
 generally want to try to get alerts only for hosts down and alerts  
 for
 the first point of failure.

 So assuming one of my networks look like this:

  Router -- Switch - serv01, serv02, serv03

 Lets say the switch goes down. Which makes the servers all
 unreachable, which fails out all other servers. I don't want to have
 any notifications really for anything below the switch.

 I've seen the docs about having services dependent on services, and
 hosts dependent on hosts.  But how about services, dependent on  
 hosts.
 Do I just use hosts instead of services in the config?

 Thanks for you time and for your help,

 Charlie

 ---
 --
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win  
 great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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 dependency on host?

2008-09-11 Thread Marc Powell

On Sep 11, 2008, at 2:11 PM, Charlie Reddington wrote:

 Hi,

 I have nagios up and working but I want to tweak it some so I'm not
 getting buried under sms messages.


 My real question comes down to dependencies. As much as I love getting
 400 messages if something 'upstream' goes down like a switch, I
 generally want to try to get alerts only for hosts down and alerts for
 the first point of failure.

 So assuming one of my networks look like this:

  Router -- Switch - serv01, serv02, serv03

 Lets say the switch goes down. Which makes the servers all
 unreachable, which fails out all other servers. I don't want to have
 any notifications really for anything below the switch.

Sounds like you don't want dependencies, you want parents.

http://nagios.sourceforge.net/docs/3_0/networkreachability.html

--
Marc


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Only First notification

2008-09-11 Thread Oscar Soto
Hello everyone!!!
Somebody can help me please?
How can I configure Nagios 3.0 for just send one notification by problem? I
need just report the first error notification.
Thank you so much
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
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] Only First notification

2008-09-11 Thread Marc Powell

On Sep 11, 2008, at 8:22 PM, Oscar Soto wrote:

 Hello everyone!!!
 Somebody can help me please?
 How can I configure Nagios 3.0 for just send one notification by  
 problem? I need just report the first error notification.


http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service

notification_interval.

--
Marc


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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