[Nagios-users-br] Representar no CGI do Nagios Servicos de um Servidor

2010-10-13 Thread Marcelo Coelho Galeti
Pessoal,

Acho que posso fazer isso que vou perguntar usando o PASSIVE CHECK mas
vamos ver se tem alguma forma mais elegante.

Imaginem que um dos servicos importantes da minha empresa seja o
Sistema Corporativo (ERP). Para ele funcionar alguns servidores devem
estar no ar sendo eles:

- Servidor de Banco de Dados (vamos chamá-lo de ORACLE)
- Servidor de Aplicacao (vamos chamá-lo de APLICACAO)
- Switch 1 (chamá-lo de SWITCH1)

Gostaria de, no mapa CGI do Nagios, além de ter os servidores todos,
ter no último raios (mais distante) os SERVICOS da EMPRESA ...
Sistema Corporativo (como no exemplo) seria um deles.

Caso o ORACLE, APLICACAO ou SWITCH1 caiam a empresa estará sem o
Sistema Corporativo

OK .. já tenho o ORACLE, APLICACAO e SWITCH1 sendo monitorados por PING.

Penso em criar um Host chamado Sistema Corporativo, dizer que o
ORACLE, APLICACAO e SWITCH1 são PARENTS dele e deixá-lo como PASSIVE
Check.

Seria essa uma solução elegante ? Alguma idéia diferente ??



Gostaria apenas de explicar porque penso nisso. Nós de TI temos sempre
aquela visão de máquina - máquina - máquina mas gostaria de ter meu
Nagios mostrando disponibilidade de Serviços  tais como Sistema
Corporativo,Mensageria, Intranet, Navegação ... termos
entendiveis para quem ver o display do nágios.

Valeu a todos,

Marcelo Galeti

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki


[Nagios-users] check_nt -v COUNTER not working

2010-10-13 Thread Maesen Carlo (ICTS)
Hello,

The output of the following command :
check_nt -H serverx -p 12489 -s password -v COUNTER -l \\Server\\Files 
open,Open files is %.f   -w 800 -c 900
is:
Open files is 701   | 'Open files is %.f  '=701.00%;800.00;900.00;

But in Nagios this check has the status Critical . What may be the cause ?

define command{
command_namecheck_nt_openfiles
command_line   $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s password 
-v COUNTER -l \\Server\\Files open,Open files is %.f  -w $ARG1$ -c $ARG2$
}

define service{
use service-prod
host_name   serverx
service_description Counter OpenFiles
check_command   check_nt_openfiles!300!300
}

We are running nagios 3.2.0 on SLES11

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
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] Deploying Nagios on Windows box

2010-10-13 Thread Marc Powell

On Oct 12, 2010, at 7:20 PM, Yu Watanabe wrote:

 Hello all
 
 Has anyone has a experience for deploying a Nagios 3.x + apache on a windows 
 box using Cygwin?
 Perhaps, Windows Server 2003 (32bit,64bit) or  later?

I don't but searching my archives shows that it's been done successfully before 
(nagios-3) and that there may be a pre-compiled version of the plugins for 
cygwin. Search the archives for the thread problem in installing Nagios with 
cygwin around April 20, 2009.


--
Marc


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
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] Location of ssi files (Nagios Core 3.2.2 on FreeBSD 8.1-RELEASE #0) - UPDATED

2010-10-13 Thread steve
   Hi,

I am trying to integrate nagiosgraph with nagios. Mostly this is working except 
for enabling pop-ups which requires the use of a custom header file.

I have followed the instructions on the Nagiosgraph site
(http://nagiosgraph.svn.sourceforge.net/viewvc/nagiosgraph/trunk/nagiosgraph/INSTALL)
to no avail.

I can see no evidence that  the common-header.ssi file is being read or its 
contents are being served. There are no errors the the apache error log and I 
can't find a nagios error log.

[update]
I saved the output of status.cgi and pasted the contents of common-header.ssi 
into it below the body tag and put it on the nagios server. When server to a 
web browser it looked and worked perfectly. I'm pretty sure this means that 
nagios is not looking for its ssi directory at /usr/local/www/nagios/ssi

The path to the ssi file is: /usr/local/www/nagios/ssi/common-header.ssi

Can anyone tell be how to find out where nagios is really looking for the ssi 
files?

Any other help or suggestions greatly appreciated.

Steve.



--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
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] new guy

2010-10-13 Thread Chris Hudson
Hi, my name is Chris and I am new to Nagios, and to the nagios-users list. I
hope to learn a lot here, since I am new to Nagios and just coming up to
speed.

Thanks,
Chris Hudson
--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
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] Notifications problem?!?

2010-10-13 Thread Gaertner, Joern
Hi,

I have a nagios check that needs a special kind of notification.

The check runs 24/7 but there should only be notifications during business 
hours (8-18)  – so far no problem.

But the user wants to also get a notification at the start of the business 
hours if there was any problem noticed by the check during the non-notification 
time.

Is there an elegant solution of this problem in any of your minds?

Cheers

Jörn


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
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] How to list members of a hostgroup?

2010-10-13 Thread Chris Hudson
Hi, I'm new to Nagios and have a question.
I need to get a list of all the members of a hostgroup.
I have looked in the hostgroups.cfg file, but it only has two directives for
each group:  name and alias (I would have expected a members directive,
with a list of hosts in that group, but no).
 Is there a place I can get this information?

Thanks,
Chris
--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
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] how do i only get notified on critical issues?

2010-10-13 Thread Ilan Berkner

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
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] How to list members of a hostgroup?

2010-10-13 Thread Robert Wolfe
For each group, you should have a configuration file.  The hosts are defined in 
those files (someone please correct me if I am wrong here).



From: Chris Hudson [mailto:chrishud...@gmail.com]
Sent: Wed 10/13/2010 11:52 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] How to list members of a hostgroup?


Hi, I'm new to Nagios and have a question.  
I need to get a list of all the members of a hostgroup.  
I have looked in the hostgroups.cfg file, but it only has two directives for 
each group:  name and alias (I would have expected a members directive, with 
a list of hosts in that group, but no).  
 Is there a place I can get this information?  
 
Thanks, 
Chris 
 
 
 
--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
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 guy

2010-10-13 Thread Robert Wolfe
Welcome aboard, Chris!



From: Chris Hudson [mailto:chrishud...@gmail.com]
Sent: Wed 10/13/2010 10:04 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] new guy


Hi, my name is Chris and I am new to Nagios, and to the nagios-users list. I 
hope to learn a lot here, since I am new to Nagios and just coming up to speed. 
 
Thanks, 
Chris Hudson 
--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
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] How to determine the login duration of current user?

2010-10-13 Thread Kevin Davison
We have a large number of XP Virtual Machines that are used for various 
software testing requirements. The testers are supposed to notify their 
supervisor when an XP instance is no longer required. Unfortunately that isn't 
working very well. The end result is that there are a large number of XP 
instances sitting doing nothing for long periods of time. Ideally, I'd love to 
receive a notification in the event that any XP instance hasn't been used for x 
period of time.

As the machines are accessed by the testers solely via RDP, I was thinking that 
if I could determine how long it had been since someone had logged into the 
machine I would be able to judge which machines had been abandoned and remove 
them.

I was mulling over using a WMI check to pull what I need from 
Win32_NetworkLoginProfile but I'm not getting anything returned that I know how 
to make use of.

Has anyone had a need to perform a check like this in the past or can anyone 
offer any advice as to where else I should start looking?

Kevin Davison
Network Administrator
Innosphere SDG Ltd.
147 Wyndham St. N., Ste 306
Guelph, ON, N1H 4E9
(519) 766-9726 X223
Email: kdavi...@innosphere.camailto:kdavi...@innosphere.ca
Website: www.innosphere.ca

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
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] how do i only get notified on critical issues?

2010-10-13 Thread Carlos de Santa-Ana Garcia
  Hi

In contacts section you have service notification with some options, C W 
U, C is critical, W is warning, U is unknow, delete all but C


