[Nagios-users-br] Nagios XI

2010-09-23 Thread Jose Oliveira
Olá colegas

Alguem usa ou pretende usar a curto prazo o Nagios XI?

Meu chefe periu pra avaliar e eu encontrei apenas coisas que diferem do que
temos implantado, e que podem justificar o preço ($1500/ano)
- dashboard
- capacity planning

O dashboard do nagvis é bem fraquinho e capacity planning eu einda não achei
uma ferramente que fizesse, baseada nos dados dos plugins de performance...

A interface de acesso dele saiu de cgi para php e passou a ter controle de
seção...

Se quiserem, acessem http://nagiosxi.demos.nagios.com para ver mais.

Está dando um erro de licença expirada em algumas telas, mas já mandei email
pra eles arrumarem... :)

-- 
Abraços

José Geraldo de Oliveira
Linux user #492561
--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-- 
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] Nagios Change Config via email

2010-09-23 Thread Diego Roccia
Using procmail you can pipe emails trough scripts, so you're able to
create a script that parse the email subject/body and commit external
commands to nagios

regards
Diego


On Thu, Sep 23, 2010 at 5:38 AM, Ron Wilson r...@tvnz.co.nz wrote:
 I would like to be able to disable nagios notifications by using email.

 Situation is we are investing in automating patching of our servers. The
 patching software can send an email out at the beginning of each server
 patch and another at the end of patch

 I want Nagios to be able to receive the email which would have something
 like servername and stop en email subject line.

 If I set up an inwards mail client on the nagios server which would receive
 the email and drop it into a directory where Nagios would scan it and
 disable alerting for the server. At the end of patching the patch server
 will issue another email saying servername start and Nagios would receive
 email and re-enable alerting

 Anyone got any good ideas how to avhieve this?



 

 --

 Ron Wilson

 Systems Engineer

 Television New Zealand

 P.O. Box 3819

 Auckland, New Zealand

 Phone 649-916-7560

 If you find yourself in a hole, the first thing to do is stop diggin'.

 
 ==
 For more information on the Television New Zealand Group, visit us
 online at tvnz.co.nz
 ==
 CAUTION:  This e-mail and any attachment(s) contain information that
 is intended to be read only by the named recipient(s).  This information
 is not to be used or stored by any other person and/or organisation.
 --
 Start uncovering the many advantages of virtual appliances
 and start using them to simplify application deployment and
 accelerate your shift to cloud computing.
 http://p.sf.net/sfu/novell-sfdev2dev
 ___
 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




-- 
Diego Roccia
diego.roccia (at) gmail (dot) com

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
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] FW: Nagios - SunOS

2010-09-23 Thread Tan Kong Jo-B30930
Hi Andreas,

 

We used the nagios-plugins version 1.3.1, that you suggested, to try to
install in SunOS 5.6 and SunOS 5.5.1.

Both have the same error when key in # ./configure to install.

It is something like the SUNOS missing gcc installation or configure is
not specified where is gcc installed.

 

# ./configure

checking for a BSD-compatible install... ./install-sh -c

checking whether build environment is sane... yes

checking for gawk... no

checking for mawk... no

checking for nawk... nawk

checking whether make sets $(MAKE)... no

checking for a BSD-compatible install... ./install-sh -c

checking for gcc... no

checking for cc... no

checking for cc... no

checking for cl... no

configure: error: no acceptable C compiler found in $PATH

See `config.log' for more details.

 

Any suggestion on this?

Any specific steps to make this works for those ancient SunOS 5.6,
5.5.1, 4.1.4, 4.1.3_U1?

Really hope for your advice...

 

 

-Original Message-
From: Andreas Ericsson [mailto:a...@op5.se] 
Sent: 08 September, 2010 11:34 PM
To: Nagios Users List
Cc: Tan Kong Jo-B30930
Subject: Re: [Nagios-users] FW: Nagios - SunOS

 

On 09/08/2010 02:00 PM, Tan Kong Jo-B30930 wrote:

 

 Here is one of the error:-

 

 # /home/nagios/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 

 ld.so.1: /home/nagios/nagios/libexec/check_load: fatal: libc.so.1: 

 version `SUNW_1.18' not found (required by file 

 /home/nagios/nagios/libexec/check_load)

 Killed

 

 

You can't copy binaries from one system version to another, but you
should be able to recompile the plugin sources on your older systems and
then run the newly created binaries there.

 

Normally, I use nagios-plugins version 1.3.1 when I need to build them
on really ancient systems, as it's a minimum of hackery to get it to
work, provided one knows how to build without the use of a Makefile.

 

-- 

Andreas Ericsson   andreas.erics...@op5.se

OP5 AB www.op5.se

Tel: +46 8-230225  Fax: +46 8-230231

 

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.

 

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev___
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] Bug in check_openmanage ?

2010-09-23 Thread rbn31
Hello,

I am a newbie ... This is my first post.

Following to a DELL firmware update 1.X to 2.3.3, a strange error message
appears :

System:  PowerEdge M805
   ServiceTag:  ???  OMSA version:6.3.0
   BIOS/date:   2.3.3 04/16/2010 Plugin version:  3.6.0
-
   Storage Components
=
  STATE  |ID|  MESSAGE TEXT
-+--+
  OK |0 | Controller 0 [CERC 6/i Integrated] is Ready
  OK |  0:0:0:0 | Physical Disk 0:0:0 [SAS-HDD 146GB] on ctrl 0 is Online
  OK |  0:0:0:1 | Physical Disk 0:0:1 [SAS-HDD 146GB] on ctrl 0 is Online
  OK |  0:0 | Logical Drive '/dev/sda' [RAID-1, 136.13 GB] is Ready
  OK |  0:0 | Connector 0 [SAS Port RAID Mode] on controller 0 is Ready
  OK |0:0:0 | Enclosure 0:0:0 [Backplane] on controller 0 is Ready
-
   Chassis Components
=
  STATE  |  ID  |  MESSAGE TEXT
-+--+
  OK |0 | Memory module 0 [DIMM_A1, 2048 MB] is Ok
  OK |1 | Memory module 1 [DIMM_A2, 2048 MB] is Ok
  OK |2 | Memory module 2 [DIMM_A3, 2048 MB] is Ok
  OK |3 | Memory module 3 [DIMM_A4, 2048 MB] is Ok
  OK |4 | Memory module 4 [DIMM_B1, 2048 MB] is Ok
  OK |5 | Memory module 5 [DIMM_B2, 2048 MB] is Ok
  OK |6 | Memory module 6 [DIMM_B3, 2048 MB] is Ok
  OK |7 | Memory module 7 [DIMM_B4, 2048 MB] is Ok
  OK |0 | Temperature Probe 0 [System Board Ambient Temp] reads 17 C
(min=8/3, max=42/47)
  OK |0 | Processor 0 [Quad-Core AMD Opteron 2384] is Present
  OK |1 | Processor 1 [Quad-Core AMD Opteron 2384] is Present
  OK |0 | Voltage sensor 0 [CPU1 VCORE] is Good
  OK |1 | Voltage sensor 1 [CPU2 VCORE] is Good
  OK |2 | Voltage sensor 2 [CPU1 VTT PG] is Good
  OK |3 | Voltage sensor 3 [CPU2 VTT PG] is Good
  OK |4 | Voltage sensor 4 [CPU1 2.5V PG] is Good
  OK |5 | Voltage sensor 5 [CPU2 2.5V PG] is Good
  OK |6 | Voltage sensor 6 [CPU1 1.8V PG] is Good
  OK |7 | Voltage sensor 7 [CPU2 1.8V PG] is Good
  OK |8 | Voltage sensor 8 [System Board 3.3V PG] is Good
  OK |9 | Voltage sensor 9 [System Board 5V PG] is Good
  OK |   10 | Voltage sensor 10 [System Board 12V PG] is Good
  OK |   11 | Voltage sensor 11 [System Board 1.2V AUX PG] is Good
  OK |   12 | Voltage sensor 12 [System Board 1.2V LDT PG] is Good
  OK |   13 | Voltage sensor 13 [System Board CPU Power Fault] is Good
  OK |   14 | Voltage sensor 14 [System Board VCORE MCP PG] is Good
  OK |   15 | Voltage sensor 15 [System Board PVCC PG] is Good
  OK |   16 | Voltage sensor 16 [System Board 1.0V MGMT PG] is Good
  OK |   17 | Voltage sensor 17 [MEZZ2_FAB_B PG] is Good
  OK |   18 | Voltage sensor 18 [MEZZ1_FAB_C PG] is Good
  OK |   19 | Voltage sensor 19 [Storage PG] is Good
  OK |0 | Battery probe 0 [System Board CMOS Battery] is Good
  OK |1 | Amperage probe 1 [System Board System Level] reads 140 W
-
   Other messages
=
  STATE  |  MESSAGE TEXT
-+---
  OK | Alert log content: 0 critical, 0 non-critical, 1 ok
  OK | ESM log content: 0 critical, 0 non-critical, 1 ok
  OK | ESM log health is Ok (less than 80% full)
OOPS! Something is wrong with this server, but I don't know what. The global
system health status is CRITICAL, but every component check is OK. This may be a
bug in the Nagios plugin, please file a bug report.

The status change from OK to Unknown...

Is anybody can help me to debbug ?

Thanks for your helps.

Rémi
--

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
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] FW: Nagios - SunOS

2010-09-23 Thread Morris, Patrick
 You apparently either do not have a C compiler installed or you aren't 
setting your path to point to one that is.  Since it sounds like you 
don't know whether one is installed or not, that's not too surprising.


Considering that you're probably going to need to do *much* more 
complicated things than find your compiler to get this to build, I'd 
highly recommend trying to find someone with some knowledge of compiling 
software (such as a consultant) to help you out.  There's just far too 
much involved to try to hash out every detail you'll need to know on a 
mailing list.


On 9/23/2010 1:08 AM, Tan Kong Jo-B30930 wrote:


Hi Andreas,

We used the nagios-plugins version 1.3.1, that you suggested, to try 
to install in SunOS 5.6 and SunOS 5.5.1.


Both have the same error when key in # ./configure to install.

*It is something like the SUNOS missing gcc installation or configure 
is not specified where is gcc installed.*


*# ./configure*

*checking for a BSD-compatible install... ./install-sh -c*

*checking whether build environment is sane... yes*

*checking for gawk... no*

*checking for mawk... no*

*checking for nawk... nawk*

*checking whether make sets $(MAKE)... no*

*checking for a BSD-compatible install... ./install-sh -c*

*checking for gcc... no*

*checking for cc... no*

*checking for cc... no*

*checking for cl... no*

*configure: error: no acceptable C compiler found in $PATH*

*See `config.log' for more details.*

Any suggestion on this?

Any specific steps to make this works for those ancient SunOS 5.6, 
5.5.1, 4.1.4, 4.1.3_U1?


Really hope for your advice...

-Original Message-
From: Andreas Ericsson [mailto:a...@op5.se]
Sent: 08 September, 2010 11:34 PM
To: Nagios Users List
Cc: Tan Kong Jo-B30930
Subject: Re: [Nagios-users] FW: Nagios - SunOS

On 09/08/2010 02:00 PM, Tan Kong Jo-B30930 wrote:



 Here is one of the error:-



 # /home/nagios/nagios/libexec/check_load -w 15,10,5 -c 30,25,20

 ld.so.1: /home/nagios/nagios/libexec/check_load: fatal: libc.so.1:

 version `SUNW_1.18' not found (required by file

 /home/nagios/nagios/libexec/check_load)

 Killed



You can't copy binaries from one system version to another, but you 
should be able to recompile the plugin sources on your older systems 
and then run the newly created binaries there.


Normally, I use nagios-plugins version 1.3.1 when I need to build them 
on really ancient systems, as it's a minimum of hackery to get it to 
work, provided one knows how to build without the use of a Makefile.


--

Andreas Ericsson   andreas.erics...@op5.se

OP5 AB www.op5.se

Tel: +46 8-230225  Fax: +46 8-230231

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.




--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev___
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] Bug in check_openmanage ?

2010-09-23 Thread Trond Hasle Amundsen
rb...@free.fr writes:

 OOPS! Something is wrong with this server, but I don't know what. The
 global system health status is CRITICAL, but every component check is
 OK. This may be a bug in the Nagios plugin, please file a bug report.

 The status change from OK to Unknown...

 Is anybody can help me to debbug ?

Hi Rémi,

Thanks for reporting this.

As an extra precaution, check_openmanage will check the global health
status in addition to each of the components, providing you don't use
blacklisting and/or check control such that the global check can be a
false positive.

This case seems to be a real issue where a component is bad and the
global health status reflects this. The component in question is not
checked by the plugin for some reason. I'd like to narrow down the
suspect pool. If you have login access to this server, can you send the
output from the following command:

  omreport chassis

If this command reports that everything is OK, we're probably dealing
with a storage problem.

Just to rule out blacklisting bugs etc., what is the command definition
for check_openmanage in your Nagios config?

Regards,
-- 
Trond H. Amundsen t.h.amund...@usit.uio.no
Center for Information Technology Services, University of Oslo

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
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] Bug in check_openmanage ?

2010-09-23 Thread rbn31
Hi Trond,

You are right ...

--
# omreport chassis

Health

Main System Chassis

SEVERITY : COMPONENT
Ok   : Memory
Critical : Power Management
Ok   : Processors
Ok   : Temperatures
Ok   : Voltages
Ok   : Hardware Log
Ok   : Batteries

For further help, type the command followed by -?


On the IDRAC i have the message System Board Current Latch

Thanks for your help...
Should be closed...

Rémi
--

Selon Trond Hasle Amundsen t.h.amund...@usit.uio.no:

 rb...@free.fr writes:

  OOPS! Something is wrong with this server, but I don't know what. The
  global system health status is CRITICAL, but every component check is
  OK. This may be a bug in the Nagios plugin, please file a bug report.
 
  The status change from OK to Unknown...
 
  Is anybody can help me to debbug ?

 Hi Rémi,

 Thanks for reporting this.

 As an extra precaution, check_openmanage will check the global health
 status in addition to each of the components, providing you don't use
 blacklisting and/or check control such that the global check can be a
 false positive.

 This case seems to be a real issue where a component is bad and the
 global health status reflects this. The component in question is not
 checked by the plugin for some reason. I'd like to narrow down the
 suspect pool. If you have login access to this server, can you send the
 output from the following command:

   omreport chassis

 If this command reports that everything is OK, we're probably dealing
 with a storage problem.

 Just to rule out blacklisting bugs etc., what is the command definition
 for check_openmanage in your Nagios config?

 Regards,
 --
 Trond H. Amundsen t.h.amund...@usit.uio.no
 Center for Information Technology Services, University of Oslo

 --
 Start uncovering the many advantages of virtual appliances
 and start using them to simplify application deployment and
 accelerate your shift to cloud computing.
 http://p.sf.net/sfu/novell-sfdev2dev
 ___
 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



--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
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] SQL-DB Services-Unknown Status

2010-09-23 Thread ravishankar.gundlapali
Hi All,

 

Request you to please help me on this.

 

 

Thanks,

Ravi G

 

From: Ravishankar Gundlapali (WT01 - Energy and Utilities) 
Sent: Tuesday, September 21, 2010 8:27 PM
To: 'Nagios Users List'
Subject: SQL-DB Services-Unknown Status

 

Hi,

I am using Nagios Version 3.0.6 on a Linux server to monitor the
SQL-DB-LOG-GROWTH and SQL-DB-LOG-USED on the Windows servers.

 

The status information in Nagios is showing following error. Please see
the screenshots below

 1)  UNKNOWN: No handler for that command 

I am using the following the check commands 

 check_nrpe_mssql_log_used!*!50!90

check_nrpe_mssql_log_growths!*!5000!9000

 Please someone let me know how can I resolve this. 

Please see the service definition and command definition which I am
using for SQL-DB-LOG-USED and SQL-DB-LOG-GROWTH.

 

define service{

use generic-service ; Name
of service template to use

host_name  abcd

service_description SQL-DB-LOG-USED

is_volatile 0

check_period24x7

max_check_attempts  3

normal_check_interval   5

retry_check_interval1

contact_groups  sql-admins

notification_interval   0

notification_period 24x7

notification_optionsc,r

check_command check_nrpe_mssql_log_used!*!50!90

  }

 

