[Nagios-users] Fwd: Re: Configuration files obfuscation

2009-06-17 Thread Assaf Flatto
As the user sent this mail to me - i am forwarding it to the list , so all will 
be able to know what 
he needs and may be able to help more.

Assaf


--  Forwarded Message  --

Subject: Re: [Nagios-users] Configuration files obfuscation
Date: Tuesday 16 June 2009
From: edward baddouh ebadd...@gmail.com
To: Assaf Flatto assaf.fla...@ssp-intl.com

Yes, I want the configuration files to be worse (readable).
The idea is to difficult as-much-as-possible config-files theft from ohter
people who admin that server..

There have been times that configuration files were implemented on different
installations (different sites) with minor changes without the admin's
consent..

I don't want nobody to get credits for work I've done and receive no profit
at all..

That's my need for obfuscation. My idea is to keep an original
readable-configuration in a safe place and set the obfuscated config-file in
production.



2009/6/16 Assaf Flatto assaf.fla...@ssp-intl.com

 On Tuesday 16 June 2009 15:53:11 edward baddouh wrote:
  Hi,
 
  is ther a way to obfuscate configuration files?
 
  edward


 You want the files to be more confusing then they are now ???
 the easiest way is not to give self explanatory names to the files /
 directories .

 btw - i have a question about this ...

 Why ??

 Are you trying to make the work on the configuration worse for yourself ?




 --
 Assaf Flatto





 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




 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables unlimited
 royalty-free distribution of the report engine for externally facing
 server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null


---

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

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




IMPORTANT . this email and the information in it may 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 

Re: [Nagios-users] Fwd: Re: Configuration files obfuscation

2009-06-17 Thread Kevin Keane
Obfuscating the config files is going to be difficult, because almost 
everything in them is either a Nagios keyword, or something that shows 
up verbatim in the user interface, or an IP address. The only thing you 
could reasonably obfuscate is the names of the various commands.

But you may be able to use either encryption or permissions to 
accomplish the same goal even more securely.

Using permissions:

If you have problems trusting administrators, you shouldn't give them 
root access. Instead, give each administrator a personal non-root 
account, and use sudo to give them only access to what you want them to 
manage. With that approach, you can then give only the authorized 
administrator sudo access to the nagios config files.

It also lets you track, in the log files, who executed which command.

Another option is to put the configuration files onto a different 
machine that the untrusted admins do not have access to. Export that 
directory using NFS and make it only accessible to user nagios. NFS 
prevents root from accessing the directory.

Using Encryption:

Here are a few methods I could think of. They all take advantage of the 
fact that Nagios doesn't read the config files once it is running (at 
least, I believe that's the case).

- Use some form of encrypted file system that only user nagios can read.
- Put the configuration files into an ISO or a cramfs file system. 
Encrypt the file using gpg. Decrypt and mount that file system only 
right before Nagios starts up, and umount it and delete the decrypted 
version right away (you may even be able to mount the encrypted version 
somehow and decrypt on the fly - I'm not an expert on that). Modify the 
nagios.cfg to point to the mount point, as appropriate.
- Put the configuration files into an ISO, burn an actual CD, and put 
the CD into the machine only right before starting up Nagios. That way, 
the config files physically aren't there at all. Something that is not 
on the machine can't be stolen.
- I'm not sure if Nagios is able to read config files from a script 
instead of a file - if it is, you could encrypt the config files using 
gpg, and have Nagios decrypt it on the fly. Or you could modify the 
Nagios startup script to decrypt the config files right before starting 
Nagios, and delete the decrypted config files after Nagios has started 
successfully.

Assaf Flatto wrote:
 As the user sent this mail to me - i am forwarding it to the list , so all 
 will be able to know what 
 he needs and may be able to help more.

 Assaf


 --  Forwarded Message  --

 Subject: Re: [Nagios-users] Configuration files obfuscation
 Date: Tuesday 16 June 2009
 From: edward baddouh ebadd...@gmail.com
 To: Assaf Flatto assaf.fla...@ssp-intl.com

 Yes, I want the configuration files to be worse (readable).
 The idea is to difficult as-much-as-possible config-files theft from ohter
 people who admin that server..

 There have been times that configuration files were implemented on different
 installations (different sites) with minor changes without the admin's
 consent..

 I don't want nobody to get credits for work I've done and receive no profit
 at all..

 That's my need for obfuscation. My idea is to keep an original
 readable-configuration in a safe place and set the obfuscated config-file in
 production.



 2009/6/16 Assaf Flatto assaf.fla...@ssp-intl.com

   
 On Tuesday 16 June 2009 15:53:11 edward baddouh wrote:
 
 Hi,

 is ther a way to obfuscate configuration files?

 edward
   
 You want the files to be more confusing then they are now ???
 the easiest way is not to give self explanatory names to the files /
 directories .

 btw - i have a question about this ...

 Why ??

 Are you trying to make the work on the configuration worse for yourself ?




 --
 Assaf Flatto
 

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

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

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


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin 

Re: [Nagios-users] Fwd: Re: Configuration files obfuscation

2009-06-17 Thread Andreas Ericsson
edward baddouh wrote:
 Yes, I want the configuration files to be worse (readable).
 The idea is to difficult as-much-as-possible config-files theft from ohter
 people who admin that server..
 
 There have been times that configuration files were implemented on different
 installations (different sites) with minor changes without the admin's
 consent..
 
 I don't want nobody to get credits for work I've done and receive no profit
 at all..
 

This is just stupid imo and would be far better solved with some social
conventions. The problem is that there's a limited way of configuring
Nagios for a particular setup, so it's always entirely possible that
whoever you *think* is stealing configuration from you has actually
read the nagios docs for 15-30 minutes and then figured out how to do
it themselves. It's not exactly rocket science, and a nagios config
isn't a super-fast cryptographically secure hash algorithm that you
(sometimes) need to jealously protect. The fact that you're trying
makes me feel dirty all over, to be honest.

Why you want an opensource community help you *not* share your work,
I really do not fathom, but you'll get absolutely no help from me.

-- 
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.

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Fwd: Re: Configuration files obfuscation

2009-06-17 Thread Alain Williams
On Wed, Jun 17, 2009 at 11:09:10AM +0200, Andreas Ericsson wrote:
 edward baddouh wrote:
  Yes, I want the configuration files to be worse (readable).
  The idea is to difficult as-much-as-possible config-files theft from ohter
  people who admin that server..
  
  There have been times that configuration files were implemented on different
  installations (different sites) with minor changes without the admin's
  consent..
  
  I don't want nobody to get credits for work I've done and receive no profit
  at all..
  
 
 This is just stupid imo and would be far better solved with some social
 conventions. The problem is that there's a limited way of configuring
 Nagios for a particular setup, so it's always entirely possible that
 whoever you *think* is stealing configuration from you has actually
 read the nagios docs for 15-30 minutes and then figured out how to do
 it themselves. It's not exactly rocket science, and a nagios config
 isn't a super-fast cryptographically secure hash algorithm that you
 (sometimes) need to jealously protect. The fact that you're trying
 makes me feel dirty all over, to be honest.
 
 Why you want an opensource community help you *not* share your work,
 I really do not fathom, but you'll get absolutely no help from me.

+1

And who knows ... one of the people who takes your config might improve it
and tell you how!

-- 
Alain Williams
Linux/GNU 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
Past chairman of UKUUG: http://www.ukuug.org/
#include std_disclaimer.h

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Fwd: Re: Configuration files obfuscation

2009-06-17 Thread Pallavolu Reddi Sekhar Reddy
Hi,

I have installed the nagios on fedora 10 OS.
how can i get alerts from nagios? where to configure the nagios alerts on
contacts group for my mail ID(pr.sekharre...@gmail.com).

Please let me know your suggestions. thanks in advance.

Thanks
Sekhar Reddy P R


On Wed, Jun 17, 2009 at 2:48 PM, Alain Williams a...@phcomp.co.uk wrote:

 On Wed, Jun 17, 2009 at 11:09:10AM +0200, Andreas Ericsson wrote:
  edward baddouh wrote:
   Yes, I want the configuration files to be worse (readable).
   The idea is to difficult as-much-as-possible config-files theft from
 ohter
   people who admin that server..
  
   There have been times that configuration files were implemented on
 different
   installations (different sites) with minor changes without the admin's
   consent..
  
   I don't want nobody to get credits for work I've done and receive no
 profit
   at all..
  
 
  This is just stupid imo and would be far better solved with some social
  conventions. The problem is that there's a limited way of configuring
  Nagios for a particular setup, so it's always entirely possible that
  whoever you *think* is stealing configuration from you has actually
  read the nagios docs for 15-30 minutes and then figured out how to do
  it themselves. It's not exactly rocket science, and a nagios config
  isn't a super-fast cryptographically secure hash algorithm that you
  (sometimes) need to jealously protect. The fact that you're trying
  makes me feel dirty all over, to be honest.
 
  Why you want an opensource community help you *not* share your work,
  I really do not fathom, but you'll get absolutely no help from me.

 +1

 And who knows ... one of the people who takes your config might improve it
 and tell you how!

 --
 Alain Williams
 Linux/GNU 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
 Past chairman of UKUUG: http://www.ukuug.org/
 #include http://www.ukuug.org/%0A#include std_disclaimer.h


 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables unlimited
 royalty-free distribution of the report engine for externally facing
 server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null




-- 
P.R.Sekhar Reddy
+91-9916727650
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Fwd: Re: Configuration files obfuscation

2009-06-17 Thread Pallavolu Reddi Sekhar Reddy
I want to add new windows server on nagios.
how can i configure that let me know. on hosts.cfg file


Thanks
Sekhar Reddy P R


On Wed, Jun 17, 2009 at 3:26 PM, Julian Hein jh...@netways.de wrote:



 Am 17.06.09 11:09 schrieb Andreas Ericsson unter a...@op5.se:

  edward baddouh wrote:
  Yes, I want the configuration files to be worse (readable).
  The idea is to difficult as-much-as-possible config-files theft from
 ohter
  people who admin that server..
 
  There have been times that configuration files were implemented on
 different
  installations (different sites) with minor changes without the admin's
  consent..
 
  I don't want nobody to get credits for work I've done and receive no
 profit
  at all..
 
 
  This is just stupid imo and would be far better solved with some social
  conventions. The problem is that there's a limited way of configuring
  Nagios for a particular setup, so it's always entirely possible that
  whoever you *think* is stealing configuration from you has actually
  read the nagios docs for 15-30 minutes and then figured out how to do
  it themselves. It's not exactly rocket science, and a nagios config
  isn't a super-fast cryptographically secure hash algorithm that you
  (sometimes) need to jealously protect. The fact that you're trying
  makes me feel dirty all over, to be honest.
 
  Why you want an opensource community help you *not* share your work,
  I really do not fathom, but you'll get absolutely no help from me.

 And it would not work, because the config always gets de-obfuscated in the
 objects cache and is visible in the Webinterface with view config

 Makes no sense to me as well.

 Julian



 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables unlimited
 royalty-free distribution of the report engine for externally facing
 server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null




-- 
P.R.Sekhar Reddy
+91-9916727650
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Can nagios replace whatsup

2009-06-17 Thread Alex Dehaini
Hi Guys,

My company uses nagios and whatsup together. Nagios helps us to monitor
services and send out notifications and whatsup does live network
monitoring. Recently, my supervisor wants me to scrap whatsup for nagios. I
am not very comfortable with his decision. What's up is a spot-check tool.

Both products views are different. Our nagios server checks over 800 hosts
and services while whatsup checks less than 80 devices.

Is there a way to configure nagios to be a spot check tool? What do you guys
suggest?

I will not mind getting an open-source graphical spot-check tool like
whatsup

-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - alexdeha...@gmail.com
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Host/service comments

2009-06-17 Thread Ales Rikovsky

Hello,
there is a possiblity to insert comments in which I can describe fox
example the reason of host crash.

First: can I insert comment to the past

Second and IMPRTANT: is it possible to have comments hidden from regular
user view?

   Thank you

Ales


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Fwd: Re: Configuration files obfuscation

2009-06-17 Thread Marc Powell

On Jun 17, 2009, at 5:04 AM, Pallavolu Reddi Sekhar Reddy wrote:

 Hi,

 I have installed the nagios on fedora 10 OS.
 how can i get alerts from nagios? where to configure the nagios  
 alerts on contacts group for my mail ID(pr.sekharre...@gmail.com).

How is this related to configuration obfuscation?

--
Marc


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] nagios future?

2009-06-17 Thread Michael Friedrich
Didn't have the time to catch up on Merlin, but I ran a few more Tests 
with Icinga IDO and libdbi Oracle - it fails hard.

Tested against Oracle 11g, DB connection successfull but error in 
address mapping while doing a simple DB insert. Meaning the oracle 
driver for libdbi is broken and in case of using the libdbi and Oracle 
we'll have to fix the driver or code a new one eventually based on the 
ocilib (check libdbi-devel list)

Ah, and the DB scheme is modified in the following parts:

- kicked table prefix (saves characters for renaming only one table)
- serviceescalation_contactgroups = serviceescalationcontactgroups
- the PKs are [tablename]_id - that sucks a lot, so it is only id and 
the queries need to be modified partly (since the IDO is only an INSERT 
and DELETE by date tool it is not that much work)


Andreas Ericsson wrote the following on 11.06.2009 21:33:

 I'll sneak a peak at them. Thanks. Let me know if you need any help with
 getting Merlin up and running. It works for me, but external testing is
 surely required in order to make sure I haven't done something that only
 works here. 

-- 
DI (FH) Michael Friedrich
michael.friedr...@univie.ac.at
Tel: +43 1 4277 14359

Vienna University Computer Center
Universitaetsstrasse 7 
A-1010 Vienna, Austria  


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Proper use of this list

