Installing Nagios

Aug 12, 2007

I'm trying to install nagios according to this Centos wiki documentation
[url]

[root@server ~]# yum install nagios nagios-plugins nagios-plugins-nrpe nagios-devel
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package

What am I doing wrong here?

[root@server6 ~]# uname -a
Linux server.host.com 2.6.18-8.1.8.el5 #1 SMP Tue Jul 10 06:50:22 EDT 2007 i686 i686 i386 GNU/Linux

[root@server ~]# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
No Packages marked for Update/Obsoletion

View 14 Replies


ADVERTISEMENT

Installing Nagios On CPanel

May 20, 2009

I've tried installing Nagios on my cPanel server and cannot get it to work for the life of me...can anyone point me to a decent "layman's terms" guide for installing this on a cPanel server...Preferably with lots of pretty pictures

View 2 Replies View Related

Nagios

Jan 21, 2008

Using the current version of Nagios, Nagios plugins, and NRPE. Trying to get monitoring of a remote server working. I have other monitoring services functioning, HTTP, POP, FTP, PING. Trying to use check_nrpe.

Monitoring Server from command line I run:
/usr/local/nagios/libexec/check_nrpe -H xxx.xxx.xxx.xxx -n -p 5666 -t 30
and it returns:
CHECK_NRPE: Error receiving data from daemon.

Also I have tested "/usr/local/nagios/libexec/check_nrpe -H localhost" on both Monitoring and Remote server successfully. Then changed the ip in the /etc/xinetd.d/nrpe back and reloaded xinetd.

On the Remote server, in the messages log I am getting the following:

Jan 20 22:54:44 XXXX nrpe[8186]: INFO: SSL/TLS initialized. All network traffic will be encrypted.
Jan 20 22:54:44 XXXX nrpe[8186]: Error: Could not complete SSL handshake. 1

This is strange because I turned off SSL using the -n option in check_nrpe command.

I can successfully Telnet into the remote server with "telnet xxx.xxx.xxx.xxx 5666", so I know it is not a firewall issue on the remote server. By the way, both servers have openssl-0.9.7a. What am I missing? Can I compile nrpe with no SSL support, and if so how can that be done?

View 8 Replies View Related

Ping In Nagios

Mar 25, 2009

I have configured Nagios on my network 10+ Servers (Linux+Windows) now when i check through http://localhost/nagios everything is ok but only ping command is giving following message :-

Unknown
bin/ping -n -U -w 10 -c 5 x.x.x.x
CRITICAL - Could not interpret output from ping command

and mail me "server down " message

So what is the issue ?

I am able to run this command through command line

./check_ping -H {server} -w 100.0,20% -c 500,50% -p 5
PING OK - Packet loss = 0%

./check_ping -H x.x.x.x -w 300.0,80% -c 500.0,100% -p 5
PING OK - Packet loss = 0%

View 10 Replies View Related

Nagios And Cacti In One

Sep 4, 2009

Anyone know of a monitoring package that is essentially Nagios and Cacti in one? Nice SNMP capabilities, but still basic service checks (smtp, dns, web with host, etc), and some nice reporting?

Most reporting packages I've looked at seem so overly complicated with confusing/cluttered UIs and lack plain simplicity.

All I want is to monitor these servers, use SNMP for RAID status, disk space, CPU, etc, and verify connectivity to its services and each website. Is it asking too much? I've been using Cacti and Nagios, but separately and I'd really like something that combines the two of them.

View 9 Replies View Related

Nagios Installation

Jun 18, 2009

I have installed nagios 3.06 on my centos server. Anybody know the steps to configure this nagios to check my other servrers.

View 9 Replies View Related

Nagios / Check_time

May 19, 2009

I'm trying to use the check_time Nagios plugin to see the Time/Date/GMT but this is not possible because the servers is not abled to receive connections on the port 37, see the plugin output:

[root@fireslayer libexec]# ./check_time -H 189.1.169.70
Connection refused
TIME UNKNOWN - could not connect to server 189.1.169.70, port 37
[root@fireslayer libexec]# ./check_time --udp -H 189.xxx.xxx.xxx
TIME UNKNOWN - no data received from server 189.xxx.xxx.xxx, port 37
[root@fireslayer libexec]#

Without the --udp the plugin try to connect on port 37 with TCP protocool

View 6 Replies View Related

Nagios Installation

Apr 19, 2009

We wanted to put up a nagios server for monitoring around 9 - 12 servers and couldn't find any real specs on what kind of machines are required for nagios.

Any leads on what kind of machines would do? My concern was the RAM requirement - if nagios works well on low end machines, it may make sense for us to host it on some VPS.

Wanted to check in with people who run nagios installations and their experiences.

View 14 Replies View Related

Nagios Vs. Centreon

Jan 24, 2008

We are currently using Nagios and really liking it! But ran across Centreon which is apparently based on the Nagios core. Any one have any experience with it? Any pro and/or cons of either system?

Also from a desktop monitoring standpoint, anyone have a preference to monitor software? A1Monitor vs. PortSensor or is there another one you would recommend. This is all for monitoring Linux boxes and looking at systems/software that provides alert notifications.

View 2 Replies View Related

Configuring Nagios ..

Aug 2, 2008

I want to configure Nagios to monitor Windows and Linux servers and their services. I have to install NSClient in Windows servers and NRPE in Linux servers to collect the data. I don't want to install any plugin in any server. Is there any guide available which describes how to enable Monitoring of servers using SNMP through Nagios?

View 2 Replies View Related

Nagios And Yaps

Feb 28, 2007

I have a problem with getting yaps to work

I try this:
yaps -t 7781234567@fido.ca 'test msg'
and
yaps -t 7781234567 'test msg'

and get
No service for pager id 7781234567 found

btw, 7781234567 is not my real number

View 0 Replies View Related

Nagios Services

May 28, 2007

Well a day later I got Nagios installed and configured .

What other things do people use it for then monitoring

ftp, http, smtp, pop. Thats all ive set it up for so far.

What other good is it?

View 2 Replies View Related

Sevices To Monitor With Nagios

Oct 23, 2009

I am wondering what services it is best to monitor with Nagios which I've installed on my Centos 5.3 VPS. I wish to monitor and understand all essential services of the VPS itself at this stage but, generally, to make the best possible use of Nagios as an analytical tool as well as basic monitoring notifications, etc.

I already have a rough idea based on the main services being run. But I imagine there may be more to this than meets the eye, in particular, in view of any potential performance cost, etc.

I am especially keen to obtain as detailed a picture as possible concerning performance related criteria with a mind to indicating possible improvements that could be made.

View 8 Replies View Related

Private Server For Nagios

May 20, 2008

I'm trying to find a hosting company or private linux server that will host an installation of Nagios which is a monitoring utility. It does require some linux system packages to be installed as well as a break in the firewall for the monitoring.

Does anyone know of cheap linux private server (less than $25/month), or is anyone else running this with someone? It really requires no memory or hard drive space and I'm sure could run in a less than amazing CPU environment. It generates pretty constant web traffic but very low bandwidth.

View 9 Replies View Related

Nagios Check_ping Error

Dec 23, 2007

Ive got a strange error with then new rc1 version of Nagios 3

check_ping returns the error:

CRITICAL - Could not interpret output from ping command

and sets the monitor to down

unyet running the check_ping from the command line

ie:

/usr/local/nagios/libexec/check_ping -H 127.0.0.1-w 100.0,20% -c 500.0,60% -p 5

works fine and returns ledgible responses

anyone have any idea whats causing this and how to fix it?

View 0 Replies View Related

Nagios Monitoring Server

May 19, 2007

I'm thinking of purchasing a server that will monitor about 50 different servers using Nagios. It would probably just run Apache and nothing else but i was wondering if anyone has experience setting up a Nagios server just for monitoring other boxes on a network.

I'm wondeirng if this can be done. I will be monitoring a few customer servers but would like to give those customers access to Nagios and access only to their servers and nobody elses. Is there a way to setup Nagios so certain users can view their own boxes and nobody elses? Probaby setting up some type of group configuration. What about alerts? If a customers box goes down they would need to be alerted. Does Nagios allow those users to receive alerts specific to their boxes.

Not even sure how powerful the server should be. Probably a Celery or something a bit more powerful should do.

View 4 Replies View Related

Nagios Resends Notifications Every 25 Minutes

May 2, 2009

Even though I have set notification_interval from 120 to 120m. It might take the changed interval_limit from nagios.cfg.

I am receiving far too many e-mails and text messages in case of downtime at the moment. We're testing our monitoring servers at the moment, but we don't need a new notification every 25 minutes...

View 2 Replies View Related

Nagios With Service Check Notifications

Mar 4, 2008

We are starting to use Nagios for some remote service checks (http, smpt, pop, ssh, etc..) and the notifications are not being sent out. We have the regular hosts configured and those are being sent out just fine.

Here's what we have currently:

Part of our services.cfg looks like this:

Code:
#### Generic services template ################
define service{
name generic-service;
active_checks_enabled 1;
obsess_over_service 1;
check_freshness 0;
notifications_enabled 1;
event_handler_enabled 1;
flap_detection_enabled 1;
retain_status_information 1;
retain_nonstatus_information 1;
register 0;
}
define service{
use generic-service
name basic-service
is_volatile 0
check_period 24x7
max_check_attempts 15
normal_check_interval 5
retry_check_interval 1
notification_interval 20
notification_period 24x7
register 0
}
define service{
use basic-service
name dns-service
check_command check_dns
max_check_attempts 10
check_period 24x7
notification_interval 20
notification_period 24x7
notification_options c,r
contact_groups localadmin
register 0
}
#### HOST01 ######
define service{
use dns-service
host_name host01
servicegroups mygroup
service_description DNS
contact_groups localadmin
}
To me, that looks correct. Host01's service check should inherit
everything through 'use dns-service' line.

checkcommands.cfg file for DNS:

Code:
# 'check_dns' command definition
define command{
command_name check_dns
command_line $USER1$/check_dns -H $HOSTADDRESS$
}
contactgroups.cfg:

Code:
define contactgroup{
contactgroup_name localadmin
alias Site Administrator
members nagios
}
contacts.cfg:

Code:
define contact{
contact_name nagios
alias admin
host_notification_period 24x7
service_notification_period 24x7
service_notification_options w,u,c,r,f
host_notification_options d,u,r,f
service_notification_commands notify-by-email
host_notification_commands host-notify-by-email
email mail@domain.com
}

I believe the above should be correct since I have host and service to
be notified by email. Obviously I'm overlooking something.

View 8 Replies View Related

Apachetop / Munin / Nagios - Best Way To View Apache + Other Service Activity

Nov 12, 2008

On Cpanel/WHM. I have just moved from a VPS to a dedicated server. I reinstalled munin, so get some stats via that. I used to have apachetop loaded on my VPS for when I wanted a 'near realtime' streaming view of apache access.

I'm wondering what the best solution is to get a good view of apache, like what apachetop did, plus also it would be nice to have a real-time monitor of MySQL activity, HDD activity (such as I/O queues, etc. Something along the lines of the perfmon on Windows servers.

What is my best option?

Also, with Nagios, when I look at the website, it seems there are two options. Load it on a single server and then load the stats via [url]or have the Nagios 'stat collector' on one machine, and have it gathering stats from multiple machines.

If you only install it on a single dedicated server, do you really have to be on the console and connect to the Nagios stats via localhost, rather than connecting remotely?
Ideally, I would like a quick, easy to setup solution, but if it takes some configuring, I can deal with it, as long as there is some documentation. My main goal is to get the real time type monitoring, you get with window's perfmon.

View 11 Replies View Related

Installing GD?

Jun 23, 2008

To install the GD graphics library for PHP, is recompiling the only method? And would recompiling PHP break things?

View 12 Replies View Related

Installing RoR. Please!

Feb 27, 2008

just recently upgraded from a fully managed VPS to a Dedicated Server. Everything seemed to be going fine, until I tried installing RoR. I have RubyGems installed and all that, but whenever I try to install Rails, the following happens.

[root@server1 ~]# gem install rails --include-dependencies
Libsafe version 2.0.16
Detected an attempt to write across stack boundary.
Terminating /usr/bin/ruby-bin.
uid=0 euid=0 pid=9614
Call stack:
0x519df871 /lib/libsafe.so.2.0.16
0x519dfc5d /lib/libsafe.so.2.0.16
0x80549b8 /usr/bin/ruby-bin
0x8054a52 /usr/bin/ruby-bin
0x80556af /usr/bin/ruby-bin
0x806132f /usr/bin/ruby-bin
0x8061de6 /usr/bin/ruby-bin
0x809eb06 /usr/bin/ruby-bin
0x8055681 /usr/bin/ruby-bin
0x805de6d /usr/bin/ruby-bin
0x805ea6c /usr/bin/ruby-bin
0x805c5e6 /usr/bin/ruby-bin
0x8059c53 /usr/bin/ruby-bin
0x8064680 /usr/bin/ruby-bin
0x805de6d /usr/bin/ruby-bin
0x805ea6c /usr/bin/ruby-bin
0x805c4df /usr/bin/ruby-bin
0x805d776 /usr/bin/ruby-bin
0x805ae8a /usr/bin/ruby-bin
0x805d2ad /usr/bin/ruby-bin
0x805e66a /usr/bin/ruby-bin
0x805ea6c /usr/bin/ruby-bin
0x805c4df /usr/bin/ruby-bin
0x8062e68 /usr/bin/ruby-bin
0x805b9b2 /usr/bin/ruby-bin
0x805e66a /usr/bin/ruby-bin
0x805ea6c /usr/bin/ruby-bin
0x805c5e6 /usr/bin/ruby-bin
0x805d776 /usr/bin/ruby-bin

Overflow caused by memcpy()
Killed

View 9 Replies View Related

Installing GD Via WHM

Nov 12, 2008

Main >> Software >> Apache Update

I've read through a number of threads regarding installing GD. So sorry for yet another, but I just want to make sure that I'm doing this correctly.

As seen in the attachment below I'm presented with a few options:

Previously Saved Config (** DEFAULT **)
Basic (If your previous build has failed, please use this option)
No PHP
PHP Encryption / E-commerce
PHP Encryption and Image Manipulation
PHP Image Manipulation
PHP Security

Should I start by selecting the option "Previously Saved Config (** DEFAULT **)" and then "Start Customizing Based On Profile"?
I've walked through the steps doing the above and have a question about the last section. Viewing the Exhaustive Options List shows GD as already checked yet towards the bottom I see a checkbox with the following (second attachment below):
Quote:

Save my profile with appropriate PHP 5 options set so that it is compatible with cpphp

This option will make the following changes to your profile prior to the build:
Enables:

CurlSSL
FTP
GD
Gettext
Iconv
Imap
Mbregex
Mbstring
Mysql
Mysql of the system
PGsql
Sockets
Zlib

Should I check to save and then click "Save and Build" to get GD installed?

Some additional information: I have downloaded my default profile. (lol Let's hope I don't have to use it because I wouldn't know where to begin!)

My php.ini file shows that GD is not installed or at least not compiled (if that's the right word to use). To clarify, GD is not in the list.

I have tried yum install pgp-gd and get the following:

root@server [~]# yum install php-gd
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* base: styx.biochem.wfubmc.edu
* updates: mirror.raystedman.net
* addons: dist1.800hosting.com
* extras: mirrors.easynews.com
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Install Process
Parsing package install arguments
No package php-gd available.
Nothing to do
root@server [~]# No package php-gd available.

root@server [~]# rpm -q php-gd
package php-gd is not installed

root@server [~]# php -m
[PHP Modules]
bcmath
calendar
ctype
date
dom
eAccelerator
filter
ftp
hash
iconv
imap
json
libxml
memcache
mysql
pcre
posix
Reflection
session
SimpleXML
sockets
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
zlib
[Zend Modules]
eAccelerator

root@server [~]# yum list | grep -i gd
gd.i386 2.0.33-9.4.el5_1.1 installed
gd-devel.i386 2.0.33-9.4.el5_1.1 installed
gd-progs.i386 2.0.33-9.4.el5_1.1 installed
gdb.i386 6.5-37.el5_2.2 installed
gdbm.i386 1.8.0-26.2.1 installed
gdbm-devel.i386 1.8.0-26.2.1 installed
sysklogd.i386 1.4.1-44.el5 installed
aspell-gd.i386 50:0.50-4.2.2 base
gdk-pixbuf.i386 1:0.22.0-25.el5 base
gdk-pixbuf-devel.i386 1:0.22.0-25.el5 base
gdm.i386 1:2.16.0-46.el5.centos base
libgdiplus.i386 1.2.5-1.el5.centos extras
libgdiplus-devel.i386 1.2.5-1.el5.centos extras
root@server [~]#

View 7 Replies View Related

Installing VPN On FC6

Jan 30, 2008

to install VPN on my dedicated server with fedora core 6.

I search on the internet and I found some article.

now I have this question,
I found the rpm in WHM>Software>Install a RPM named openvpn.i386 .

Can I install this rpm from this section?

View 1 Replies View Related

Installing Php 5 Together With Php 4

Mar 30, 2007

my server running freebsd 6.2

i want to installing PHP 5 so my server can run 2 version of PHP (4 and 5)

im following the step here [url]

installing was successful

[root@s1 /usr/local/apache/logs]# /usr/local/cpanel/cgi-sys/php5 -v
PHP 5.2.1 (cgi) (built: Mar 30 2007 17:07:11)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

but when i try to running phpinfo for it, its show me an error

i grep the error from error.log and got this

[Fri Mar 30 17:42:47 2007] [error] [client 202.65.236.10] Premature end of script headers: /home/uletbulu/public_html/info.php
[Fri Mar 30 17:42:47 2007] [error] [client 202.65.236.10] File does not exist: /home/uletbulu/public_html/500.shtml
[Fri Mar 30 17:44:07 2007] [error] [client 202.65.236.10] Premature end of script headers: /usr/local/cpanel/cgi-sys/php5
[Fri Mar 30 17:44:07 2007] [error] [client 202.65.236.10] File does not exist: /home/uletbulu/public_html/500.shtml

but for php 4 there is no problem at all
or the syntax for php 5 not using phpinfo(); anymore?

[url]
[url]

View 0 Replies View Related

Installing PHP

Jan 25, 2007

I've installed PHP, MySQL and Apache on my XP.

I've uncommented some extensions in php.ini and among them:

extension=php_pdf.dll and extension=php_mysqli.dll, but when I start Apache I got the message:

PHP Startup: Unable to load dynamic library 'c:phpextphp_mysqli.dll' - The specified module could not be found

But I have that module in c:phpextphp_mysqli.dll.

View 5 Replies View Related

Installing Yum

Jun 13, 2007

Anyone have tried yum with suse 10.x ? and what its rpm download link?

View 1 Replies View Related

Installing PHP

Apr 29, 2007

Ive just installed PHP on my virtual server and am getting this error message:

PHP Warning: PHP Startup: (null): Unable to initialize module
Module compiled with module API=20041030, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: (null): Unable to initialize module
Module compiled with module API=20041030, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/dom.so' - /usr/lib/php/modules/dom.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/gd.so' - /usr/lib/php/modules/gd.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: ?Mq?gpp?: Unable to initialize module
Module compiled with module API=20041030, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mbstring.so' - /usr/lib/php/modules/mbstring.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' - /usr/lib/php/modules/mysql.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: D1q?`?p?: Unable to initialize module
Module compiled with module API=20041030, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/xsl.so' - /usr/lib/php/modules/xsl.so: undefined symbol: dom_node_class_entry in Unknown on line 0

Does anyone have any ideas what this could be/how it could be fixed? Full phpinfo can be found here: jlwalsh.net/phpinfo.php - if theres any other info I can send let me know.

View 2 Replies View Related

Installing Gd

Oct 14, 2007

Trying to install gd library but not able to..

When i do yum install php-gd it says nothing to do..

Kindly help me.. Its a week i am trying to make it work.. Looks like i have searched the whole net..

View 14 Replies View Related

Installing Php

Apr 1, 2007

I have Kevin Yank's book, and have followed the instructions (I thought) absolutely correctly.

most of it seems to be fine, but when I open up the very first page created (the "today.php" project!).. it says "module not found"..

take out the <%php bit... and rename it as an asp file (just to be sure my /localhost settings etc were ok) and it works fine. It's clearly a php install error.. Where do I start looking?

I did search on the forum but failed to find any related thread...

View 4 Replies View Related

Ffmpeg-php - Need Help Installing Under Win

Aug 25, 2005

Hi there, I was wondering if anyone have installed ffmpeg-php under windows successfully or you might understand how to do it?

By default it's for linux, but there is a version for win made by some guy/guys to be found here: ffmpeg google groups

Problem is, I don't understand how to install? Could anyone explain, thanks!

Edit: Got it to work!

avcodec.dll (copy to WindowsSystem32)
avformat.dll (copy to WindowsSystem32)
php_ffmpeg.dll (php dir)
Add: extension=php_ffmpeg.dll <- to php.ini

All the other files confused me

View 0 Replies View Related

Installing FFMPEG On VPS

Sep 25, 2006

We have a managed VPS, and have never needed on our own dedicated servers in teh past to have FFMPEG due to the line of data we host. So, I asked our provider to please install FFMPEG onto our server.

This is the response I have received:

FFMpeg requires PHP to be compiled as CGI (PHPsuexec) that is only officially supported by cPanel. So in order to install FFMpeg modules we have to resetup your VPS with cPanel.

Now our VPS is running Direct Admin on CentOS.

I am not trying to poke holes at our provider, just trying to find out if this is the truth, or if there is a work around that can accomplish this.

I do not want CPANEL on our account. We have two unix techs here at work, however unfortunately they are both off for two weeks as of middle of last week, so i'm caught with who to look for to gain a second opinion.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved