[Nagios-users-br] Moderador

2012-01-27 Thread Jose Geraldo de Oliveira
Amigos

Tenho sido moderador desta lista a mais de três anos…

No momento estou em um projeto que está meio difícil gerenciar com competências 
as mensagens que chegam.

Alguem se habilita?

Amartins, voce ainda está escutando este canal???




--
Abraços
jotagera




--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki


Re: [Nagios-users] Weekley Report for System uptime

2012-01-27 Thread Claudio Kuenzler
This is quite easy to achieve, once you've downloaded the report.
You also have the possibility to download the report as csv file, that's
even easier to parse the results.
Don't hesitate to write me off-list if you have questions.

On Thu, Jan 26, 2012 at 5:30 PM, FTL Nagios ftlnag...@gmail.com wrote:

 Hi Claudio

 This is exactly what id like to achieve

 The uptime data pulled from the Nagios web UI at 9am each week and then
 email me with all server uptimes.

 I will check out your link now.

 If anybody has any more ideas/ simpler ways please share them

 Thanks in advance

 On Thu, Jan 26, 2012 at 4:20 PM, Claudio Kuenzler 
 c...@claudiokuenzler.comwrote:

 I don't know if an addon or something similar exists, but you can also
 create a script, which pulls the reports directly from the web-interface.
 You can then parse the downloaded data, create pdf's (if wanted) and send
 it by e-mail on a monthly schedule.
 I did exactly this with a weekly schedule and wrote a how-to here:

 http://www.claudiokuenzler.com/blog/117/create-automatic-nagios-availabiltiy-report-pdf

 I would be surprised though, if there wasn't a simpler solution to
 achieve this.

 On Thu, Jan 26, 2012 at 5:10 PM, FTL Nagios ftlnag...@gmail.com wrote:

 Hello,

 I monitor alot of remote servers and 1 of the service checks i do is
 check_nt UPTIME

 Is it possible to have Nagios email me a report of all the system
 uptimes say every Monday morning at 9am?

 I pass on my thanks in advance for any help on the matter.




 --
 Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d
 ___
 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




 --
 Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d
 ___
 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




 --
 Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d
 ___
 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

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2___
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] osx nrpe: No output returned from plugin

2012-01-27 Thread Claudio Kuenzler
While Nagios executes the check, do you see a connection on your Mac ?
Is anything written in the syslog on your Mac?

Something seems to be strange about your output:

/usr/lib/nagios/plugins/check_nrpe -H mac.my.domain -c check_users
USERS OK - 3 users currently logged in |users=0;5;10;0

Take a look at the perfdata, it shows 0 users while the output shows 3
users.
Is that a copy+paste error or is this the actual result when you launch the
check on the command line?

On Thu, Jan 26, 2012 at 5:37 PM, John Stile j...@stilen.com wrote:

 Recently I tried to setup nrpe monitoring of an osx system by installing
 nagios-plugins-1.4.15.tar.gz and nrpe-2.12.tar.gz on osx 10.5, and
 locally everything works fine.  This works:
 /usr/local/nagios/libexec/check_nrpe -H localhost -c check_users

  USERS OK - 3 users currently logged in |users=3;5;10;0

 Next I tried to configure my nagios server (debian sarge with packaged
 nagios  1.3-cvs), and from the server command line, this works:
 /usr/lib/nagios/plugins/check_nrpe -H mac.my.domain -c check_users

  USERS OK - 3 users currently logged in |users=0;5;10;0

 The problem is adding the monitor to /etc/nagios/services.cfg

 define service{
   use generic-service
   host_name   mac.my.domain
   service_description Users
   is_volatile 0
   check_period24x7
   max_check_attempts  3
   normal_check_interval   5
   retry_check_interval1
   contact_groups  linux-admins
   notification_interval   120
   notification_period 24x7
   notification_optionsw,u,c,r
   check_command   check_nrpe!check_users
   }

 Results in web interface shows:
 Status: UNKNOWN
 Status Information: (No output returned from plugin)

 All other nrpe hosts are monitoring well.
 I have no other osx nrpe monitored machines as a reference.

 Can anyone offer some ideas (other than upgrade)?



 --
 Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d
 ___
 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

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2___
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] Service and host notifications: best practise

