Hi,
When I compile and run my application sizeof(long) returns
8.
Does net-snmp define long to 8?
If it does, why and where?
This only happens when I use the net-snmp libs in my
application, otherwise sizeof(long) returns 4.
net-snmp verison: 5.0.9
OS: solaris9
Compiler: CC
HI all,
Im using Net-SNMP 5.1.2. While starting the agent using
/usr/local/sbin/snmpd -Lf log.txt it is writing the following error
message in the log file.
---
log.txt
Robert Story wrote:
On Fri, 11 Feb 2005 16:50:25 + Monil wrote:
MP I have some 802.1q vlans running on two freeBSD servers. When I snmpwalk
MP either of the servers, these vlans are no where to be seen.
What release are you using?
MP Can anyone
MP suggest a way of making these available so
Chenna,
After you run snmpconfig -g basic_setup command look for the file
snmpd.conf in the local directory. Copy it to /tmp (for example) and
restart your 'snmpd' as '/usr/local/sbin/snmpd -C -c /tmp/snmpd.conf -f'
(-f for foreground running).
Go through the man page of snmpconf for more
...
As far as future compatibility goes, getting the kernel to
recognize your
interfaces is the best option. If that's not possible, then you'll
have to
maintain proprietary patches against net-snmp.
Robert, I know you're the expert here but I've got non-standard Interfaces
working
On Mon, 14 Feb 2005 14:58:24 -0500 [EMAIL PROTECTED] wrote:
CRC session.peername = localhost;
CRC session.retries = 3;
CRC session.version = SNMP_VERSION_2c;
CRC session.community = private;
CRC session.community_len = strlen(session.community);
CRC
CRC ss =
Hi all,
I have problems using mib2c functionality of NET-SNMP.
I have got a directory in which
NET-SNMP-TUTORIAL-MIB is saved. Also it is in the
default search path for the MIBS. Now when I do
mib2c mib2c.int_watch.conf nstAgentModuleObject
following error occurs:
---
you didn't give me a
On Tue, 15 Feb 2005 08:33:40 -0500 [EMAIL PROTECTED] wrote:
CRC session.peername = localhost;
CRC session.community = config;
CRC session.community_len = strlen(session.community);
CRC
CRC /* establish the session */
CRC ss = snmp_open(session);
CRC
CRC snmp_log(LOG_INFO,
On Tue, 15 Feb 2005 11:14:11 + Monil wrote:
MP Robert Story wrote:
MP We get the stats from the kernel. I know for linux, vlans do not track
MP bandwidth, and do not appear in the interfaces table. Not sure for
MP FreeBSD...
MP
MP Using 4.10-release. It used to work... it's just randomly
On Tue, 15 Feb 2005 08:33:40 -0500 [EMAIL PROTECTED] wrote:
CRC session.peername = localhost;
CRC session.community = config;
CRC session.community_len = strlen(session.community);
CRC
CRC /* establish the session */
CRC ss = snmp_open(session);
CRC
CRC
On Tue, 15 Feb 2005 05:57:35 -0800 (PST) manik wrote:
MC I have got a directory in which
MC NET-SNMP-TUTORIAL-MIB is saved. Also it is in the
MC default search path for the MIBS. Now when I do
MC
MC mib2c mib2c.int_watch.conf nstAgentModuleObject
MC
MC following error occurs:
MC ---
MC you
On Tue, 15 Feb 2005 03:03:39 -0800 Chenna wrote:
CIm using Net-SNMP 5.1.2. While starting the agent using
C /usr/local/sbin/snmpd -Lf log.txt it is writing the following error
C message in the log file.
C
C Warnging : No access control information configured.
CIt's unlike the agent can
On Tue, 15 Feb 2005 10:44:33 +0100 Roger wrote:
RN When I compile and run my application sizeof(long) returns 8.
RN
RN Does net-snmp define long to 8? If it does, why and where?
No, and application cannot change the size of a base C type.
RN This only happens when I use the net-snmp libs in my
On Tue, 15 Feb 2005 07:47:23 -0500 [EMAIL PROTECTED] wrote:
CRC ...
CRC As far as future compatibility goes, getting the kernel to
CRC recognize your interfaces is the best option. If that's not possible,
CRC then you'll have to maintain proprietary patches against net-snmp.
CRC
CRC Robert,
On Tue, 15 Feb 2005 07:47:23 -0500 [EMAIL PROTECTED] wrote:
CRC ...
CRC As far as future compatibility goes, getting the kernel to
CRC recognize your interfaces is the best option. If that's not
possible,CRC then you'll have to maintain proprietary patches
against net-snmp.
CRC
CRC
... Is ss NULL? If not, what does it
contain for community?
...
OK. I've built with static libraries and my code now looks like:
session.peername = localhost;
session.retries = 1;
session.version = SNMP_VERSION_2c;
session.community = config;
session.community_len =
On Thu, 10 Feb 2005 10:16:54 -0500 Jeff wrote:
JO I have an embedded Linux system with some interfaces that are not
JO standard, i.e. the default ifTable implementation isn't getting part
JO or all of the information. From looking at the code, it appears that I
JO willneed to directly
Hi,
Monitoring for what?
To have the snmpd daemon send a trap as soon as
messages containing a certain string are written
to logfiles.
Strings like error or warning and so on.
See the snmpd.conf man page for how to
monitor a file for growth beyond a specified size.
I'll look at that.
Hi,
Monitoring for what?
To have the snmpd daemon send a trap as soon as
messages containing a certain string are written
to logfiles.
Strings like error or warning and so on.
See the snmpd.conf man page for how to
monitor a file for growth beyond a specified size.
I'll look at that.
Thank you, this is exactly what I was looking for. I agree
that getting the kernel to report the interfaces correctly
is the ideal approach. That will be my prefered approach,
but not being familiar with that part of the system, I like
having alternative approaches. Another issue is that some
Chenna,
Following is an example for configuring access control for SNMPv2c
requests.
com2sec rwsecnamedefault public
group rwgroupname v2c rwsecname
viewrwviewname included.1
viewnoneexcluded.1
access rwgroupnamev2c noauth exact rwviewname rwviewname
none
Hello Robert,
Yes 'snmptranslate -IR nstAgentModuleObject' does
work.
But still i get the same error with mib2c.
Also, initially I was using net-snmp-5.2.1. But
whenever I ran mib2c following error occured:
--
ERROR: You don't have the SNMP perl module installed.
Please obtain
this by
I am using Fedora 3.
thank you
-manik
--- Robert Story [EMAIL PROTECTED] wrote:
On Tue, 15 Feb 2005 05:57:35 -0800 (PST) manik
wrote:
MC I have got a directory in which
MC NET-SNMP-TUTORIAL-MIB is saved. Also it is in
the
MC default search path for the MIBS. Now when I do
MC
MC mib2c
23 matches
Mail list logo