02-17-2010
you are correct.. we run Nagios on other systems so Im familiar with that.. but these systems are a big no no.. I cant go into what they do but we arent allowed to install Nagios on them
youre thinking is in the right way though.. Nagios was my first thought too
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
system = AIX
How can I explain this.....
Keep in mind I do not want to login to the boxes, persay, and that I am fairly new to scripting and unix.
I want to use SSH.
I have a script on server1, this is where I want it to run from.
I have server2 and server3, where I want the script to... (2 Replies)
Discussion started by: cml2008
2 Replies
2. UNIX for Advanced & Expert Users
Hi ,
I would like to automate a script to ping all the unix servers perodically thru
cronjob.
Is there any script out there? If so Please give me.
Thanks in advance. (2 Replies)
Discussion started by: sriny
2 Replies
3. Shell Programming and Scripting
I am a newbie in shell scripting and I need to produce a script to work and achieve the following:
1) Look into the file /etc/defaultrouter , and store the value in it
2) If the value is a number, go to LIST and print out the second column corresponding to the value.(eg London)
3) If the... (5 Replies)
Discussion started by: ibroxy
5 Replies
4. Shell Programming and Scripting
I am trying to write a script that checks whether or not, a file exists on multiple servers.
My code / logic so far is:
#!/usr/bin/ksh
print "Enter File name to be checked"
read MYFILE
ssh server1 "
cd /var/opt/logs ;
if
then
... (4 Replies)
Discussion started by: momin
4 Replies
5. Shell Programming and Scripting
Hi ppl,
I am looking out for a shell script
a. That would have to login(from a main server) to say 16 servers individually.
b.On each server go to a particular location, check if a particular file is generated on a date(say every sunday it gets generated and i would be interested in the latest... (8 Replies)
Discussion started by: yohasini
8 Replies
6. Shell Programming and Scripting
HI,
I have a file serverlist in that all host names are placed.
i have written a small script
#./testping
#! /bin/bash
for i in `cat serverlist`
do
ping $i >> output.txt
done
so now it creates a file output.txt till here fine..
now each time i run this script the output file... (4 Replies)
Discussion started by: madhudeva
4 Replies
7. Shell Programming and Scripting
Hi all,
I have a task for which I need to run some commands on one server1 and then jump from the server1 (using ssh and asking user to enter login credentials manually for server2 server) to server2 and run some commands there and exit.
I know the script I need here but problem is when I... (5 Replies)
Discussion started by: pat_pramod
5 Replies
8. Shell Programming and Scripting
Hey, It's me again! Still trying to learn to become a better scripter on the job :)
New challenge for assistance, if anyone cares to help, and its two parted! First part, I wanted to create a script at work that would ping a server that was supplied in an argument, then a count (amount of times)... (5 Replies)
Discussion started by: gkelly1117
5 Replies
9. Shell Programming and Scripting
Hello All,
I have a script which needs to exit once it encounters that all the servers are down. In the below portion of a code the content manager is having values of server for example server A , server B. So I want the script to exit only if all the servers are down and to continue if one... (4 Replies)
Discussion started by: Vikram_Tanwar12
4 Replies
10. UNIX and Linux Applications
HI All,
I have a requirement of execueting a Shell script on serverA, which is going to execute an application script ( Hyperian Planning script ) on serverB. Can any one please help in how to achieve this?
e.g.
script abc.ksh runs on serverA.
internally abc.ksh call a script... (3 Replies)
Discussion started by: alok2082
3 Replies
LEARN ABOUT DEBIAN
mailping-success
2004-04-16
mailping
0.0.4
MAILPING-SUCCESS(1) Mailping MAILPING-SUCCESS(1)
NAME
mailping-success - Munin plugin to graph time since last mail delivery
SYNOPSIS
/usr/share/mailping/munin-plugins/mailping-success {[config] | ['']}
DESCRIPTION
mailping-success is a Munin plugin that monitors time passed since last successful email probe.
Configuration output
When passed config, it outputs Munin configuration information. If there are no circuits defined (no subdirectories in /etc/mailping), it
specifies that Munin should draw no graph either.
If configuration files /etc/mailping/circuit/warntime and /etc/mailping/circuit/failtime exist, the values in them are passed on to Munin,
for use in Nagios alert integration.
Value output
When passed an empty string '', mailping-success outputs the difference between current time and last successful probe, for each configured
circuit.
FILES
/etc/mailping/
List of circuits that exist; each subdirectory is a circuit.
/etc/mailping/circuit/warntime
If more than this many seconds have passed since last successful probe, a Nagios warning is triggered by Munin (assuming it has been
configured to do that). Default: no warnings.
/etc/mailping/circuit/failtime
If more than this many seconds have passed since last successful probe, a Nagios alert is triggered by Munin (assuming it has been
configured to do that). Default: no alerts.
/var/lib/mailping/state/circuit/success
Timestamp in seconds of the last successful probe for circuit.
ENVIRONMENT
MAILPING_CONFIGDIR
Override the location of the configuration directory. Default: /etc/mailping
MAILPING_STATEDIR
Override the location of the state directory. Circuit states are stored in the state subdirectory of this directory, in subdirectories
named after the circuit name. Default: /var/lib/mailping
SEE ALSO
mailping-latency(1), mailping-cron(1), mailping-store(1), munin-run(8), munin-node(8)
AUTHOR
Tommi Virtanen <tv@havoc.fi>
Havoc Consulting
Author.
COPYRIGHT
Copyright (C) 2004 Havoc Consulting
mailping 0. 2004-04-16 MAILPING-SUCCESS(1)