Displaying 20 results from an estimated 3000 matches similar to: "Using Nagios in CentOS (It was Re: Somewhat OT: (Nagios))"
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",
2008 May 13
10
Somewhat OT:
Hi,
I'm looking for a monitoring system that support snmp v3. I want to
monitorize linux servers and network switches. Currently, I am trying
to use zabbix, but sadly, it lack at present features that I need. For
example, I want to get reporting screens with data and graphs from
network switches, I'd like to configure one only port of a given
switch and that is used as templates for the
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
2005 Aug 31
1
Processed: Re: [Pkg-nagios-devel] Bug#325874: nagios-common: logcheck regexp issue
Processing commands for control at bugs.debian.org:
> reassign 325874 logcheck-database
Bug#325874: nagios-common: logcheck regexp issue
Bug reassigned from package `nagios-common' to `logcheck-database'.
> tags 325874 + patch
Bug#325874: nagios-common: logcheck regexp issue
Tags were: patch
Tags added: patch
> thanks
Stopping processing here.
Please contact me if you need
2010 Mar 02
2
Nagios based on David Schmitt's Complete Config : variables are empty
Hello !
I''m trying to implement a Nagios solution based on David Schmitt''s
Complete Config. But I the following error when running puppetd -t -
v :
notice: Starting catalog run
err: //Node[monitoring]/nagios::target/Nagios::Host[]/File[/conf.d/
_host.cfg]/ensure: change from absent to present failed: Could not set
present on ensure: No such file or directory - /conf.d/
2012 Jan 04
2
installing Nagios client with selinux enabled
Hi, I''m new to Puppet so may be going about this completely the wrong
way, or perhaps it is an selinux problem rather than a Puppet problem.
I have a problem copying a file and changing the seltype. I don''t
think it is Nagios specific. Code is something like:
file {
''/usr/sbin/nrpe'':
source =>
2006 Jun 20
2
yum install nagios, adding dag repository
Hi,
I'm running an Opteron 64 bit server, and in an effort to re-join it to my
nagios monitoring, I have tried the install nagios via Yum.
When I type:
yum install nagios, or nagios-nrpe, or nagios-plugins, I get:
"Nothing to do". as output.
In wanting to add the DAG repository to my machine, the documentation i've
come across seems vague.
Can someone advise me on either of
2017 Oct 24
0
Not Able to Configure Nagios Server 4.3.4 in Centos 7
> As per the installation instructions I ran the commands in the concerned
> folders of ./configure , make , make install for both the core and the Nagios
> plugins.
>
> I am not able to figure out the issue behind that it is not working It did got
> installed using yum which was a previous 4.3.2 that that had it's own errors
> and wanted me to update with no update of it