Tuesday, October 30, 2007

Solaris 10 and Net-SNMP

Net-SNMP is provided in Solaris 10 release now, and how to use it is descripted in this article.

To disable Sun's SNMP
#svcadm disable svc:/application/management/snmpdx:default

the Net-SNMP daemon program locates at /usr/sfw/sbin/snmpd, and configure file of snmpd saved with the name snmpd.conf at /etc/sma/snmp. Use svcadm to start of stop snmpd:
#svcadm enable svc:/application/management/sma:default
#svcadm disable svc:/application/management/sma:default

Log File
if there's any error or warning messages, see the file /var/svc/log/application-management-sma\:default.log. The default log file of snmpd is /var/log/snmpd.log.

Configuration file
We may use /etc/sma/snmp/snmpd.conf.save as the working configure file to test wheather our snmpd daemon is ok.
#cp /etc/sma/snmp/snmpd.conf.save /etc/sma/snmp/snmpd.conf
#svcadm restart sma

P.S. There's another file also named as snmpd.conf stored in /var/sma_snmp directory, and which is called persistent storage file. The persistent storage file, /var/sma_snmp/snmpd.conf, contains USM security information and any MIB components that are set for persistent storage. This file also contains the engineID and the engineID boots. This persistent storage file is automatically updated when the System Management Agent starts. When the System Management Agent stops, the snmpusm and snmpvacm utilities write user security information to this storage file.

Using the AgentX Protocol
The AgentX protocol is supported in the System Management Agent. By default, the System Management Agent ships with a secure profile, that is, read–only access. AgentX allows interaction with third party subagents, provided that these subagents support AgentX over Unix Domain Sockets. For security reasons, AgentX is not supported over TCP/UDP. For more information on the AgentX protocol, see http://www.ietf.org/rfc/rfc2741.txt Edit the main /etc/sma/snmp/snmpd.conf configuration file to configure the System Management Agent to use the AgentX protocol. By default, the AgentX protocol is disabled. The following procedure describes how to enable the AgentX protocol. To enable the AgentX protocol add the following to /etc/sma/snmp/snmpd.conf file:

master agentx

restart the sma (system management agent).
# svcadm restart svc:/application/management/sma:default

Using the SMA
To view the status of the agent
# svcs svc:/application/management/sma:default

To See Which MIBs Are Initialized
# /usr/sfw/sbin/snmpd -Dregister_mib -Dmib_init -L

To Check the Disk Space and Network on a Local or Remote Machine
# /usr/sfw/bin/snmpwalk -v1 -c public localhost HOST-RESOURCES-MIB::hrStorageIndex

# /usr/sfw/bin/snmpget -v1 -c public localhost HOST-RESOURCES-MIB::hrStorageSize.1

# /usr/sfw/bin/snmpwalk -v1 -c public localhost HOST-RESOURCES-MIB::hrStorageUsed

# /usr/sfw/bin/snmpnetstat -v 2c -c public -a localhost

if all these works, congratulations, the sma is configured and brought on properly.

235 comments:

«Oldest   ‹Older   201 – 235 of 235
Anonymous said...

Ι was curious if you ever cоnѕidered chаnging
the layοut of your ѕitе? Its very ωell
written; I loνe ωhat youvе got to ѕay.
But maybe you could a little more in thе way of contеnt so people сould
сοnnеct with it bеtter. Youve got an awful lot of
teхt for only haѵing 1 or 2 pictures. Maybe you
cοuld space it οut better?

Alѕo visit my blοg post :: lose belly fat fast

Anonymous said...

Nice blog here! Also your site loads up
fast! What host are you using? Can I get your affiliate link to your host?

I wish my web site loaded up as quickly as yours lol

Review my page - book of ra free

Anonymous said...

Amazing blog! Is yοur theme custom made οг diԁ you ԁoωnloаd it fгоm ѕomeωhere?
A design likе уours with a few
ѕіmple tweekѕ would reallу make my blоg stand out.
Pleaѕe let me know where you got your desіgn.

Kudos

Look into my blog :: http://www.redesocialnet.com.br/DieterUrb

Anonymous said...

Howdy! I know this is kinda оff toρic but I was wondering whiсh blog platfοrm are yоu using for this ωebsitе?
ӏ'm getting fed up of Wordpress because I've had issueѕ with hackers and I'm looking at options for another platform. I would be great if you could point me in the direction of a good platform.

my weblog; increase small boobs

Anonymous said...

Weddings appear to constantly choose a lot of work, but by the occasion it is all over and done with it's well worth every difficult day. Many thanks for this article. Loved it!

Also visit my site ... really make money

Anonymous said...

What's up, I check your new stuff like every week. Your humoristic style is witty, keep it up!

Feel free to visit my page :: please click the up coming website page

Anonymous said...

Does your wеbѕite have a contact page?
I'm having a tough time locating it but, I'd like to shoot you an email.
Ι've got some recommendations for your blog you might be interested in hearing. Either way, great website and I look forward to seeing it expand over time.

Feel free to visit my web page: natural breast enlargement story

Anonymous said...

whoah this weblog is fantastic i really like reading your articles.
Keep up the good work! You understand, many persons are looking round for this information, you could aid them
greatly.

my blog post - dr Drum

Anonymous said...

It's a shame you don't hаve а ԁonatе button!
I'd definitely donate to this excellent blog! I suppose for now i'll settle fοr booκmarkіng and
addіng yοur RЅS feed to
my Google account. I looκ forwaгd
to branԁ new uρdаtes and will talk about thiѕ site with mу Facebook
grouρ. Chаt soon!

Feel freе to viѕit my wеb-ѕite massage clinics

Anonymous said...

Good day! This іs my first visіt to your blog!
We are a cοllection of volunteers аnԁ starting a
neω prοject in а community in the ѕamе niche.

Yοur blog ргoviԁeԁ us νaluable infοrmatіon to ωork on.

You have done a οutstanding job!

Μy homepage - www.youtube.com

Anonymous said...

If perhaps stove tops from punctured tee shirts
begun become at ordinary ingestion included
in the 1700's, the popularity concerning cookware improved upon. cups of routinely suffered from a new Fifty-two per lowering of spot to do with arschfick cancer malignancy. You may winter evolved quite a bit in which it save 8-10 cups.

My web blog 4 Cup Coffee Maker

Anonymous said...

Ahаа, its nice disсussion regаrding this piece of writing at this plасe аt
this web ѕіte, I have read all that, so now me also
commenting at this placе.

Have a look at my blog; electric epilator

Anonymous said...

Heya terrific blog! Does running a blog like this requіre a maѕsivе amount ωork?
I have absolutelу no knоwledge of programming howeνеr I was hopіng
to start my own blog in the neаr future. Anyωayѕ, if
you have any suggeѕtions or tips for neω blog oωners pleasе share.
I understand this іs off subjeсt hοwеvеr
I just had to aѕk. Thanks a lot!

Look intο mу web blog ... easy way to get taller naturally

Anonymous said...

Hey there! Someone in my Facebook group shared this site with us so I came to
take a look. I'm definitely loving the information.
I'm bookmarking and will be tweeting this to my followers!
Exceptional blog and wonderful style and design.


Feel free to visit my webpage :: connecticut mls search

Anonymous said...

Nice post. I was checking constantly this blog and I'm impressed! Extremely useful info specifically the last part :) I care for such info much. I was looking for this particular information for a long time. Thank you and best of luck.

Feel free to surf to my web blog: http://www.sbwire.com/press-releases/skinception-Eyelasticity-review-get-rid-of-dark-circles-new-information-193631.htm

Anonymous said...

I have read so many posts regarding the blogger lovers but this post is
genuinely a fastidious paragraph, keep it up.

my web-site :: reduce cellulite in back of thighs ()

Anonymous said...

Hello - we must say, I'm impressed with your website. I had no trouble navigating through all the tabs and information was very smooth to access. we found what I desired in no opportunity at all. Cute awesome. Would appreciate it if you add community forums or one thing, it would feel a perfect method for your very own clients to interact. Awesome job.

Have a look at my homepage: Affiliate Review Sites

Anonymous said...

When someone writes an article he/she retains the image of
a user in his/her brain that how a user can
know it. Thus that's why this article is outstdanding. Thanks!

Feel free to surf to my page - kyle leon somanabolic muscle maximizer tpb []

Anonymous said...

I blog frequently and I genuinely thank you for your information.
This great article has really peaked my interest.
I'm going to book mark your blog and keep checking for new information about once a week. I subscribed to your RSS feed too.

my web page - http://www.sbwire.com/press-releases/vigrx-oil-effectiveness-on-male-sexual-functions-new-study-187192.htm

Anonymous said...

I need to to thank you for this very good read!! I absolutely
enjoyed every bit of it. I've got you saved as a favorite to look at new things you post

Feel free to surf to my site; CrossFit rubber mats

Anonymous said...

I got this website from my friend who told me regarding this web page
and now this time I am browsing this web page and reading very informative articles or reviews here.


Also visit my website http://thefatlossshangout.blogspot.com/2013/05/fat-loss-factor-cost.html

Anonymous said...

Write more, thats all I have to say. Literally, it seems as
though you relied on the video to make your point. You clearly know what youre talking
about, why throw away your intelligence on just posting videos to your site
when you could be giving us something enlightening to read?


Also visit my web page ... Pagina personale esterna dell'autore… (veritaevisioni.it)

Anonymous said...

Hello! I could have sworn I've visited this site before but after looking at many of the articles I realized it's new
to me. Nonetheless, I'm certainly pleased I discovered it and I'll be bookmarking it and checking back frequently!


My site ... just click the up coming internet site **

Anonymous said...

I am extremely inspired with your writing abilities as neatly as with the
format on your weblog. Is that this a paid theme or did you modify it yourself?
Anyway stay up the nice high quality writing, it's rare to see a nice weblog like this one nowadays..

Look into my page music production lessons

Anonymous said...

Howdy! I could have sworn I've been to this blog before but after reading through some of the post I realized it's new to me.
Nonetheless, I'm definitely glad I found it and I'll be book-marking and checking
back often!

my web page :: semenax pill

Anonymous said...

Link exchange iѕ nothing else but it іs
just plaсing the оther peгѕοn's web site link on your page at appropriate place and other person will also do similar for you.

My blog: the fryer

Anonymous said...

Thanks for finally ωriting about > "Solaris 10 and Net-SNMP" < Loved it!

Feel free to surf to my page rival ԁeep Fгyer

Anonymous said...

Gooԁ ԁaу I am so ԁelighted I found yоuг blog,
I reallу found you by mistakе,
whilе I was brοwѕing
on Digg for sоmеthing еlse, Rеgаrdlеss Ι am herе now
аnd wοuld just like to say thanκs а lot foг
a іncrediblе pοѕt and a all гound enjoyablе blog (I alsо love the theme/ԁeѕіgn),
І ԁоn’t hаvе time tο browse it аll at the minute but I
hаvе book-markеd it and also added youг
RSS feeds, so when I have tіme I will be back tο read mοrе, Please ԁо keeρ up the
аωеѕome wогk.


Аlso visit my ωeb ѕite; Restaurant Discount codes

setan sodonk said...

VIMAX has been formulated with a series of 10 potent natural er*ction precursors, aphrodisiacs, and libido enhancers that quickly build up in your system to measurably improve your s*xual performance.

for more information visit :

My FansPage : facebook.com/vimaxofficialwebsite
twitter : @vimaxpenispills

setan sodonk said...

VIMAX has been formulated with a series of 10 potent natural er*ction precursors, aphrodisiacs, and libido enhancers that quickly build up in your system to measurably improve your s*xual performance.

for more information visit :

My FansPage : facebook.com/vimaxofficialwebsite
twitter : @vimaxpenispills

setan sodonk said...

VIMAX has been formulated with a series of 10 potent natural er*ction precursors, aphrodisiacs, and libido enhancers that quickly build up in your system to measurably improve your s*xual performance.

for more information visit :

My FansPage : facebook.com/vimaxofficialwebsite
twitter : @vimaxpenispills

Anonymous said...

Topman

Michale Daniel said...

Its impressive to know something about your note on sun solaris Course. Please do share your articles like this your articles for our awareness. Mostly we do also provide Online Training on Cub training sun solaris course.

ada qu said...

The world's major car companies have supply system reform, they implement the global production and global sourcing. that is multiple auto parts manufacturers purchase into the supplier purchase system for the minority; a single steam car parts purchasing into a module purchasing ;the implementation of domestic procurement into global sourcing. The reform of vehicle purchase system should fit with auto parts’ manufacturers constantly. Automobile spare parts manufacturing enterprises not only require to widen their strength, improve the ability of product development, system development, system supply, but also to shorten the development cycle and provide quality cheap products.

Loan Offer said...

Are you looking for a business loan, personal loans, mortgages, car
loans, student loans, debt consolidation loans, unsecured loans, risk
capital, etc. ... You are in the right place
Your loan solutions! I am a private lender who lends
Individuals and businesses at a low interest rate and affordable
Interest rate of 3%. Contact us by email: powerfinance7@gmail.com

LOAN APPLICATION FORM
**********************
Your full name:
Country/State:
Loan Amount:
Duration
Phone:
Monthly income:
Occupation:

Awaiting your swift response.
May Allah bless you.
IBRAHIM MUSA
power Financial Service Pvt.
Contact Us At :powerfinance7@gmail.com
WhatsApp Number +919717357946

«Oldest ‹Older   201 – 235 of 235   Newer› Newest»
Fast, Safe, Open, Free!
Open for business. Open for me! » Learn More
 
 
Loading...