Re: [Puppet Users] Let puppet configure your monitoring (here: nimsoft)

2014-02-25 Thread Nikola Petrov
I am not familiar with nimsoft but I will try to help anyways here -
sorry if I am missing something but you can correct me. Let's say you
want to monitor the oracle instance:

First you specify the nimsoft_oracle_connection you already have
written(as I saw from the readme in github) and then on the actual
server that is checking each host in your network you will have build the 
configuration
with something like https://github.com/dalen/puppet-puppetdbquery. For
that you will surely need a puppetDB configuration setup that is
connected to your puppet master.

Something like the following should then work(WARNING not tested code):

class nimsoft::server {
$hosts = query_nodes('Nimsoft_oracle_connection["PROD""]')
file { '/etc/nimsoft-config-file':
template('template-that-interpolates-hosts variable')
}
}

Hope this helps at least a little

-- 
Nikola


On Sun, Feb 23, 2014 at 11:01:10PM +0100, Stefan Schulte wrote:
> Hi puppet users,
> 
> just wanted to know if there are any puppet users who are using nimsoft
> as a monitoring tool? We are currently switching to nimsoft at $work and
> I noticed that for a proper monitoring configuration I need information
> that is already written down in our puppet manifests.
> 
> E.g. to correctly set up logfile monitoring I need to know if the server
> is running an oralce database and if so I need to know the configured
> oracle instances and the location of the alertlog files. Since we
> install the oracle software and instances through puppet, puppet already
> has all the info.
> 
> I created a few custom types to modify the nimsoft agent's configuration
> [1] and would love to get some feedback from other nimsoft users or just
> share your experience with nimsoft and puppet and how you automate things.
> 
> If you use a different monitoring tool: How much is your monitoring
> puppetized? Do you configure your monitoring by hand? Is your monitoring
> system so smart that it does not need a lot of manual configuration, or
> do you use tools like puppet to automatically create configurations?
> 
> -Stefan
> 
> [1] https://github.com/stschulte/puppet-nimsoft
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/530A6FA6.6070904%40taunusstein.net.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/20140225083238.GC26036%40nikolavp-desktop.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Let puppet configure your monitoring (here: nimsoft)

2014-02-23 Thread Stefan Schulte
Hi puppet users,

just wanted to know if there are any puppet users who are using nimsoft
as a monitoring tool? We are currently switching to nimsoft at $work and
I noticed that for a proper monitoring configuration I need information
that is already written down in our puppet manifests.

E.g. to correctly set up logfile monitoring I need to know if the server
is running an oralce database and if so I need to know the configured
oracle instances and the location of the alertlog files. Since we
install the oracle software and instances through puppet, puppet already
has all the info.

I created a few custom types to modify the nimsoft agent's configuration
[1] and would love to get some feedback from other nimsoft users or just
share your experience with nimsoft and puppet and how you automate things.

If you use a different monitoring tool: How much is your monitoring
puppetized? Do you configure your monitoring by hand? Is your monitoring
system so smart that it does not need a lot of manual configuration, or
do you use tools like puppet to automatically create configurations?

-Stefan

[1] https://github.com/stschulte/puppet-nimsoft

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/530A6FA6.6070904%40taunusstein.net.
For more options, visit https://groups.google.com/groups/opt_out.