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
ADVERTISEMENT
Nov 2, 2008
15ms ping vs 40ms ping vs 170ms ping
Which you think is still acceptable for a website?
View 14 Replies
View Related
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
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
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
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
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
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
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
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
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
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
View Related
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
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
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
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
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
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
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
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
Jun 6, 2008
My server DC technician change the cable to another switch in another rack. all in sudden, my server went 'offline'.
the weird thing is,
I can ping the server IP
When I plug my KVM,
I can ping google.com from my server
But when I lynx google.com, it keep saying
HTTP requests sent; waiting for response._
When I open my putty and SSH, it keep waiting.
When I try to ssh from another server, it keep waiting
$ ssh school@xxx.xxx.xxx.xx
[nothing happen]
$ ping xxx.xxx.xxx.xx
PING xxx.xxx.xxx.xx (xxx.xxx.xxx.xx) 56(84) bytes of data.
64 bytes from xxx.xxx.xxx.xx: icmp_seq=1 ttl=63 time=1.10 ms
64 bytes from xxx.xxx.xxx.xx: icmp_seq=2 ttl=63 time=0.864 ms
64 bytes from xxx.xxx.xxx.xx: icmp_seq=3 ttl=63 time=0.854 ms
- I can ping my server from MS DOS
- I can ping my server from Iptools.com
- I can ping my server from another server
But..
- I cannot ssh into my server
- I cannot ssh into my server from another server
Inside my server..
- I can ping google.com, yahoo.com, other servers
- But I cannot lynx and open all websites
When I restart network, it shows [refer attachment] captured from my KVM
View 6 Replies
View Related
Oct 23, 2008
PING
Whats that?
View 5 Replies
View Related
Feb 5, 2007
after my server down, i ask for reboot then the server up again.
but i cant access SSH via my main ip, but i can access SSH via second ip. when i ping main ip, all is request time, but my second ip can ping.
ok main ip cannot use, so i use second ip the main problem come i cant do yum update kernel, will show this error
Quote:
Setting up Update Process
Setting up repositories
Cannot find a valid baseurl for repo: update
Error: Cannot find a valid baseurl for repo: update
when i try run socks5 proxy in my server, it running, but when i use it for my personal pc, the socks5 it not run....just show proxy is offline.
when i do wget some direct links
it always show, but never download
Quote:
[root@xxxx ~]# wget ftp://ftp.is.co.za/mirror/centos/4.4...4E.12.i386.rpm
--11:39:24-- ftp://ftp.is.co.za/mirror/centos/4.4...4E.12.i386.rpm
=> `squid-2.5.STABLE6-3.4E.12.i386.rpm'
Resolving ftp.is.co.za...
so i try to go check resolv.conf, but don have problem, my other 2 same server also dont have problem with this dns server.
View 5 Replies
View Related
Jan 13, 2007
I just moved from PowerVPS to EuroVPS, being located in Europe myself, and was of course hoping for much better ping times. Also EuroVPS advertise themselves with a 30ms ping to most of Europe.
Anyway after my VPS was installed I compared the pings:EuroVPS (85.17.48.162) average ping: 335ms
PowerVPS (69.65.106.19) average ping: 129ms
335ms is of course ridiculously high, and after writing them a support ticket they told me it's probably a latency problem with my ISP
Can you please post the ping you get for 85.17.48.162 (preferably people located in Europe)?
View 6 Replies
View Related
Jul 13, 2008
I'm running my own OpenVZ server with a few VPS's running on it and have a small network issue.
I can't ping any VE from the HN. All the other networking is working ok (strangely I can ping the HN from the VE) apart from this. It's a simple setup with one network card connected to the internet.
OpenVZ the latest stable version running on CentOS 5.2
I'm pretty sure it's not a firewall problem but is something to do with arp or routing and one of the settings in sysctl.conf
Has anyone else seen this?
View 6 Replies
View Related
Feb 10, 2009
Does it matter?
I did a few tests
Pinging lunarpages.com [74.50.4.210] with 32 bytes of data:
Average = 191ms
Pinging hostmonster.com [74.220.195.150] with 32 bytes of data:
Average = 191ms
Pinging godaddy.com [97.74.104.201] with 32 bytes of data:
Average = 175ms
Pinging rackspace.com [72.32.191.88] with 32 bytes of data:
Average = 150ms
Pinging siteground.com [209.85.102.36] with 32 bytes of data:
Average = 148ms
Pinging hostgator.com [74.54.219.185] with 32 bytes of data:
Average = 147ms
Pinging ipowerweb.com [66.96.130.200] with 32 bytes of data:
Average = 113ms
The pages load really fast @ ipowerweb
View 14 Replies
View Related
May 5, 2009
i've only ever used pings to test if a host is up or down.
But what other information am i looking for in ping tests. For e.g., the time in ms the TTL etc etc?
How can i test pinging my server from different locations around the world?
View 8 Replies
View Related
Jul 8, 2008
i install one xen guest ( centos5)
i run yum update and result is :
-bash-3.1# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...86&repo=extras error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot find a valid baseurl for repo: extras
i use of middle config :
/etc/sysconfig/network-scripts/ifcfg-eth0 TYPE=Ethernet
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255
IPADDR=192.168.0.13
IPV6ADDR=
IPV6PREFIX=
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=myhost.l3i.ca
GATEWAY=192.168.0.1 /etc/resolv.conf (DNS resolver)
nameserver 4.2.2.1
nameserver 4.2.2.2
View 4 Replies
View Related
Jul 23, 2008
My sites are up when I go to http and there is no slowdown but my monitors (panopta and pingdom) say that there is an outage in ping (only in ping, http is up). I tried pinging the server and there are packet loss up to 100% but the site is still up. I also used other online pinging tools (all-nettools.com, dnsstuff.com, etc.) and host unreachable.
I tried contacting the provider but they say there are no network problem at this time. So I found this other site that's also hosted on the same provider and I can access their site but fails on ping.
View 1 Replies
View Related
Jul 26, 2008
My server ping keeps disconnecting
However my ssh & website is smooth running!
When i type "service iptables stop", the ping runs just smoothly.
I have CSF installed in the server, like any other server using default configurations. I believe it has something to do with selinux? (or not?)
View 2 Replies
View Related
Oct 26, 2008
i think 216.245.208.x and 216.245.215.x DOWN, but limestonenetworks tell me :"problems well outside of our network, and I would highly suggest contacting your ISP for support on this matter" ....
View 9 Replies
View Related