Hello folks; I'm trying to write a script to test our proxy servers to see if they're passing traffic and i need help please. I wrote this code below to implement "httpie" tool but still having issues. Can someone please take a look and let me know what's wrong with this code? The code is supposed to check all the proxy IP addresses to make sure all IPs are passing traffic and if each proxy returns 200 then the code should exit but if we have an issue, the code should then send me an email saying the specific IP address returned this specific error.
The script runs fine but if any of the Proxys not passing traffic, the script sends an email but it does not tell me which IP failed. Any idea how i make it return the IP address that didn't pass traffic??
Hi,
I am involved in a project on Debian. One of my requirement is to route an IP packet in my application to a proxy server and receive the reply from the proxy server as an IP packet. My application handles data at the IP frame level. My application creates an IP packet(with all the necessary... (0 Replies)
Hello All,
I have written a script to check for http error code 500 in the logs.
here is the code
#!/bin/bash
#########################################################################################################
# Shellscript : trafficchk.sh -Traffic Monitoring
# Version ... (3 Replies)
Hi All Gurus,
I want to write a script (bash/ksh/csh) which will show real time network traffic ( TCP or UDP ) generated by per process/PID. For both
Linux/AIX system, as nethogs ( Linux package ) shows ?
Any suggestion is MOST welcome.
Thanks in Advance,
Amritendu Das (1 Reply)
Hi All Gurus,
I want to write a script (bash/ksh/csh) which will show real time network traffic ( TCP or UDP ) generated by per process/PID. For both
Linux/AIX system, as nethogs ( Linux package ) shows ?
Any suggestion is MOST welcome.
Thanks in Advance,
Amritendu Das (3 Replies)
Hi,
i used this tutorial which tells me to use following example command to proxify traffic from my linux
export {http,https,ftp}_proxy=122.228.156.126:80
when i do this command from command line it works and then i curl http://site/ipcheck.php i see its proxified, which is what i want to... (5 Replies)
I need to configure a proxy on my local machine to use an upstream proxy (installed on another machine). The upstream proxy requires Digest/NTLM authorization. I want the local proxy to deal with the upstream proxy's authorization details and provides authorization free access to users that connect... (0 Replies)
Hello,
I am under Ubuntu 16.04 at location1 and location2 and my question is about haproxy.
I'd like to know when a port in location1 is redirected to another computer in location2, does incoming request to redirected port consume traffic both from 1 and 2 or just 2?
What I'd like to accomplish... (6 Replies)
Discussion started by: baris35
6 Replies
LEARN ABOUT OSF1
niff
niff(7) Miscellaneous Information Manual niff(7)NAME
niff - Network Interface Failure Finder (NIFF) introductory information.
DESCRIPTION
The Network Interface Failure Finder, NIFF, is a facility for detecting and reporting possible failures in network interface cards (NICs)
or their connections. Detection is done by monitoring device counters and attempting to generate traffic to NICs suspected of having
failed. Reporting is done using the Event Manager subsystem (EVM). NIFF does not drive failover operations; that is the responsibility of
the application that subscribes to NIFF's EVM events. Appropriate courses of action may include selecting another network interface for
communication or if it is a clustered environment, migrating an application. See nr(7) for further information.
At the heart of NIFF is the traffic monitor thread. The traffic monitor thread tracks changes in the network device's counters, and notes
if the received packet counter remains unchanged since the previous snapshot. As long as the counter continues to increase, the traffic
monitor thread assumes the NIC is functioning. See nifftmt(7) for further information.
The traffic monitor thread can monitor any network interface. The configuration utility, niffconfig, is used to activate and administer
the traffic monitor thread. See nifftmt(7) and niffconfig(8) for further information.
The Network Interface Failure Finder daemon, niffd, is a traffic generator for network interfaces that have been classified inactive by the
kernel traffic monitor thread. The purpose of niffd is to get the interface packet counters to increment, signifying the interface is still
alive and well. See niffd(8) for further information.
SEE ALSO :
nifftmt(7), nr(7), niffconfig(8), niffd(8) delim off
niff(7)