06-22-2009
You dont just ping ports. You would have to add a lot of code so it knows what to look for. If it didn't get a certain response then it would mark it as down and email you. Im sure there are scripts out there for monitoring ports.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
*This is not homework I am new to UNIX and want to try this Monitoring a file demo*
*If this is the wrong forum please move it - im new to the forums*
$1 = the file to be monitored
$2 = the time for the file to sleep
If the file gets changed (using -nt) it will send my username mail saying... (2 Replies)
Discussion started by: Nolan-
2 Replies
2. Infrastructure Monitoring
hi,
i serarch monitoring and alert system.
when HDD and services are down. Send email and sms alert to me and help desk.
but i don't find any program.
Can you help me ?
Thanks. (1 Reply)
Discussion started by: oulutas
1 Replies
3. Shell Programming and Scripting
Hi Gurus,
Currently I am learning UNIX through online forums and unix blogs. I have the below requirement.
I need to write a script to monitor server processes. For example, there are 3 processes currently running on the server.(java, pmrepagent, pmserver). If any of the process goes down,... (2 Replies)
Discussion started by: svajhala
2 Replies
4. Shell Programming and Scripting
Hello
I have a server it is running more than 5 people
Scripts I want to send a warning to the administrator for the main server
All is written in the ssh strain
For example, when typing the following command "ls" " rm " and other
email sends the administrator for the main server
About it... (2 Replies)
Discussion started by: x-zer0
2 Replies
5. Linux
i m workiing on a shell script which may monitors network memory and send alert to user if it increase a threshold (1 Reply)
Discussion started by: navdeep5673
1 Replies
6. Infrastructure Monitoring
hi guys
my boss asked me for a tool to monitor and alert my Linux boxes... and some Win boxes... but not only monitor for high CPU Usage, hign memory usage and so on....he also wants a tool for historical data I mean something like
I want to know the CPU Usage and memory usage for the last... (1 Reply)
Discussion started by: karlochacon
1 Replies
7. UNIX for Advanced & Expert Users
Hi
I do a very simple monitoring of our OpenLDAP (runs in cronjob and generate alerts if unsuccessfull)
$ ldapsearch -h hostname.domain -D "cn=monitor_user,ou=People,dc=organisation" -w "password" -b "dc=organisation" -x "(&(cn=monitor_user)(ou=People))" dn | grep -v version
dn:... (4 Replies)
Discussion started by: slashdotweenie
4 Replies
8. Shell Programming and Scripting
Dear All,
I am new to unix scripting, i need to develop a alert system which get trigger when my scripts don't find any *.log file to copy from one directory to other directory.
In detail my scripts run every day and it create a dummy file and check all those *.log file 1 day old and copy them... (3 Replies)
Discussion started by: guddu_12
3 Replies
9. What is on Your Mind?
Hi guyz,
Please send me a script which is to be sending an automatic email to particular mail id's when a job get complete with status successful.
Please send me your script to my mail id : rehan.csjmu@gmail.com
Thanks in Advance.
---------- Post updated at 11:33 AM ----------... (1 Reply)
Discussion started by: Rehan Ahmad
1 Replies
10. Shell Programming and Scripting
I'm new to utilities like socat and netcat and I'm not clear if they will do what I need.
I have a "compileDeployStartWebServer.sh" script and a "StartBrowser.sh" script that are started by emacs/elisp at the same time in two different processes.
I'm using Cygwin bash on Windows 10.
My... (3 Replies)
Discussion started by: siegfried
3 Replies
LEARN ABOUT DEBIAN
aconnect
aconnect(1) General Commands Manual aconnect(1)
NAME
aconnect - ALSA sequencer connection manager
SYNOPSIS
aconnect [-d] [-options] sender receiver
aconnect -i|-o [-options]
aconnect -x
DESCRIPTION
aconnect is a utility to connect and disconnect two existing ports on ALSA sequencer system. The ports with the arbitrary subscription
permission, such as created by aseqview(1), can be connected to any (MIDI) device ports using aconnect. For example, to connect from port
64:0 to 65:0, run as follows:
% aconnect 64:0 65:0
The connection is one-way, and the whole data to the sender port (64:0) is redirected to the receiver port (65:0). When another port (e.g.
65:1) is attached to the same sender port, the data is sent to both receiver ports. For disconnection, use -d option.
% aconnect -d 64:0 65:0
The address can be given using the client's name.
% aconnect External:0 Emu8000:1
Then the port 0 of the client matching with the string "External" is connected to the port 1 of the client matching with the "Emu8000".
Another function of aconnect is to list the present ports on the given condition. The input ports, which may become sender ports, can be
listed with -i option.
% aconnect -i
client 0: 'System' [type=kernel]
0 'Timer '
1 'Announce '
client 64: 'External MIDI-0' [type=kernel]
0 'MIDI 0-0 '
Similarly, to see the output ports, use -o flag.
You can remove all existing exported connections using -x option. This function is useful for terminating the ALSA drivers, because the
modules with sequencer connections cannot be unloaded unless their connections are removed.
OPTIONS
CONNECTION MANAGEMENT
-d, --disconnect
Disconnect the given subscription.
-e, --exclusive
Connect ports with exclusive mode. Both sender and receiver ports can be no longer connected by any other ports.
-r, --real queue
Convert time-stamps of event packets to the current value of the given real-time queue. This is option is, however, not so useful,
since the receiver port must use (not necessarily own) the specified queue.
-t, --tick queue
Like -r option, but time-stamps are converted to the current value of the given tick queue.
LIST PORTS
-i, --input
List existing input (readable) ports. This option is exclusive to -o.
-o, --output
List existing output (writable) ports. This option is exclusive to -i.
-l, --list
List the current connection status. The connected and connecting ports from/to each port are listed together. The suffix flag [ex]
means the connection is exclusive. The suffix flag [real:#] and [tick:#] mean the connection includes real-time and tick conversion
on the listed queue, respectively.
REMOVE ALL CONNECTIONS
-x, --removeall
Remove all exported connections.
SEE ALSO
aseqnet(1), aseqview(1)
AUTHOR
Takashi Iwai <tiwai@suse.de>
August 31, 2000 aconnect(1)