define service{

use generic-service ; Name
of service template to use

host_name abcd

service_description SQL-DB-LOG-GROWTH

is_volatile 0

check_period24x7

max_check_attempts  3

normal_check_interval   5

retry_check_interval1

contact_groups  sql-admins

notification_interval   0

notification_period 24x7

notification_optionsc,r

check_command
check_nrpe_mssql_log_growths!*!5000!9000 ; Log growth scale is 0.01
hence 5000 and 9000

  }

 

 

define command {

command_name
check_nrpe_mssql_log_used

command_line$USER1$/check_nrpe -t 60
-H $HOSTADDRESS$ -p 5666 -c get_mssql_log_used -a $HOSTADDRESS$ $ARG1$
$ARG2$ $ARG3$

}

 

define command {

command_name
check_nrpe_mssql_log_growths

command_line$USER1$/check_nrpe -t 60
-H $HOSTADDRESS$ -p 5666 -c get_mssql_log_growth -a $HOSTADDRESS$
$ARG1$ $ARG2$ $ARG3$

}

 

 

 

 

Thanks  Regards,

Ravi G

 

 

image001.png--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] NRPE and ip range in allowed hosts

2010-09-23 Thread Andreas Ericsson
On 09/22/2010 03:47 PM, Assaf Flatto wrote:
Hello
 
 Has anyone tried placing a range ip entry in the allowedhosts directive
 of NRPE ?
 
 Will putting 10.1.0.0/24  work ?
 

No, it won't.

 If not ,does anyone know if is it something that is planned to future
 versions of NRPE ?
 

It's not. NRPE isn't maintained very rigorously since it Just Works(tm).

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

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.

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] NRPE and ip range in allowed hosts

2010-09-23 Thread Assaf Flatto
  On 23/09/10 12:40, Andreas Ericsson wrote:
 On 09/22/2010 03:47 PM, Assaf Flatto wrote:
 Hello

 Has anyone tried placing a range ip entry in the allowedhosts directive
 of NRPE ?

 Will putting 10.1.0.0/24  work ?

 No, it won't.

 If not ,does anyone know if is it something that is planned to future
 versions of NRPE ?
 It's not. NRPE isn't maintained very rigorously since it Just Works(tm).



So there is no way to specify a range of servers , one must put all IP's 
individually ?


-- 
Never,Ever Cut A Deal With a Dragon


Next year I will be doing the London to Paris bike ride to
raise money for the DogTrust (www.dogstrust.co.uk) .
Please Sponsor me at http://www.justgiving.com/Assaf-Flatto


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] NRPE and ip range in allowed hosts

2010-09-23 Thread Sebastian Ries
Hi
 
 So there is no way to specify a range of servers , one must put all IP's 
 individually ?

just as an idea:

Can inetd handle the range of IPs?
Then you could think about starting the nrpe-server with inetd.

Regards
Sebastian Ries

-- 

DT Netsolution GmbH -  Talaeckerstr. 30 -  D-70437 Stuttgart
Tel: +49-711-849910-36   Fax: +49-711-849910-936
WEB: http://www.dtnet.de/ email: sebastian.r...@dtnet.de

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
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 Change Config via email

2010-09-23 Thread Breandan Dezendorf
On Thu, Sep 23, 2010 at 5:38 AM, Ron Wilson r...@tvnz.co.nz wrote:
 I would like to be able to disable nagios notifications by using email.

 Situation is we are investing in automating patching of our servers. The
 patching software can send an email out at the beginning of each server
 patch and another at the end of patch

 I want Nagios to be able to receive the email which would have something
 like servername and stop en email subject line.

 If I set up an inwards mail client on the nagios server which would receive
 the email and drop it into a directory where Nagios would scan it and
 disable alerting for the server. At the end of patching the patch server
 will issue another email saying servername start and Nagios would receive
 email and re-enable alerting

 Anyone got any good ideas how to avhieve this?

Rather than email, it might be a good idea to host a CGI which is
locked down to monitored hosts, and let servers call the CGI as needed
to disable notifications/monitoring for themselves (only) when needed.
 I think this would be *slightly* harder to spoof than an email.
