[Nagios-users] Nagios 3.0.6 NagiosExcahnge Google Map Support

2009-02-19 Thread nagaraj raj
Hi 

can anyone suggest me where to get google map support with nagios. 
I just need the link.I tried quite  a few links which where the files
where either corrupted or broken . Btw I am setting up in Fedora  linux
Environment 


Regards
Nagarajan


  

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Problem executing plugins under nagios 3.0.6

2009-02-19 Thread Matthew Melvin
On Wed, 2009-02-11 at 15:12 +1000, Matthew Melvin wrote:

>  I've recently tried upgrading from nagios 2.9 to nagios 3.0.6 but now it
> seems like nagios is having trouble executing plugins.  The execve calls
> are failing with E2BIG.  An example from an strace...
> 
> 23545 execve("/bin/sh", ["sh", "-c",
> "/usr/lib/nagios/plugins/check_dummy 3 \"Stale results\""], [/* 191 vars
> */]) = -1 E2BIG (Argument list too long)

To follow up... essentially the E2BIG was happening not because **argv
was too large, but because **envp was.   NAGIOS_HOSTGROUPMEMBERS alone
was many KBs.  Setting...

enable_environment_macros=0

... seems to have resolved my issue.

M.

-- 
... with eskimo chain i tattooed my brain all the way...


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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 and Solaris 10 client

2009-02-19 Thread Kyle O'Donnell
there are binaries for nrpe available on the nagiosexchange.org site.

you must run the nrpe daemon with the -n option and when using check_nrpe

On Thu, Feb 19, 2009 at 10:51 PM, syed jafar  wrote:

>
>
> Does anyone know how to add Solaris 10 client to NAGIOS host/server. The
> server is running LINUX and I am trying to add Solaris 10 client and want to
> be able to monitor disk space and CPU utilization. I was getting errors
> during the addon compilation ans was told to compile using the -n option
> which disables SSL. Now when I try to run the nrpe I seem to be getting the
> SSL errors. What is the proper was the add clients to monitor the disk and
> CPU utilization.
>
>
>
> Thanks,
>
> Syed Jafar
>
>
> --
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> ___
> 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
>
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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 and Solaris 10 client

2009-02-19 Thread syed jafar

 
Does anyone know how to add Solaris 10 client to NAGIOS host/server. The server 
is running LINUX and I am trying to add Solaris 10 client and want to be able 
to monitor disk space and CPU utilization. I was getting errors during the 
addon compilation ans was told to compile using the -n option which disables 
SSL. Now when I try to run the nrpe I seem to be getting the SSL errors. What 
is the proper was the add clients to monitor the disk and CPU utilization.
 
Thanks,
Syed Jafar
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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] Cacti intigrate with nagios

2009-02-19 Thread Max
Hi Satish,

I wrote Cacinda, it is good for integrating the displays of the two,
but does nothing to help with host and user management.  Sorry.

Cacti uses RRD, so does PNP, so I would think you could use RRD files
from Cacti with PNP; haven't tried, but I don't see why that wouldn't
work.

You could set up PNP, copy the files from Cacti into PNP directories
and play with making a few templates and if that works then just use
PNP to view the historical files from Cacti in one location and use a
separate instance for new data.

=- Max

On Thu, Feb 19, 2009 at 7:17 PM, Satish Patel  wrote:
> Thanks!
>
> but reason is i am using cacti since last 4 years and there is lots of
> historical data which i dont want to lost thats why i want to integrate
> existing cacti with nagios. that why i am looking plugin which help me to do
> this i have read about cacinda but there is not more document on net so its
> difficult to work on this if you guy already using this solution so please
> suggest me i will be happier...
>
>
>
> Regards,
>
> Satish Patel
>
>
> Quoting Max :
>
>> Many of us have used Cacti and Nagios together (I did for several
>> years) :), some probably still do.  better to go with a Nagios-centric
>> graphing add-on like PNP (there are others available as well!) and not
>> use Cacti at all .. trust me, you will be a happier person for not
>> using both at the same time.
>>
>> You can write scripts that auto-add hosts to Nagios based on the Cacti
>> database or vice-versa but it gets ugly pretty quickly.
>>
>> I personally replaced Cacti with PNP and am very content with the
>> combination; MUCH less administration time than Cacti + Nagios and PNP
>> makes adding new templates much easier than Cacti does for people who
>> are comfortable with RRD syntax.
>>
>> - Max
>>
>> On Thu, Feb 19, 2009 at 2:31 PM, Satish Patel  wrote:
>>>
>>> I have nagios running and now i want to intergate my cacti with nagios
>>> so i have only one frontend. anybody has done before this solution?
>>> please let me know.
>>>
>>>
>>> Regards,
>>>
>>> Satish Patel
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
>>> CA
>>> -OSBC tackles the biggest issue in open source: Open Sourcing the
>>> Enterprise
>>> -Strategies to boost innovation and cut costs with open source
>>> participation
>>> -Receive a $600 discount off the registration fee with the source code:
>>> SFAD
>>> http://p.sf.net/sfu/XcvMzF8H
>>> ___
>>> 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
>>>
>>
>
>
>
>

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Cacti intigrate with nagios

2009-02-19 Thread Satish Patel
Thanks!

but reason is i am using cacti since last 4 years and there is lots of  
historical data which i dont want to lost thats why i want to  
integrate existing cacti with nagios. that why i am looking plugin  
which help me to do this i have read about cacinda but there is not  
more document on net so its difficult to work on this if you guy  
already using this solution so please suggest me i will be happier...



Regards,

Satish Patel


Quoting Max :

> Many of us have used Cacti and Nagios together (I did for several
> years) :), some probably still do.  better to go with a Nagios-centric
> graphing add-on like PNP (there are others available as well!) and not
> use Cacti at all .. trust me, you will be a happier person for not
> using both at the same time.
>
> You can write scripts that auto-add hosts to Nagios based on the Cacti
> database or vice-versa but it gets ugly pretty quickly.
>
> I personally replaced Cacti with PNP and am very content with the
> combination; MUCH less administration time than Cacti + Nagios and PNP
> makes adding new templates much easier than Cacti does for people who
> are comfortable with RRD syntax.
>
> - Max
>
> On Thu, Feb 19, 2009 at 2:31 PM, Satish Patel  wrote:
>>
>> I have nagios running and now i want to intergate my cacti with nagios
>> so i have only one frontend. anybody has done before this solution?
>> please let me know.
>>
>>
>> Regards,
>>
>> Satish Patel
>>
>>
>>
>>
>>
>>
>> --
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
>> -Strategies to boost innovation and cut costs with open source participation
>> -Receive a $600 discount off the registration fee with the source code: SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> ___
>> 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
>>
>




--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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 + Postfix

2009-02-19 Thread Martyn
With this setting myhostname = chetnet.co.uk I can send mails to an external
mail box at proweb.co.uk, so it goes from an acco...@chetnet.co.uk to an
acco...@proweb.co.uk

But if I send a mail to al...@chetnet.co.uk I get to following

This is the mail system at host chetnet.co.uk.

#
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

   The mail system
unknown user: "alert"
##

Why is this, does postfix believe that this user should be on the same box?
If so I can I force mails to chetnet be sent out to chetnet, this is
confusing me now.

Thanks


-Original Message-
From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: 19 February 2009 20:13
To: 'Marc Powell'; 'Nagios Users'
Subject: RE: [Nagios-users] Nagios + Postfix

I have tried for the last few hours buy I can not resolve it, where have I
gone wrong, below is my config


#
# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first # line of
that file to be used as the name.  The Debian default # is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# TLS parameters
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for #
information on enabling SSL in the smtp client.

myhostname = chetnet.co.uk
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mailbox_size_limit = 0
recipient_delimiter = +
smtpd_recipient_restrictions = permit_mynetworks permit_inet_interfaces

Thanks


### 

-Original Message-
From: Marc Powell [mailto:m...@ena.com]
Sent: 19 February 2009 16:41
To: Nagios Users
Subject: Re: [Nagios-users] Nagios + Postfix


On Feb 19, 2009, at 10:11 AM, Martyn wrote:

> Proweb is not under my control
>
> I'm not to sure what you mean with regards to the rest of you reply, I 
> have not set up postfix to masquerade anything, would not know how to 
> do that

Google does though. Search for 'postfix domain change'. You're probably
going to be most interested in mydomain, myhostname and perhaps myorigin.

> I'm sending the mail from the Nagios Server from address 
> nag...@cna.localhost to not...@proweb.co.uk

Yup, I'd reject that too. cna.localhost isn't a valid hostname or domain.

> I have not configured postfix in anyway, the install guide just 
> implied that I did the following and it would work out of the box so 
> to speak

Yes, the install guide has to assume that the MTA packages and configuration
for whatever system you are using are sane. It's your responsibility to make
sure they are. Doing that is beyond the scope of nagios.

--
Marc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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 + Postfix

2009-02-19 Thread Sumit Malhotra
Change the name  in /etc/mailname.

- Sumit 

-Original Message-
From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Thursday, February 19, 2009 2:13 PM
To: 'Marc Powell'; 'Nagios Users'
Subject: Re: [Nagios-users] Nagios + Postfix

I have tried for the last few hours buy I can not resolve it, where have
I
gone wrong, below is my config



#
# See /usr/share/postfix/main.cf.dist for a commented, more complete
version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# TLS parameters
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package
for
# information on enabling SSL in the smtp client.

myhostname = chetnet.co.uk
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mailbox_size_limit = 0
recipient_delimiter = +
smtpd_recipient_restrictions = permit_mynetworks permit_inet_interfaces

Thanks



### 

-Original Message-
From: Marc Powell [mailto:m...@ena.com] 
Sent: 19 February 2009 16:41
To: Nagios Users
Subject: Re: [Nagios-users] Nagios + Postfix


On Feb 19, 2009, at 10:11 AM, Martyn wrote:

> Proweb is not under my control
>
> I'm not to sure what you mean with regards to the rest of you reply, I

> have not set up postfix to masquerade anything, would not know how to 
> do that

Google does though. Search for 'postfix domain change'. You're probably
going to be most interested in mydomain, myhostname and perhaps
myorigin.

> I'm sending the mail from the Nagios Server from address 
> nag...@cna.localhost to not...@proweb.co.uk

Yup, I'd reject that too. cna.localhost isn't a valid hostname or
domain.

> I have not configured postfix in anyway, the install guide just 
> implied that I did the following and it would work out of the box so 
> to speak

Yes, the install guide has to assume that the MTA packages and
configuration
for whatever system you are using are sane. It's your responsibility to
make
sure they are. Doing that is beyond the scope of nagios.

--
Marc



--
Open Source Business Conference (OSBC), March 24-25, 2009, San
Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the
Enterprise
-Strategies to boost innovation and cut costs with open source
participation
-Receive a $600 discount off the registration fee with the source code:
SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] check_ntp_peer unreliable on macs

2009-02-19 Thread Peter Doherty
I've got Nagios monitoring several Macs, and I'd like to know that NTP  
is running okay on them, since if the time drifts by a few minutes,  
Kerberos Authentication stops working.
It seems that some of the newest Macs work okay, pretty much any of  
the Intel Macs running 10.5 Leopard work, but on any of the 10.4 Tiger  
Macs, I just get
" NTP CRITICAL: Server not synchronized, Offset unknown "

I'm simply running check_ntp_peer -H localhost

Any suggestions on if this can be fixed somehow?

Thanks
--Peter

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Cacti intigrate with nagios

2009-02-19 Thread Max
Many of us have used Cacti and Nagios together (I did for several
years) :), some probably still do.  better to go with a Nagios-centric
graphing add-on like PNP (there are others available as well!) and not
use Cacti at all .. trust me, you will be a happier person for not
using both at the same time.

You can write scripts that auto-add hosts to Nagios based on the Cacti
database or vice-versa but it gets ugly pretty quickly.

I personally replaced Cacti with PNP and am very content with the
combination; MUCH less administration time than Cacti + Nagios and PNP
makes adding new templates much easier than Cacti does for people who
are comfortable with RRD syntax.

- Max

On Thu, Feb 19, 2009 at 2:31 PM, Satish Patel  wrote:
>
> I have nagios running and now i want to intergate my cacti with nagios
> so i have only one frontend. anybody has done before this solution?
> please let me know.
>
>
> Regards,
>
> Satish Patel
>
>
>
>
>
>
> --
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> ___
> 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
>

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Using SLES10 and Nagios 3.x under VMWare

2009-02-19 Thread Ciro Iriarte
2009/2/19 Deborah Martin :
> Hi Christian,
>
> The vmware environment (i.e Sles10) is built by IT services here so I don't
> have any insight on this part.
>
> I shall then build nagios from source so that I have a more granular control
> over where things go although it's mostly
> to standard places i.e /usr/local/nagios etc
>
>
>
> regards,
> deborah
>
> -Original Message-
> From: Christian Schneemann [mailto:cschneem...@suse.de]
> Sent: 19 February 2009 14:17
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Using SLES10 and Nagios 3.x under VMWare
>
> On Thursday February 19 2009 02:30:29 pm Deborah Martin wrote:
>> Hi,
>>
>> I've never used SLES10 + Nagios 3.x as a VM Ware box and I wondered if
>> any of you had come across any issues that I should be aware of. (A
>> new environment is being built in this way to replace an old PC
>> running nagios)
>>
>> Basically, the nagios 3.x setup is very simple. We use it to monitor
>> database activity such as RAM or disk usage amongst others using
>> plugins that I wrote.
>>
>> Nagios monitors a few other nodes using ping or ssh but other than
>> that it's not a complicated setup.
>>
>> Any feedback / advice on running Nagios within VM Ware would be really
>> useful.
>>
>> thanks,
>> deborah
> Hi,
> we've used an vmware image for testing our config and new nagios packages
> and everything went fine. We now changed to xen guests because I prefer xen
> ;)
>
> I see no problems with running nagios in a virtual machine.
>
> Do you use the official packages from SLES or the ones from buildservice? Or
> do you install nagios from sources?
>
> Greetings,
>Christian
>

If you are running a 32 bits machine, you can use the kernel that has
VMware's paravirtualization support and ask your infrastructure admin
to enable that option in the VM.

I'm running nagios v3 from BuildService on a Xen domU with SLES10SP2.

Regards,

-- 
Ciro Iriarte
http://cyruspy.wordpress.com
--

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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 + Postfix

2009-02-19 Thread Martyn
I have tried for the last few hours buy I can not resolve it, where have I
gone wrong, below is my config


#
# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# TLS parameters
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = chetnet.co.uk
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mailbox_size_limit = 0
recipient_delimiter = +
smtpd_recipient_restrictions = permit_mynetworks permit_inet_interfaces

Thanks


### 

-Original Message-
From: Marc Powell [mailto:m...@ena.com] 
Sent: 19 February 2009 16:41
To: Nagios Users
Subject: Re: [Nagios-users] Nagios + Postfix


On Feb 19, 2009, at 10:11 AM, Martyn wrote:

> Proweb is not under my control
>
> I'm not to sure what you mean with regards to the rest of you reply, I 
> have not set up postfix to masquerade anything, would not know how to 
> do that

Google does though. Search for 'postfix domain change'. You're probably
going to be most interested in mydomain, myhostname and perhaps myorigin.

> I'm sending the mail from the Nagios Server from address 
> nag...@cna.localhost to not...@proweb.co.uk

Yup, I'd reject that too. cna.localhost isn't a valid hostname or domain.

> I have not configured postfix in anyway, the install guide just 
> implied that I did the following and it would work out of the box so 
> to speak

Yes, the install guide has to assume that the MTA packages and configuration
for whatever system you are using are sane. It's your responsibility to make
sure they are. Doing that is beyond the scope of nagios.

--
Marc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] brocade snmp reports ifAdminStatus incorrectly

2009-02-19 Thread York, Bill, DoIT

Hi all,

I know this is probably the wrong place to post this, but it does pertain to 
Nagios.

I encountered a problem while using snmp4nagios. the program is supposed to 
report admin=up/oper=down as a critical error. i was testing this by unplugging 
the fiber from a host on the switch. when i do this, the check_brocade_port 
program was generating a WARNING, saying that the admin status as down. it 
reports exactly the same message as when i administratively disable the same 
port.

curiously enough, logging on to the switch and running a switchshow displays 
the correct status. that is, not disabled and NO_LIGHT. That condition should 
report adminstatus=up and operstatus=down.

this seems to me to be an issue with brocade's snmp vs. the internals of the 
switch.

has anyone else encountered this issue and is there a way to get the switch to 
report the ifAdminStatus correctly?

thanks,
bill york


Confidentiality Notice: This e-mail, including all attachments is for the sole 
use of the intended recipient(s) and may contain confidential and privileged 
information. Any unauthorized review, use, disclosure or distribution is 
prohibited unless specifically provided under the New Mexico Inspection of 
Public Records Act. If you are not the intended recipient, please contact the 
sender and destroy all copies of this message. -- This email has been scanned 
by the Sybari - Antigen Email System. 



--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Cacti intigrate with nagios

2009-02-19 Thread Satish Patel

I have nagios running and now i want to intergate my cacti with nagios  
so i have only one frontend. anybody has done before this solution?  
please let me know.


Regards,

Satish Patel






--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] New to Nagios - Need help with nagios.cfg

2009-02-19 Thread Allan Clark
On Thu, Feb 19, 2009 at 13:09, Chris Beattie  wrote:

> Allan Clark wrote:
>
>> Aren't those two files the first duplicates?
>>
>> Remove all *~ files -- I assume your editor created these.  Try again
>> after:
>>
>
> I use gedit to edit my Nagios configuration files, and it's set to make
> backups whose filenames end with a tilde by default.  Nagios ignores them
> since it's looking only for *.cfg, but they do visually pollute the
> directory listing and I tell rsync to exclude them when I copy the config
> files from dev to production.


Indeed, I see it above in the same file (xdata/xodtemplat...@978):

case S_IFREG:
x=strlen(dirfile->d_name);
if(x<=4 || strcmp(dirfile->d_name+(x-4),".cfg"))
break;

Thanks.

In this case, there was a cfg_file and cfg_dir values causing the same file
to be parsed twice, but O.P. is checking another failure now.

Allan
-- 
all...@chickenandporn.com  "金鱼" http://linkedin.com/in/goldfish
please, no proprietary attachments (http://tinyurl.com/cbgq)
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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] Greetings. Anyone using Oracle Grid Control to send alert data into Nagios?

2009-02-19 Thread Jim . Melin

I'm looking to have Oracle grid control send alert data into Nagios. Thus far 
I've only been doing things via NRPE, as it's a fairly small monitoring
structure.

I was wondering if anyone was interfacing to Oracle grid control, what 
information you were getting from it and how you were getting that information
into Nagios. And if anyone is using an event handler in conjunction with this, 
what sorts of things are you using event handlers for?

James Melin
Sr. Systems Software Programmer
Hennepin County Mainframe Services
612-348-7147

Disclaimer: Information in this message or an attachment may be government data 
and thereby subject to the Minnesota Government Data Practices Act, Minnesota 
Statutes, Chapter 13, may be subject to attorney-client or work product 
privilege, may be confidential, privileged, proprietary, or otherwise 
protected, and the unauthorized review, copying, retransmission, or other use 
or disclosure of the information is strictly prohibited. If you are not the 
intended recipient of this message, please immediately notify the sender of the 
transmission error and then promptly delete this message from your computer 
system.   
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Using SLES10 and Nagios 3.x under VMWare

2009-02-19 Thread Chris Beattie
Deborah Martin wrote:
> 
> I've never used SLES10 + Nagios 3.x as a VM Ware box and I wondered if any
> of you had come 
> across any issues that I should be aware of.

I run Nagios in a dual-CPU VM (CentOS 5.2 guest on VMWare ESX 
3.something).  Once in a while, Nagios would shut down some time after 
midnight.  I suspect that ESX is pretty busy while the other VMs are 
being backed up.  The system log had entries like this:

Jan  7 00:18:17 Monitor2 nagios: Caught SIGSEGV, shutting down...
Jan  7 00:18:27 Monitor2 kernel: BUG: soft lockup - CPU#1 stuck for 10s! 
[check_nt:21036] Jan  7 00:18:27 Monitor2 kernel: CPU 1:

It didn't happen all the time, and there wasn't much I could do about it 
when it did happen.  I created another Nagios VM identical to the first, 
except it's got a script which monitors the primary server and takes 
over if the primary fails.  Nagios is not started on the failover 
server, so it takes very few resources to keep idling along.

There are ~550 hosts and ~4500 services being monitored, and the two 
virtual CPUs run around 80% each in the Gnome system monitor app, and 
1.3-2.0 in the load averages.  They're both 3.0 virtual GHz, if I recall 
correctly.  I have large installation tweaks turned on as well.  The 
Nagios server is busy enough all the time that the server guys have 
mentioned going back to physical hardware if I have to add much more.

 From a user's perspective, I can't tell it's on a VM.  I think the 
slowest part is how quickly my PC can render Nagios' web pages.
-- 
Chris Beattie

Nothing in this message is intended to make or accept and offer or to form a 
contract, except that an attachment that is an image of a contract bearing the 
signature of an officer of our company may be or become a contract. This 
message (including any attachments) is intended only for the use of the 
individual or entity to whom it is addressed. It may contain information that 
is non-public, proprietary, privileged, confidential, and exempt from 
disclosure under applicable law or may constitute as attorney work product. If 
you are not the intended recipient, we hereby notify you that any use, 
dissemination, distribution, or copying of this message is strictly prohibited. 
If you have received this message in error, please notify us immediately by 
telephone and delete this message immediately.

Thank you.

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] New to Nagios - Need help with nagios.cfg

2009-02-19 Thread Chris Beattie
Allan Clark wrote:
> Aren't those two files the first duplicates?
> 
> Remove all *~ files -- I assume your editor created these.  Try again after:

I use gedit to edit my Nagios configuration files, and it's set to make 
backups whose filenames end with a tilde by default.  Nagios ignores 
them since it's looking only for *.cfg, but they do visually pollute the 
directory listing and I tell rsync to exclude them when I copy the 
config files from dev to production.


-- 
Chris Beattie

Nothing in this message is intended to make or accept and offer or to form a 
contract, except that an attachment that is an image of a contract bearing the 
signature of an officer of our company may be or become a contract. This 
message (including any attachments) is intended only for the use of the 
individual or entity to whom it is addressed. It may contain information that 
is non-public, proprietary, privileged, confidential, and exempt from 
disclosure under applicable law or may constitute as attorney work product. If 
you are not the intended recipient, we hereby notify you that any use, 
dissemination, distribution, or copying of this message is strictly prohibited. 
If you have received this message in error, please notify us immediately by 
telephone and delete this message immediately.

Thank you.

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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 + Postfix

2009-02-19 Thread Martyn
Cheers Marc, am on to it right now 

-Original Message-
From: Marc Powell [mailto:m...@ena.com] 
Sent: 19 February 2009 16:41
To: Nagios Users
Subject: Re: [Nagios-users] Nagios + Postfix


On Feb 19, 2009, at 10:11 AM, Martyn wrote:

> Proweb is not under my control
>
> I'm not to sure what you mean with regards to the rest of you reply, I 
> have not set up postfix to masquerade anything, would not know how to 
> do that

Google does though. Search for 'postfix domain change'. You're probably
going to be most interested in mydomain, myhostname and perhaps myorigin.

> I'm sending the mail from the Nagios Server from address 
> nag...@cna.localhost to not...@proweb.co.uk

Yup, I'd reject that too. cna.localhost isn't a valid hostname or domain.

> I have not configured postfix in anyway, the install guide just 
> implied that I did the following and it would work out of the box so 
> to speak

Yes, the install guide has to assume that the MTA packages and configuration
for whatever system you are using are sane. It's your responsibility to make
sure they are. Doing that is beyond the scope of nagios.

--
Marc



--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H ___
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


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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 + Postfix

2009-02-19 Thread Marc Powell

On Feb 19, 2009, at 10:11 AM, Martyn wrote:

> Proweb is not under my control
>
> I'm not to sure what you mean with regards to the rest of you reply,  
> I have
> not set up postfix to masquerade anything, would not know how to do  
> that

Google does though. Search for 'postfix domain change'. You're  
probably going to be most interested in mydomain, myhostname and  
perhaps myorigin.

> I'm sending the mail from the Nagios Server from address
> nag...@cna.localhost to not...@proweb.co.uk

Yup, I'd reject that too. cna.localhost isn't a valid hostname or  
domain.

> I have not configured postfix in anyway, the install guide just  
> implied that
> I did the following and it would work out of the box so to speak

Yes, the install guide has to assume that the MTA packages and  
configuration for whatever system you are using are sane. It's your  
responsibility to make sure they are. Doing that is beyond the scope  
of nagios.

--
Marc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Contacts on templates

2009-02-19 Thread Marc Powell

On Feb 19, 2009, at 9:58 AM, Jaime Ventura wrote:

> What happens in this case is that "contact_groups" on "my-new-service"
> replaces the "contact_groups" on the template.
> Is there a way do append instead of replace?

See 'Additive Inheritance of String Values' at 
http://nagios.sourceforge.net/docs/3_0/objectinheritance.html

--
Marc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] status.log pb

2009-02-19 Thread Jim Perrin
On Thu, Feb 19, 2009 at 11:02 AM, Stéphane Cesbron
 wrote:

> I'm still having the following statement :
> There doesn't appear to be any host status information in the status log...
>
> Make sure that Nagios is running and that you have specified the
> location of you status log correctly in the configuration files.
>> --


You have very likely updated to nagios 3.x from 2.x in rpmforge,
without following the discussion on the changes in packaging. There
are some minor config changes that you need to make. I do not have the
email postings handy but you can find them in the rpmforge user list
archives I'm sure.

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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 + Postfix