define contact{
 namegeneric-contact
 service_notification_period 24x7
 host_notification_period24x7
 service_notification_optionsw,u,c,r,f,s-HERE
 host_notification_options   d,u,r,f,s
 service_notification_commands   notify-service-by-email
 host_notification_commands  notify-host-by-email
 register0
 }

Greets.


El 13/10/2010 19:07, Ilan Berkner escribió:

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
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] how do i only get notified on critical issues?

2010-10-13 Thread Ilan Berkner
Perfect, thanks.

On Wed, Oct 13, 2010 at 1:51 PM, Carlos de Santa-Ana Garcia 
car...@dsag.jazztel.es wrote:

  Hi

 In contacts section you have service notification with some options, C W
 U, C is critical, W is warning, U is unknow, delete all but C


 define contact{
 namegeneric-contact
 service_notification_period 24x7
 host_notification_period24x7
 service_notification_optionsw,u,c,r,f,s-HERE
 host_notification_options   d,u,r,f,s
 service_notification_commands   notify-service-by-email
 host_notification_commands  notify-host-by-email
 register0
 }

 Greets.


 El 13/10/2010 19:07, Ilan Berkner escribió:


 --
 Beautiful is writing same markup. Internet Explorer 9 supports
 standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
 Spend less time writing and  rewriting code and more time creating great
 experiences on the web. Be a part of the beta today.
 http://p.sf.net/sfu/beautyoftheweb
 ___
 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

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
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] nsca packets disappear between xinetd and the daemon

2010-10-13 Thread Ford, Andy
I've got a system that accepts and processes nsca packets from a number of 
collectors successfully.
Everything is using nsca-2.7.2.

I added a new collector recently and it's not able to get data into the central 
nagios system via nsca.

I recompiled the send_nsca client with the DEBUG flag enabled and get this 
output, which looks good:

Connected okay...
Got init packet from server
Initialized encryption routines
Done sending data
1 data packet(s) sent to host successfully.
Cleaned up encryption routines

On the central server, the xinetd logs look like the packets are being accepted:

10/10/1...@11:01:29: START: nsca from=not working collector in question IP
10/10/1...@11:01:29: EXIT: nsca status=0

But then nothing seems to show up the nsca log. All the other collector's data 
logs in the nsca log very nicely.

Where should I look to debug my problem?

Andy Ford
Network Security Compliance  Automation, Wells Fargo  Co.
314-600-7025
andrew.f...@wachovia.com

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
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] How to determine the login duration of current user?

2010-10-13 Thread Jim Avery
On 13 October 2010 18:37, Kevin Davison kdavi...@innosphere.ca wrote:
 We have a large number of XP Virtual Machines that are used for various
 software testing requirements. The testers are supposed to notify their
 supervisor when an XP instance is no longer required. Unfortunately that
 isn’t working very well. The end result is that there are a large number of
 XP instances sitting doing nothing for long periods of time. Ideally, I’d
 love to receive a notification in the event that any XP instance hasn’t been
 used for x period of time.



 As the machines are accessed by the testers solely via RDP, I was thinking
 that if I could determine how long it had been since someone had logged into
 the machine I would be able to judge which machines had been abandoned and
 remove them.



 I was mulling over using a WMI check to pull what I need from
 Win32_NetworkLoginProfile but I’m not getting anything returned that I know
 how to make use of.



 Has anyone had a need to perform a check like this in the past or can anyone
 offer any advice as to where else I should start looking?


Is an entry made in one of the Windows Event Logs whenever a user logs
in?  If so I guess you could use CheckEventLog in NSClient++ to warn
if there have been no logins in x days.  For an example, see the
section Check if a script is running as it should on the page
describing the old syntax:

http://www.nsclient.org/nscp/wiki/CheckEventLog/CheckEventLog/old

hth,

Jim

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Need help on running combination of Nagios, Nconf, and Nagiosgraph

2010-10-13 Thread Patel, Bhavna

Hi,

I am new to Nagios and I am having problem to put all this applications
together. I have very limited knowledge of all this tools and
availability, so I need experts help on this. Here are the steps that I
went thru:
 
I installed Nagios in one of my Linux server. 

In the same machine but different directory I Installed Nconf to add
about 70 hosts with about five services for each hosts. I have to add
about 200 more hosts.

I used CSV (comma-separated values) file to store the data. 

Now, I need graph so I installed Nagiosgraph and I am trying to make it
work since last two weeks, but it is not working. When I reload nagios,
it runs fine and I see the icon to brows to the graph, but when I click
on it, I get following error:

 (Server error!
The server encountered an internal error and was unable
to complete your request. Either the server is overloaded or there was
an error in a CGI script. )
If you think I didn't select right tool to add hosts and for graph, what
is better tools to add bunch of servers and to get the graphs. I also
have some switches to monitor too. 

Thanks




Notice:  This e-mail message, together with any attachments, contains
information of Merck  Co., Inc. (One Merck Drive, Whitehouse Station,
New Jersey, USA 08889), and/or its affiliates Direct contact information
for affiliates is available at 
http://www.merck.com/contact/contacts.html) that may be confidential,
proprietary copyrighted and/or legally privileged. It is intended solely
for the use of the individual or entity named on this message. If you are
not the intended recipient, and have received this message in error,
please notify us immediately by reply e-mail and then delete it from 
your system.
--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
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] Notifications problem?!?

2010-10-13 Thread Jim Avery
On 13 October 2010 15:42, Gaertner, Joern joern.gaert...@wirecard.com wrote:
 Hi,

 I have a nagios check that needs a special kind of notification.

 The check runs 24/7 but there should only be notifications during business 
 hours (8-18)  – so far no problem.

 But the user wants to also get a notification at the start of the business 
 hours if there was any problem noticed by the check during the 
 non-notification time.

 Is there an elegant solution of this problem in any of your minds?

 Cheers

 Jörn

Send the notifications out-of-hours by email.  The user will pick up
the email when they login in the morning!

I'm sorry if that sounds a bit trite, but I've thought the same thing
myself in the past and then thought duh!

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
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] How to list members of a hostgroup?

2010-10-13 Thread Jim Avery
On 13 October 2010 16:52, Chris Hudson chrishud...@gmail.com wrote:
 Hi, I'm new to Nagios and have a question.
 I need to get a list of all the members of a hostgroup.
 I have looked in the hostgroups.cfg file, but it only has two directives for
 each group:  name and alias (I would have expected a members directive,
 with a list of hosts in that group, but no).
  Is there a place I can get this information?

 Thanks,
 Chris

In the web front-end, click on Host Groups / Summary, then click on
the group you are interested in to see a summary of all the hosts in
that group.

hth,

Jim

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
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] How to determine the login duration of current user?

2010-10-13 Thread Kevin Davison
I took a look at that and the machines aren't generating log entries when a 
user logs in. 

I also forgot to mention that since these XP's are just used for software 
testing, the machines aren't joined to a domain.

-Original Message-
From: Jim Avery [mailto:j...@jimavery.me.uk] 
Sent: October-13-10 4:22 PM
To: Nagios Users List
Subject: Re: [Nagios-users] How to determine the login duration of current user?

On 13 October 2010 18:37, Kevin Davison kdavi...@innosphere.ca wrote:
 We have a large number of XP Virtual Machines that are used for various
 software testing requirements. The testers are supposed to notify their
 supervisor when an XP instance is no longer required. Unfortunately that
 isn't working very well. The end result is that there are a large number of
 XP instances sitting doing nothing for long periods of time. Ideally, I'd
 love to receive a notification in the event that any XP instance hasn't been
 used for x period of time.



 As the machines are accessed by the testers solely via RDP, I was thinking
 that if I could determine how long it had been since someone had logged into
 the machine I would be able to judge which machines had been abandoned and
 remove them.



 I was mulling over using a WMI check to pull what I need from
 Win32_NetworkLoginProfile but I'm not getting anything returned that I know
 how to make use of.



 Has anyone had a need to perform a check like this in the past or can anyone
 offer any advice as to where else I should start looking?


Is an entry made in one of the Windows Event Logs whenever a user logs
in?  If so I guess you could use CheckEventLog in NSClient++ to warn
if there have been no logins in x days.  For an example, see the
section Check if a script is running as it should on the page
describing the old syntax:

http://www.nsclient.org/nscp/wiki/CheckEventLog/CheckEventLog/old

hth,

Jim

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
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

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
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] How to determine the login duration of current user?

2010-10-13 Thread Kevin Keane
Do these virtual machines have to run 24/7? If not, you could automatically 
shut them down at 2 AM - either from your hypervisor, or with the shutdown.exe 
command.

When you do that, you could leave the VMs simply sitting there taking up disk 
space, or you can check the file date of the .VMDK file for that VM.

By the way, some vendors have yet another solution that might work for you. Has 
nothing to do with Nagios. You can auto-create virtual machines as needed. 
Basically, you just create one template XP VM image. Only when a user logs on, 
this template is cloned. When the user logs off, the clone is destroyed. The 
next time the same user logs on, he gets a completely fresh virgin copy of XP.

Citrix has something like this, and I believe Microsoft also is working on 
offering something similar. I'm sure VMWare does, too, but I haven't heard 
anything specific about it. 

-Original Message-
From: Kevin Davison [mailto:kdavi...@innosphere.ca] 
Sent: Wednesday, October 13, 2010 2:02 PM
To: Nagios Users List
Subject: Re: [Nagios-users] How to determine the login duration of current user?

I took a look at that and the machines aren't generating log entries when a 
user logs in. 

I also forgot to mention that since these XP's are just used for software 
testing, the machines aren't joined to a domain.

-Original Message-
From: Jim Avery [mailto:j...@jimavery.me.uk]
Sent: October-13-10 4:22 PM
To: Nagios Users List
Subject: Re: [Nagios-users] How to determine the login duration of current user?

On 13 October 2010 18:37, Kevin Davison kdavi...@innosphere.ca wrote:
 We have a large number of XP Virtual Machines that are used for 
 various software testing requirements. The testers are supposed to 
 notify their supervisor when an XP instance is no longer required. 
 Unfortunately that isn't working very well. The end result is that 
 there are a large number of XP instances sitting doing nothing for 
 long periods of time. Ideally, I'd love to receive a notification in 
 the event that any XP instance hasn't been used for x period of time.



 As the machines are accessed by the testers solely via RDP, I was 
 thinking that if I could determine how long it had been since someone 
 had logged into the machine I would be able to judge which machines 
 had been abandoned and remove them.



 I was mulling over using a WMI check to pull what I need from 
 Win32_NetworkLoginProfile but I'm not getting anything returned that I 
 know how to make use of.



 Has anyone had a need to perform a check like this in the past or can 
 anyone offer any advice as to where else I should start looking?


Is an entry made in one of the Windows Event Logs whenever a user logs in?  If 
so I guess you could use CheckEventLog in NSClient++ to warn if there have been 
no logins in x days.  For an example, see the section Check if a script is 
running as it should on the page describing the old syntax:

http://www.nsclient.org/nscp/wiki/CheckEventLog/CheckEventLog/old

hth,

Jim

--
Beautiful is writing same markup. Internet Explorer 9 supports standards for 
HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great 
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
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

--
Beautiful is writing same markup. Internet Explorer 9 supports standards for 
HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great 
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
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

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios 

Re: [Nagios-users] Deploying Nagios on Windows box

2010-10-13 Thread Yu Watanabe
Hello Marc.

Thank you for the reply.

I found the page but the pre-compiled link is out of date and not showing the 
page.

http://www.psychoticwolf.net/blog/2007/07/nagios_plugins_for_windows.php

In the archive it says not to compile the modules but I will give it a shot.

Thanks!
Yu Watanabe

Marc Powell さんは書きました:

On Oct 12, 2010, at 7:20 PM, Yu Watanabe wrote:

 Hello all
 
 Has anyone has a experience for deploying a Nagios 3.x + apache on a windows 
 box using Cygwin?
 Perhaps, Windows Server 2003 (32bit,64bit) or  later?

I don't but searching my archives shows that it's been done successfully 
before (nagios-3) and that there may be a pre-compiled version of the plugins 
for cygwin. Search the archives for the thread problem in installing Nagios 
with cygwin around April 20, 2009.


--
Marc


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
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



--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
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