Operating System - HP-UX
1826421 Members
3886 Online
109692 Solutions
New Discussion

Re: snmpd does not deliver well

 
SOLVED
Go to solution

snmpd does not deliver well

Hi folks,
A "snmpwalk hostname community" queries our HP systems, but I get only from one hp host a complete response.

I am not so familar with snmp traps, so please could you enlighten me on that a bit.

Every host has the same snmp product installed:
OVSNMPAgent B.11.11 HP-UX_10.0_SNMP_Agent_Product

Also, the /etc/snmpd.conf is the same.
All deamons are started with that config.

Sample response from a working host:
system...
interfaces...
at...
ip...
icmp...
tcp...

Sample from a non-working host:
system...
snmp...
transmission...

What can be the reason for the diff behavior.

Many thanks for your help.
Regards, Klaus
all for one and one for all
6 REPLIES 6
Calandrello
Trusted Contributor

Re: snmpd does not deliver well

Friend
he tries to use this command: snmpwalk - v 2c - c cumunit hostname
Yang Qin_1
Honored Contributor
Solution

Re: snmpd does not deliver well

I'm sorry for mis-understood your problem in the previous thread. So, you meant on some server you could not get certain type of snmp information, am I right?

Can you check if daemon "mib2agt" is running on those servers where you could not rectrieve the information for ip, tcp, ...? If it is not running, you can start it "/sbin/init.d/SnmpMib2 start"


Yang

Re: snmpd does not deliver well

Hi Yang,
10 points for you. You are right, the mib2agt was not started !!
I tried to start it with the command you suggested /sbin/init.d/SnmpMib2 start, but it didn't start.

Now I have to investigate what the problem with the mib2agt is.

Your hint was great and gives me an idea to go forward with that kind of problem.

If you have any ideas what the reason could be for the non-starting mib2agt, your help is welcome.

Thanks,
Klaus
all for one and one for all
Yang Qin_1
Honored Contributor

Re: snmpd does not deliver well

If you have /sbin/init.d/SnmpMib and you cannot start mib2agt. You can check and make sure "SNMP_MIB2_START" is set to 1 in /etc/rc.config.d/SnmpMib2


Yang

Re: snmpd does not deliver well

Hi Yang,
"SNMP_MIB2_START" is set to 1 in /etc/rc.config.d/SnmpMib2

I found in /usr/adm/snmpd.log following when I am trying to start the mib2agt:
AgentSocketCreate: bind
at line 485 in file ../tcp.c
InitMaster: IPCFP[0].AgentSocketCreate failed
at line 1424 in file ../master.c
master agent initialization failed, exiting
at line 882 in file ../mastmain.c

So it looks like that a patch is necessary.
all for one and one for all

Re: snmpd does not deliver well

PHSS_27858 was installed, but it seems not well enough.
I have re-installed the patch with options to overwrite existings and afterwards the mib2agt is started well.
all for one and one for all