Bluehost.com Web Hosting $6.95

How can i use procfix

This is a discussion on How can i use procfix within the SNMP Users forums, part of the Networking and Network Related category; --===============1045915538== Content-Type: multipart/alternative; boundary="----=_Part_12352_21677708.1205844831137" ------=_Part_12352_21677708.1205844831137 Content-Type: text/plain; charset=ISO-8859-1 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-18-2008
Nikolay Fomichev
 
Posts: n/a
Default How can i use procfix

--===============1045915538==
Content-Type: multipart/alternative;
boundary="----=_Part_12352_21677708.1205844831137"

------=_Part_12352_21677708.1205844831137
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,
Can someone help me with configuring "procfix" option,

my rpm's

net-snmp-utils-5.1.2-11.EL4.10
net-snmp-libs-5.1.2-11.EL4.10
net-snmp-perl-5.1.2-11.EL4.10
net-snmp-5.1.2-11.EL4.10

i make a test environment

snmpd.conf
....
agentSecName _internal
rouser _internal
proc sleep 10
procfix sleep /root/test.sh
setEvent prFix_set_1 prErrFix = 1
monitor -e prFix_set_1 "procTable" prErrorFlag != 0
....

But when restart snmp, there are errors in log file

/etc/snmp/snmpd.conf: line 20: Warning: Unknown token: setEvent.

in archive of this mail list i found this mail

> I am running the following snmp packages on a Linux test server under RHEL
> > Enterprise 4 update 5:
> > net-snmp-utils-5.1.2-11.EL4.10
> > net-snmp-devel-5.1.2-11.EL4.10
> > net-snmp-libs-5.1.2-11.EL4.10
> > net-snmp-5.1.2-11.EL4.10
> > net-snmp-perl-5.1.2-11.EL4.10
> >
> > I am trying to get active monitoring running on my test server.

>
> The 5.1.x line is extremely old (and is no longer being maintained).
> In particular, the DisMan support was very new and experimental
> (and probably not even included by default)
> It has been completely reworked since then, and is much more
> complete and reliable.
>
> I suggest you try upgrading to a more recent release.
> Preferably version 5.4.1, which should be out imminently.



But on http://www.net-snmp.org/docs/man/snmpd.conf.html
i can see setEvent option. How can i use procfix on net-snmp 5.1.2?

------=_Part_12352_21677708.1205844831137
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi, <br>Can someone help me with configuring &quot;procfix&quot; option, <br><br>my rpm's<br><br>net-snmp-utils-5.1.2-11.EL4.10<br>net-snmp-libs-5.1.2-11.EL4.10<br>net-snmp-perl-5.1.2-11.EL4.10<br>net-snmp-5.1.2-11.EL4.10<br>
<br>i make a test environment<br><br>snmpd.conf<br>...<br>agentSecNa me&nbsp;&nbsp;_internal<br>rouser&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_internal<br>proc sleep 10<br>procfix sleep /root/test.sh<br>setEvent prFix_set_1 prErrFix = 1<br>monitor -e prFix_set_1 &quot;procTable&quot; prErrorFlag != 0<br>
....<br><br>But when restart snmp, there are errors in log file<br><br>/etc/snmp/snmpd.conf: line 20: Warning: Unknown token: setEvent.<br><br>in archive of this mail list i found this mail<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
&gt; I am running the following snmp packages on a Linux test server under RHEL<br>&gt; Enterprise 4 update 5:<br>&gt; net-snmp-utils-5.1.2-11.EL4.10<br>&gt; net-snmp-devel-5.1.2-11.EL4.10<br>&gt; net-snmp-libs-5.1.2-11.EL4.10<br>
&gt; net-snmp-5.1.2-11.EL4.10<br>&gt; net-snmp-perl-5.1.2-11.EL4.10<br>&gt;<br>&gt; I am trying to get active monitoring running on my test server.<br><br>The 5.1.x line is extremely old (and is no longer being maintained).<br>
In particular, the DisMan support was very new and experimental<br>(and probably not even included by default)<br>It has been completely reworked since then, and is much more<br>complete and reliable.<br><br>I suggest you try upgrading to a more recent release.<br>
Preferably version 5.4.1, which should be out imminently.&nbsp;</blockquote><br>But on <a href="http://www.net-snmp.org/docs/man/snmpd.conf.html">http://www.net-snmp.org/docs/man/snmpd.conf.html</a><br>i can see setEvent option. How can i use procfix on net-snmp 5.1.2?

------=_Part_12352_21677708.1205844831137--


--===============1045915538==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--===============1045915538==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users

--===============1045915538==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:32 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0