SNMP SubAgent UNIX Error CONFPATH

book

Article ID: 89096

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

SNMP SubAgent UNIX Error CONFPATH

Environment

Release: AOATAM99000-9.0-Automic-One Automation Tools-Application Manager
Component:

Resolution

Detailed Description and Symptoms

Warning: no access control information configured.

 

It's unlikely this agent can serve any useful purpose in this state.

Run "snmpconf -g basic_setup" to help you configure the ucsnmp1.conf file for this agent.


Investigation

This message is indicating that the access configuration for the ucsnmp1 agent has not been set up:

 

Warning: no access control information configured.

 

If you have configured the "ucsnmp1.conf" file, you may have missed another step from the documentation that needs to completed that is often overlooked. When the Automic SNMP SubAgent is set for Masteragent mode - the variable SNMPCONFPATH must be set.


Solution

Designate the directory where the "ucsnmp1.conf" file is located (ex.: "export SNMPCONFPATH=./").

The output received when attempting to start the SNMP SubAgent after exporting the
 SNMPCONFPATH environment variable should be similar to this:

[root]# ./ucsnmp1 -i ucsnmp1.ini &
[1] 24364
[root]# No log handling enabled - turning on stderr logging
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Turning on AgentX master support.