03-20-2001
Getting network information on the network location (IP, MAC address) of printers is based on how the printers are configured. If they are configured for SNMP, then you can used an SNMP discovery tool to find them.
In a nutshell, discovery of a device on a network depends on the services that the device is running (SNMP, etc.) and the discovery tool used by the server doing the discovery process (HP OpenView, etc.)
You must understand the nature of both and formulate a plan for discovery. You must insure your network routers and other intermediate systems are configured to allow protocols that facility discovery. This requires intermediate knowledge of network management and network management software. SNMP is the place to start for TCP/IP based systems.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi
What is the cvs command for getting the diff between the checkin log and tag log.
i am trying
cvs rdiff -s -r <branch Tag> -r <branch> <module>
but it is not giving me the files that were not tagged.
I think it is doing a diff for common files in head and tag.
Please help
... (0 Replies)
Discussion started by: rakeshou
0 Replies
2. Emergency UNIX and Linux Support
Hello All, On my SuSE system, I have wtmp log this log file permission is 644 but every reboot the file permission rollback to 664. In the logrotate.conf and logrotate.d/wtmp files the wtmp logrotate set to 644. I would like to know, which "file" or "script" modify the wtmp log to rollback to... (7 Replies)
Discussion started by: kalaso
7 Replies
3. Shell Programming and Scripting
I've been finding myself using a log file colorizer written in perl to reformat and colorize the output from many different programs. Mainly, however, I use it to make the output from "tail -f" commands more readable.
The base perl script I use is based on "colorlogs.pl" available from the... (1 Reply)
Discussion started by: rcsteiner
1 Replies
4. Shell Programming and Scripting
How can view log messages between two time frame from /var/log/message or any type of log files.
when logfiles are very big and especially many messages with in few minutes, I would like to display log messages between 5 minute interval.
Could you pls give me the command? (1 Reply)
Discussion started by: johnveslin
1 Replies
5. HP-UX
AM in need of some plugin/script that can monitor HP-UX file "/var/opt/resmon/log/event.log" .
Have written a scrip in sh shell that is working fine for syslog.log and mail.log as having standard format, have interrogated that to Nagios and is working as I required .
But same script failed to... (3 Replies)
Discussion started by: Shirishlnx
3 Replies
6. Shell Programming and Scripting
is there a way to efficiently monitor logfiles that do not have a date or time format? i have several logs on several different servers that need to be monitored. but i realized writing a script for this would be very complex and time consuming giving the variety of things i need to check for i.e.... (2 Replies)
Discussion started by: SkySmart
2 Replies
7. Shell Programming and Scripting
How to check log size every 10min. by script (can use crontab)
if log size not change with alert "Log not update"
Base run on SunOS 5.8 Generic_Virtual sun4u sparc SUNW,SPARC-Enterprise
logFiles="log1.log log2.log"
logLocation="/usr/home/test/log/"
Out put.
Tue Jan 31... (3 Replies)
Discussion started by: ooilinlove
3 Replies
8. Shell Programming and Scripting
Hi ,
We have around 22 logs , each has different entries. I have to automate this using shell script. The ideas which am sharing is given below
1) We use only TAIL -100 <location and name of the log> Command to check the logs.
2) We want to check whether the log was updated before 24... (13 Replies)
Discussion started by: Kalaihari
13 Replies
9. Web Development
Apache Web Server:
how to log http 404 error to a separate log file and i do not want to log in access.log
please advice. (2 Replies)
Discussion started by: raghur77
2 Replies
10. Shell Programming and Scripting
Below is my script to log all the command input by any user to /var/log/messages. But I cant achieve the desired output that i want. PLease see below.
function log2syslog
{
declare COMMAND
COMMAND=$(fc -ln -0)
logger -p local1.notice -t bash -i -- "$USER:$COMMAND"
}
trap... (12 Replies)
Discussion started by: invinzin21
12 Replies
LEARN ABOUT MOJAVE
cups-snmp
cups-snmp(8) Apple Inc. cups-snmp(8)
NAME
snmp - cups snmp backend
SYNOPSIS
/usr/lib/cups/backend/snmp ip-address-or-hostname
/usr/libexec/cups/backend/snmp ip-address-or-hostname
lpinfo -v --include-schemes snmp
DESCRIPTION
The CUPS SNMP backend provides legacy discovery and identification of network printers using SNMPv1. When used for discovery through the
scheduler, the backend will list all printers that respond to a broadcast SNMPv1 query with the "public" community name. Additional
queries are then sent to printers that respond in order to determine the correct device URI, make and model, and other information needed
for printing.
In the first form, the SNMP backend is run directly by the user to look up the device URI and other information when you have an IP address
or hostname. This can be used for programs that need to configure print queues where the user has supplied an address but nothing else.
In the second form, the SNMP backend is run indirectly using the lpinfo(8) command. The output provides all printers detected via SNMP on
the configured broadcast addresses. Note: no broadcast addresses are configured by default.
ENVIRONMENT
The DebugLevel value can be overridden using the CUPS_DEBUG_LEVEL environment variable. The MaxRunTime value can be overridden using the
CUPS_MAX_RUN_TIME environment variable.
FILES
The SNMP backend reads the /etc/cups/snmp.conf configuration file, if present, to set the default broadcast address, community name, and
logging level.
CONFORMING TO
The CUPS SNMP backend uses the information from the Host, Printer, and Port Monitor MIBs along with some vendor private MIBs and intelli-
gent port probes to determine the correct device URI and make and model for each printer.
SEE ALSO
backend(7), cups-snmp.conf(5), cupsd(8), lpinfo(8), CUPS Online Help (http://localhost:631/help)
COPYRIGHT
Copyright (C) 2007-2017 by Apple Inc.
10 June 2014 CUPS cups-snmp(8)