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 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.
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?
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
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.
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.
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.
As the title says, 1 of the accounts on my server is getting the following error message - error number 0x800CCC79 server response 451 temporary local problem -
Yet other accounts on the server are sending and recieving fine?
what would cause this error? Its not tempory as its been 48 hours
yum -y groupinstall kde Loading "priorities" plugin Setting up Group Process Setting up repositories Cannot find a valid baseurl for repo: update Error: Cannot find a valid baseurl for repo: update
what is this? what ever i try to install i get this weird error..
Unable to parse zone: Error while parsing zonedata for xyz.com: syntax error, line 25 ...propagated at /usr/local/cpanel/Cpanel/CPAN/Net/DNS/ZoneFile/Fast.pm line 142.
--> Populating transaction set with selected packages. Please wait. ---> Package cadaver.i386 0:0.22.5-1.el5.rf set to be updated ---> Package mtr.i386 2:0.72-1.el5.rf set to be updated ---> Package rsync.i386 0:3.0.2-1.el5.rf set to be updated ---> Package nmap.i386 2:4.20-1.el5.rf set to be updated ---> Package lftp.i386 0:3.7.1-1.el5.rf set to be updated ---> Package syslinux.i386 0:3.63-1.el5.rf set to be updated ---> Package dkms.noarch 0:2.0.19-2.el5.rf set to be updated ---> Package subversion.i386 0:1.4.6-0.1.el5.rf set to be updated --> Running transaction check --> Processing Dependency: perl(Crypt:asswdMD5) for package: syslinux --> Finished Dependency Resolution Error: Missing Dependency: perl(Crypt:asswdMD5) is needed by package syslinux
Other Details: eth0: error fetching interface information: Device not found cp: cannot stat `/etc/apf.bk.last/vnet/*.rules': No such file or directory Imported options from 9.7-1 to 9.7-1. Note: Please review /etc/apf/conf.apf for consistency, install default backed up to /etc/apf/conf.apf.orig my host has said Code: edit the apf.conf file to venet0:0 instead of eth0 which ive done and im still getting the error, Ive pasted my current conf.apf config below
Code: #!/bin/sh # # APF 9.7 [apf@r-fx.org] # Copyright (C) 1999-2007, R-fx Networks <proj@r-fx.org> # Copyright (C) 2007, Ryan MacDonald <ryan@r-fx.org> # This program may be freely redistributed under the terms of the GNU GPL # # NOTE: This file should be edited with word/line wrapping off, # if your using pico/nano please start it with the -w switch # (e.g: pico -w filename) # NOTE: All options in this file are integer values unless otherwise # indicated. This means value of 0 = disabled and 1 = enabled.
## # [Main] ## # !!! Do not leave set to (1) !!! # When set to enabled; 5 minute cronjob is set to stop the firewall. Set # this off (0) when firewall is determined to be operating as desired. DEVEL_MODE="1"
# The installation path of APF; this can be changed but it is not recommended. INSTALL_PATH="/etc/apf"
# Untrusted Network interface(s); all traffic on defined interface will be # subject to all firewall rules. This should be your internet exposed # interfaces. Only one interface is accepted for each value. IFACE_IN="venet0" IFACE_OUT="venet0"
# Trusted Network interface(s); all traffic on defined interface(s) will by-pass # ALL firewall rules, format is white space or comma separated list. IFACE_TRUSTED=""
# This option will allow for all status events to be displayed in real time on # the console as you use the firewall. Typically, APF used to operate silent # with all logging piped to $LOG_APF. The use of this option will not disable # the standard log file displayed by apf --status but rather compliment it. SET_VERBOSE="1"
# The fast load feature makes use of the iptables-save/restore facilities to do # a snapshot save of the current firewall rules on an APF stop then when APF is # instructed to start again it will restore the snapshot. This feature allows # APF to load hundreds of rules back into the firewall without the need to # regenerate every firewall entry. # Note: a) if system uptime is below 5 minutes, the snapshot is expired # b) if snapshot age exceeds 12 hours, the snapshot is expired # c) if conf or a .rule has changed since last load, snapshot is expired # d) if it is your first run of APF since install, snapshot is generated # - an expired snapshot means APF will do a full start rule-by-rule SET_FASTLOAD="0"
I upgraded my PHP to 5.2.4 ang changed server API from Apache to CGI, and now a site doesnt load anymore...
It gives this error message: Fatal error: Internal Optimizer error: can't translate opcode 60 (JMP_NO_CTOR), please contact Zend support in /home/vrock/public_html/rwf/rwengine.lib on line 0
PHP Version 5.2.4 Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
Usually everything has been working fine with this .htaccess-file until today. There hasn't been any change on the system.
If you click on the hyperlink to the restricted area the login window appears where you need to type in your username and a password. After typing in these data the following message appears in the browser:
500 Internal Server Error
The server encountered an internal error or misconfigruation and was unable to complete your request. (…)
The apache error log file contains the following message:
Request exceeded the limit of 10 sub request nesting levels due to probable configuration error.
Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
The increase of the LimitInternalRecursion does not solve the problem. So I switched the LogLevel in the httpd.conf file from warn to debug and looked again on the entries of the error log.
The following appeared (I have replaced ip addresses, usernames and URL by xyz or <URL>) :
Code:
[error] [client xyz] mod_digest_apple: Client is using a nonce not issued by this server for this context:/rb/Vorlesung/WS12/Downloads/, referer: http:<URL>
Command:MLSD Response:150 Accepted data connection Response:226-ASCII Response:226-Options: -a -l Response:226 24 matches total Error:Connection timed out Error:Failed to retrieve directory listing
I am using fedora 7 and when i fire "yum localinstall dovecot-*" it gives error. Could not retrieve mirrorlist [url]Error was [Errno4] IOError:< urlopen Error (110,'connection timed out')> Error:cannot retrieve repository metadata (Repomd.xml) for repository:fedora