2009-06-17 Thread Alain Williams
On Wed, Jun 17, 2009 at 06:36:50PM +0530, rajashekar.s wrote:
 Hi,
 For monitoring windows machines
 
 (a) Edit /usr/local/nagios/etc/nagios.cfg
 

 Pallavolu Reddi Sekhar Reddy wrote:
 
 I want to add new windows server on nagios.
 how can i configure that let me know. on hosts.cfg file

When you start a new topic, please:

1) Change the subject line -- leaving as the old one only confuses!

2) Remove the ''In-Reply-To'' mail header -- or preferably just start
   a new mail (ie don't reply).

Why ? Because those of us who used a MUA that supports threading get confused
if you do not.


While I am at it: please remove irrelevant/old stuff at the bottom of emails
that you reply to.

Thank you

-- 
Alain Williams
Linux/GNU 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
Past chairman of UKUUG: http://www.ukuug.org/
#include std_disclaimer.h

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] NDO Utilities install NDO database error for ndoutils-1.3.1

2009-06-17 Thread Natalie Aloi

Hello I am attempting to install NDO Utils - I am at the Create NDO Database 
section...except I don't have this installdb file in my db directory I have 
what is below:
as you can see I am installing ndoutils 1.3.1 since I am using nagios 2.11

[r...@nagios ndoutils-1.3.1]# cd db
[r...@nagios db]# ls -lat
total 80
drwxrwxr-x 7 nagios nagios 4096 2009-06-17 11:38 ..
drwxrwxr-x 2 nagios nagios 4096 2006-02-15 18:06 .
-rw-r--r-- 1 nagios nagios 55070 2006-02-15 18:06 mysql.sql
-rw-rw-r-- 1 nagios nagios 2970 2006-02-15 18:06 mysql-upgrade-1.1.sql
-rw-rw-r-- 1 nagios nagios 89 2006-02-15 18:06 mysql-upgrade-1.2.sql
-rw-rw-r-- 1 nagios nagios 467 2006-02-15 18:06 README
[r...@nagios db]#

These were directions from 
http://nagioswiki.com/wiki/index.php/NDOutils_on_CentOS

all was going just fine until I got to this sectionCAN SOMEONE HELP?
Creating NDO database
It's time now to create the NDO MySql database Run the DB installation script 
in the /tmp/ndoutils-1.4b6/db/ subdirectory of the NDO distribution to create 
the necessary tables in the database.
(-u = user; -p = password; -h = name of computer; -d = MySQL DB) 
cd /tmp/ndoutils-1.4b6/db./installdb -u nagios -p nagios -h localhost -d 
nagiosDBD::mysql::db do failed: Table 'nagios.nagios_dbversion' doesn't exist 
at ./installdb line 51.** Creating tables for version 1.4b6 Using mysql.sql for 
installation...** Updating table nagios_dbversionDone!NatalieNetwork Operations 
Center Manager
Experis Data Center LLC
8209 Valley Pike
PO Box 535
Middletown,VA 22645
phone:540-869-8702
cell:240-988-3267
fax:540-869-8710
e-mail:na...@experisdatacenters.com
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] NDO Utilities install NDO database error for ndoutils-1.3.1

2009-06-17 Thread Marc Powell

On Jun 17, 2009, at 11:09 AM, Natalie Aloi wrote:

 Hello I am attempting to install NDO Utils - I am at the Create NDO  
 Database section...except I don't have this installdb file in my db  
 directory I have what is below:
 as you can see I am installing ndoutils 1.3.1 since I am using  
 nagios 2.11


1.3.1 is almost 2.5 years out-of-date. You're following instructions  
for 1.4b7; is there a reason you're not installing that more recent  
version?

--
Marc


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Can nagios replace whatsup

2009-06-17 Thread Israel Brewster
On Jun 17, 2009, at 2:33 AM, Alex Dehaini wrote:Hi Guys,My company uses nagios and whatsup together. Nagios helps us to monitor services and send out notifications and whatsup does live network monitoring. Recently, my supervisor wants me to scrap whatsup for nagios. I am not very comfortable with his decision. What's up is a spot-check tool. Both products views are different. Our nagios server checks over 800 hosts and services while whatsup checks less than 80 devices.Is there a way to configure nagios to be a spot check tool? What do you guys suggest?  I will not mind getting an open-source graphical spot-check tool like whatsupI'm not familiar with whatsup myself, but from what you are saying, it sounds to me like the main difference is that nagios is checking many more hosts than whatsup, although they are both doing similar monitoring. Just looking at the less than 80 hosts monitored by whatsup in nagios is problematic because they get lost among all the other hosts that nagios is checking. Is that correct? If so, perhaps you could simply configure a separate contact in nagios, probably with notification options set to none, and only assign this contact to the 80 or so hosts you want to monitor closely. Then when you log in as that user, only those 80 or so hosts are visible. At least, that is my understanding of how contacts work: only the hosts for which you are a contact are displayed. Perhaps someone else could expound on this as a solution?I also seem to recall reading about/brieflylookingatsomesortoffront-endfornagiosthatprovidesamuchmorecustomizableview,whereyoucouldselectjustthehostsyouwant.IthinkitwasNagiosLookingglass: http://exchange.nagios.org/directory/Addons/Frontends-(GUIs-and-CLIs)/Web-Interfaces/Nagios-Looking-Glass/details  Perhaps this will suit your purposes?---Israel BrewsterComputer SupportTechnician IIFrontier Flying Service Inc.5245 Airport Industrial RdFairbanks, AK 99709(907) 450-7250 x293- Alex DehainiDeveloperSite - www.alexdehaini.comEmail - alexdeha...@gmail.com --Crystal Reports - New Free Runtime and 30 Day TrialCheck out the new simplified licensing option that enables unlimitedroyalty-free distribution of the report engine for externally facing server and web deployment.http://p.sf.net/sfu/businessobjects___Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://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/nullBEGIN:VCARD
VERSION:3.0
N:Brewster;Israel;;;
FN:Israel Brewster
ORG:Frontier Flying Service;MIS
TITLE:PC Support Tech II
EMAIL;type=INTERNET;type=WORK;type=pref:isr...@frontierflying.com
TEL;type=WORK;type=pref:907-450-7293
item1.ADR;type=WORK;type=pref:;;5245 Airport Industrial Wy;Fairbanks;AK;99701;
item1.X-ABADR:us
X-ABUID:36305438-95EA-4410-91AB-45D16CABCDDC\:ABPerson
END:VCARD
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] ' Need the big picture: Why retention?

2009-06-17 Thread Scott . Chapman
I'm reading the Nagios docs (a rather long trip - thanks for the great docs!) 
and I'm seeing plenty of references to retention.  I'm new to this and it isn't 
clicking.

Why would I want retention?  

What's it for?

TIA - I'm a bit confused. :)

Scott




The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure.  If the reader
of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify me
immediately by replying to this message and deleting it and all
copies and backups thereof.  Thank you.



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Check not running

2009-06-17 Thread Mike Chesnut
Any ideas how I could debug a check that works when using 
capture_plugin.pl, but never gets scheduled or run otherwise?

Thanks,
Mike