(Email is really bad that way).

For any automated disabling of notifications, the other thing to keep
in mind is: what happens if a server fails in the middle of patching?
Will it sit for hours, waiting?  Depending on your setup, you could
setup a cron job to look for a comment associated with the
server/service, that contains a timestamp.  If the timestamp is longer
than [x] [time] ago, go ahead and turn notifications/alerting back on,
so administrators are notified that something went wrong.

We are doing much of the above with our production systems, and it
works well, especially for the Windows hosts that patch at least once
a month.  Server can call a CGI, and if the server is in the database
(DNS and IP resolve exactly to the name in the DB), it can disable
notifications for itself.  After 45 minutes, if a host is still in
this maintenance state, alerts are enabled again, and we get woken up
as the server needs handholding while we still have a patch window to
do the work in.

-- 
Breandan Dezendorf
brean...@dezendorf.com
bwdez...@gmail.com

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
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 Change Config via email

2010-09-23 Thread Diego Roccia
If you implement some sort of email signing (like GPG) you can have
enough security with email commands.
Moreover, via email you can send commands to nagios even if its
interface is firewalled to the outside.


On Thu, Sep 23, 2010 at 2:38 PM, Breandan Dezendorf
brean...@dezendorf.com wrote:
 On Thu, Sep 23, 2010 at 5:38 AM, Ron Wilson r...@tvnz.co.nz wrote:
 I would like to be able to disable nagios notifications by using email.

 Situation is we are investing in automating patching of our servers. The
 patching software can send an email out at the beginning of each server
 patch and another at the end of patch

 I want Nagios to be able to receive the email which would have something
 like servername and stop en email subject line.

 If I set up an inwards mail client on the nagios server which would receive
 the email and drop it into a directory where Nagios would scan it and
 disable alerting for the server. At the end of patching the patch server
 will issue another email saying servername start and Nagios would receive
 email and re-enable alerting

 Anyone got any good ideas how to avhieve this?

 Rather than email, it might be a good idea to host a CGI which is
 locked down to monitored hosts, and let servers call the CGI as needed
 to disable notifications/monitoring for themselves (only) when needed.
  I think this would be *slightly* harder to spoof than an email.
 (Email is really bad that way).

 For any automated disabling of notifications, the other thing to keep
 in mind is: what happens if a server fails in the middle of patching?
 Will it sit for hours, waiting?  Depending on your setup, you could
 setup a cron job to look for a comment associated with the
 server/service, that contains a timestamp.  If the timestamp is longer
 than [x] [time] ago, go ahead and turn notifications/alerting back on,
 so administrators are notified that something went wrong.

 We are doing much of the above with our production systems, and it
 works well, especially for the Windows hosts that patch at least once
 a month.  Server can call a CGI, and if the server is in the database
 (DNS and IP resolve exactly to the name in the DB), it can disable
 notifications for itself.  After 45 minutes, if a host is still in
 this maintenance state, alerts are enabled again, and we get woken up
 as the server needs handholding while we still have a patch window to
 do the work in.

 --
 Breandan Dezendorf
 brean...@dezendorf.com
 bwdez...@gmail.com

 --
 Start uncovering the many advantages of virtual appliances
 and start using them to simplify application deployment and
 accelerate your shift to cloud computing.
 http://p.sf.net/sfu/novell-sfdev2dev
 ___
 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




-- 
Diego Roccia
diego.roccia (at) gmail (dot) com

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
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] SQL-DB Services-Unknown Status

2010-09-23 Thread Morris, Patrick

 On 9/23/2010 3:45 AM, ravishankar.gundlap...@wipro.com wrote:


Hi All,

Request you to please help me on this.

Thanks,

Ravi G

*From:* Ravishankar Gundlapali (WT01 - Energy and Utilities)
*Sent:* Tuesday, September 21, 2010 8:27 PM
*To:* 'Nagios Users List'
*Subject:* SQL-DB Services-Unknown Status

Hi,

I am using Nagios Version 3.0.6 on a Linux server to monitor the 
SQL-DB-LOG-GROWTH and SQL-DB-LOG-USED on the Windows servers.


The status information in Nagios is showing following error. Please 
see the screenshots below


 1)  UNKNOWN: No handler for that command

I am using the following the check commands

 check_nrpe_mssql_log_used!*!50!90

check_nrpe_mssql_log_growths!*!5000!9000

 Please someone let me know how can I resolve this.

Please see the service definition and command definition which I am 
using for SQL-DB-LOG-USED and SQL-DB-LOG-GROWTH.





You left out the most critical piece of information: How are your 
commands defined in NRPE?
--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev___
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] Building MAC OSX binaries

2010-09-23 Thread Rob Tanner
Hi,

We¹ve recycled a handful of Mac Mini 1¹s (tiny boxes just large enough to
include a single CD drive), and we want to install Nagios on them and put
them around in strategic locations on the network so that we can monitor
performance.  I have the full Apple SDK on my desktop system and so I would
like to build Nagios/NRPE and all the various bits and bobs on my machine
and then distribute the binaries to the mini¹s.  The problem is that the
mini¹s are 32bit and my desktop is 64bit.  Can anyone tell me how to compile
32bit on a 64bit machine.

Thanks,
Rob



Rob Tanner
UNIX Services Manager
Linfield College, McMinnville Oregon


--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev___
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] Building MAC OSX binaries

2010-09-23 Thread Morris, Patrick

 On 9/23/2010 9:17 AM, Rob Tanner wrote:

Hi,

We’ve recycled a handful of Mac Mini 1’s (tiny boxes just large enough 
to include a single CD drive), and we want to install Nagios on them 
and put them around in strategic locations on the network so that we 
can monitor performance.  I have the full Apple SDK on my desktop 
system and so I would like to build Nagios/NRPE and all the various 
bits and bobs on my machine and then distribute the binaries to the 
mini’s.  The problem is that the mini’s are 32bit and my desktop is 
64bit.  Can anyone tell me how to compile 32bit on a 64bit machine.


Generally, adding -m32 to your CFLAGS (and probably CPPFLAGS) 
environment variables will force 32-bit compilation, assuming you're 
using gcc.


--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev___
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] Building MAC OSX binaries

2010-09-23 Thread Allan Clark
On Thu, Sep 23, 2010 at 11:17, Rob Tanner rtan...@linfield.edu wrote:
 Hi,

 We’ve recycled a handful of Mac Mini 1’s (tiny boxes just large enough to
 include a single CD drive), and we want to install Nagios on them and put
 them around in strategic locations on the network so that we can monitor
 performance.  I have the full Apple SDK on my desktop system and so I would
 like to build Nagios/NRPE and all the various bits and bobs on my machine
 and then distribute the binaries to the mini’s.  The problem is that the
 mini’s are 32bit and my desktop is 64bit.  Can anyone tell me how to compile
 32bit on a 64bit machine.

32-bit: i386 or PPC?

You might be able to effect a cross-compile by changing the project
properties if you're using Xcode:

Project -
   Edit Project Settings ...
 tab called Build at the top
choose a base SDK and architecture

Allan
-- 
all...@chickenandporn.com  金鱼 http://linkedin.com/in/goldfish

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
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] Bug in check_openmanage ?

2010-09-23 Thread Trond Hasle Amundsen
rb...@free.fr writes:

 Hi Trond,

 You are right ...

 --
 # omreport chassis

 Health

 Main System Chassis

 SEVERITY : COMPONENT
 Ok   : Memory
 Critical : Power Management
 Ok   : Processors
 Ok   : Temperatures
 Ok   : Voltages
 Ok   : Hardware Log
 Ok   : Batteries

 For further help, type the command followed by -?
 

 On the IDRAC i have the message System Board Current Latch

This is interesting.. Have you configured power budgeting on this
server? What does this command say:

  omreport chassis pwrmanagement

On a regular R805 here it just says:

  Power Budget Information is not available on this system.

but we've never configured or used this feature, so I don't know
anything about it.

I'm thinking that perhaps check_openmanage should support these and
similar configurable OMSA features.

Regards,
-- 
Trond H. Amundsen t.h.amund...@usit.uio.no
Center for Information Technology Services, University of Oslo

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
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