Let puppet configure your monitoring (here: nimsoft)

94 views
Skip to first unread message

Stefan Schulte

unread,
Feb 23, 2014, 5:01:10 PM2/23/14
to puppet...@googlegroups.com
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

Nikola Petrov

unread,
Feb 25, 2014, 3:32:38 AM2/25/14
to puppet...@googlegroups.com
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
> --
> 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...@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.
Reply all
Reply to author
Forward
0 new messages