2009-02-19 Thread Martyn
Proweb is not under my control

I'm not to sure what you mean with regards to the rest of you reply, I have
not set up postfix to masquerade anything, would not know how to do that

I'm sending the mail from the Nagios Server from address
nag...@cna.localhost to not...@proweb.co.uk

I have not configured postfix in anyway, the install guide just implied that
I did the following and it would work out of the box so to speak

apt-get install sysutils mailx lsb-release postfix

Do I need to carry out additional steps in postfix, if so what are they.

Thanks for your reply

Martyn  

-Original Message-
From: Marc Powell [mailto:m...@ena.com] 
Sent: 19 February 2009 15:34
To: Nagios Users
Subject: Re: [Nagios-users] Nagios + Postfix


On Feb 19, 2009, at 9:19 AM, Martyn wrote:

> I can not seem to get any notifications through from Nagios, I 
> installed postfix as suggested but I just keep getting my mails 
> queuing, so far I have over 200 sitting there with the same status 
> message
>
> Lost connection with mail.proweb.co.uk while sending MAIL FROM
>
> Has anybody else had this issue and if so how did you fix it.
>

Sounds like mail.proweb.co.uk is rejecting your connection. Is that a server
you control? What do it's logs say about the transaction?

If it's not a server you control, are you following standard/expected SMTP
conventions? Is the e-mail address being used as the from valid (i.e. is the
@domain part legitimate and exist in DNS)? This often comes from the
hostname of the machine if you've not configured postfix to masquerade that.
Does the public IP for your sending machine have valid reverse DNS, not on
an RBL, not on a known 'dynamic' IP? Are you permitted to use that server to
send mail?

--
Marc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H ___
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


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] status.log pb

2009-02-19 Thread Stéphane Cesbron

>   
>>> Does your web server have permissions to read the status log?  
>>> That's  different than nagios.log. Look at the value of status_file  
>>> in  nagios.cfg.
>>>
>>>
>>>   
>> Yes, I do have the following statement in my /etc/nagios/nagios.cfg
>> status_file=/var/log/nagios/status.log
>> 
>
> and...?
>
>   

I'm still having the following statement :
There doesn't appear to be any host status information in the status log...

Make sure that Nagios is running and that you have specified the 
location of you status log correctly in the configuration files.
> --
> Marc
>
>
> --
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> ___
> 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
>   

-- 

Stéphane Cesbron
Responsable Régional Informatique,
INSERM ADR Grand-Ouest,
BRETAGNE, PAYS DE LA LOIRE et CENTRE

63, quai Magellan
3ème étage - Hall B
B.P. 32116
44021 Nantes cedex 1

Email : stephane.cesb...@inserm.fr
Tél : 02.40.20.92.28
Portable : 06.78.68.76.39
-
Ce message et toutes les pieces jointes sont etablis a l'intention exclusive de 
ses destinataires et peuvent etre confidentiels ou proteges. L'internet ne 
permettant pas d'assurer l'integrite de ce message, l'INSERM decline toute 
responsabilite au titre de ce message, dans l'hypothese ou il aurait ete 
modifie. Toute utilisation de ce message non conforme a sa destination, toute 
diffusion ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. Si vous recevez ce  message par erreur, merci de le 
detruire et d'en avertir immediatement l'expediteur. Merci.

The information transmitted is intended exclusively for the person or entity to 
which it is addressed and may contain confidential and/or privileged material. 
Any disclosure, copying, distribution or other action  based upon the 
information by persons or entities other than the intended recipient is 
prohibited. If you receive this information in error, please contact the sender 
and delete the material from any and all computers.



--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Contacts on templates

2009-02-19 Thread Jaime Ventura
Hello,
I have the following drought about templates.
For instance:

define service{
nameservice-sic
use generic-service
register0
contact_groups  admins-group
}

define service{
namemy-new-service
use service-sic
contact_groups  my-new-service-admins-group
}


What happens in this case is that "contact_groups" on "my-new-service"
replaces the "contact_groups" on the template.
Is there a way do append instead of replace?
Thanks
Jaime

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Problems running Nagios

2009-02-19 Thread Dunn, Larry
 Thanks everyone for your help. It turned out the nagios user was using
the wrong version of the libintl library. I compared the root user and
the nagios user and saw they were using different libraries (different
directories).

That sound you are hearing is me beating my head against a wall

As I said, thanks for all of your suggestions and help. I am back and
working again.



-Original Message-
From: Marc Powell [mailto:m...@ena.com] 
Sent: Thursday, February 19, 2009 10:08 AM
To: Nagios Users
Subject: Re: [Nagios-users] Problems running Nagios

Please always respond on list so that others can learn from your
experience or provide insight. More below...

On Feb 19, 2009, at 8:06 AM, Dunn, Larry wrote:

> Yes. Sorry, I should have provided more info:
>
> I am running this on a system running Solaris 9 and on a Sun Ultra 80 
> system.
>
> I just tried to run the check_ping plug-in by hand and am getting the
> error:
>
> Fatal: relocation error: file check_ping: symbol
> libintl_bindtextdomain:
> referenced symbol not found.

How did the ldd check go? Everything referenced is present and accounted
for? I expect that you're missing something.

It's been some time since I've used solaris but I believe
libintl_bindtextdomain comes from gettext. Is that installed and up-to-
date? How did you install the plugins? Compiled on this machine with
gnu-make, gcc?

--
Marc



--
Open Source Business Conference (OSBC), March 24-25, 2009, San
Francisco, CA -OSBC tackles the biggest issue in open source: Open
Sourcing the Enterprise -Strategies to boost innovation and cut costs
with open source participation -Receive a $600 discount off the
registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H
___
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

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Problems running Nagios

2009-02-19 Thread Marc Powell

On Feb 19, 2009, at 9:30 AM, Dunn, Larry wrote:

> I should also tell all of you working on this that I can run the
> check_ping script manually as root and not have any problem.
>
> I just checked the libraries and they all look fine. It has to be
> something with the nagios user but I am beside myself trying to
> understand what I am missing.

Getting into weird grey area for me... Taking a semi-logical guess,  
are the permissions on the library directories and referenced  
libraries themselves such that nagios can read and execute them?

check_ping is somewhat special in that it's just a fancy wrapper for (/ 
usr)/bin/ping. ping must be SUID root to be run by the nagios user/ 
check_ping so you might want to verify that. Do you see the same  
symptoms with other plugins (check_http for example)?

--
Marc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] status.log pb

2009-02-19 Thread Marc Powell

On Feb 19, 2009, at 9:31 AM, Stéphane Cesbron wrote:

>> Does your web server have permissions to read the status log?  
>> That's  different than nagios.log. Look at the value of status_file  
>> in  nagios.cfg.
>>
>>
> Yes, I do have the following statement in my /etc/nagios/nagios.cfg
> status_file=/var/log/nagios/status.log

and...?

--
Marc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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 + Postfix

2009-02-19 Thread Marc Powell

On Feb 19, 2009, at 9:19 AM, Martyn wrote:

> I can not seem to get any notifications through from Nagios, I  
> installed postfix as suggested but I just keep getting my mails  
> queuing, so far I have over 200 sitting there with the same status  
> message
>
> Lost connection with mail.proweb.co.uk while sending MAIL FROM
>
> Has anybody else had this issue and if so how did you fix it.
>

Sounds like mail.proweb.co.uk is rejecting your connection. Is that a  
server you control? What do it's logs say about the transaction?

If it's not a server you control, are you following standard/expected  
SMTP conventions? Is the e-mail address being used as the from valid  
(i.e. is the @domain part legitimate and exist in DNS)? This often  
comes from the hostname of the machine if you've not configured  
postfix to masquerade that. Does the public IP for your sending  
machine have valid reverse DNS, not on an RBL, not on a known  
'dynamic' IP? Are you permitted to use that server to send mail?

--
Marc

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] status.log pb

2009-02-19 Thread Stéphane Cesbron
Marc Powell a écrit :
> On Feb 19, 2009, at 8:23 AM, Stéphane Cesbron wrote:
>
>   
>> Hi,
>>
>> I had a working nagios 2.11 instance on a CentOS 5.2 box.
>> I wanted to upgrape it to the 3.06 version.
>>
>> =>running yum update
>>
>> Everything works fine
>> I can reach the web page, nevertheless I'm always getting this  
>> message :
>> There doesn't appear to be any host status information in the status  
>> log...
>> 
>
>   
>> The /var/log/nagios/nagios.log file does exist !!! and is  
>> updated !!! It
>> is the correct file stated in /etc/nagios/nagios.cfg
>>
>> Any ideas, Any suggestions ?
>> 
>
> Does your web server have permissions to read the status log? That's  
> different than nagios.log. Look at the value of status_file in  
> nagios.cfg.
>
>   
Yes, I do have the following statement in my /etc/nagios/nagios.cfg
status_file=/var/log/nagios/status.log
> --
> Marc
>
>
> --
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> ___
> 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
>   

-- 

Stéphane Cesbron
Responsable Régional Informatique,
INSERM ADR Grand-Ouest,
BRETAGNE, PAYS DE LA LOIRE et CENTRE

63, quai Magellan
3ème étage - Hall B
B.P. 32116
44021 Nantes cedex 1

Email : stephane.cesb...@inserm.fr
Tél : 02.40.20.92.28
Portable : 06.78.68.76.39
-
Ce message et toutes les pieces jointes sont etablis a l'intention exclusive de 
ses destinataires et peuvent etre confidentiels ou proteges. L'internet ne 
permettant pas d'assurer l'integrite de ce message, l'INSERM decline toute 
responsabilite au titre de ce message, dans l'hypothese ou il aurait ete 
modifie. Toute utilisation de ce message non conforme a sa destination, toute 
diffusion ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. Si vous recevez ce  message par erreur, merci de le 
detruire et d'en avertir immediatement l'expediteur. Merci.

The information transmitted is intended exclusively for the person or entity to 
which it is addressed and may contain confidential and/or privileged material. 
Any disclosure, copying, distribution or other action  based upon the 
information by persons or entities other than the intended recipient is 
prohibited. If you receive this information in error, please contact the sender 
and delete the material from any and all computers.



--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Problems running Nagios

2009-02-19 Thread Dunn, Larry
I should also tell all of you working on this that I can run the
check_ping script manually as root and not have any problem.

I just checked the libraries and they all look fine. It has to be
something with the nagios user but I am beside myself trying to
understand what I am missing.


-Original Message-
From: Marc Powell [mailto:m...@ena.com] 
Sent: Thursday, February 19, 2009 10:08 AM
To: Nagios Users
Subject: Re: [Nagios-users] Problems running Nagios

Please always respond on list so that others can learn from your
experience or provide insight. More below...

On Feb 19, 2009, at 8:06 AM, Dunn, Larry wrote:

> Yes. Sorry, I should have provided more info:
>
> I am running this on a system running Solaris 9 and on a Sun Ultra 80 
> system.
>
> I just tried to run the check_ping plug-in by hand and am getting the
> error:
>
> Fatal: relocation error: file check_ping: symbol
> libintl_bindtextdomain:
> referenced symbol not found.

How did the ldd check go? Everything referenced is present and accounted
for? I expect that you're missing something.

It's been some time since I've used solaris but I believe
libintl_bindtextdomain comes from gettext. Is that installed and up-to-
date? How did you install the plugins? Compiled on this machine with
gnu-make, gcc?

--
Marc



--
Open Source Business Conference (OSBC), March 24-25, 2009, San
Francisco, CA -OSBC tackles the biggest issue in open source: Open
Sourcing the Enterprise -Strategies to boost innovation and cut costs
with open source participation -Receive a $600 discount off the
registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H
___
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

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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 + Postfix

2009-02-19 Thread Martyn
I can not seem to get any notifications through from Nagios, I installed
postfix as suggested but I just keep getting my mails queuing, so far I have
over 200 sitting there with the same status message

Lost connection with mail.proweb.co.uk while sending MAIL FROM

Has anybody else had this issue and if so how did you fix it.

Cheers

Martyn
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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] status.log pb

2009-02-19 Thread Marc Powell

On Feb 19, 2009, at 8:23 AM, Stéphane Cesbron wrote:

> Hi,
>
> I had a working nagios 2.11 instance on a CentOS 5.2 box.
> I wanted to upgrape it to the 3.06 version.
>
> =>running yum update
>
> Everything works fine
> I can reach the web page, nevertheless I'm always getting this  
> message :
> There doesn't appear to be any host status information in the status  
> log...

> The /var/log/nagios/nagios.log file does exist !!! and is  
> updated !!! It
> is the correct file stated in /etc/nagios/nagios.cfg
>
> Any ideas, Any suggestions ?

Does your web server have permissions to read the status log? That's  
different than nagios.log. Look at the value of status_file in  
nagios.cfg.

--
Marc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Problems running Nagios

2009-02-19 Thread Marc Powell
Please always respond on list so that others can learn from your  
experience or provide insight. More below...

On Feb 19, 2009, at 8:06 AM, Dunn, Larry wrote:

> Yes. Sorry, I should have provided more info:
>
> I am running this on a system running Solaris 9 and on a Sun Ultra 80
> system.
>
> I just tried to run the check_ping plug-in by hand and am getting the
> error:
>
> Fatal: relocation error: file check_ping: symbol  
> libintl_bindtextdomain:
> referenced symbol not found.

How did the ldd check go? Everything referenced is present and  
accounted for? I expect that you're missing something.

It's been some time since I've used solaris but I believe  
libintl_bindtextdomain comes from gettext. Is that installed and up-to- 
date? How did you install the plugins? Compiled on this machine with  
gnu-make, gcc?

--
Marc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] status.log pb

2009-02-19 Thread Stéphane Cesbron
Hi,

I had a working nagios 2.11 instance on a CentOS 5.2 box.
I wanted to upgrape it to the 3.06 version.

=>running yum update

Everything works fine
I can reach the web page, nevertheless I'm always getting this message :
There doesn't appear to be any host status information in the status log...

Make sure that Nagios is running and that you have specified the 
location of you status log correctly in the configuration files.

whenever I want to see :
- services details
- services problems
- hosts details
- hosts problems

But when I want to the Status Map, it works !

/usr/bin/nagios -v /etc/nagios/nagios.cfg is fine => No warnings, No errors

when I'm running the plugins, for example :
./check_by_ssh -H 172.20.25.9 -C '/home/nagios/plugins/check_disk -w 20% 
-c 10% -p /sauvegarde -t 15'
everything's working fine

The /var/log/nagios/nagios.log file does exist !!! and is updated !!! It 
is the correct file stated in /etc/nagios/nagios.cfg

Any ideas, Any suggestions ?

Any help will be welcomed,

Regards,

-- 

Stéphane Cesbron
Responsable Régional Informatique,
INSERM ADR Grand-Ouest,
BRETAGNE, PAYS DE LA LOIRE et CENTRE

63, quai Magellan
3ème étage - Hall B
B.P. 32116
44021 Nantes cedex 1

Email : stephane.cesb...@inserm.fr
Tél : 02.40.20.92.28
Portable : 06.78.68.76.39
-
Ce message et toutes les pieces jointes sont etablis a l'intention exclusive de 
ses destinataires et peuvent etre confidentiels ou proteges. L'internet ne 
permettant pas d'assurer l'integrite de ce message, l'INSERM decline toute 
responsabilite au titre de ce message, dans l'hypothese ou il aurait ete 
modifie. Toute utilisation de ce message non conforme a sa destination, toute 
diffusion ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. Si vous recevez ce  message par erreur, merci de le 
detruire et d'en avertir immediatement l'expediteur. Merci.

The information transmitted is intended exclusively for the person or entity to 
which it is addressed and may contain confidential and/or privileged material. 
Any disclosure, copying, distribution or other action  based upon the 
information by persons or entities other than the intended recipient is 
prohibited. If you receive this information in error, please contact the sender 
and delete the material from any and all computers.



--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Using SLES10 and Nagios 3.x under VMWare

2009-02-19 Thread Christian Schneemann
On Thursday February 19 2009 03:28:53 pm Deborah Martin wrote:
> Hi Christian,
>
> The vmware environment (i.e Sles10) is built by IT services here so I don't
> have any insight on this part.
>
> I shall then build nagios from source so that I have a more granular
> control over where things go although it's mostly
> to standard places i.e /usr/local/nagios etc
If you want to use rpm packages, there is a project in the openSUSE 
Buildservice (http://build.opensuse.org). There we package the stable version 
of nagios and nagios-plugins for easy installation. You can find there some 
other plugins too, espacially plugins for SLES and openSUSE.

Here is a link to the repos, you can use them in yast/zypper/rug if you 
want ;)
http://download.opensuse.org/repositories/server://monitoring//

Greetings,
Christian

>
>
>
> regards,
> deborah
>
> -Original Message-
> From: Christian Schneemann [mailto:cschneem...@suse.de]
> Sent: 19 February 2009 14:17
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Using SLES10 and Nagios 3.x under VMWare
>
> On Thursday February 19 2009 02:30:29 pm Deborah Martin wrote:
> > Hi,
> >
> > I've never used SLES10 + Nagios 3.x as a VM Ware box and I wondered if
> > any of you had come across any issues that I should be aware of. (A
> > new environment is being built in this way to replace an old PC
> > running nagios)
> >
> > Basically, the nagios 3.x setup is very simple. We use it to monitor
> > database activity such as RAM or disk usage amongst others using
> > plugins that I wrote.
> >
> > Nagios monitors a few other nodes using ping or ssh but other than
> > that it's not a complicated setup.
> >
> > Any feedback / advice on running Nagios within VM Ware would be really
> > useful.
> >
> > thanks,
> > deborah
>
> Hi,
> we've used an vmware image for testing our config and new nagios packages
> and everything went fine. We now changed to xen guests because I prefer xen
> ;)
>
> I see no problems with running nagios in a virtual machine.
>
> Do you use the official packages from SLES or the ones from buildservice?
> Or do you install nagios from sources?
>
> Greetings,
>   Christian
>
> > **
> > * This email and any files transmitted with it are confidential
> > and intended solely for the use of the individual or entity to whom
> > they are addressed.
> >
> > Any unauthorised distribution or copying is strictly prohibited.
> > Whilst Kognitio Limited takes steps to prevent the transmission of
> > viruses via e-mail, we can not guarantee that any email or attachment
> > is free from computer viruses and you are strongly advised to
> > undertake your own anti-virus precautions.
> >
> > Kognitio grants no warranties regarding performance, use or quality of
> > any e-mail or attachment and undertakes no liability for loss or
> > damage, howsoever caused.
> >
> > Kognitio Limited, a company registered in England and Wales.
> > Registered number 0212 7833. Registered Office:  3a Waterside Park,
> > Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92.
> >
> > Kognitio Inc, a company incorporated in Delaware, principal office 180
> > North Stetson, Suite 3500, Chicago, IL 60601, USA
> > **
> > *
> >
> >
> >---
> >
> >--- Open Source Business Conference (OSBC), March 24-25, 2009, San
> >Francisco, CA -OSBC tackles the biggest issue in open source: Open
> >Sourcing  the Enterprise -Strategies to boost innovation and cut costs
> >with open  source participation -Receive a $600 discount off the
> >registration fee with  the source code: SFAD
> >http://p.sf.net/sfu/XcvMzF8H
> >___
> > 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
>
> --
> Christian Schneemann
>
> -
> SUSE LINUX Products GmbH,
> Maxfeldstr. 5, D - 90409 Nürnberg
>
> Phone:  +49 (0)911 - 740 53 0
> e-mail: cschneem...@suse.de
> -
> SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG Nürnberg)
>
> ---
>- --
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise -Strategies to boost innovation and cut costs with open source
> participation -Receive a $600 discount off the registration fee with the
> source code: SFAD http://p.sf.net/sfu/XcvMzF8H
> ___ Nagios-users

Re: [Nagios-users] Using SLES10 and Nagios 3.x under VMWare

2009-02-19 Thread Deborah Martin
Hi Christian, 

The vmware environment (i.e Sles10) is built by IT services here so I don't
have any insight on this part. 

I shall then build nagios from source so that I have a more granular control
over where things go although it's mostly 
to standard places i.e /usr/local/nagios etc 



regards,
deborah 

-Original Message-
From: Christian Schneemann [mailto:cschneem...@suse.de] 
Sent: 19 February 2009 14:17
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Using SLES10 and Nagios 3.x under VMWare

On Thursday February 19 2009 02:30:29 pm Deborah Martin wrote:
> Hi,
>
> I've never used SLES10 + Nagios 3.x as a VM Ware box and I wondered if 
> any of you had come across any issues that I should be aware of. (A 
> new environment is being built in this way to replace an old PC 
> running nagios)
>
> Basically, the nagios 3.x setup is very simple. We use it to monitor 
> database activity such as RAM or disk usage amongst others using 
> plugins that I wrote.
>
> Nagios monitors a few other nodes using ping or ssh but other than 
> that it's not a complicated setup.
>
> Any feedback / advice on running Nagios within VM Ware would be really 
> useful.
>
> thanks,
> deborah
Hi,
we've used an vmware image for testing our config and new nagios packages
and everything went fine. We now changed to xen guests because I prefer xen
;)

I see no problems with running nagios in a virtual machine.

Do you use the official packages from SLES or the ones from buildservice? Or
do you install nagios from sources?

Greetings,
Christian

>
>
>
> **
> * This email and any files transmitted with it are confidential 
> and intended solely for the use of the individual or entity to whom 
> they are addressed.
>
> Any unauthorised distribution or copying is strictly prohibited.
> Whilst Kognitio Limited takes steps to prevent the transmission of 
> viruses via e-mail, we can not guarantee that any email or attachment 
> is free from computer viruses and you are strongly advised to 
> undertake your own anti-virus precautions.
>
> Kognitio grants no warranties regarding performance, use or quality of 
> any e-mail or attachment and undertakes no liability for loss or 
> damage, howsoever caused.
>
> Kognitio Limited, a company registered in England and Wales. 
> Registered number 0212 7833. Registered Office:  3a Waterside Park, 
> Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92.
>
> Kognitio Inc, a company incorporated in Delaware, principal office 180 
> North Stetson, Suite 3500, Chicago, IL 60601, USA
> **
> *
>
> 
>---
>
>--- Open Source Business Conference (OSBC), March 24-25, 2009, San  
>Francisco, CA -OSBC tackles the biggest issue in open source: Open 
>Sourcing  the Enterprise -Strategies to boost innovation and cut costs 
>with open  source participation -Receive a $600 discount off the 
>registration fee with  the source code: SFAD 
>http://p.sf.net/sfu/XcvMzF8H  
>___
> 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



--
Christian Schneemann

-
SUSE LINUX Products GmbH,
Maxfeldstr. 5, D - 90409 Nürnberg

Phone:  +49 (0)911 - 740 53 0
e-mail: cschneem...@suse.de
-
SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG Nürnberg)


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H ___
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 email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 

Any unauthorised distribution or copying is strictly prohibited. 
Whilst Kognitio Limited takes steps to prevent the transmission of viruses via 
e-mail, we can not guarantee that any email or attachment is free f

Re: [Nagios-users] FW: Problems running Nagios

2009-02-19 Thread Eric Pearce
"crle" is your friend for LD_LIBRARY_PATH problems on Solaris (8,9 and 10).
Here is a nice description: http://solaris.reys.net/english/2006/04/crle
-e

- Original Message - 
From: "Dunn, Larry" 
To: 
Sent: Thursday, February 19, 2009 6:10 AM
Subject: [Nagios-users] FW: Problems running Nagios


> Sorry folks, I should post this to the group too.
>
> I just verified my LD_LIBRARY_PATH looks like:
>
> /usr/lib:/usr/lib/sparcv9:/usr/local/tools/lib:/usr/local/tools/gcc/lib:
> /usr/local/gnu/lib
>
>
> -Original Message-
> From: Dunn, Larry
> Sent: Thursday, February 19, 2009 9:07 AM
> To: 'Marc Powell'
> Subject: RE: [Nagios-users] Problems running Nagios
>
> Yes. Sorry, I should have provided more info:
>
> I am running this on a system running Solaris 9 and on a Sun Ultra 80
> system.
>
> I just tried to run the check_ping plug-in by hand and am getting the
> error:
>
> Fatal: relocation error: file check_ping: symbol libintl_bindtextdomain:
> referenced symbol not found.
>
>
>
> -Original Message-
> From: Marc Powell [mailto:m...@ena.com]
> Sent: Thursday, February 19, 2009 8:51 AM
> To: nagios-users ML
> Subject: Re: [Nagios-users] Problems running Nagios
>
>
> On Feb 19, 2009, at 7:35 AM, Dunn, Larry wrote:
>
>> I am using Nagios 3.0.4 and something has gone wrong. I just got the
>> installation working yesterday and now this morning I restarted and am
>
>> getting an error when nagios runs.
>>
>>
>> Warning: Return code of 137 for check of service 'name of service'
>> on host 'hostname' was out of bounds.
>
> Thanks for checking the FAQ. Can we assume that this is running under
> Solaris?
>
>> I have checked my install and checked the LD_LIBRARY_PATH and
>> nothing has changed that should be causing this to happen.  Has
>> anyone else seen this problem? Have you found anything else that I
>> can look at to try to resovle this problem?
>
> Can you run the plugins from the command line as the nagios user? That
> might provide more interesting information. Try also using 'ldd /path/
> to/broken/plugin' to see what libraries it's expecting and verify that
> they exist in the specified paths.
>
> --
> Marc
>
>
> 
> --
> Open Source Business Conference (OSBC), March 24-25, 2009, San
> Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> ___
> 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
>
> --
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, 
> CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the 
> Enterprise
> -Strategies to boost innovation and cut costs with open source 
> participation
> -Receive a $600 discount off the registration fee with the source code: 
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> ___
> 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
> 


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Using SLES10 and Nagios 3.x under VMWare

2009-02-19 Thread Christian Schneemann
On Thursday February 19 2009 02:30:29 pm Deborah Martin wrote:
> Hi,
>
> I've never used SLES10 + Nagios 3.x as a VM Ware box and I wondered if any
> of you had come
> across any issues that I should be aware of. (A new environment is being
> built in this way to replace
> an old PC running nagios)
>
> Basically, the nagios 3.x setup is very simple. We use it to monitor
> database activity such as
> RAM or disk usage amongst others using plugins that I wrote.
>
> Nagios monitors a few other nodes using ping or ssh but other than that
> it's not a complicated setup.
>
> Any feedback / advice on running Nagios within VM Ware would be really
> useful.
>
> thanks,
> deborah
Hi,
we've used an vmware image for testing our config and new nagios packages and 
everything went fine. We now changed to xen guests because I prefer xen ;)

I see no problems with running nagios in a virtual machine.

Do you use the official packages from SLES or the ones from buildservice? Or 
do you install nagios from sources?

Greetings,
Christian

>
>
>
> ***
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
>
> Any unauthorised distribution or copying is strictly prohibited.
> Whilst Kognitio Limited takes steps to prevent the transmission of viruses
> via e-mail, we can not guarantee that any email or attachment is free from
> computer viruses and you are strongly advised to undertake your own
> anti-virus precautions.
>
> Kognitio grants no warranties regarding performance, use or quality of any
> e-mail or attachment and undertakes no liability for loss or damage,
> howsoever caused.
>
> Kognitio Limited, a company registered in England and Wales. Registered
> number 0212 7833. Registered Office:  3a Waterside Park, Cookham Road,
> Bracknell, Berks, RG12 1RB. VAT number 864 4378 92.
>
> Kognitio Inc, a company incorporated in Delaware, principal office 180
> North Stetson, Suite 3500, Chicago, IL 60601, USA
> ***
>
> ---
>--- Open Source Business Conference (OSBC), March 24-25, 2009, San
> Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing
> the Enterprise -Strategies to boost innovation and cut costs with open
> source participation -Receive a $600 discount off the registration fee with
> the source code: SFAD http://p.sf.net/sfu/XcvMzF8H
> ___
> 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



-- 
Christian Schneemann

-
SUSE LINUX Products GmbH,
Maxfeldstr. 5, D - 90409 Nürnberg

Phone:  +49 (0)911 - 740 53 0
e-mail: cschneem...@suse.de
-
SUSE LINUX Products GmbH, GF: Markus Rex
HRB 16746 (AG Nürnberg)

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] FW: Problems running Nagios

2009-02-19 Thread Dunn, Larry
Sorry folks, I should post this to the group too.

I just verified my LD_LIBRARY_PATH looks like:

/usr/lib:/usr/lib/sparcv9:/usr/local/tools/lib:/usr/local/tools/gcc/lib:
/usr/local/gnu/lib
 

-Original Message-
From: Dunn, Larry 
Sent: Thursday, February 19, 2009 9:07 AM
To: 'Marc Powell'
Subject: RE: [Nagios-users] Problems running Nagios

Yes. Sorry, I should have provided more info:

I am running this on a system running Solaris 9 and on a Sun Ultra 80
system.

I just tried to run the check_ping plug-in by hand and am getting the
error:

Fatal: relocation error: file check_ping: symbol libintl_bindtextdomain:
referenced symbol not found.



-Original Message-
From: Marc Powell [mailto:m...@ena.com]
Sent: Thursday, February 19, 2009 8:51 AM
To: nagios-users ML
Subject: Re: [Nagios-users] Problems running Nagios


On Feb 19, 2009, at 7:35 AM, Dunn, Larry wrote:

> I am using Nagios 3.0.4 and something has gone wrong. I just got the 
> installation working yesterday and now this morning I restarted and am

> getting an error when nagios runs.
>
>
> Warning: Return code of 137 for check of service 'name of service'  
> on host 'hostname' was out of bounds.

Thanks for checking the FAQ. Can we assume that this is running under  
Solaris?

> I have checked my install and checked the LD_LIBRARY_PATH and  
> nothing has changed that should be causing this to happen.  Has  
> anyone else seen this problem? Have you found anything else that I  
> can look at to try to resovle this problem?

Can you run the plugins from the command line as the nagios user? That  
might provide more interesting information. Try also using 'ldd /path/ 
to/broken/plugin' to see what libraries it's expecting and verify that  
they exist in the specified paths.

--
Marc



--
Open Source Business Conference (OSBC), March 24-25, 2009, San
Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the
Enterprise
-Strategies to boost innovation and cut costs with open source
participation
-Receive a $600 discount off the registration fee with the source code:
SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Problems running Nagios

2009-02-19 Thread Marc Powell

On Feb 19, 2009, at 7:35 AM, Dunn, Larry wrote:

> I am using Nagios 3.0.4 and something has gone wrong. I just got the  
> installation working yesterday and now this morning I restarted and  
> am getting an error when nagios runs.
>
>
> Warning: Return code of 137 for check of service 'name of service'  
> on host 'hostname' was out of bounds.

Thanks for checking the FAQ. Can we assume that this is running under  
Solaris?

> I have checked my install and checked the LD_LIBRARY_PATH and  
> nothing has changed that should be causing this to happen.  Has  
> anyone else seen this problem? Have you found anything else that I  
> can look at to try to resovle this problem?

Can you run the plugins from the command line as the nagios user? That  
might provide more interesting information. Try also using 'ldd /path/ 
to/broken/plugin' to see what libraries it's expecting and verify that  
they exist in the specified paths.

--
Marc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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_time giving error

2009-02-19 Thread Marc Powell

On Feb 19, 2009, at 5:52 AM, Darryl Nortje wrote:

>
> “Connection refused
> TIME UNKNOWN - could not connect to server serverY, port 37”
>
> I’m helluva new to nagios, and just can’t seem to get over this  
> little hurdle.
>
> Do I have to have some special setup on serverY?

yes

http://en.wikipedia.org/wiki/TIME_protocol

> How do I know which ports to use?

:37 is used by the (old) TIME protocol.

> Thanks in advance for the help, hopefully this is as simple as it  
> sounds to solve.

Note that this will only test the difference between the clocks on the  
nagios host and the host you're checking. It won't tell you if either  
are actually correct. You should ensure that at the least, your nagios  
host is correctly synchronizing time with an NTP server (check_ntp can  
help with verifying that).

--
Marc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Problems running Nagios

2009-02-19 Thread Dunn, Larry
I am using Nagios 3.0.4 and something has gone wrong. I just got the
installation working yesterday and now this morning I restarted and am
getting an error when nagios runs.
 
 
Warning: Return code of 137 for check of service 'name of service' on
host 'hostname' was out of bounds.
 
According to the FAQ:
 
Frequently Asked Questions
  
Home   > Support
  > FAQs

[ Return To FAQ Index   | Search The FAQs
  ]



FAQ Database
  : Nagios
  : Error and Warning Messages
  

Title:   Return code of X is out of bounds error message
FAQ ID:  F0017  
Submitted By:Ethan Galstad  
Last Updated:06/17/2003 

Description: A "(Return code of x is out of bounds)" error is
displayed in the output of a host or service check. Similiar error
messages may appear in the log file. 

 

Solution:If the plugin output for a host or service check give a
"(Return code of x is out of bounds)" error it usually means one of the
following: 

1.  The plugin you're using to perform the host or service check is
not returning the proper return code when it exits.


2.  The path to the plugin is invalid (i.e. the binary or script
does not exist). This is most likely the case if you get errors about a
return code of 127 being out of bounds. If this is the error you're
getting, check your command definitions and make sure the path to all
executables is correct (and that they're actually installed on your
system).


3.  The plugin is not executable. This is most likely the case if
you get errors about a return code of 126 being out of bounds. If this
is the error you're getting, make sure you've set the plugin to be
executable (using chmod +x).


4.  The plugins are not finding libraries they were linked against
at compile time. Sean Berry noted that on Solaris 8 this results in
plugins returning an exit code of 137. The fix for this is to set the
LD_LIBRARY_PATH for the nagios account to include the paths to the
necessary libraries (i.e. /usr/local/lib).



Related FAQs:F0037
The libexec/ subdirectory is missing from my Nagios
installation. Where are all the plugins?
Keywords:return code bounds plugin error
I have checked my install and checked the LD_LIBRARY_PATH and nothing
has changed that should be causing this to happen.  Has anyone else seen
this problem? Have you found anything else that I can look at to try to
resovle this problem?
 
Larry
<>--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Using SLES10 and Nagios 3.x under VMWare

2009-02-19 Thread Deborah Martin
Hi, 

I've never used SLES10 + Nagios 3.x as a VM Ware box and I wondered if any
of you had come 
across any issues that I should be aware of. (A new environment is being
built in this way to replace 
an old PC running nagios) 

Basically, the nagios 3.x setup is very simple. We use it to monitor
database activity such as
RAM or disk usage amongst others using plugins that I wrote.

Nagios monitors a few other nodes using ping or ssh but other than that it's
not a complicated setup. 

Any feedback / advice on running Nagios within VM Ware would be really
useful. 

thanks,
deborah 



***
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 

Any unauthorised distribution or copying is strictly prohibited. 
Whilst Kognitio Limited takes steps to prevent the transmission of viruses via 
e-mail, we can not guarantee that any email or attachment is free from computer 
viruses and you are strongly advised to undertake your own anti-virus 
precautions. 

Kognitio grants no warranties regarding performance, use or quality of any 
e-mail or attachment and undertakes no liability for loss or damage, howsoever 
caused. 

Kognitio Limited, a company registered in England and Wales. Registered number 
0212 7833. Registered Office:  3a Waterside Park, Cookham Road, Bracknell, 
Berks, RG12 1RB. VAT number 864 4378 92.

Kognitio Inc, a company incorporated in Delaware, principal office 180 North 
Stetson, Suite 3500, Chicago, IL 60601, USA
***

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] check_time giving error

2009-02-19 Thread Darryl Nortje
Hi there guys,

 

I'm searching the archive and can't find anything about this simple (I
think) problem.

 

All I want to do is on server x, call 

 

/usr/local/nagios/libexec/check_time -H serverY

 

As I understand it this should give me the time on the server. Instead I
get the error

 

"Connection refused

TIME UNKNOWN - could not connect to server serverY, port 37"

 

I'm helluva new to nagios, and just can't seem to get over this little
hurdle. 

 

Do I have to have some special setup on serverY?

How do I know which ports to use?

 

Thanks in advance for the help, hopefully this is as simple as it sounds
to solve.

 

Cheers

Darryl


**
This email and all content are subject to the following disclaimer:

http://content.momentum.co.za/content/legal/disclaimer_email.htm

 **

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Monitoring windows process - not responding status

2009-02-19 Thread Marc Powell

On Feb 19, 2009, at 1:44 AM, Robert Wamala wrote:

>
> Pleasee can u help me to get it right,
> how can I configure curl to give an automatic
> login to the urls
> will be glade.

You tactic of hijacking multiple threads to ask the same question  
isn't going to do you any good and is  likely to get messages from you  
automatically trashed.

http://www.catb.org/~esr/faqs/smart-questions.html

--
Marc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] servicedependencies and flapping

2009-02-19 Thread Klaus Umbach
I defined servicedependencies for all check_nrpe-based services depending
on NSClient++ on the Windows-hosts, so I only get one notification if for
any reason NSClient++ doesn't respond, which works quite well. Now for some
reason on a host the connection to NSClient++ starts flapping and I get
FLAPPINGSTART and FLAPPINGSTOP messages for all the dependent services and
not only for my NSClient++-service.

How can I stop this?

Cheers
Klaus

-- 
BOFH excuse #209:

Only people with names beginning with 'A' are getting mail this week (a la 
Microsoft)

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Get event when notifications enabled/disabled

2009-02-19 Thread Robert Wamala

Hey!
Am still having probs to 
establish the web interface
so am not yet there with you!!

thats why i need the coding steps

rgds
Robert



On Thu, 2009-02-19 at 11:20 +0100, Roman Fiedler wrote:
> Robert Wamala wrote:
>  > can you please gime steps
>  > how to do this!!
> 
> I did not go into the code but I assume that one could try to
> * Try to split the external command pipe and read it. I guess CGI sends 
> commands this way, perhaps also the ones to disable the notifications.
> * Use the nagios logging to see if disable/enable triggers some specific 
> log lines and parse them
> * Try to make diffs of the nagios retention data, perhaps one could read 
> disable/enable changes from here
> * Modify the cgi binaries to add custom event handlers for 
> disable/enable detection
> * Ask the nagios users list, perhaps there is support for this already 
> in the cgi binaries but I do not know about it
> 
> Regards,
> Roman
> 
>  > On Thu, 2009-02-19 at 10:53 +0100, Roman Fiedler wrote:
>  >> Hi List,
>  >>
>  >> Is there a simple way to detect when notifications for host/service are
>  >> enabled/disabled via web interface? I try to make nagios send a mail
>  >> when someone disables notifications for one service.
>  >>
>  >> Thanks, Roman
-- 
Robert Wamala 


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Get event when notifications enabled/disabled

2009-02-19 Thread Roman Fiedler
Robert Wamala wrote:
 > can you please gime steps
 > how to do this!!

I did not go into the code but I assume that one could try to
* Try to split the external command pipe and read it. I guess CGI sends 
commands this way, perhaps also the ones to disable the notifications.
* Use the nagios logging to see if disable/enable triggers some specific 
log lines and parse them
* Try to make diffs of the nagios retention data, perhaps one could read 
disable/enable changes from here
* Modify the cgi binaries to add custom event handlers for 
disable/enable detection
* Ask the nagios users list, perhaps there is support for this already 
in the cgi binaries but I do not know about it

Regards,
Roman

 > On Thu, 2009-02-19 at 10:53 +0100, Roman Fiedler wrote:
 >> Hi List,
 >>
 >> Is there a simple way to detect when notifications for host/service are
 >> enabled/disabled via web interface? I try to make nagios send a mail
 >> when someone disables notifications for one service.
 >>
 >> Thanks, Roman

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Get event when notifications enabled/disabled

2009-02-19 Thread Robert Wamala

can you please gime steps 
how to do this!!


On Thu, 2009-02-19 at 10:53 +0100, Roman Fiedler wrote:
> Hi List,
> 
> Is there a simple way to detect when notifications for host/service are 
> enabled/disabled via web interface? I try to make nagios send a mail 
> when someone disables notifications for one service.
> 
> Thanks, Roman
> 
> --
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> ___
> 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
-- 
Robert Wamala 


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Get event when notifications enabled/disabled

2009-02-19 Thread Roman Fiedler
Hi List,

Is there a simple way to detect when notifications for host/service are 
enabled/disabled via web interface? I try to make nagios send a mail 
when someone disables notifications for one service.

Thanks, Roman

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Unhandled Passiv services

2009-02-19 Thread Mohr James
I did some more googling and found in the description of the macros that 
"unhandled" also has the extra caveat that the node must have active checks 
enabled. That explains what is happening. However, I personally do not see any 
logic in including only services with active checks. Does anyone have an 
explanation?


> -Ursprüngliche Nachricht-
> Von: Mohr James [mailto:james.m...@elaxy.com] 
> Gesendet: Donnerstag, 19. Februar 2009 08:33
> An: nagios-users@lists.sourceforge.net
> Betreff: [Nagios-users] Unhandled Passiv services
> 
> Hi All!
> 
> We have Nagios 3.0 with several passiv service with 
> notifications disabled. I noticed that even when these 
> services are critical and not yet acknowledge, they do not 
> appear when you select "Unhandled" in the menu. 
> 
> 
> To me that is a bug because the problem is not handled, ie. 
> not acknowledged. Period. In my opinion there should not be 
> any hidden criteria that (for example) if it is passive with 
> notifications disabled it is ignored. unhandled = unacknowledged. 
> 
> 
> I remember reading someone that you could create a query 
> string adding various values to "&serviceprops=" in order to 
> get exactly what you want. However, that is a work around and 
> does not solve the real problem. Is there some parameter 
> somewhere that tells Nagios to display
> *all* of the unhandled services and not just a subset?
> 
> A kick in the butt would be appreaciated.
> 
> Regards,
> 
> Jim Mohr
> 
> 
> 
> --
> Diese E-Mail enthält vertrauliche und/oder rechtlich 
> geschützte Informationen. Wenn Sie nicht der richtige 
> Adressat sind oder diese E-Mail irrtümlich erhalten haben, 
> informieren Sie bitte sofort den Absender und vernichten Sie 
> diese Mail. Das unerlaubte Kopieren sowie die unbefugte 
> Weitergabe dieser Mail ist nicht gestattet.
> 
> This e-mail may contain confidential and/or privileged 
> information. If you are not the intended recipient (or have 
> received this e-mail in error) please notify the sender 
> immediately and destroy this e-mail. Any unauthorized 
> copying, disclosure or distribution of the material in this 
> e-mail is strictly forbidden.
> 
> 
> 



--
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht 
gestattet.

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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