Sponsored Content
Top Forums Web Development Website RTO. What monitoring can I setup and how to track issue? Post 303019063 by bakunin on Friday 22nd of June 2018 07:13:12 AM
Old 06-22-2018
Quote:
Originally Posted by solaris_1977
2- How do I track, at what level it is failing ? I checked AWS instance and it was always up and no downtime on that Centos linux.
I don't think it is a matter of tools but a matter of organised debugging: let us first consider what could have gone wrong:

1) the server('s OS) - you ruled that out

2) the application software, i.e. Apache and/or whatever works on top of it.

3) the network connection of your server: possible reasons include network congestion, broadcast storms, intermittent hardware outage, ...

4) the connection between you and your server: caching mechanisms like Cloudflare may influence the connectivity until the cache is filled.

This off the top of my head list is probably neither complete nor detailed enough. You are welcome to edit it until it fits your environment. Once you have done that you start ruling out one point or sub-point after the other: for instance the application stack you use could be tested by a client working from within the server automatically and so foregoing the network connections otherwise necessary. Once you have established that you move on to the next point in the list.

Debugging is just the organised application of logic and a few usually rather simple tests once you have properly envisioned how things are supposed to work and what depends on what.

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

1. HP-UX

Issue with setup.hp file for webserver

Hi All, I have an issue in writing the shell script to install a webserver on UNIX system. My shell script look something like this. ------------------------------------------------------------ echo "start of the script" #! /bin/sh cd /home/path echo | setup.hp -is:javaconsole -console... (1 Reply)
Discussion started by: vishalm
1 Replies

2. UNIX for Dummies Questions & Answers

Possible to track FTP user last login? Last and Finger don't track them.

Like the topic says, does anyone know if it is possible to check to see when an FTP only user has logged in? Because the shell is /bin/false and they are only using FTP to access the system doing a "finger" or "last" it says they have never logged in. Is there a way to see when ftp users log in... (1 Reply)
Discussion started by: LordJezo
1 Replies

3. Red Hat

printer setup issue

I am a linux newbie who is in over his head.... We have a 3rd party company hosting our servers and they are running RHEL 4 (actaully is is OEL, but Oracle just rebranded RH) they installed a bunch of printers on the servers there. Our application prints but the formatt is off. When we had the... (0 Replies)
Discussion started by: jayjabour
0 Replies

4. Shell Programming and Scripting

Monitoring script issue

I written following script to monitor two log files. First piece of code working fine, but piece is failing with followin error. $ sh Log_Monitoring.sh Database failed to written 4 Database failed to written expr: syntax error ================= clear sh=`date | awk '{print $4}' | cut... (2 Replies)
Discussion started by: paventhan
2 Replies

5. Shell Programming and Scripting

Snmp Process Monitoring Issue

Can someone please explain to me how come snmpwalk doesn't always find a running process that's on a remote server? I prefer to use snmp to monitor processes remotely because this doesn't require me to put a script on that remote box. but the problem is, there are times that my snmp command... (2 Replies)
Discussion started by: SkySmart
2 Replies

6. Solaris

Monitoring issue

can any one help me in this issue iscsiadm: ISCSI_AUTH_GET failed, errno: 5 Monitored File: /var/adm/messages (1 Reply)
Discussion started by: saripudi1985
1 Replies

7. Programming

[SOLVED] DDD Newbie Setup Issue

(Ubuntu 11.04) I've just installed the debugger DDD, and I'm literally testing a 'hello world' program, but whilst breakpoints are being hit, the (next to) execute line is not highlighted, and when I click 'Next' the code runs to the end? (7 Replies)
Discussion started by: silas2
7 Replies

8. Solaris

Public private key setup issue in Solaris 10

Hi i am using solaris 10.I am trying to setup a public/private key but it is not working.Appreciate your repsonse on it There are two servers DB1 server and DB2 server. 1)I have generated public/private key using below step on both servers. ssh-keygen -t rsa 2)From DB1 server moved the... (6 Replies)
Discussion started by: muraliinfy04
6 Replies

9. Linux

Check_esx_host_vmfs plugin issue while monitoring ESXi DS

Hello, I setup a check_esx_host_vmfs plugin for monitoring datastore status on ESXi server. But on configuring this plugin, this is working fine but it displays "WARNING" status on UI of Nagios every time. Currently my datastore size is 926.50 GB and right now free space available is 570.60 GB... (2 Replies)
Discussion started by: sunnysthakur
2 Replies

10. UNIX for Advanced & Expert Users

Issue setup Transparent proxy and Gateway using Squid on CentOS 7

Hello, We are migrating our gateways from CentOS 6 to CentOS 7 and for setting up a transparent proxy using squid and Firewalld i am using below configuration. #Firewalld configurations firewall-cmd --permanent --zone=public --add-forward-port=port=80:proto=tcp:toport=3128:toaddr=LAN_IP... (4 Replies)
Discussion started by: sunnysthakur
4 Replies
network-test(1) 						  ifupdown-extra						   network-test(1)

NAME
network-test - check the network and test if everything is fine SYNOPSIS
network-test DESCRIPTION
The network-test program will test your system's network configuration using basic tests and providing both information (INFO), warnings (WARN) and possible errors (ERR) based on the results of these tests. It will check and report on: * Status of the network interfaces of the system including: link status, IP addressing and number of transmitted packets and error rates. * Accessibility to configured routes to external networks, including the default network route, checking the routers configured to give access to the network * Proper host resolution, testing DNS resolution against a known host. * Proper network connectivity, testing reachability of remote hosts using ICMP and simulating a web connections to a remote web server (the web server used for the tests can be configured through the environment, see below) The program does not need special privileges to run as it does not do any system change. However, the behaviour of the program when running as an unprivileged user is not the same as running as system administrator (i.e. root). If the program is run as system administrator it will try to run some tools that are only available to it to speed up some of the tests. The program relies on the use of ip, netstat, ifconfig, arp and (when running as root) ethtool or mii-tool, to obtain information about the system's networking configuration (status of available interfaces and configured network routes). It also uses ping, host and nc (netcat) to do tests of the network connectivity and ensure that the host can connect to the Internet. ENVIRONMENT
The program will, by default, check www.debian.org and its associated web server. If you want to use a different check host you can setup the environment as follows: CHECK_HOST The name of a host to use when testing DNS resolution. CHECK_IP_ADRESS The IP address of the host defined in CHECK_HOST CHECK_WEB_HOST The web server to use for testing purposes when testing network connectivity. CHECK_WEB_PORT The web server port of server CHECK_WEB_HOST that will be used for testing. EXIT STATUS
The program will exit with error (1) if any of the network checks fail. BUGS
This program does not have super cow powers so it is unable to fix the errors by itself. It is also unable to detect if the network is failing due to a local firewall policy been in place so make sure you check your system logs with dmesg (1) to detect if some of the active tests are being dropped due to your local firewall. Other known issues that might make the program not work reliable are: * IPv6: The program does not yet explicitly handle IPv6 only hosts, some of the tests might be biased towards IPv4 and might fail in IPv6 environments. * Proxies: The program does not check network connectivity for hosts that connect through the Internet using a proxy gateway for services. The program might report issues in hosts using proxies even when these might connect to the Internet properly through proxied services. * Firewall environments: some of the tests rely on direct connectivity to external hosts, which are tested using ICMP queries (through the use of ping. These tests might fail in hosts installed in networking environments with firewalls that block outbound ICMP communication. SEE ALSO
ip (8), netstat (8), ifconfig (8), ethtool (8), mii-tool (8), ping (8), nc (1) and host (1). AUTHOR
network-test was written by Javier Fernandez-Sanguino for the Debian GNU/Linux distribution. COPYRIGHT AND LICENCE
Copyright (C) 2005-2011 Javier Fernandez-Sanguino <jfs@debian.org>. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. On Debian systems, a copy of the GNU General Public License may be found in /usr/share/common-licenses/GPL. ifupdown-extra August 23 2011 network-test(1)
All times are GMT -4. The time now is 08:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy