logo       

Re: net-snmp v5.1 PID file specifying: msg#00305

network.net-snmp.user

Subject: Re: net-snmp v5.1 PID file specifying

Hi, Dave

Thank you for the answer.
I had read ucd-snmp 4.2.3 online manual, and I misunderstood.

I'm sorry
---
takumi kadode


At 00:01 04/01/27, Dave Shield wrote:
>
>> In legacy ucd-snmp, I can create PID file by specifying "-P"
>> option with snmpd. In net-snmp v5.1, it say "Warning: -P option
>> is deprecated, use -p instead" .
> ^^^^^^^^^^^^^^
>
>> Can anyone please tell me how to specify PID file for v5.1 snmpd
>> daemon ?
>
>Like it says - use the '-p' flag.
>With 5.1 this is now used to create a PID file.
>
>
>
>> Because, in some case, I'm running some snmpd in same system by
>> changing port number.
>
>That changed back with the 5.0 release.
>From then on, you no longer use the '-p' flag to do this.
>Instead you just list the listening port(s) on the command line
>
>So instead of
>
> snmpd -P /tmp/snmpd.pid -p 12345 (v4 agent)
>use
> snmpd -p /tmp/snmpd.pid 12345 (v5 agent)
>
>Dave


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@xxxxxxxxxxxxxxxxxxxxx
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise