This is a discussion on snmpd as Master and sub-agent within the SNMP Coders forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. ------_=_NextPart_001_01C64176.E451B484 Content-Type: text/plain; charset="us-ascii&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
------_=_NextPart_001_01C64176.E451B484 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable This statement was taken from the 5 Tuturial for Net-SNMP Agent: snmpd Depending on configuration, snmpd may also act as an AgentX or SMUX master agent=20 The Net-SNMP agent can be built to monitor things such as=20 * network traffic=20 * disk space=20 * disk IO=20 * CPU usage=20 * ... and more " What I would like to do is have 'snmpd' run as a AgentX sub-agent and monitor for LOAD, DISK, PROC, and FILE based on the snmpd.conf file. Then generate traps via DisMan. This tutorial statement above gives me the indictaion I can do this. 1. Can I launch 1 snmpd as the "master agent" (snmpd.conf as master agent) and another snmpd as a sub-agent ( with -X argument) and reading snmpdx.conf directly with the PROC, LOAD, DISK, FILE turned on and have this all work without any extra coding? Document seems to say this, but it doesn't work when I try it out.=20 2. Can you use snmpd to do both this functions and is there a good writeup somewhere on how to do it, in case I'm missing something in my configuration and snmpd startups? 3. Seems that snmpd can be used as a AgentX sub-agent, but it's has very limitted functionality as is. Probable has you can see, I'm just leaning this area for a new project, so please be gentle in your reponses :-) My final configuration on this project will have 1 master agent and multiple subagents, 1 running on the same server as the master and the others on different servers. Though I would in case this might help explain what I'm trying to achieve and the best way to ahcieve it. Thanks in Advance, David ------_=_NextPart_001_01C64176.E451B484 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; line-height:normal; font-size:12.0pt; font-family:"Times New Roman";} h2 {margin-top:7.5pt; margin-right:0in; margin-bottom:11.25pt; margin-left:0in; font-size:24.0pt; font-family:"Times New Roman"; color:black; font-weight:bold;} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig {margin:0in; margin-bottom:.0001pt; line-height:normal; font-size:12.0pt; font-family:"Times New Roman";} p {margin-top:0in; margin-right:0in; margin-bottom:12.0pt; margin-left:0in; line-height:125%; font-size:12.0pt; font-family:"Times New Roman";} span.EmailStyle17 {font-family:Arial; color:windowtext;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} /* List Definitions */ ol {margin-bottom:0in;} ul {margin-bottom:0in;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal = style=3D'margin-right:0in;margin-bottom:5.0pt;margin-left: 0in;page-break-after:avoid;text-autospace:none'><font size=3D3 = color=3D"#333333" face=3D"Times New Roman"><span lang=3DEN = style=3D'font-size:12.0pt;color:#333333'>This statement was taken from the 5 Tuturial for </span></font><b><span style=3D'font-weight:bold'>Net-SNMP Agent: snmpd</span></b></p> <p><font size=3D3 color=3D"#333333" face=3D"Times New Roman"><span = lang=3DEN style=3D'font-size:12.0pt;line-height:125%;color:#333333'> &nb= sp; Depending on configuration, <i><span = style=3D'font-style:italic'>snmpd</span></i> may also act as an AgentX or SMUX master agent </span></font></p> <p style=3D'text-indent:.25in'><font size=3D3 color=3D"#333333" = face=3D"Times New Roman"><span lang=3DEN style=3D'font-size:12.0pt;line-height:125%;color:#333333'>The = Net-SNMP agent can be built to monitor things such as </span></font></p> <p class=3DMsoNormal = style=3D'margin-left:.75in;text-indent:-.25in'><font size=3D2 color=3D"#333333" face=3DSymbol><span lang=3DEN = style=3D'font-size:10.0pt;font-family: Symbol;color:#333333'>·<font size=3D1 face=3D"Times New = Roman"><span style=3D'font:7.0pt "Times New = Roman"'> </span></font></span></font><font color=3D"#333333"><span lang=3DEN style=3D'color:#333333'>network traffic </span></font></p> <p class=3DMsoNormal = style=3D'margin-left:.75in;text-indent:-.25in'><font size=3D2 color=3D"#333333" face=3DSymbol><span lang=3DEN = style=3D'font-size:10.0pt;font-family: Symbol;color:#333333'>·<font size=3D1 face=3D"Times New = Roman"><span style=3D'font:7.0pt "Times New = Roman"'> </span></font></span></font><font color=3D"#333333"><span lang=3DEN style=3D'color:#333333'>disk space </span></font></p> <p class=3DMsoNormal = style=3D'margin-left:.75in;text-indent:-.25in'><font size=3D2 color=3D"#333333" face=3DSymbol><span lang=3DEN = style=3D'font-size:10.0pt;font-family: Symbol;color:#333333'>·<font size=3D1 face=3D"Times New = Roman"><span style=3D'font:7.0pt "Times New = Roman"'> </span></font></span></font><font color=3D"#333333"><span lang=3DEN style=3D'color:#333333'>disk IO </span></font></p> <p class=3DMsoNormal = style=3D'margin-left:.75in;text-indent:-.25in'><font size=3D2 color=3D"#333333" face=3DSymbol><span lang=3DEN = style=3D'font-size:10.0pt;font-family: Symbol;color:#333333'>·<font size=3D1 face=3D"Times New = Roman"><span style=3D'font:7.0pt "Times New = Roman"'> </span></font></span></font><font color=3D"#333333"><span lang=3DEN style=3D'color:#333333'>CPU usage </span></font></p> <p class=3DMsoNormal = style=3D'margin-left:.75in;text-indent:-.25in'><font size=3D2 color=3D"#333333" face=3DSymbol><span lang=3DEN = style=3D'font-size:10.0pt;font-family: Symbol;color:#333333'>·<font size=3D1 face=3D"Times New = Roman"><span style=3D'font:7.0pt "Times New = Roman"'> </span></font></span></font><font color=3D"#333333"><span lang=3DEN style=3D'color:#333333'>... and more = “</span></font></p> <p class=3DMsoNormal><font size=3D3 color=3D"#333333" face=3D"Times New = Roman"><span lang=3DEN style=3D'font-size:12.0pt;color:#333333'>What I would like to = do is have ‘snmpd’ run as a AgentX sub-agent and monitor for LOAD, DISK, PROC, and FILE = based on the snmpd.conf file. Then generate traps via DisMan. This tutorial = statement above gives me the indictaion I can do this.</span></font></p> <ol start=3D1 type=3D1> <li class=3DMsoNormal style=3D'color:#333333'><font size=3D3 = color=3D"#333333" face=3D"Times New Roman"><span lang=3DEN = style=3D'font-size:12.0pt'>Can I launch 1 snmpd as the “master agent” (snmpd.conf as master = agent) and another snmpd as a sub-agent ( with –X argument) and reading = snmpdx.conf directly with the PROC, LOAD, DISK, FILE turned on and have this = all work without any extra coding? Document seems to say this, but it = doesn’t work when I try it out. </span></font></li> <li class=3DMsoNormal style=3D'color:#333333'><font size=3D3 = color=3D"#333333" face=3D"Times New Roman"><span lang=3DEN = style=3D'font-size:12.0pt'>Can you use snmpd to do both this functions and is there a good writeup = somewhere on how to do it, in case I’m missing something in my = configuration and snmpd startups?</span></font></li> <li class=3DMsoNormal style=3D'color:#333333'><font size=3D3 = color=3D"#333333" face=3D"Times New Roman"><span lang=3DEN = style=3D'font-size:12.0pt'>Seems that snmpd can be used as a AgentX sub-agent, but it’s has very = limitted functionality as is.</span></font></li> </ol> <p class=3DMsoNormal><font size=3D3 color=3D"#333333" face=3D"Times New = Roman"><span lang=3DEN style=3D'font-size:12.0pt;color:#333333'>Probable has you can = see, I’m just leaning this area for a new project, so please be gentle in your = reponses </span></font><font color=3D"#333333" face=3DWingdings><span lang=3DEN = style=3D'font-family:Wingdings; color:#333333'>J</span></font></p> <p class=3DMsoNormal><font size=3D3 color=3D"#333333" face=3D"Times New = Roman"><span lang=3DEN style=3D'font-size:12.0pt;color:#333333'>My final = configuration on this project will have 1 master agent and multiple subagents, 1 running on = the same server as the master and the others on different servers. Though I would = in case this might help explain what I’m trying to achieve and the = best way to ahcieve it.</span></font></p> <p class=3DMsoNormal><font size=3D3 color=3D"#333333" face=3D"Times New = Roman"><span lang=3DEN style=3D'font-size:12.0pt;color:#333333'>Thanks in Advance, = David</span></font></p> </div> </body> </html> ------_=_NextPart_001_01C64176.E451B484-- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=...720&dat=121642 _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |
![]() |
| Thread Tools | |
| Display Modes | |
|
|