10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi,
I would like to upgrade my AIX box 6.1 to 7.1/7.2.
Current info of my AIX 6.1 box
/ > oslevel -s
6100-09-11-1810
System Model: IBM,9117-MMD
Machine Serial Number: xxx
Processor Type: PowerPC_POWER7
Processor Implementation Mode: POWER 7
Processor Version: PV_7_Compat
Number Of... (10 Replies)
Discussion started by: Phat
10 Replies
2. UNIX for Dummies Questions & Answers
Hello all,
Does linux have a command which performs a similar function to aix
uname -a
Thanks (3 Replies)
Discussion started by: Grueben
3 Replies
3. UNIX for Advanced & Expert Users
Hello.
We are using AIX 5.3 with HACMP 5.4.1.
At this moment AIX and clustering are using 2 servers.
A third server is added.
It does not seem to work with HACMP.
Are there any controle checks?
Thank you if you could help.
Regards,
Ynze van Aken
Netherlands (0 Replies)
Discussion started by: yvanaken
0 Replies
4. AIX
Could you tell me the version of default make on AIX 5.1 & 5.3? (2 Replies)
Discussion started by: redraiment
2 Replies
5. AIX
I have been given multiple years of login files to determine workload. How do I determine the year in regards to the login. This is what is looks like now.
witkoaxdm/_0Sep 13 07:45 still logged in.
thank you (1 Reply)
Discussion started by: wildchild
1 Replies
6. AIX
Anyone can help me explain the mean of AIX 5L 5.3 ML3
I don't know "what re - 5L mean and ML3 mean "
Tks all. (2 Replies)
Discussion started by: quan0509
2 Replies
7. AIX
Hi all
Can any1 tell me how to check the AIX version on my server.
I have used uname -a but it does not give a specific version number. (4 Replies)
Discussion started by: masquerer
4 Replies
8. AIX
Hello,
I'm now trying to learn AIX and I found lot of used AIX machines in ebay. I want to clear some doubts before I go for one.
1)Do I need a license to run an AIX machine?
2)Is there any Trial versions available?
3)Some Old Models of AS400 machines( model 150) don't need a license... (1 Reply)
Discussion started by: secofr
1 Replies
9. AIX
I am TOTALy new to Unix. One of the internal tapes will be replaced by an external one today. I don't even know where to start....how is the install done and how do I redirect the backup to the new external tape drive? Please help - anyone? (3 Replies)
Discussion started by: aneta0803
3 Replies
10. UNIX for Dummies Questions & Answers
and by the is there any command to get the OS currently running regardless of the constructor (HP, IBM...)? thanks! (3 Replies)
Discussion started by: jericho
3 Replies
LEARN ABOUT DEBIAN
snmp_config
SNMP_CONFIG(5snmp) Net-SNMP SNMP_CONFIG(5snmp)
NAME
snmp_config - handling of Net-SNMP configuration files
DESCRIPTION
The Net-SNMP package uses various configuration files to configure its applications. This manual page merely describes the overall nature
of them, so that the other manual pages don't have to.
DIRECTORIES SEARCHED
First off, there are numerous places that configuration files can be found and read from. By default, the applications look for configura-
tion files in the following 4 directories, in order: /etc/snmp, /usr/share/snmp, /usr/lib/snmp, and $HOME/.snmp. In each of these directo-
ries, it looks for files with the extension of both conf and local.conf (reading the second ones last). In this manner, there are 8
default places a configuration file can exist for any given configuration file type.
Additionally, the above default search path can be overridden by setting the environment variable SNMPCONFPATH to a colon-separated list of
directories to search for. The path for the persistent data should be included when running applications that use persistent storage, such
as snmpd.
Applications will read persistent configuration files in the following order of preference:
file in SNMP_PERSISTENT_FILE environment variable
directories in SNMPCONFPATH environment variable
directory defined by persistentDir snmp.conf variable
directory in SNMP_PERSISTENT_DIR environment variable
default /var/lib/snmp directory
Finally, applications will write persistent configuration files in the following order of preference:
file in SNMP_PERSISTENT_FILE environment variable
directory defined by persistentDir snmp.conf variable
directory in SNMP_PERSISTENT_DIR environment variable
default /var/lib/snmp directory
Note: When using SNMP_PERSISTENT_FILE, the filename should match the application name. For example, /var/net-snmp/snmpd.conf.
CONFIGURATION FILE TYPES
Each application may use multiple configuration files, which will configure various different aspects of the application. For instance,
the SNMP agent (snmpd) knows how to understand configuration directives in both the snmpd.conf and the snmp.conf files. In fact, most
applications understand how to read the contents of the snmp.conf files. Note, however, that configuration directives understood in one
file may not be understood in another file. For further information, read the associated manual page with each configuration file type.
Also, most of the applications support a -H switch on the command line that will list the configuration files it will look for and the
directives in each one that it understands.
The snmp.conf configuration file is intended to be a application suite wide configuration file that supports directives that are useful for
controlling the fundamental nature of all of the SNMP applications, such as how they all manipulate and parse the textual SNMP MIB files.
SWITCHING CONFIGURATION TYPES IN MID-FILE
It's possible to switch in mid-file the configuration type that the parser is supposed to be reading. Since that sentence doesn't make
much sense, lets give you an example: say that you wanted to turn on packet dumping output for the agent by default, but you didn't want to
do that for the rest of the applications (ie, snmpget, snmpwalk, ...). Normally to enable packet dumping in the configuration file you'd
need to put a line like:
dumpPacket true
into the snmp.conf file. But, this would turn it on for all of the applications. So, instead, you can put the same line in the snmpd.conf
file so that it only applies to the snmpd daemon. However, you need to tell the parser to expect this line. You do this by putting a spe-
cial type specification token inside a [] set. In other words, inside your snmpd.conf file you could put the above snmp.conf directive by
adding a line like so:
[snmp] dumpPacket true
This tells the parser to parse the above line as if it were inside a snmp.conf file instead of an snmpd.conf file. If you want to parse a
bunch of lines rather than just one then you can make the context switch apply to the remainder of the file or until the next context
switch directive by putting the special token on a line by itself:
# make this file handle snmp.conf tokens:
[snmp]
dumpPacket true
logTimestamp true
# return to our original snmpd.conf tokens:
[snmpd]
rocommunity mypublic
COMMENTS
Any lines beginning with the character '#' in the configuration files are treated as a comment and are not parsed.
API INTERFACE
Information about writing C code that makes use of this system in either the agent's MIB modules or in applications can be found in the
read_config(3) manual page.
SEE ALSO
snmpconf(1), read_config(3), snmp.conf(5), snmpd.conf(5)
4th Berkeley Distribution 5 May 2005 SNMP_CONFIG(5snmp)