Sponsored Content
Full Discussion: Disabling SNMP in AIX 7.1
Operating Systems AIX Disabling SNMP in AIX 7.1 Post 302971505 by DiViN3 on Thursday 21st of April 2016 04:27:40 AM
Old 04-21-2016
Wrench

Hello!

Quote:
Originally Posted by agent.kgb
if you use HACMP (PowerHA), it will cause issues with clstat and clinfo service.
Are you sure this is still a problem in 7.1?
What problem could occur?

As far as I remember I did this to deaktivate snmpd:
Code:
mv /opt/ibm/icc/cimom/bin/startdirsnmpd /opt/ibm/icc/cimom/bin/startdirsnmpd.OLD.15.02.2016
chrctcp -S -d snmpd
chrctcp -S -d dpid17

 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Sending SNMP Traps in AIX / Unix

Hi, Just wondering if anyone knows how can I send an SNMP Trap in Unix Environment(AIX) to another machine (NT/Ux) after having activated the SNMP in the AIX. Can this be done by using a single command line or do I have to write a script for it? Thanks in advance for your advices. :) (1 Reply)
Discussion started by: goliath
1 Replies

2. UNIX for Advanced & Expert Users

Monitoring CPU usage on AIX 5.3 with SNMP

Hi I would like to monitor CPU usage ( %) , memory utilization and such on an AIX 5.3 with snmp. How would I do that ? :confused: If I do "snmpwalk -c public -v1 hosttomonitor" I get nothing about the CPU. I've done this on Linux ( not much trouble doing it on linux ) but I'm having a hard... (2 Replies)
Discussion started by: art
2 Replies

3. AIX

AIX V4 SNMP MIBs

Hello! I'm not a expert AIX administrator, but i need to monitorize an AIX V4 system. I want to do it using SNMP but i don't really know how to get CPU, proccess or memory information. I only can get network interfaces information.... How can i add more MIBs to get more info about the AIX... (0 Replies)
Discussion started by: MikelCV
0 Replies

4. Infrastructure Monitoring

capture snmp packets in AIX

Hi, I want to capture snmp packets in AIX. When i give print from AIX6.1, Printer will give its response thru' snmp. I used iptrace command like below, but it is not capturing snmp packets other packets are captured like udp, tcp.. 1. iptrace command: /usr/sbin/iptrace -a -i en0... (1 Reply)
Discussion started by: meeraramanathan
1 Replies

5. AIX

Disabling an ASCI terminal in AIX versions 3 and 4

Hi, I tried to do some research on this subject, but got nothing conclusive. I have the following need: I have different servers with AIX versions 3.2.5 through 4.3.2. Some of them have two ASCI terminals connected. I have a shell script that is executed by a user on the main console... (2 Replies)
Discussion started by: andrei_r20
2 Replies

6. AIX

Disabling SSH direct access for an AIX user

Hello everyone, Can anyone help me please. I want to disable SSH direct access for an AIX user. For example, if I have USER1 and USER2. I want to disactivate direct access for USER2. The user must enter his login (USER1) and his password and then he can do su - USER2 . Thanks, (3 Replies)
Discussion started by: adilyos
3 Replies

7. AIX

SNMP v2 on AIX 6.1

Hello Admins, We need to configure and setup snmp v2 on AIX 6.1 clients. I don't find snmp v2 related files on AIX servers . I see there is snmpdv3.conf and v3 installed. Where can I get snmpdv2 for AIX? Thanks in advance. (5 Replies)
Discussion started by: snchaudhari2
5 Replies

8. AIX

Disabling entries on inetd.conf (AIX).

Hello, We're working on securing the AIX environment. started with disabling unused services on AIX. Below are the entries which are not commented on my test LPAR (even other LPARs). ntalk dgram udp wait root /usr/sbin/talkd talkd daytime stream tcp nowait root... (1 Reply)
Discussion started by: system.engineer
1 Replies

9. AIX

Can I get some clue on disabling SSLv1, v3 and TLS1.0 on AIX

Hi, We've a requirement to disable the protocols SSLv3, SSL v2 and TLS 1.0. And have TLS 1.2 enabled using AEAD (Authentication Encryption with Associated Data). This is the only information i have, I'm not sure how to proceed, was trying to find information using google. Can you... (6 Replies)
Discussion started by: system.engineer
6 Replies

10. AIX

AIX native SNMP producing limited results when walking MIB tree

The company I work for has various AIX servers that I've recently migrated to AIX 7.1 (from 6.1). Some are powerHA clusters some are not. Likewise, the systems engineer that I replaced had net-snmp installed on said clustered systems. Long story short I am re-invoking AIX's native SNMP (v3) for... (1 Reply)
Discussion started by: davix
1 Replies
SNMP(3) 								 1								   SNMP(3)

The SNMP class

INTRODUCTION
Represents SNMP session. CLASS SYNOPSIS
SNMP SNMP Properties o public int$max_oids o public int$valueretrieval o public bool$quick_print o public bool$enum_print o public int$oid_output_format o public bool$oid_increasing_check o public int$exceptions_enabled o public array$info Methods o public SNMP::__construct (int $version, string $hostname, string $community, [int $timeout = 1000000], [int $retries = 5]) o public bool SNMP::close (void ) o public mixed SNMP::get (mixed $object_id, [bool $preserve_keys = false]) o public int SNMP::getErrno (void ) o public string SNMP::getError (void ) o public mixed SNMP::getnext (mixed $object_id) o public bool SNMP::set (mixed $object_id, mixed $type, mixed $value) o public bool SNMP::setSecurity (string $sec_level, [string $auth_protocol], [string $auth_passphrase], [string $priv_protocol], [string $priv_passphrase], [string $contextName], [string $contextEngineID]) o public array SNMP::walk FALSE (string $object_id, [bool $suffix_as_key], [int $max_repetitions], [int $non_repeaters]) Constants o const integer$SNMP::ERRNO_NOERROR0 o const integer$SNMP::ERRNO_GENERIC2 o const integer$SNMP::ERRNO_TIMEOUT4 o const integer$SNMP::ERRNO_ERROR_IN_REPLY8 o const integer$SNMP::ERRNO_OID_NOT_INCREASING16 o const integer$SNMP::ERRNO_OID_PARSING_ERROR32 o const integer$SNMP::ERRNO_MULTIPLE_SET_QUERIES64 o const integer$SNMP::ERRNO_ANY126 o const integer$SNMP::VERSION_10 o const integer$SNMP::VERSION_2C1 o const integer$SNMP::VERSION_2c1 o const integer$SNMP::VERSION_33 PROPERTIES
o $max_oids -Maximum OID per GET/SET/GETBULK request o $valueretrieval -Controls the method how the SNMP values will be returned +-------------------+---------------------------------------------------+ | | | |SNMP_VALUE_LIBRARY | | | | | | | The return values will be as returned by the Net- | | | SNMP library. | | | | | | | | SNMP_VALUE_PLAIN | | | | | | | The return values will be the plain value without | | | the SNMP type hint. | | | | | | | |SNMP_VALUE_OBJECT | | | | | | | The return values will be objects with the prop- | | | erties "value" and "type", where the latter is | | | one of the SNMP_OCTET_STR, SNMP_COUNTER etc. con- | | | stants. The way "value" is returned is based on | | | which one of SNMP_VALUE_LIBRARY, SNMP_VALUE_PLAIN | | | is set | | | | +-------------------+---------------------------------------------------+ o $quick_print -Value of $quick_print within the NET-SNMP library Sets the value of $quick_print within the NET-SNMP library. When this is set (1), the SNMP library will return 'quick printed' values. This means that just the value will be printed. When $quick_print is not enabled (default) the UCD SNMP library prints extra information including the type of the value (i.e. IpAddress or OID). Addition- ally, if quick_print is not enabled, the library prints additional hex values for all strings of three characters or less. o $enum_print -Controls the way enum values are printed Parameter toggles if walk/get etc. should automatically lookup enum values in the MIB and return them together with their human readable string. o $oid_output_format -Controls OID output format OID .1.3.6.1.2.1.1.3.0 representation for various $oid_output_format values +------------------------+-------------------------------------+ | | | | SNMP_OID_OUTPUT_FULL | | | | | | | | | | | |SNMP_OID_OUTPUT_NUMERIC | | | | | | | | | | | |SNMP_OID_OUTPUT_MODULE | | | | | | | DISMAN-EVENT-MIB::sysUpTimeInstance | | | | | | | |SNMP_OID_OUTPUT_SUFFIX | | | | | | | sysUpTimeInstance | | | | | | | | SNMP_OID_OUTPUT_UCD | | | | | | | system.sysUpTime.sysUpTimeInstance | | | | | | | | SNMP_OID_OUTPUT_NONE | | | | | | | Undefined | | | | +------------------------+-------------------------------------+ o $oid_increasing_check -Controls disabling check for increasing OID while walking OID tree Some SNMP agents are known for returning OIDs out of order but can complete the walk anyway. Other agents return OIDs that are out of order and can cause SNMP::walk to loop indefinitely until memory limit will be reached. PHP SNMP library by default performs OID increasing check and stops walking on OID tree when it detects possible loop with issuing warning about non-increasing OID faced. Set $oid_increasing_check to FALSE to disable this check. o $exceptions_enabled - Controls which failures will raise SNMPException instead of warning. Use bitwise OR'ed SNMP::ERRNO_* constants. By default all SNMP exceptions are disabled. o $info -Read-only property with remote agent configuration: hostname, port, default timeout, default retries count PREDEFINED CONSTANTS
SNMP"; ERROR TYPES" o SNMP::ERRNO_NOERROR -No SNMP-specific error occurred. o SNMP::ERRNO_GENERIC -A generic SNMP error occurred. o SNMP::ERRNO_TIMEOUT -Request to SNMP agent timed out. o SNMP::ERRNO_ERROR_IN_REPLY -SNMP agent returned an error in reply. o SNMP::ERRNO_OID_NOT_INCREASING -SNMP agent faced OID cycling reporning non-increasing OID while executing (BULK)WALK command. This indicates bogus remote SNMP agent. o SNMP::ERRNO_OID_PARSING_ERROR - Library failed while parsing OID (and/or type for SET command). No queries has been made. o SNMP::ERRNO_MULTIPLE_SET_QUERIES - Library will use multiple queries for SET operation requested. That means that operation will be performed in a non-transaction manner and second or subsequent chunks may fail if a type or value failure will be faced. o SNMP::ERRNO_ANY - All SNMP::ERRNO_* codes bitwise OR'ed. SNMP"; PROTOCOL VERSIONS" o SNMP::VERSION_1 - o SNMP::VERSION_2C, SNMP::VERSION_2c - o SNMP::VERSION_3 - PHP Documentation Group SNMP(3)
All times are GMT -4. The time now is 05:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy