[Nagios-users] Service in Scheduled downtime shows up as Unscheduled under CRITICAL

2010-08-10 Thread Anton Yurchenko

Hi all,

When I do an availability report for a service that had a scheduled 
downtime, the time that it was down shows up in both Scheduled OK state 
and Unscheduled Critical.
I am not sure I understand this behavior, I would think that if it had 
scheduled downtime it should not show up at in the Critical Unscheduled 
category.

Here is  sample report below.

State   Type / Reason   Time% Total Time% Known Time
OK  Unscheduled 1158050441d 6h 53m 16s  -0.486% -16.780%
Scheduled   0d 0h 15m 42s   1.090%  37.635%
Total   0d 0h 8m 42s0.604%  20.855%
WARNING Unscheduled 0d 0h 17m 19s   1.203%  41.510%
Scheduled   0d 0h 0m 0s 0.000%  0.000%
Total   0d 0h 17m 19s   1.203%  41.510%
UNKNOWN Unscheduled 0d 0h 0m 0s 0.000%  0.000%
Scheduled   0d 0h 0m 0s 0.000%  0.000%
Total   0d 0h 0m 0s 0.000%  0.000%
CRITICALUnscheduled 0d 0h 15m 42s   1.090%  37.635%
Scheduled   0d 0h 0m 0s 0.000%  0.000%
Total   0d 0h 15m 42s   1.090%  37.635%
UndeterminedNagios Not Running  0d 0h 0m 0s 0.000%  
Insufficient Data   0d 23h 18m 17s  97.103% 
Total   0d 23h 18m 17s  97.103% 

All Total   1d 0h 0m 0s 100.000%100.000%



Thank you in advance!

Anton
--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] help changing nagios pages to different http port

2010-08-10 Thread gregborbonus
What do the apache error logs say?
Sent via BlackBerry from T-Mobile

-Original Message-
From: "Joel Huebner" 
Date: Tue, 10 Aug 2010 16:11:18 
To: 
Reply-To: Nagios Users List 
Subject: [Nagios-users] help changing nagios pages to different http port

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] help changing nagios pages to different http port

2010-08-10 Thread Joel Huebner
Hi, 

 

I have other things running on the server I want to run Nagsios on.  I
have a web site on port 80, 81, and 8000.

 

I wanted to run the Nagios pages on port 85.  I have the main page, and
the documentation page (the first two tabs) working.

 

http://lcua141:85/nagios/main.php

 

http://lcua141:85/nagios/docs/

 

 

But when I go to any of the other pages

 

http://lcua141:85/nagios/cgi-bin/tac.cgi

 

http://lcua141:85/nagios/cgi-bin/trends.cgi

 

 

I get this error...  I checked the nagios.log, nothing in there... 

Internal Server Error

The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator, [no address given] and inform
them of the time the error occurred, and anything you might have done
that may have caused the error.

More information about this error may be available in the server error
log.



Apache/2.2.14 (Ubuntu) Server at lcua141 Port 85

 

Any ideas' would be appreciated.

 

jlh

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] problem adding hosts to nagvis map

2010-08-10 Thread Kaplan, Andrew H.
Hi there --

I completed the installation of the NagVis 1.5.1 utility onto our Nagios 3.1.2
server, and I am trying to create a map.
However, I am running into issues. The first is the following: Whenever I select
Map -> Add Icon -> Host, I need to 
do that process twice before the menu appears on-screen. 

The second issue is more problematic. Whenever I try to add a host, I go through
the motions of selecting the host_name, 
and then entering the x and y coordinates. Even though I have done that, I am
still getting an error that reads:

A necessary value is not set. All red marked values are
compulsory values. 

What am I doing wrong here, and how can I fix it? Thanks. 


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] check_period host - service inheritance

2010-08-10 Thread Greg Borbonus
What about using service templates?

That way, the check_period and such are all setup with service template 
directives, and your service only has to define the command and such.

Thank you,
Greg Borbonus
*nix System Administrator
gregborbo...@gmail.com


On 8/10/2010 4:57 AM, mlrtime3 wrote:
> I've seen some old threads in the nagios-users group but nothing recent
> so I thought I'd bring it up again.
>
> I have a use case to have a single service defined for 1000's of
> different hosts with up to 50-100 different check_period times.
>
> The only way to do this now is to create a different service with each
> check_period.  To do this, I would need to create 50-100 different
> service definitions for each check_period.
>
> It makes much more sense for the service to inherit the hosts
> check_period value and use this for the service.  This allows me to only
> define one service.
>
> Does anyone know of a way to get this to work, or has anyone created a
> patch for 3.2.x to do this?
>
> Thanks,
> mlr
>
>
> --
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting 
> any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] GroundWork Monitor Community Edition 6.0(GWMCE) and Nagios 3

2010-08-10 Thread Bradley Radjoo
Hi All,

Does anybody have any guides OR could you provide any assistance as to how to 
setup a single instance of GWMCE to manage multiple Nagios 3 server instances 
in differant locations ?


-

Regards,

Bradley Radjoo

Please note: This email and its content are subject to the disclaimer as 
displayed at the following link 
http://www.is.co.za/legal/E-mail+Confidentiality+Notice+and+Disclaimer.htm. 
Should you not have Web access, send a mail to disclaim...@is.co.za and a copy 
will be emailed to you.
--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] check_openmanage ignores blacklist directive

2010-08-10 Thread Trond Hasle Amundsen
"C. Bensend"  writes:

>> Despite of giving it the parameter to ignore Warnings about the
>> controller firmware, it still gives a Warning Status:
>>
>> /usr/lib/nagios/plugins/check_openmanage -b ctrl_fw -s -H 192.168.2.137
>
> 'ctrl_fw' isn't the complete option you need to give there - you
> also need to specify the ID per:
>
> http://folk.uio.no/trondham/software/check_openmanage.8.html
>
> Try 'ctrl_fw=0,1'

Yes, or:

  ctrl_fw=all

..if you wish to blacklist this for all controllers and aren't
interested in specifying controller IDs.

Cheers,
-- 
Trond H. Amundsen 
Center for Information Technology Services, University of Oslo

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check_openmanage ignores blacklist directive

2010-08-10 Thread C. Bensend

> Despite of giving it the parameter to ignore Warnings about the
> controller firmware, it still gives a Warning Status:
>
> /usr/lib/nagios/plugins/check_openmanage -b ctrl_fw -s -H 192.168.2.137

'ctrl_fw' isn't the complete option you need to give there - you
also need to specify the ID per:

http://folk.uio.no/trondham/software/check_openmanage.8.html

Try 'ctrl_fw=0,1'

Benny


-- 
"Something's going on in this house - last night, I saw a face!"
"Did it have a nose?"
"Yes!"
"That sounds like a face all right."
  -- Scary Movie 4



--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] check_openmanage ignores blacklist directive

2010-08-10 Thread Scharon, Daniel
Hello everyone!

I have an issue regarding the plugin check_openmanage:

Despite of giving it the parameter to ignore Warnings about the
controller firmware, it still gives a Warning Status:

/usr/lib/nagios/plugins/check_openmanage -b ctrl_fw -s -H 192.168.2.137

WARNING: Controller 0 [PERC 3/Di]: Firmware '2.7-1 (Bld 3170)' is out of
date

The check is performed via SNMP to a Dell Poweredge 2650 with OpenManage
6 running on it.


Does anyone have a clue what I'm missing here?


Best regards,
Daniel

<>--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Cacti Integration With Nagios

2010-08-10 Thread Robert Jackson
I have successfully managed to get Nagios and Cacti up and running as 2
separate entities on the same server I am setting up for monitoring
purposes. The question I really need to know is the best way to
integrate them both so firstly RRD data is transferred into Cacti from
Nagios and secondly how can I view the Cacti graphs directly from
Nagios?


Regards,
Rab.
=
Robert Jackson  Phone: +44 (0) 141 332
7999
IT Manager   Fax: +44 (0) 141
331 2820
Walker Martyn Ltd
1 Park Circus PlaceEmail:
r...@walkermartyn.co.uk
Glasgow G3 6AH, Scotland   Web:
http://www.walkermartyn.co.uk
=





The information in this internet E-mail is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is unauthorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
Walker Martyn Ltd or any of its affiliates. If you are not the
intended recipient please contact  administra...@walkermartyn.co.uk

Walker Martyn Ltd, company number SC197533. Company is 
registered in Scotland and has its registered office at 1 Park
Circus Place, Glasgow G3 6AH, UK.




--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] check_period host - service inheritance

2010-08-10 Thread mlrtime3

I've seen some old threads in the nagios-users group but nothing recent
so I thought I'd bring it up again.

I have a use case to have a single service defined for 1000's of
different hosts with up to 50-100 different check_period times.

The only way to do this now is to create a different service with each
check_period.  To do this, I would need to create 50-100 different
service definitions for each check_period.

It makes much more sense for the service to inherit the hosts
check_period value and use this for the service.  This allows me to only
define one service.

Does anyone know of a way to get this to work, or has anyone created a
patch for 3.2.x to do this?

Thanks,
mlr


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Nagios With Cacti Graphing

2010-08-10 Thread Robert Jackson
I've decided to go with RHEL 5.3 as the OS for my Nagios/Cacti server.
Now I've got the latest Nagios core installed and running (manual
download and install), I would like to get Cacti installed and
integrated with Nagios. Are there any step by step guides for getting
Cacti installed and integrated that someone can point me in the
direction of please?


Regards,
Rab.
=
Robert Jackson  Phone: +44 (0) 141 332
7999
IT Manager   Fax: +44 (0) 141
331 2820
Walker Martyn Ltd
1 Park Circus PlaceEmail:
r...@walkermartyn.co.uk
Glasgow G3 6AH, Scotland   Web:
http://www.walkermartyn.co.uk
=





The information in this internet E-mail is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is unauthorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
Walker Martyn Ltd or any of its affiliates. If you are not the
intended recipient please contact  administra...@walkermartyn.co.uk

Walker Martyn Ltd, company number SC197533. Company is 
registered in Scotland and has its registered office at 1 Park
Circus Place, Glasgow G3 6AH, UK.




--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Nagios Deployment

2010-08-10 Thread michal . lackovic
We run nagios on virtual Opensuse servers without any problems (ESX). All 
our monitored hosts are windows server 2003 or greater.
Before you are going to build an architecture for your own nagios 
implementation you have to select components - plugins, configuration 
tools and possibly alternate
web interface. This is a brief lists of the components we have 
implemented:

-Nagios 3.2.1 from source
-NSClient++ SSL
-NagiosQL for configuration
-Apache with SingleSignOn implemented 
-Customized menu for creating custom views and entries

All above mentioned components are part of "zero configuration build". 
Then the esx image is distributed to a data center where the team is 
trained to use NagiosQL interface only. Later then can maintain their 
infrastructure on their own.

Michal Lackovic 






Greg Pangrazio  
08/09/2010 10:50 PM
Please respond to
Nagios Users List 


To
Nagios Users List 
cc

Subject
Re: [Nagios-users] Nagios Deployment






I use nagios on Ubuntu both 10.04 and 8.04.  I recommend installing
from source as it is much more stable and works better with the
plugins etc. than the default Ubuntu package.

Other than that since you look to be monitoring lots of windows hosts
i would suggest checking out wmi which was not too difficult to
install on Ubuntu 10.04LTS.

Greg Pangrazio





On Mon, Aug 9, 2010 at 1:00 PM, Jim Avery  wrote:
> On 9 August 2010 17:49, Shane Killian  
wrote:
>
>> I've read a reasonable amount of documentation and learned a little 
from trial and error but if someone could. Point me in the right direction 
I'd really appreciate it.
>
> I think that's the thing - the documentation is great for sorting out
> the nitty-gritty but not always so good for understanding how it's all
> supposed to work together.
>
> What I did, and what I recommend anyone new to Nagios to do is to get
> hold of one of the books about Nagios - my favourite (and I won't
> pretend I've read them all) is the one by Wolfgang Barth published by
> No Starch Press.
>
> http://nostarch.com/nagios.htm
>
> 
--
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when 
reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when 
reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

__
This email has been scanned by the MessageLabs Email Security System.
__

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] check_proc --metric=CPU - alternatives?

2010-08-10 Thread Jim Avery
p.s. also take a look at:

http://nagios.manubulon.com/snmp_process.html

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check_proc --metric=CPU - alternatives?

2010-08-10 Thread Jim Avery
On 10 August 2010 07:12, Sebastian Ries  wrote:
> Hi
>
> as I'm not sure if my first attempt to send this message did work here i post 
> it the second time:
>
> I have the following Problem:
>
> We have some Processes which are running but are idle for some time
> (maybe some weeks) and the get used by a user.
> While a single Process is used is should have a cpu usage varying
> between 10 and 50%.
> We have the problem that sometimes a process gets stuck and then is
> running at 100% cpu usage.
> => this is what we want to check via Nagios.
>
> I tried to use check_procs like:
> ./check_procs -w 80 -c 90 --metric=CPU --command=qemu-system-x86
> but this did noch catch the processes.
>
> After some testing and searching on the internet I found out that this
> is depending on how ps calculates the cpu usage:
> It devides the cputime by the runtime of the process, giving the average
> cup usage over the whole process time -> which does not really help :-(
>
> Does anyone know of an alternative check which gives me the cpu usage
> actual of a process (or maybe the average over the last minute)?



"ps -ocputime" will give you the total cputime used since the process started.

You could code a plugin which stores this then next time it's run will
calculate the %cpu from the difference between the old and new values.
 It's a bit of a dirty solution, but this kind of thing is done in
some of the snmp plugins for checking interface traffic counters for
example http://nagios.manubulon.com/snmp_int.html

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null