10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello to all,
Maybe someone could help me, my question is:
How can a filter the print of command ls for the files with names of the form "abc*.txt" including the path?
I've done this:
If I move with command cd to /My/Path/Is/This/ and send this command:
ls -lst abc*.txt -i... (37 Replies)
Discussion started by: Ophiuchus
37 Replies
2. Shell Programming and Scripting
Dear Members,
I have a table REQUESTS in Oracle which has an attribute REQUEST_ACTION. The entries in REQUEST_ACTION are like, ME, MD, ND, NE etc.
I would like to create a script which will will call other scripts based on the request action.
Can we directly read from the REQUEST_ACTION... (2 Replies)
Discussion started by: Yoodit
2 Replies
3. Solaris
hello,
I installed netsnmp 5.6 on solaris 8 (sparc).
now I want to have cpu, memory and disk used, for this when i execute:
snmpwalk -v1 -c public localhost memory
it displays me:
End of mib
please tel me how to do, to have this information (cpu, memory and disk used).
thank you (0 Replies)
Discussion started by: lamou23
0 Replies
4. Infrastructure Monitoring
Hi,
I have set up netsnmp-5.4.2.1 as below on a Solaris 9 SPARC server, but it is still not working with What's Up Gold.
gzip -dc /mnt/sysinstall/Net-SNMP/libgcc-3.4.6-sol9-sparc-local.gz > libgcc-3.4.6-sol9-sparc-local
pkgadd -d libgcc-3.4.6-sol9-sparc-local
gzip -dc... (0 Replies)
Discussion started by: sparcman
0 Replies
5. Infrastructure Monitoring
Hello all
Currently I am trying to install net-snmp-5.5 on a V480 Solaris 8 machine however things are hardly going smooth. I'm running configure will the following options.
./configure --prefix=/usr/local --with-mib-modules="smux ucd-snmp/diskio ucd-snmp/lmSensors host"... (2 Replies)
Discussion started by: krabu
2 Replies
6. Shell Programming and Scripting
Hi,
I have to write a program to compute the checksums of files
./script.sh
I wrote the program using bash and it took me forever since I am a beginner but it works very well.
I'm getting so close to the deadline and I realised today that actually I have to use normal Bourne shell... (3 Replies)
Discussion started by: pgarg1989
3 Replies
7. Shell Programming and Scripting
Hello.
I have the following problem with bash code:
function fl1_load_modules_and_get_list()
...........
for module in $FL_MODULES_TO_PROCESS
do
source "${FL_MODULE_DIR}/${module}/module.sh"
done
...........
}
function fl1_handle_install
{
local... (12 Replies)
Discussion started by: FractalizeR
12 Replies
8. IP Networking
Hello all, I have a question about NetSnmp "http://net-snmp.sourceforge.net/" I wanna configure my NetSnmp that when i get information by snmpget|walk from snmpagent from specific OID, netsnmp will execute configured command and will return me command output with string .... For example: I do get... (0 Replies)
Discussion started by: hemulll
0 Replies
9. UNIX for Dummies Questions & Answers
Hi,
Is it possible to include files (print with EOF, sort of like ssi) in perl/cgi?
Thanks (1 Reply)
Discussion started by: marringi
1 Replies
10. Shell Programming and Scripting
I am wondering how I can include external files in a perl script. I'm currently working on a website, and I'd like to put my menu items in a subroutine for example, and put that in another file such as menu.pl. That way, I can call the subroutine from each page (such as news.pl), and if I want to... (2 Replies)
Discussion started by: LNC
2 Replies
snmp.conf(5) Apple Inc. snmp.conf(5)
NAME
snmp.conf - snmp configuration file for cups
DESCRIPTION
The snmp.conf file configures how the standard CUPS network backends (http, https, ipp, ipps, lpd, snmp, and socket) access printer infor-
mation using SNMPv1 and is normally located in the /etc/cups directory. Each line in the file can be a configuration directive, a blank
line, or a comment. Comment lines start with the # character.
The Community and DebugLevel directives are used by all backends. The remainder apply only to the SNMP backend - cups-snmp(8).
DIRECTIVES
The following directives are understood by the CUPS network backends:
Address @IF(name)
Address @LOCAL
Address address
Sends SNMP broadcast queries (for discovery) to the specified address(es). There is no default for the broadcast address.
Community name
Specifies the community name to use. Only a single community name may be specified. The default community name is "public".
DebugLevel number
Specifies the logging level from 0 (none) to 3 (everything). Typically only used for debugging (thus the name). The default debug
level is 0.
DeviceURI "regular expression" device-uri [... device-uri]
Specifies one or more device URIs that should be used for a given make and model string. The regular expression is used to match the
detected make and model, and the device URI strings must be of the form "scheme://%s[:port]/[path]", where "%s" represents the
detected address or hostname. There are no default device URI matching rules.
HostNameLookups on
HostNameLookups off
Specifies whether the addresses of printers should be converted to hostnames or left as numeric IP addresses. The default is "off".
MaxRunTime seconds
Specifies the maximum number of seconds that the SNMP backend will scan the network for printers. The default is 120 seconds (2 min-
utes).
SEE ALSO
cups-snmp(8), CUPS Online Help (http://localhost:631/help)
COPYRIGHT
Copyright (C) 2007-2017 by Apple Inc.
10 June 2014 CUPS snmp.conf(5)