Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

bihourly(8) [debian man page]

BIHOURLY(8)						      System Manager's Manual						       BIHOURLY(8)

NAME
bihourly - track ethernet/ip address pairs SYNOPSIS
bihourly DESCRIPTION
bihourly is a script that automates the operation of arpsnmp(8) by executing arpfetch(8) on a series of hostnames and then sending the results to arpsnmp(8) for analysis. The result is a report of the current pairings between ip addresses and the corresponding ethernet address of the network hardware as reported by snmpwalk(8). Activity is logged and noted changes are reported by email. In its working directory bihourly expects a file named list which contains a space separated list of hostnames to be queried and a file named cname which holds the SNMP community name by which to query these hosts. Contrary to the name, bihourly does not run twice every hour. It runs once each time it is invoked. For repeated operation bihourly must be invoked on a periodic basis by a program like cron(1). FILES
/var/lib/arpwatch - default working directory list - file containing names of hosts to query cname - file containing the SNMP community name by which to query SEE ALSO
arpsnmp(8), arpfetch(8), snmpwalk(8), cron(8) BUGS
Please send bug reports to arpwatch@ee.lbl.gov. AUTHORS
Craig Leres of the Lawrence Berkeley National Laboratory Network Research Group, University of California, Berkeley, CA. The current version is available via anonymous ftp: ftp://ftp.ee.lbl.gov/arpwatch.tar.gz This manual page was contributed by Hugo Graumann. BIHOURLY(8)

Check Out this Related Man Page

ARPSNMP(8)						      System Manager's Manual							ARPSNMP(8)

NAME
arpsnmp - keep track of ethernet/ip address pairings SYNOPSIS
arpsnmp [ -d ] [ -f datafile ] [ -s sendmail_path ] [ -m addr ] file [ ... ] DESCRIPTION
Arpsnmp keeps track for ethernet/ip address pairings. It syslogs activity and reports certain changes via email. Arpsnmp reads information from a file (usually generated by snmpwalk(8)). The -d flag is used enable debugging. This also inhibits mailing the reports. Instead, they are sent to stderr. The -f flag is used to set the ethernet/ip address database filename. The default is arp.dat. (Debian) The -s flag is used to specify the path to the sendmail program. Any program that takes the option -odi and then text from stdin can be substituted. This is useful for redirecting reports to log files instead of mail. (Debian) The -m option is used to specify the e-mail address to which reports will be sent. By default, reports are sent to root on the local machine. Note that an empty arp.dat file must be created before the first time you run arpsnmp. REPORT MESSAGES
(See the arpwatch(1) man page for details on the report messages generated by arpsnmp(1).) FILES
/var/lib/arpwatch - default directory arp.dat - ethernet/ip address database /usr/share/arpwatch/ethercodes.dat - vendor ethernet block list SEE ALSO
arpwatch(8), snmpwalk(8), arp(8) AUTHORS
Craig Leres of the Lawrence Berkeley National Laboratory Network Research Group, University of California, Berkeley, CA. The current version is available via anonymous ftp: ftp://ftp.ee.lbl.gov/arpwatch.tar.gz BUGS
Please send bug reports to arpwatch@ee.lbl.gov. Attempts are made to suppress DECnet flip flops but they aren't always successful. 4th Berkeley Distribution 17 September 2000 ARPSNMP(8)
Man Page

10 More Discussions You Might Find Interesting

1. Cybersecurity

arpwatch!

I want to configure arpwatch for ip-level security for some of the machine on the network. network is 10.129.112.0/25 but i want to look at those arp request which has ip from 10.129.112.160-179 and only(these machines) arpwatch -n 10.129.112.160/27 -d will give lot of entries... (0 Replies)
Discussion started by: yogesh_powar
0 Replies

2. UNIX for Advanced & Expert Users

executing script by cron doesnt give me expected result

Hi frnds... I m facing very irritating problem already waisted my 2 days.. I have a following script..( i am pasting only the main code) ftp -ivn 213.194.40.77 <<FTP user $user $password binary cd $FileDir/out lcd $localpath get $file rename $FileDir/out/$file $FileDir/tmp/$file... (1 Reply)
Discussion started by: clx
1 Replies

3. Shell Programming and Scripting

putting ftp in korn function - no longer working

This works if it's not in a function. I pulled it into one and I get syntax error, no mathcing '<'. I have to call it several times and need it to be a function. Any ideas? function FTP_Engine_File { ftp -inv ${FTP_SERVER} << EOF_FTP >> ${FTP_LOG} user ${FTP_USER} ${FTP_PSWD} ... (4 Replies)
Discussion started by: brdholman
4 Replies

4. Solaris

Net-SNMP v5.4 - sub-id not found in log, but can query with snmpget and snmpwalk

Hi everyone, I'm configuring Net-SNMP v5.4 on Solaris 10, sending traps to OpenNMS 1.2.9-0.20061212.0. I'm setting up disk monitoring (% of space free) for 5 directories. Here's what I'm working with: (snmpd.conf - disk and monitoring portions) # # Disk Usage monitoring: # disk / 20%... (0 Replies)
Discussion started by: Mariognarly
0 Replies

5. What is on Your Mind?

My first post Here

I received an email stating that I had not been active for a while. Well I've never really contributed very much. I was first exposed to UNIX when I was working for Perkin Elmer in 1984. The was one of the first systems that was not DEC that UNIX was ported to. It was done at Wollongong university.... (2 Replies)
Discussion started by: nigelc
2 Replies

6. UNIX for Dummies Questions & Answers

Crontab assistance

I have a script that runs a SQL query and then emails me the results. It runs correctly alone. I am trying to set up a cron that will run the script every day at say 5:00. When the script runs alone, the results are emailed exactly like I want the, but when I set up a cronjob, I get a blank email.... (7 Replies)
Discussion started by: alpinescott
7 Replies

7. Infrastructure Monitoring

snmpwalk on solaris 8

hello, I want to know how can I find the path of snmpwalk under sun solaris 5.8. I have snmp protocol installed.when I write this on a terminal I have this result: bash: snmpwalk: command not found but when I wrote this command At a distance,it works good. urgent please help me thanks (4 Replies)
Discussion started by: lamou23
4 Replies

8. Shell Programming and Scripting

"if" Loop not working when executing script using cron

I am facing this weird issue where the script is working fine from the command line but when I am executing it from cron though it is working fine but the "if" loop is processing else part though I know that the if part of the logic is true and ideally the loop should execute the if portion. ... (3 Replies)
Discussion started by: sk2code
3 Replies

9. Shell Programming and Scripting

Pinging 5 hosts once every hour

Hello folks; I'm trying to write a shell script to ping 5 hosts i have once every 1 hour and if it receives any failure from any of those hosts, it sends an email alert with the results from this failing ping. Any help would be greatly appreciated (1 Reply)
Discussion started by: Katkota
1 Replies

10. Shell Programming and Scripting

Shell script automation using cron which query's MySQL Tables

What I have: I have a input.sh (script which basically connect to mysql-db and query's multiple tables to write back the output to output1.out file in a directory) note: I need to pass an integer (unique_id = anything b/w 1- 1000) next to the script everytime I run the script which generates... (3 Replies)
Discussion started by: kkpand
3 Replies