Hi Mathivanan,
Yes we are sending the request from system controller node.
When i executed this command
snmpwalk -v2c -c public -m /usr/share/snmp/mibs/SAF-AMF-MIB localhost saAmfObjects
and the output of it is attached in steps.out file.
When I checked for logs in /var/opt/opensaf/nidlog
NID_SUGAGT.log and NID_MASV.log was found empty.
In /var/log/ncsSnmpSubagt.log file is attached.
Rgds,
Nirmala
--- On Thu, 27/12/07, Mathivanan Np-G19859 <[EMAIL PROTECTED]> wrote:
From: Mathivanan Np-G19859 <[EMAIL PROTECTED]> Subject: RE: [Users] SNMP Problem To: [EMAIL PROTECTED] Cc: users@list.opensaf.org Date: Thursday, 27 December, 2007, 1:21 PM
Nirmala,
From the logs you sent, it appears that the opensaf SNMP Subagent has not registered its MIBs with the snmpd.
Are you sending the MIB requests on to the standby controller, which you shouldn't ?
If that's not your case, what do you observe, when you give, say the following command on the ACTIVE controller:
snmpwalk -v2c -c public -m /usr/share/snmp/mibs/SAF-AMF-MIB localhost saAmfObjects
When you give the request, you could check the SUBAGT**..log and MASV* .log files for any errors that you see?
If you aren't able to make out, you could mail the above log files.
- Mathivanan.
Hi,
Sorry for late response.
We have followed the two steps you mentioned already and patch is not required for our release.
Rgds,
Nirmala
--- On Mon, 24/12/07, Mathivanan Np-G19859 <[EMAIL PROTECTED]> wrote:
From: Mathivanan Np-G19859 <[EMAIL PROTECTED]> Subject: RE: [Users] SNMP Problem To: "nirmala devi" <[EMAIL PROTECTED]> Cc: users@list.opensaf.org Date: Monday, 24 December, 2007, 3:48 PM
Nirmala,
If you are sure that
1) The snmd and the subagent is started to work on the same port numbers.
i.e. for eg:- snmpd to use port 705 as in
./snmpd -x tcp:localhost:705 -I -interfaces
and that the port number specified in ncsSnmpSubagt.conf is also 705 i.e. as in
agentxsocket tcp:localhost:705 agentxPingInterval 1
And,
2) The snmpd.conf, snmp.conf and the ncsSnmpSubagt.conf are all in the same path as set in the environment variable
SNMPCONFPATH, if they are changed, you should change it in nis_scxb script as well(as detailed in INSTALL file)
Then,
Apart from 1) & 2) ,
Pls rebuild after you apply this patch.
Let me know if that helps,
Rgds,
Mathivanan.
Hi,
I have attached the snmpd.log file and captured what ever we excecuted on terminal.
Both files attached.
Rgds,
Nirmala
--- On Mon, 24/12/07, nirmala devi <[EMAIL PROTECTED]> wrote:
From: nirmala devi <[EMAIL PROTECTED]> Subject: RE: [Users] SNMP Problem To: "Mathivanan Np-G19859" <[EMAIL PROTECTED]> Date: Monday, 24 December, 2007, 11:08 AM
Hi,
I included snmp.conf file in /usr/share/snmp now the snmpwalk and snmpget basic commands work . But still facing problem with opensaf mibs.
when i checked the log it says registration error.
At the moment i am not able to send the log copy to you as i have some problem in the network. Once it is rectified wi
--- On Thu, 20/12/07, Mathivanan Np-G19859 <[EMAIL PROTECTED]> wrote:
From: Mathivanan Np-G19859 <[EMAIL PROTECTED]> Subject: RE: [Users] SNMP Problem To: [EMAIL PROTECTED], Users@list.opensaf.org Date: Thursday, 20 December, 2007, 3:40 PM
check the /var/log/snmpd.log
What does it says?
I tried still same problem
--- On Thu, 20/12/07, Mathivanan Np-G19859 <[EMAIL PROTECTED]> wrote:
From: Mathivanan Np-G19859 <[EMAIL PROTECTED]> Subject: RE: [Users] SNMP Problem To: [EMAIL PROTECTED], Users@list.opensaf.org Date: Thursday, 20 December, 2007, 12:59 PM
You have to set the SNMPCONFPATH appropriately if the snmpd.conf & snmp.conf is not in
the default path /usr/share/snmp & restart the snmp.
These instructions are in the INSTALL file.
Hi,
I modified the /etc/opt/snmp/snmpd.conf and /etc/raddb/snmp.conf as you said.
but didn't work.
when i execute snmpwalk
get the error
:SNMPv2-MIB::system=No such object available on this agent at this OID......
Rgds,
Nirmala
--- On Wed, 19/12/07, Mathivanan Np-G19859 <[EMAIL PROTECTED]> wrote:
From: Mathivanan Np-G19859 <[EMAIL PROTECTED]> Subject: RE: [Users] SNMP Problem To: [EMAIL PROTECTED], "Hans Feldt" <[EMAIL PROTECTED]>, Users@list.opensaf.org Date: Wednesday, 19 December, 2007, 5:12 PM
You could try adding "only" the following lines in snmpd.conf
rwcommunity public
master yes
And the following in snmp.conf
defversion 2c
Restart the snmpd as mentioned in the INSTALL file.
- Mathi.
Hi,
I am still facing problem with it.
Can you send snmpd.conf file
Rgds,
Nirmala
--- On Wed, 12/12/07, Mathivanan Np-G19859 <[EMAIL PROTECTED]> wrote:
From: Mathivanan Np-G19859 <[EMAIL PROTECTED]> Subject: RE: [Users] SNMP Problem To: [EMAIL PROTECTED], "Hans Feldt" <[EMAIL PROTECTED]>, Users@list.opensaf.org Date: Wednesday, 12 December, 2007, 6:17 PM
Nirmala,
The steps you listed arent quite correct.
For solving all SNMP related problems, pls strictly follow the steps in the INSTALL file. It should address your problems.
For eg:-
If you are using net-snmp 5.4,
start snmpd as
snmpd -x tcp:localhost:705 -I -interfaces on the system controller.
Your MIB walks should go through.
For a specific problem in OpenSAF 1.4, you could apply the patch in
Rgds,
Mathivanan.
Hi,
When i went through the chain i found a message posted on SNMP and tried the same.
1. Edit snmpd.conf: Append a master agent in the following line to the file snmpd.conf (Usually present in /etc/snmp/snmpd.conf) "master agentx"
2. Start snmpd with the following options: "snmpd -x 705 -I interfaces -c /etc/snmp/snmpd.conf"
3. Start OpenSaf
4. Export the following variables: "export MIBS=ALL" "export MIBDIRS=+{The directory where your opensaf mibs are present}
here i gave /usr/share/mibs and usr/src/opensaf/..........mibs
should i include any other directory along..??
Now when i give snmpwalk -v2c -c public localhost aisE
He is not able to find few modules.
and displays localhost lost connection.
Any comments on this?
Rgds,
Nirmala
--- On Mon, 3/12/07, Hans Feldt <[EMAIL PROTECTED]> wrote:
From: Hans Feldt <[EMAIL PROTECTED]> Subject: Re: [Users] SNMP Problem To: [EMAIL PROTECTED] Cc: Users@list.opensaf.org Date: Monday, 3 December, 2007, 4:38 PM
http://net-snmp.sourceforge.net/docs/FAQ.html
nirmala devi wrote:
>
>
> Hi,
>
>
>
> I am facing a problem in snmp.
>
> when i execute the command snmpget -v1 -c public localhost
> 1.3.6.1.2.1.1..1.0 i get the error displayed below:
>
>
>
> Erroe in packet:
>
> Reason: There is no such variable name in this MIB
>
> Failed Object:SNMPV2 -MIB ::sysContact.o
>
>
>
> Can some one help me on this..
>
>
>
>
>
> Rgds,
>
> Nirmala
>
>
> Now you can chat without downloading messenger. Click here
>
<http://in.rd.yahoo.com/tagline_webmessenger_5/*http://in.messenger.yahoo.com/webmessengerpromo.php>
> to know how.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users@list.opensaf.org
> http://list.opensaf.org/maillist/listinfo/users |
Chat on a cool, new interface. No download required. Click here. |
Save all your chat conversations. Find them online. |
Get the freedom to save as many mails as you wish. Click here to know how. |
Now you can chat without downloading messenger. Click here to know how. |
Explore your hobbies and interests. Click here to begin. |
Explore your hobbies and interests. Click here to begin. |
Bollywood, fun, friendship, sports and more. You name it, we have it. |