2012-01-27 Thread Keith Edmunds
We have a setup similar to: 100 monitored servers split into five groups,
A-E.

We would like notifications for host and service problems for all servers
to be sent to the IT team. In addition, we would like host and service
problems for servers in Group A to go to the group A manager, host and
service problems for Group B to go to the group B manager, and so on.

We tend to manage host notification via host groups, and service
notifications via service groups. We really want to manage service
notifications on a host group basis, so if Apache fails on a group A
machine, we notify the IT team and the Group A manager.

I'm looking for ideas for implementing that in a manageable and scalable
way.

If I've not described the problem clearly enough, I apologise: please ask
questions for clarity.

Thanks,
Keith
-- 
You can have everything in life you want if you help enough other people
get what they want - Zig Ziglar. 

Who did you help today?

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
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] Service and host notifications: best practise

2012-01-27 Thread FTL Nagios
Hi Keith,

Escalations are your friend.

http://nagios.sourceforge.net/docs/3_0/escalations.html

http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#hostescalation

http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#serviceescalat
ion

Regards

-Original Message-
From: Keith Edmunds [mailto:k...@midnighthax.com] 
Sent: 27 January 2012 16:27
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Service and host notifications: best practise

We have a setup similar to: 100 monitored servers split into five groups,
A-E.

We would like notifications for host and service problems for all servers to
be sent to the IT team. In addition, we would like host and service problems
for servers in Group A to go to the group A manager, host and service
problems for Group B to go to the group B manager, and so on.

We tend to manage host notification via host groups, and service
notifications via service groups. We really want to manage service
notifications on a host group basis, so if Apache fails on a group A
machine, we notify the IT team and the Group A manager.

I'm looking for ideas for implementing that in a manageable and scalable
way.

If I've not described the problem clearly enough, I apologise: please ask
questions for clarity.

Thanks,
Keith
--
You can have everything in life you want if you help enough other people
get what they want - Zig Ziglar. 

Who did you help today?


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers is
just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro
Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
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


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
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] Service and host notifications: best practise

2012-01-27 Thread Keith Edmunds
 Escalations are your friend.

Thanks for the quick and helpful response. Unless I've misunderstood, we
would need to configure a service escalation for each service and each of
the host groups - is that right?

What we really need it notification rather than escalation, although I
realise we can use escalations in a similar way to notifications. I'd like
to be able to say, If any service fails on any host in hostgroup A,
notify these people.

Thanks,
Keith
-- 
You can have everything in life you want if you help enough other people
get what they want - Zig Ziglar. 

Who did you help today?

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
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] Service and host notifications: best practise

2012-01-27 Thread Paul M. Dubuc
Keith Edmunds wrote:
 Escalations are your friend.

 Thanks for the quick and helpful response. Unless I've misunderstood, we
 would need to configure a service escalation for each service and each of
 the host groups - is that right?

 What we really need it notification rather than escalation, although I
 realise we can use escalations in a similar way to notifications. I'd like
 to be able to say, If any service fails on any host in hostgroup A,
 notify these people.

 Thanks,
 Keith

The only way I can think of to do this is to use a template for services that 
belong to a particular hostgroup:

define service{
namehostgroup_A_service
register0

contactsmanagerA
...
}

Have all the services on hosts in hostgroup A use that template.  Note that 
using the 'contacts' directive won't override any contacts that you specify 
with the contact_groups directive in other templates.  I use 'contacts' to 
specify contacts in addition to the default ones that I specify with 
'contact_groups'.  So you can specify the IT_team as a contact_group for all 
services and hosts and use 'contacts' to specify the manager for particular 
services.

Hope this helps,
Paul Dubuc




--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
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] Write nagios.log data to a SQL Server database hosted on a remote Windows server

2012-01-27 Thread Andrew Thompson
Is this possible?
c
I know i can get Nagios to write its nagios.log data to MYSQL on the Nagios 
sevrer but is it possible to have it write its data to a remote Windows SQL 
server?

Wondering if i can take advantage of Microsoft SQL Reporting Services to 
manipulate my data into reports ready to email?

Or is there a Linux equivilant of SQL Reporting Services?

Or can SQL Reporting services access MYSQL databases hosted on Linux machines?

Anyboy any experience?

Cheers
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2___
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