Sponsored Content
Operating Systems AIX System monitoring with RMC/RSCT Post 302924847 by blackrageous on Wednesday 12th of November 2014 04:01:03 PM
Old 11-12-2014
You can use the AIX error subsystem and hook alerts or action routines; however, the downside of this method is that you have to modify all the lpars (note: the error log system does support central logging I think in the purescale environment...not sure).

What you is modify the errnotify odm in order to do this. You could create odm-add files and push this to each lpar.

Here is an example. You could of course have an action routine that sends a snmp trap to your event manager (most should support snmp traps).

ODM Error Notify Method - Mt Xia: Global System Administration: AIX

Note: the snmp dameon and smux peer for aix provide quite a bit of information. If your event monitor does support snmp you may want to startup the snmp daemon and smux to trap to your event monitor and setup it to query. To test this info, you can configure /etc/snmpd.conf and do an snmpinfo -m dump -c public from a machine or use a mib browser

Posted to the wrong thread. I meant to comment on Zaxon's message about the HMC and events. I agree with Baukin regarding snmp and RSCT. I think snmpv3 addresses security...not sure. I am currently taking a look. Traditionally community strings were transferred in clear text.

It seems the "value" of RSCT for ibm products now is that basic/cheap lowest level cluster communication it provides for products like the HMC, VIOS, CAA (cluster awareness built into AIX).

Security is Not My Problem....that's a good one! :-)

Last edited by blackrageous; 11-12-2014 at 05:28 PM..
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Monitoring system available time

Hi, I am new to Unix. I have an application which i need to monitor it for the available system time. If the system is down, i need to send an email notifying the downtime. Can someone provide a sample code or shell script to perform the above activity. Thanks (3 Replies)
Discussion started by: borncrazy
3 Replies

2. Programming

system monitoring api

Hi all, I am looking for api to get me system monitoring statictics every 5 minutes. I am looking at the following statistics: 1. System CPU Usage 2. Process CPU Usage 3. Process Memory Usage 4. I/O Usage for a certain disk. 5. Process I/O bytes/sec utilization. I have seen very... (4 Replies)
Discussion started by: uiqbal
4 Replies

3. AIX

Install fileset rsct.basic.rte

Hello! Please I need a help. AIX 5.2 5200-08 I don't have the fileset - rsct.basic.* installed and when I try to install from CD I have failure because some pre-requisists is necessary. In CD the version is rsct.basic.rte.2.3.1.0 and the pre-requisists is rsct.basic.rte.2.3.0.0. In... (6 Replies)
Discussion started by: clefeitosa
6 Replies

4. AIX

AIX system monitoring

Hi All, I am new to administration. can any one pls tell me how can i accomplish the follwoing task in AIX : 1.The overall %CPU used, the %CPU used of each CPU, the overall Real Memory in KB is used, the total Real Memory is installed in the host, the overall Virtual Memory in KB is... (2 Replies)
Discussion started by: panyam
2 Replies

5. Shell Programming and Scripting

system monitoring script

Hi, Does anyone have an example system monitoring script to monitor drives, memory, etc. Need a good example. Cheers Walnutpony (4 Replies)
Discussion started by: walnutpony123
4 Replies

6. Linux

Best Linux monitoring system

Hi all, I'm looking for the best tool to monitor the Linux system. I've found a lot of interesting tools searching the web but I didn't find one which can do all the requirments (like a one in all tool). I would prefer it to include a command line interface also. Thank you, Andreea (0 Replies)
Discussion started by: andreea9322
0 Replies

7. Infrastructure Monitoring

Best system monitoring for Linux

Hi all, I'm looking for the best tool to monitor the Linux system. I've found a lot of interesting tools searching the web but I didn't find one which can do all the requirments (like a one in all tool). I would prefer it to include a command line interface also. Thank you, Andreea (1 Reply)
Discussion started by: andreea9322
1 Replies

8. AIX

LPAR RMC state for DLPAR

Hello, I have checked the state of rmc on the HMC as below: HMC1:~> lssyscfg -r lpar -m Server-xxx -F lpar_id,state,rmc_state,rmc_ipaddr,os_version,dlpar_mem_capable,dlpar_proc_capable,dlpar_io_capable --filter "lpar_ids=4" 4,Running,inactive,10.176.x.x,VIOS 2.2.6.51,0,0,0 HMC1:~> lssyscfg... (2 Replies)
Discussion started by: Phat
2 Replies
SNMP_CONFIG(5)							     Net-SNMP							    SNMP_CONFIG(5)

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/lib64/snmp, and $HOME/.snmp. In each of these direc- tories, 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/net-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/net-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(5)
All times are GMT -4. The time now is 07:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy