Displaying 20 results from an estimated 8000 matches similar to: "puppet nagios module integration"
2011 Apr 04
4
Puppet nagios integration problem
Hi all,
I''m working on setting up Puppet to write out my Nagios configs. A few
weeks back I inserted a few dummy Nagios checks into my Puppet config,
and the Nagios configs were written out properly.
I''ve now added loads of Nagios host and service checks like this:
@@nagios_service { "check_smtp_${hostname}":
check_command =>
2013 Aug 07
3
Nagios XI + Puppet?
Hi All,
I currently make use of Icinga (nagios fork) + Puppet for fully automated
monitoring. It''s worked great up to this point. I''ve recently been asked to
integrate fine grained notifications support into icinga. I''m not entirely
sure puppet manifests are the right place to manage contacts, contact
groups, and their use within host and service definitions for
2013 May 14
2
puppet and custom nagios object variables
Nagios support "custom object variables" (http://nagios.sourceforge.net/docs/nagioscore/3/en/customobjectvars.html) buy prefixing them with an underscore:
define host{
host_name linuxserver
_mac_address 00:06:5B:A6:AD:AA
_rack_number R32
}
However, I can''t determine how to use these with puppet nagios resources. I''m assuming they aren''t supported, but
2013 May 24
6
Puppet/Nagios/PuppetDB slow performance
Hi all,
For months now I''ve been using Puppet with PuppetDB backend to manage my
Nagios configs. We now have 1200+ services being checked and including
servicedependency, host, hostdependency, command and other Nagios
resources being managed, that''s about 3000 resources in total.
Unfortunately this means the monitoring server takes about 8 minutes to
perform a Puppet run.
2013 Feb 11
1
Puppet resources and Nagios Contacts\Contactgroups
I''m currently defining nagioscontacts one-by-one like so;
@@nagios_contact { username1:
ensure => present,
use => "generic-contact",
contact_name => username1,
alias => "user1",
email => "emailaddress1",
target => "/etc/nagios/conf.d/contacts/username1.cfg",
2013 Apr 10
5
Managing multiple nagios servers with puppet and virtual resources
Hi,
For several years, we have @work had a puppet environment where when we add
a new host/node, some basic monitoring is fed through to a nagios server
using virtual resources and an old nagios class which either someone here
wrote themselves, or found on the internet at the time.
We are trying to move away from the existing puppet environment for a
number of reasons, and using this as an
2008 May 15
1
Using Nagios in CentOS (It was Re: Somewhat OT: (Nagios))
2008/5/14 Thomas Harold <tgh at tgharold.com>:
> Sergio Belkin wrote:
>>
>> 2008/5/13 <jleaver+centos at reachone.com>:
>>
>> OK, you won :) I'm going to test nagios. I am using centos 5.1
>> x86_64. Do I lose much if I use rpm from rpmforge (version 2.9)?
>>
>
> We're running version 2.11 at the office (on CentOS 5.1 x86_64).
2008 Nov 11
0
nagios command-plugins: unexpected token
Hi
I just installed nagios et al[1] in my Centos-5.2 (x86). When I try to
test the configuration file it fails[2] with the message "Unexpected
token or statement(...)".
The line is:
command[notify-by-email]=/usr/bin/printf "$OUTPUT$" | /bin/mail -s
'$SERVICESTATE$ alert for $HOSTALIAS$/$SERVICEDESC$' $CONTACTEMAIL$
But if I comment this line, then I got the same
2009 Jun 20
1
Fw: RE:Nagios under *[solved]
Hi Steve
Thanks for all your help, i followed your answers and found on that nagios was being run as user nagios....and if i executed the last command it asked for a password [i tried nagios password,root password etc] but it did not work..it the end i opened nagios.cfg and changed the NAGIOS_USER to root and changed the ownership permissons on the script also to root..I now get the correct
2009 Nov 02
0
Nagios check_asterisk_peers needs rights to question the Asterisk-server
When executing the following command :
[root at nagios ~]# /usr/local/nagios/libexec/check_nrpe -H ip_address -c
check_asterisk_peers
I get the following output :
NRPE: Unable to read output
Somewhere Nagios does not have enough rights to question Asterisk about
the sip peers.
These are the rights of the check_nrpe on the Nagios Server :
[root at nagios ~]# ls -l
2010 Nov 05
1
Nagios installation problem
Hello,
Has anyone managed a successful installation of Nagios using
the RPMForge packages on CentOS 5.5?
It looks like it should have worked, I followed the guides for Fedora
and CentOS here (with appropriate path adjustments):
http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html
http://wiki.centos.org/HowTos/Nagios
The SELinux policies look fine (I tend to ignore instructions to
2008 Dec 06
0
Trying to setting a selinux policy to Nagios 3.0.6 on CentOS 5.2 .
Hello,
I'm trying to run Nagios 3.0.6 on CentOS 5.2 with SELinux in enforcing mode but
it is not working.
I'm using the following packages:
httpd-2.2.3-11.el5_2.centos.4
nagios-3.0.6-1.el5.rf
nagios-plugins-1.4.12-1.el5.rf
I followed the steps bellow to try to create a selinux policy to Nagios but it
is failing.
Any help, please?
# setenforce Permissive
# service nagios start
#
2011 Feb 28
1
Nagios monitoring with example42 modules
Folks:
I''ve started to play around with the comprehensive integrated module set
from example42 (http://www.example42.com/).
Following the instructions, I set up one node as a nagios server, with
''include nagios''. I set up another node to be monitored via nagios, with
''include nagios::target". I set $monitor=true for the base node, which is
inherited by
2012 Sep 05
1
Nagios and www-data users.
I''m sure people have hit this problem before. In my nagios module, the
nagios command pipe file at /var/lib/nagios3/rw/nagios.cmd is owned by
the nagios user, but needs to be written to by the www-data user.
Adding the www-user to the nagios group is one solution, but that
requires that the nagios module potentially modify the www-data user,
which seems bad.
What''s the best way
2007 Jun 27
1
missing Nagios dependencies: how to fix on yum?
On CentOS, I am trying to "yum install nagios" (after adding the rpmforge
repository), but every time I run it, I get this message, and am not sure
quite what to do.
[root at nagios-server ~]# yum install nagios
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating
2012 Jun 18
1
Nagios 3.4.1 on CentOS 5.8
Hi
I am trying to build nagios rpm from nagios.spec file on CentOS 5.8. I am
getting into issues.
nagios.spec http://fpaste.org/crOs/
rpmbuild -ba nagios.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.36485
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf nagios-3.4.1
+ /bin/gzip -dc /usr/src/redhat/SOURCES/nagios-3.4.1.tar.gz
+ tar -xf -
+ STATUS=0
+ '['
2017 Oct 25
1
Not Able to Configure Nagios Server 4.3.4 in Centos 7
Thanks for your reply
Actually the case is that the compiling process and make all, make install processes didn't report any errors but when I trying to access or start the service Nagios it gives me an error stating it's unable to find that service.
This happens with me when I try to manually install the applications from source.
Am I missing any important step in the installation
2012 Sep 10
5
Nagios purge deleted items and notify nagios service problem
I am using stored configs to manage my nagios host and services checks and
I have run into a problem that I have been unable to solve. When the
stored configs are purged from puppet the nagios server correctly removes
them from the services and hosts file but does not notify the nagios
service and instead throws an error. So the entries are still there and
nagios still reports on them until
2011 Nov 18
0
Setting nagios hostgroups based on included classes
I''m trying to generate (and manage) nagios configuration based on what classes have been included by nodes. I''ve seen the example at http://docs.puppetlabs.com/guides/exported_resources.html, and I''m doing that now. However, it has some problems:
- puppet runs are very slow on the nagios node
- when I want to change the service configuration in nagios, I have to wait
2009 Nov 05
0
Nagios check_file size in another machine [solved]
Thanks everyone,
My problem is solved. yeah...i'm read the nrpe.pdf.
On Wed, Nov 4, 2009 at 3:08 AM, Keith Keller <kkeller at speakeasy.net> wrote:
> On Tue, Nov 03, 2009 at 08:08:27PM +0700, kebo jantan wrote:
> > I just already. This on client
> >
> > [root at xmen ~]# ps -ef | grep -i snmp
> > root 10505 10172 0 20:06 pts/0 00:00:00 grep -i snmp