Mike Chesnut wrote:
 I have a check that never runs.  The services I've defined that use it 
 sit at the top of the scheduling queue, with their next check always 
 within a few minutes of the last time I restarted nagios.  This remains 
 the case even if I reschedule their next check time in the web interface 
 (while I see a line in the log file confirming that I rescheduled it, 
 the next check does not update and the check is never run).
 
 The check is defined like this:
 
 command_line   /etc/nagios/plugins/check_snmp_byportname.pl --host 
 $HOSTADDRESS$ --community mycommunity --port $ARG1$
 
 What's really weird is that if I change it to use Wolfgang Wagner's 
 capture_plugin.pl*, then everything works as expected.  I change the 
 above to this:
 
 command_line/etc/nagios/plugins/capture_plugin.pl 
 /etc/nagios/plugins/check_snmp_byportname.pl --host $HOSTADDRESS$ 
 --community mycommunity --port $ARG1$
 
 and then I am able to see the output in /tmp/camptured-plugins.log, the 
 status updates in nagios, these checks get cycled through the scheduler 
 queue normally, and everything is as it should be.
 
 check_snmp_byportname.pl is a script I've written that's essentially 
 just a wrapper around the stock check_snmp.  It works on its own (from 
 the command line) as expected, and works when called with 
 capture_plugin.pl as a wrapper.
 
 If I then remove the capture_plugin.pl part of that command definition 
 and restart (and this is the *only* change I'm making), then this 
 particular check goes back to not working (while everything else 
 continues to work as normal).
 
 This is on Nagios 2.9 (I'm using the rpm provided by Dag Wieers, on 
 CentOS 5.2).
 
 What else can I do to debug this?  I thought that using capture_plugin 
 would show me what was wrong with this check, but instead it just showed 
 me that nothing is wrong, apparently.  I'm kind of confused at this point.
 
 Sorry this is so long.  I wanted to try to include as much information 
 and observations as possible.
 
 Thanks in advance for the help,
 Mike
 
 * - from here: http://www.waggy.at/nagios/capture_plugin.htm
 
 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables unlimited
 royalty-free distribution of the report engine for externally facing 
 server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue. 
 ::: Messages without supporting info will risk being sent to /dev/null

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] NRPE_NT Bad return code for 128

2009-06-17 Thread Murali Edula
Hi,

 

I am running NRPE_NT on Windows2003. It was running fine.

All of sudden it is giving error

 

See the log file:

 

2009-06-17 15:34:13; 844; 7;Host is asking for command 'nt_check_disk_c' to
be run...

2009-06-17 15:34:13; 844; 7;Running command:
C:\nrpe_nt_2003\bin\diskspace_nrpe_nt.exe c: 80 90

2009-06-17 15:34:13; 844; 7;Command completed with return code 128

2009-06-17 15:34:13; 844; 4;Bad return code for [No output available from
command...]: 128

 

Thank you

 

 

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] ' Need the big picture: Why retention?

2009-06-17 Thread Marc Powell

On Jun 17, 2009, at 1:27 PM, scott.chap...@verizonwireless.com wrote:

 I'm reading the Nagios docs (a rather long trip - thanks for the  
 great docs!)

Good deal... =)

 and I'm seeing plenty of references to retention.  I'm new to this  
 and it isn't clicking.

 Why would I want retention?

 What's it for?

Retention is useful in at least a couple of cases --
- When nagios is restarted hosts and services are normally put into a  
PENDING state until they are actually checked again. With retention,  
information in the retention file will be used to set the initial  
status of hosts and services to the last known state. It makes  
restarts essentially transparent.
- Several program-wide and host and service specific things can be  
changed via the GUI (whether checks are enabled, notifications are  
enabled, etc...). Without retention, those changes are reverted back  
to their config-file settings on restart. With retention, they are  
maintained seamlessly across restarts.

--
Marc


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] need help with check_sensors

2009-06-17 Thread Jeremiah Jester
Hello,

I'm trying to get check_sensors working for nagios. I already have
lm_sensors installed and ran 'sensors' to configure it for my machine.

Next, I setup and defined the commands and services in nagios. However, when
i run the following command i get the following error.

$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.44 -c check_temp
SENSOR CRITICAL - Sensor alarm detected!

$tail /var/log/nagios2/nagios.log
[1245270237] SERVICE ALERT: pse06-back;CHECK TEMP;UNKNOWN;HARD;3;(No output
returned from plugin)
[1245270237] SERVICE NOTIFICATION: root;pse06-back;CHECK
TEMP;UNKNOWN;notify-by-email;(No output returned from plugin)

There doesn't seem to be much information on the web or in my Pro Nagios 2.0
book about this plugin.

Any help would be appreciated!

JJ
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Need to Configure SMS and Email Notification

2009-06-17 Thread chethan.mnc
Hi All,

 

I need to Configure SMS and E mail Notification from my Nagios Setup.

 Please let me know how to get this done.

 

 

 

Regards,

Chethan M N

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Return code of 142 is out of bounds

2009-06-17 Thread victory
Hi All,

I am running Nagios 3.0.2 on FC5 server.

I have been encountering this strange error intermittently on a few checks.

(Return code of 142 is out of bounds)

I am using the nagios with snmp (net-snmp-5.2  net-snmp-5.3) on a few
servers.

This normally happens with snmp-load checks or snmp-disk checks.

I could not find anything related to this problem over the internet. Hoping
to get a solution to this problem here.

Regards,
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null