Help me No SNMP data returned on AIX5.1

Templates, scripts for templates, scripts and requests for templates.

Moderators: Moderators, Developers

Post Reply
Author
Message
pat_ra2001
Posts: 11
Joined: Thu Aug 18, 2005 2:02 am

Help me No SNMP data returned on AIX5.1

#1 Post by pat_ra2001 » Wed Dec 21, 2005 5:16 am

# On my server
Data Query Debug Information

+ Running data query [13].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/home/httpd/html/cacti-0.8.6g/resource/snmp_queries/aix_fs.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.2.6.191.6.2.1.1'
+ No SNMP data returned
+ Found data query XML file at '/home/httpd/html/cacti-0.8.6g/resource/snmp_queries/aix_fs.xml'
+ Found data query XML file at '/home/httpd/html/cacti-0.8.6g/resource/snmp_queries/aix_fs.xml'
+ Found data query XML file at '/home/httpd/html/cacti-0.8.6g/resource/snmp_queries/aix_fs.xml'



# cat /etc/snmpdv3.conf
VACM_GROUP group1 SNMPv1 public -

VACM_VIEW defaultView internet - included -

# exclude snmpv3 related MIBs from the default view
VACM_VIEW defaultView snmpModules - excluded -
VACM_VIEW defaultView 1.3.6.1.6.3.1.1.4 - included -
VACM_VIEW defaultView 1.3.6.1.6.3.1.1.5 - included -

# exclude aixmibd managed MIBs from the default view
VACM_VIEW defaultView 1.3.6.1.4.1.2.6.191 - included -

VACM_ACCESS group1 - - noAuthNoPriv SNMPv1 defaultView - defaultView -

NOTIFY notify1 traptag trap -

TARGET_ADDRESS Target1 UDP 127.0.0.1 traptag trapparms1 - - -

TARGET_PARAMETERS trapparms1 SNMPv1 SNMPv1 public noAuthNoPriv -

COMMUNITY public public noAuthNoPriv 0.0.0.0 0.0.0.0 -

DEFAULT_SECURITY no-access - -

logging file=/usr/tmp/snmpdv3.log enabled
logging size=0 level=0

smux 1.3.6.1.4.1.2.3.1.2.1.2 gated_password # gated

smux 1.3.6.1.4.1.2.3.1.2.3.1.1 muxatmd_password #muxatmd



I do following http://forums.cacti.net/viewtopic.php?t=6072 but not SNMP data returned Help me please.

User avatar
rony
Developer/Forum Admin
Posts: 6016
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

#2 Post by rony » Wed Dec 21, 2005 10:17 am

You need to make sure you start the following agents in this order:

snmpd
dpid2
snmpmibd
hostmibd
aixmibd
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]

pat_ra2001
Posts: 11
Joined: Thu Aug 18, 2005 2:02 am

#3 Post by pat_ra2001 » Sun Dec 25, 2005 9:10 am

Yes that server are started i check by this command


$ ps -ef|grep snmpd
root 2363478 2265334 0 Nov 23 - 6:34 /usr/sbin/snmpd
patchara 18395390 8798238 0 21:08:30 pts/2 0:00 grep snmpd

$ ps -ef|grep dpid2
root 2498640 2265334 2 Nov 23 - 288:19 /usr/sbin/dpid2
patchara 18395162 8798238 1 21:08:38 pts/2 0:00 grep dpid2

$ ps -ef|grep snmpmibd
root 2625676 2265334 0 Nov 23 - 1:28 /usr/sbin/snmpmibd
patchara 11505918 8798238 1 21:08:47 pts/2 0:00 grep snmpmibd

$ ps -ef|grep hostmibd
root 2449504 2265334 0 Nov 23 - 1:29 /usr/sbin/hostmibd
patchara 11505664 8798238 0 21:08:53 pts/2 0:00 grep hostmibd

$ ps -ef|grep aixmibd
root 151670 2265334 0 Nov 23 - 1:47 /usr/sbin/aixmibd
patchara 11505666 8798238 0 21:08:59 pts/2 0:00 grep aixmibd

please help me na krub.

User avatar
rony
Developer/Forum Admin
Posts: 6016
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

#4 Post by rony » Sun Dec 25, 2005 10:58 am

Restart alll the agents. Use the order they appear in /etc/rc.tcpip as the order to start them up.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]

pat_ra2001
Posts: 11
Joined: Thu Aug 18, 2005 2:02 am

#5 Post by pat_ra2001 » Sun Dec 25, 2005 9:10 pm

i view that they appear in /etc/rc.tcpip and restart all agent but can't show graph. thank you for your help.

User avatar
rony
Developer/Forum Admin
Posts: 6016
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

#6 Post by rony » Sun Dec 25, 2005 11:45 pm

Can you snmpwalk the aix server?

Have you attempted to contact IBM support? I know, they aren't that helpful when I comes to snmp in AIX, I know, I have first hand experience with that.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]

Post Reply