Nagios Installation
Jun 18, 2009I have installed nagios 3.06 on my centos server. Anybody know the steps to configure this nagios to check my other servrers.
View 9 RepliesI have installed nagios 3.06 on my centos server. Anybody know the steps to configure this nagios to check my other servrers.
View 9 RepliesWe 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.
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?
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%
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.
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
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.
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 RelatedI 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
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?
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
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.
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 RelatedI'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.
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?
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.
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...
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.
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.
I have just started working through the book Build Your Own Database Driven Website Using PHP & MYSQL, and in the installation section I am required to find a file called php5isapi.dll for the IIS, but I have downloaded the latest version of PHP - PHP 5.2.2 and I cannot find this file...
View 1 Replies View RelatedI got the following message after creating my test php script. Can someone explain what
I need to change? I am computer literate, but no techie!
<p>This PHP CGI binary was compiled with force-cgi-redirect enabled. This
means that a page will only be served up if the REDIRECT_STATUS CGI variable is
set, e.g. via an Apache Action directive.</p>
<p>For more information as to <i>why</i> this behaviour exists, see the <a href=[url]>manual page for CGI security</a>.</p>
<p>For more information about changing this behaviour or re-enabling this webserver,
consult the installation file that came with this distribution, or visit
<a href="[url]
I was wondering if there was anyone out there that could do an ffmpeg, flvtool2, mencoder installation on my CentOS 5.2 VPS for $10. I need it to be able to run phpmotion / youtube clone scripts...
View 8 Replies View RelatedI purchased an EV SSL Cert, and all is fine. Installed via cPanel, and I get the green address bar in Firefox, but not in IE.
Comodo (the vendor) have an Auto-Enhancer feature which automatically tells IE to give me a green bar. They state in their FAQ the following instructions to install the feature:
Replace the bundle file that is in use for the web site.
Use the 'SSLCertificateChainFile' directive instead of the 'SSLCACertificateFile'/'SSLCACertificatePath' directives.
I have download a .CA-BUNDLE file from them.
Please tell me, now what do I do? I am at a lost at their instuctions, and going by my dealings with them, I think I can get help from you guys more accurately and quickly.
The server runs WHM/cPanel 11 with Apache 2 with mod_ssl. Full root access, but I am a Linux newbie.
anyone has got the steps to install this on centos 5? I have got it for centos 4 but censtos 5 having issues
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libxslt.so: undefined reference to `xmlXPathContextSetCache'
collect2: ld returned 1 exit status
make[3]: *** [icecast] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/icecast-2.3.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/icecast-2.3.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/icecast-2.3.1'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.1366 (%build)
What do people mean by profesional installation, for example if I have a forum professionally installed could I expect this to be with phpmyadmin and apache and the mod_rewrite, or are these more custom aspects?
View 5 Replies View RelatedI need to install a video script on my server and for this I need following addons on my server, how I can install these...
# mbstring [url]
# FFmpeg [url]
# Mplayer + Mencoder [url]
# Flvtool2 [url]
# Libogg + Libvorbis [url]
# LAME MP3 Encoder ([url]
I am using linux server with CPanel.
I have WAMP 2.0 installed on my Windows Vista. WAMP has released a new version: 2.0G. I've just downloaded it and i'm wondering if i could just run the installer or do i have to uninstall my current WAMP and then only install the latest version?
View 1 Replies View RelatedAnyone successfully install vePortal yet?
View 5 Replies View RelatedWe are having problem with installing mod_evasive on our server. We tried installing it on our Virtual Machine that runs Fedora 7 (on our server, we have Fedora core 5), and on Virtual Machine it is fine, we can compile it and put it in our Apache2 conf file.
However, when we try
[root@ mod_evasive]# /usr/local/psa/admin/bin/apxs -i -a -c mod_evasive20.c
on the server, we get a
[root@ mod_evasive]# /usr/local/psa/admin/bin/apxs -i -a -c mod_evasive20.c
gcc -DHARD_SERVER_LIMIT=512 -DDEFAULT_PATH="/usr/local/psa/admin/bin:/bin:/usr/bin" -DLINUX=22 -DTARGET="httpsd" -DHAVE_SET_DUMPABLE -DNO_DBM_REWRITEMAP -DMOD_SSL=208122 -DEAPI -O -pipe -I/usr/include -O3 -fexpensive-optimizations -fstrength-reduce -pipe -DPLESK_Linux -I/home/builder/buildbot/psa-8.2.1-bfc7/build/plesk/lib/dist/include/libxml2 -W -Wall -DPLESK_Linux -I/home/builder/buildbot/psa-8.2.1-bfc7/build/plesk/plesk-utils/include -DBSG_CR -DBSG_MSG -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_RPM -DUSE_SLEEP_ON_IDLE -Wno-unused-parameter -fpic -DSHARED_MODULE -I/usr/local/psa/admin/include -c mod_evasive20.c ....
Can this be interpreted as a malware (procede the following steps with caution).
After visiting miniclip.com/games/super-gerball/en/ without me clickiing on anything and confirming that I want to Install a game, a new folder is created in my Windows Start Menu and in a Documents and Settings folder.
Although I believe no harm is actually done with this installation, can attacker use this method to install a malware? How can I prevent this, what options should I change in my Firefox browser?
I am unable to install PHPShield by using the known ways. how to install it?
- php version is; 5.2.6
- apache version is; 2.0
PHP 5.2.6 (cli) (built: Jun 5 2008 19:44:20)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies