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
sasl_client_start(3)						  SASL man pages					      sasl_client_start(3)

NAME
sasl_client_start - Begin an authentication negotiation SYNOPSIS
#include <sasl/sasl.h> int sasl_client_start(sasl_conn_t * conn, const char * mechlist, sasl_interact_t ** prompt_need, const char ** clientout, unsigned * clientoutlen, const char ** mech); DESCRIPTION
sasl_client_start() selects a mechanism for authentication and starts the authentication session. The mechlist is the list of mechanisms the client might like to use. The mechanisms in the list are not necessarily supported by the client or even valid. SASL determines which of these to use based upon the security preferences specified earlier. The list of mechanisms is typically a list of mechanisms the server supports acquired from a capability request. If SASL_INTERACT is returned the library needs some values to be filled in before it can proceed. The prompt_need structure will be filled in with requests. The application should fulfill these requests and call sasl_client_start again with identical parameters (the prompt_need parameter will be the same pointer as before but filled in by the application). mechlist is a list of mechanisms the server has available. Punctuation is ignored. prompt_need is filled in with a list of prompts needed to continue (if necessary). clientout and clientoutlen is created. It is the initial client response to send to the server. It is the job of the client to send it over the network to the server. Any protocol specific encoding (such as base64 encoding) necessary needs to be done by the client. If the protocol lacks client-send-first capability, then set clientout to NULL. If there is no initial client-send, then *clientout will be set to NULL on return. mech contains the name of the chosen SASL mechanism (on success) RETURN VALUE
sasl_client_start returns an integer which corresponds to one of the following codes. SASL_CONTINUE indicates success and that there are more steps needed in the authentication. All other return codes indicate errors and should either be handled or the authentication session should be quit. CONFORMING TO
RFC 4422 SEE ALSO
sasl(3), sasl_callbacks(3), sasl_errors(3), sasl_client_init(3), sasl_client_new(3), sasl_client_step(3) SASL
10 July 2001 sasl_client_start(3)
All times are GMT -4. The time now is 09:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy