[Nagios-users] About Event Broker and Nagios Administration

2006-03-21 Thread Alejandro Galue

Hello,

I was reading about Nagios Event Broker (NEB), and there seems to be
modules like ndoutils or nagios-db that update a MySQL database with
Nagios configuration and event logs data.

If I understand this correctly, this means that the NEB module can send
data from Nagios to other Applications (a Data Base in this case). Am I
right ?

I have another question:

Is it possible for other Applications to send data to Nagios using Event 
Broker ?


for example,

Will it be possible to configure Nagios using MySQL Tables and then 
inform to NEB module to apply changes on nagios configuration ?


or to change the state of a service ?

Thanks in Advance,

Alejandro.




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Problems with HTTP-Authorization/Authentication

2006-03-21 Thread Rene Fertig
Hello.

I have set up a new server with Nagios 2.0 and Apache 2. Both are running, CGI 
and authorization are set up. When I access the web-interface I have been 
asked for authentication. I can enter user and password and get access, but 
nagios tells me always Logged in as ?. So I cannot see anything.
In the apache-log-files I can see, that I logged in successfully, but it 
seems, that nagios didn't get these information.

Of cause, in cgi.cfg use_authentication=1 is set, I have put a .htaccess 
file into /usr/local/nagios/share with the following content:

AuthName Nagios Access
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
require valid-user

The file /usr/local/nagios/etc/htpasswd.users has been created with htpasswd2 
and the users are in contacts.cfg

If I enter a wrong user and/or password at the login I get an error message 
and if I cancel the login I get Authentication required! So far everything 
works as expected, except the nagios didn't recognize me :-(

I've set up nagios (1.x) more than once, so I think I can handle that...

BTW: the server runs SuSE Linux 10.0 with an apache2 from the distribution, 
nagios is compiled by myself from the tarball.

Please, can someone help me to find the problem?

Bye, Rene



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] My first nagios project

2006-03-21 Thread Juan Mera




Good day,

Please be patieint with me, this it's my first nagios project.
I do example minimal configuration and all it working fine.
So i need understand some services, and parameters to check.
i probe check_local_disk and it's OK, so how to check non local disk? Are there any nagios services list, parameters and docs? 




-- 
Gracias por su ayuda,
Saludos 
Juan L. Mera 
Investigacion y Desarrollo 
Quito-Ecuador









RE: [Nagios-users] performance data reporting

2006-03-21 Thread Mike Koponick
Florian,

I have this working in my environment.

I followed the instructions that came with NDO, and it was pretty
straight forward. I had it up and running within a few minutes.

Mike

-Original Message-
From: Florian Gleixner [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 21, 2006 7:13 AM
To: Mike Koponick
Cc: Nagios Users Mailing List
Subject: Re: [Nagios-users] performance data reporting

Mike Koponick wrote:
 Florian,
 
 I understand that perfparse stores it in a database, but I really
don't
 want to maintain two databases, and/or yet another set of tables. It
 seems to me that you should be able to get performance data into the
NDO
 tables and calculate from there.
 
 Mike

While trying to find out something more about NDO i found that this is a
very good hidden feature. In fact i'm still unsure what i have to do to
get NDO working - what nagios version, what configure option,what
configuration settings, what mysql database?

Flo


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
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] performance data reporting

2006-03-21 Thread Florian Gleixner
Mike Koponick wrote:
 Florian,
 
 I understand that perfparse stores it in a database, but I really don't
 want to maintain two databases, and/or yet another set of tables. It
 seems to me that you should be able to get performance data into the NDO
 tables and calculate from there.
 
 Mike

While trying to find out something more about NDO i found that this is a
very good hidden feature. In fact i'm still unsure what i have to do to
get NDO working - what nagios version, what configure option,what
configuration settings, what mysql database?

Flo


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] False Alarms in Nagios

2006-03-21 Thread Travis
I have been getting some false alarms (pages) between 4am and 4:30am for certain hosts and services on my network. We are running cron jobs around this time for backups and a few other things which are causing these checks to fail during this time. This doesn't happen all the time but on occassion. Anyway, what is the best way to avoid these false alarms during this time frame but still keep those checks active? Thanks in advance. : ) 



[Nagios-users] Differnt users

2006-03-21 Thread Peder Christian Bach








Hi..





Is there any possibility to have different users on
Nagios ?





User x has access to see everything in web.

User z has access only to do reporting in web.



Also is there any chance to give access to some users
to only see there own hostgroup ?







Pe 










Re: [Nagios-users] False Alarms in Nagios

2006-03-21 Thread Demetri Mouratis

On Tue, 21 Mar 2006, Travis wrote:


I have been getting some false alarms (pages) between 4am and 4:30am for
certain hosts and services on my network. We are running cron jobs around
this time for backups and a few other things which are causing these checks
to fail during this time. This doesn't happen all the time but on occassion.
Anyway, what is the best way to avoid these false alarms during this time
frame but still keep those checks active? Thanks in advance. : )


1.  Renice your cronjobs ;-0
2.  Set your time periods
http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#timeperiod
3.  Set your service check timeout

http://nagios.sourceforge.net/docs/2_0/configmain.html#service_check_timeout
4.  Set your individual plugin timeouts
5.  Increase your max check attempts
http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service

Hope that helps.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Problem with check_ping

2006-03-21 Thread Jeffrey Montgomery
Under my define service I have this check_command check_ping!300.0,30%!500.00,50%However I am recieving a critial warning at just 106.52msPING CRITICAL - Packet loss = 0%, RTA = 106.52
 ms Why is this happening?-- Jeff


Re: [Nagios-users] Problem with check_ping

2006-03-21 Thread Demetri Mouratis

On Tue, 21 Mar 2006, Jeffrey Montgomery wrote:


Under my define service I have this

check_command   check_ping!300.0,30%!500.00,50%

However I am recieving a critial warning at just 106.52ms

PING CRITICAL - Packet loss = 0%, RTA = 106.52 ms

Why is this happening?


Let's see the command definition.

Mine looks like this:

# check_ping command definition
define command{
command_namecheck_ping
command_line$USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ 
-p 5
}

Also, if you've changed those params, make sure to restart nagios.




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


RE: [Nagios-users] Problem with check_ping

2006-03-21 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Jeffrey Montgomery
 Sent: Tuesday, March 21, 2006 12:42 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Problem with check_ping
 
 Under my define service I have this
 
  check_command   check_ping!300.0,30%!500.00,50%
 
 However I am recieving a critial warning at just 106.52ms
 
 PING CRITICAL - Packet loss = 0%, RTA = 106.52 ms
 
 Why is this happening?

Does your check_ping command definition actually make use of the $ARG1$
and $ARG2$ macros and in the correct place (i.e -w $ARG1$ -c $ARG2$)?

--
Marc 


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
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_procs - exclude processes

2006-03-21 Thread robban

Hello all!

Is it posible to exclude processes in the check_procs?
I want to monitor all my linux nodes for:
check_procs -w 7 -c 15 --metric=CPU
check_procs -w 5000 -c 1 --metric=VSZ
But I want to exlude some processes (httpd and mysql).

The reason for this setup is I want to create a baseline monitor to checks all
linux hosts after suspicious processes.
On the hostgroup db and web i uses diffrent checks to see if mysql/apache
is behaving good.

Is it posible or should I use another plugin (which in that case?)

//Robban


This message was sent using IMP, the Internet Messaging Program.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Host Uptime

2006-03-21 Thread Brunker, Jay
Title: Host Uptime






Okidoki.
So, I created a simple command using 'check_host_alive', and the check is showing
me the host is up/alive. So far so good. I'm using a test server. I rebooted the test
server, but Nagios told me that the server was up during the whole reboot process.
I never received a change in status that the server was down during the reboot.


Pun intended ... what's up with that ?


Why didn't Nagios tell me that the host was down ?



Thanks,



Jay.


Jay Brunker
Unix Systems Administrator
Texas Workforce Commission
101 E. 15th St.
512-475-2625 Desk Phone
512-849-4985 Pager






Re: [Nagios-users] Host Uptime

2006-03-21 Thread Hugo van der Kooij
On Tue, 21 Mar 2006, Brunker, Jay wrote:

 So, I created a simple command using 'check_host_alive', and the check is
 showing
 me the host is up/alive. So far so good. I'm using a test server. I rebooted
 the test
 server, but Nagios told me that the server was up during the whole reboot
 process.
 I never received a change in status that the server was down during the
 reboot.

 Pun intended ... what's up with that ?

 Why didn't Nagios tell me that the host was down ?

Try the FAQ about hosts without services:
http://www.nagios.org/faqs/viewfaq.php?faq_id=39expand=falseshowdesc=false

Hugo.

-- 
I hate duplicates. Just reply to the relevant mailinglist.
[EMAIL PROTECTED]   http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of magicians,
for they are subtle and quick to anger.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null