The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Installing SNMP Agent on Solaris Systems adel8483 SUN Solaris 3 05-02-2007 07:52 AM
SNMP subagent deleted from agent table jalburger SUN Solaris 1 04-18-2007 11:51 AM
SNMP agent linuxbegginer IP Networking 0 03-30-2006 04:46 AM
about CA agent buffoon Linux 1 05-14-2005 03:45 AM
Windows98 RSA/Ace agent kie IP Networking 2 06-09-2003 11:30 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-08-2008
zainab zainab is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 9
Smile snmp manager and agent

Hi,

I'm reading net-snmp, using Unix (Solaries) and C language ...

- I can manipulate variable (managed object) declared in agent, but the manager can't see that ... it only see the initialization and the value which it ulters using snmpset ...
Ex:
Agent:
static int myWWWNotFoundCount = 0; // myWWWNotFoundCount is an managed object declared in the MIB file ...

void init_myWWWMIB(void)
{
.......
myWWWNotFoundCount = 25;
.......
}
manager:
obelix% snmpget ........ myWWWNotFoundCount.0
obelix% ............... : integer 0 ----> not 25?

Is their any way to the manager to see the altered value by agent?

- When I use scalar configuration ... where there is no variable declared only it provides the oid and handler for the variable, how can I alter the variable value? Can I do it ...

Thank you in advance...
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:11 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0