[HPADM] RE: [SUMMARY] Ping

From: Stephanie Chung (stepchung@yahoo.com)
Date: Sun Feb 08 2004 - 18:00:21 EST


Thank you all for rreplying my question.
My server is running Openview NNM and ITO. This is the
reason it pings network devices. ITO can be configured
to ping limited devices, but NNM will ping every
things through 'netmon' deamon. I am stuck with NNM.

Stephanie

--- Bill Hassell <blhconsulting@mindspring.com> wrote:
> ping is not initiated by HP-UX so there is some
> script
> or a cron job running to run this command. Are you
> running any monitoring software like OpenView ITO?
> Is the ping ocurring at regular intervals or is
> it related to logins? Probably the easiest way to
> see what is happening is to move /usr/sbin/ping to
> something like ping.orig and create a wrapper script
> called /usr/sbin/ping. Then log each time ping runs
> using the logger command. Include in the logger the
> PPID and a quick ps line to identify the parent,
> something like this:
>
> #!/usr/bin/sh
> # Script to replace ping and log who runs it
> set -u
> umask 077
> PATH=/usr/bin
> MYNAME=${0##/*}
> MYPS="$(ps -fp $PPID | tail -1)"
> logger -t "PingWrapper" -p user.warn PING run by:
> $MYPS
> /usr/sbin/ping.orig ${@+"$@"}
>
> You'll see something like this in syslog.log:
>
> Feb 7 12:10:20 4B:h60 PingWrapper: PING run by:
> root 14121 14120 1 09:49:20
> pts/ta 0:00 -sh
>
>
> --
> Best regards,
> Bill Hassell
>
> > -----Original Message-----
> > From: hpux-admin-owner@DutchWorks.nl
> > [mailto:hpux-admin-owner@DutchWorks.nl]On Behalf
> Of Stephanie Chung
> > Sent: Friday, February 06, 2004 1:05 PM
> > To: hpux
> > Subject: [HPADM] Ping
> >
> >
> > Hi List,
> >
> > Some of the work stations (PCs) have been
> receiving
> > the ping from one of our HP-UX server. I can't
> figure
> > out why? Does anyone know how to look into the
> server
> > to see what the cause to ping other work stations.
> > Thanks.
> >
> > Stephanie

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:38 EDT