Re: Need Help with SNMP

2003-08-02 Thread Alan DeKok
Harrie Hazewinkel <[EMAIL PROTECTED]> wrote:
> >   It's part of autoconf.  Ask them.
> 
> Maybe I should ask, but you use it from them.
> So why are you using it??

  Because it's the best solution for a horrible problem.

  The whole point of using a tool is to see that it works.  Knowing
HOW it works is much less relevant.

> Anyway, I believe just testing if the files are there
> is enough for checking the existance of include files.

  No.  You're got to check if the *compiler* thinks they exist, and if
the *compiler* thinks that they are well-formed.  The best way to do
those checks is to compile a test program ,and #include the files.

> Anyway, do people think that upgrading to NET-SNMP
> is usefull and start adding AgentX based agent??

  Sure.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Need Help with SNMP

2003-08-02 Thread Harrie Hazewinkel
On Thursday, July 31, 2003, at 04:25 PM, Alan DeKok wrote:

Harrie Hazewinkel <[EMAIL PROTECTED]> wrote:
While looking at it to upgrade to net-snmp, I was wondering why
you do a compile test for some include files and not just a
check??
  It's part of autoconf.  Ask them.
Maybe I should ask, but you use it from them.
So why are you using it??
Anyway, I believe just testing if the files are there
is enough for checking the existance of include files.
Anyway, do people think that upgrading to NET-SNMP
is usefull and start adding AgentX based agent??
I am willing to work on it.

Harrie

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Need Help with SNMP

2003-07-31 Thread Steven Fries
I answer any questions where I have experience in the subject. Since my
needs for FreeRadius are limited, I don't want to say anything that could be
counterproductive for someone. As I become more familiar with the system, I
will gladly pitch in and spend more time answering others' questions so that
you may devote more time to development.

I appreciate very much your efforts, I've just seen some of the replies
you've given as somewhat abrupt.

My apologies,

Steven

- Original Message -
From: "Alan DeKok" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 31, 2003 12:53 PM
Subject: Re: Need Help with SNMP


> Steven Fries <[EMAIL PROTECTED]> wrote:
> > What Mr. DeKok means is...
> >
> > He's a giant jerk and thinks he's too important to answer your
questions, so
> > he has to make snide remarks questioning your intelligence to make
himself
> > feel all nerdy and stuff.
>
>   Hmm... I answer about 100x more questions on this list than you do,
> so I don't see what you're complaining about.  If you don't like my
> responses, you should have the balls to answer questions yourself.
>
>   But you don't.  Instead, you whine about how you don't like my
> answers.  So even though I'm provably friendlier and more helpful than
> you are, you think I should be doing more.  That's not rude, it's just
> stupid.
>
>   I've got a simple response: Pay me to help you, and I'll be
> endlessly polite.  If you're not going to pay me, and if you're not
> going to lift a finger to help people, then shut up, and stop
> complaining about my answers.
>
>   Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Need Help with SNMP

2003-07-31 Thread John M. Luker
***Wonders who p**sed in Steven's cheerios this morning

At 07:02 AM 7/31/03, you wrote:
What Mr. DeKok means is...

He's a giant jerk and thinks he's too important to answer your questions, 
so he has to make snide remarks questioning your intelligence to make 
himself feel all nerdy and stuff.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Need Help with SNMP

2003-07-31 Thread Atanu Das
Hey gentlemen

Cool down and relax...this is supposed to be mailing list ...not a WWF
arena...
People are doing great here in this mailing list..maybe its because of the
magnitude of queries they (developers) receive and replies, keeps them in a
little pressure...and if I ask silly question without doing my homework
properly, then what more could I expect as an answer?

Ats

- Original Message - 
From: "Alan DeKok" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 31, 2003 11:23 PM
Subject: Re: Need Help with SNMP


> Steven Fries <[EMAIL PROTECTED]> wrote:
> > What Mr. DeKok means is...
> >
> > He's a giant jerk and thinks he's too important to answer your
questions, so
> > he has to make snide remarks questioning your intelligence to make
himself
> > feel all nerdy and stuff.
>
>   Hmm... I answer about 100x more questions on this list than you do,
> so I don't see what you're complaining about.  If you don't like my
> responses, you should have the balls to answer questions yourself.
>
>   But you don't.  Instead, you whine about how you don't like my
> answers.  So even though I'm provably friendlier and more helpful than
> you are, you think I should be doing more.  That's not rude, it's just
> stupid.
>
>   I've got a simple response: Pay me to help you, and I'll be
> endlessly polite.  If you're not going to pay me, and if you're not
> going to lift a finger to help people, then shut up, and stop
> complaining about my answers.
>
>   Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
>
>


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Need Help with SNMP

2003-07-31 Thread Alan DeKok
Steven Fries <[EMAIL PROTECTED]> wrote:
> What Mr. DeKok means is...
> 
> He's a giant jerk and thinks he's too important to answer your questions, so
> he has to make snide remarks questioning your intelligence to make himself
> feel all nerdy and stuff.

  Hmm... I answer about 100x more questions on this list than you do,
so I don't see what you're complaining about.  If you don't like my
responses, you should have the balls to answer questions yourself.

  But you don't.  Instead, you whine about how you don't like my
answers.  So even though I'm provably friendlier and more helpful than
you are, you think I should be doing more.  That's not rude, it's just
stupid.

  I've got a simple response: Pay me to help you, and I'll be
endlessly polite.  If you're not going to pay me, and if you're not
going to lift a finger to help people, then shut up, and stop
complaining about my answers.

  Alan DeKok.
  

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Need Help with SNMP

2003-07-31 Thread Steven Fries
What Mr. DeKok means is...

He's a giant jerk and thinks he's too important to answer your questions, so he has to 
make snide remarks questioning your intelligence to make himself feel all nerdy and 
stuff.

Best advice, keep playing till you get something.



You wrote:
> "Atanu Das" <[EMAIL PROTECTED]> wrote:
> > But while I run the snmpget query in the test environment I get the
> > following message
> > 
> > [EMAIL PROTECTED] snmp]# snmpget -v2c -c myradius localhost
> > .1.3.6.1.2.1.67.1.1.1.1.5.0
> > SNMPv2-SMI::mib-2.67.1.1.1.1.5.0 = Counter32: 0
> > [EMAIL PROTECTED] snmp]# snmpget -v2c -c myradius localhost
> > .1.3.6.1.2.1.67.2.1.1.1.5.0
> > SNMPv2-SMI::mib-2.67.2.1.1.1.5.0 = Counter32: 0



> So... what are the values you're querying?  Most people don't keey
> ~8 digit numbers in their heads for every MIB query, and if you can't
> be bothered to look them up, I don't think you should expect that
> anyone else would, either.
>   Alan DeKok.
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

--


Re: Need Help with SNMP

2003-07-31 Thread Alan DeKok
"Atanu Das" <[EMAIL PROTECTED]> wrote:
> But while I run the snmpget query in the test environment I get the
> following message
> 
> [EMAIL PROTECTED] snmp]# snmpget -v2c -c myradius localhost
> .1.3.6.1.2.1.67.1.1.1.1.5.0
> SNMPv2-SMI::mib-2.67.1.1.1.1.5.0 = Counter32: 0
> [EMAIL PROTECTED] snmp]# snmpget -v2c -c myradius localhost
> .1.3.6.1.2.1.67.2.1.1.1.5.0
> SNMPv2-SMI::mib-2.67.2.1.1.1.5.0 = Counter32: 0

  So... what are the values you're querying?  Most people don't keey
~8 digit numbers in their heads for every MIB query, and if you can't
be bothered to look them up, I don't think you should expect that
anyone else would, either.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Need Help with SNMP

2003-07-31 Thread Alan DeKok
Harrie Hazewinkel <[EMAIL PROTECTED]> wrote:
> While looking at it to upgrade to net-snmp, I was wondering why
> you do a compile test for some include files and not just a
> check??

  It's part of autoconf.  Ask them.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Need Help with SNMP

2003-07-31 Thread Atanu Das
Greetings Everybody
and special thanks to Mr. Phillip Blow and Mr. Alan DeKok

I got my radius compiled with SNMP support.

But while I run the snmpget query in the test environment I get the
following message

[EMAIL PROTECTED] snmp]# snmpget -v2c -c myradius localhost
.1.3.6.1.2.1.67.1.1.1.1.5.0
SNMPv2-SMI::mib-2.67.1.1.1.1.5.0 = Counter32: 0
[EMAIL PROTECTED] snmp]# snmpget -v2c -c myradius localhost
.1.3.6.1.2.1.67.2.1.1.1.5.0
SNMPv2-SMI::mib-2.67.2.1.1.1.5.0 = Counter32: 0

At the time of runnning this command, five accounting session was there and
18 authentication request were taking place simultaneously.

Well Just like that, is the message natural???

Ats


- Original Message - 
From: "Harrie Hazewinkel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Harrie Hazewinkel" <[EMAIL PROTECTED]>
Sent: Thursday, July 31, 2003 6:10 PM
Subject: Re: Need Help with SNMP


>
> On Tuesday, July 29, 2003, at 08:01 PM, Alan DeKok wrote:
>
> > "Atanu Das" <[EMAIL PROTECTED]> wrote:
> >> net-snmp-5.0.6-17
> >
> >   FreeRADIUS can't use net-snmp.
>
> While looking at it to upgrade to net-snmp, I was wondering why
> you do a compile test for some include files and not just a
> check?? Do you want to make sure the files contain a content
> you expect?? If so, you need to use various types defined
> in there and not just 'int a = 1;'
>
> >
> >> This is just a wild guess. But I have the ucd-snmp as well net-snmp
> >> headers in /usr/include/ucd-snmp and /usr/include/net-snmp.
> >
> >   Then get the server to look at *only* ucd-snmp, and ignore net-snmp.
> >
>
>
>
> regards,
> Harrie
>
>
> -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
>
>


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Need Help with SNMP

2003-07-31 Thread Harrie Hazewinkel
On Tuesday, July 29, 2003, at 08:01 PM, Alan DeKok wrote:

"Atanu Das" <[EMAIL PROTECTED]> wrote:
net-snmp-5.0.6-17
  FreeRADIUS can't use net-snmp.
While looking at it to upgrade to net-snmp, I was wondering why
you do a compile test for some include files and not just a
check?? Do you want to make sure the files contain a content
you expect?? If so, you need to use various types defined
in there and not just 'int a = 1;'

This is just a wild guess. But I have the ucd-snmp as well net-snmp
headers in /usr/include/ucd-snmp and /usr/include/net-snmp.
  Then get the server to look at *only* ucd-snmp, and ignore net-snmp.



regards,
Harrie
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: Need Help with SNMP

2003-07-29 Thread Philip Blow
Ats,

The way I got this working was to remove the ifdefs in the headers files
in /usr/include/ucd-snmp. Then it complies fine.

I have also started making some other changes to allow more snmp
information to be collected (it was to a pre 0.9.0 snapshot), but will
need a bit more time to sort it out and the patches will need to be
approved.

Alan,

I think that when the --enable-ucb-snmp-compatibility switch is passed
to ./configure, the configure script does not #define UCD_COMPATABILITY.
This might be the problem.

Cheers,

Philip Blow
Senior Technical Manager
Simply Wireless

> -Original Message-
> From: Atanu Das [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, 30 July 2003 4:46 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Need Help with SNMP 
> 
> 
> Hi Alan,
> 
> Thanks for such a prompt reply. I got your point.
> 
> I think I will have to install the **OLD** version of ucd-snmp
> (ucd-snmp-4.2.6) in my RedHat 9 box.
> The headers that i have in /usr/include/ucd-snmp are
> 
> asn1.h-
> #ifdef UCD_COMPATIBLE
> #include 
> #else
> #error "Please update your headers or configure
> using --enable-ucd-snmp-compatibility"
> #endif
> --snmp.h---
> #ifdef UCD_COMPATIBLE
> #include 
> #else
> #error "Please update your headers or configure
> using --enable-ucd-snmp-compatibility"
> #endif
> 
> ---snmp_impl.h-
> #ifdef UCD_COMPATIBLE
> #include 
> #include 
> #include 
> #else
> #error "Please update your headers or configure
> using --enable-ucd-snmp-compatibility"
> #endif
> 
> and all the files are using the headers of net-snmp. This has 
> left me with
> no choice :)
> 
> Thanks anyway
> 
> Regards,
> 
> Ats
> 
> - Original Message - 
> From: "Alan DeKok" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 29, 2003 11:31 PM
> Subject: Re: Need Help with SNMP
> 
> 
> > "Atanu Das" <[EMAIL PROTECTED]> wrote:
> > > net-snmp-5.0.6-17
> >
> >   FreeRADIUS can't use net-snmp.
> >
> > > This is just a wild guess. But I have the ucd-snmp as 
> well net-snmp
> > > headers in /usr/include/ucd-snmp and /usr/include/net-snmp.
> >
> >   Then get the server to look at *only* ucd-snmp, and 
> ignore net-snmp.
> >
> >   Alan DeKok.
> >
> > -
> > List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
> >
> >
> 
> 
> - 
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html
> 

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Need Help with SNMP

2003-07-29 Thread Atanu Das
Hi Alan,

Thanks for such a prompt reply. I got your point.

I think I will have to install the **OLD** version of ucd-snmp
(ucd-snmp-4.2.6) in my RedHat 9 box.
The headers that i have in /usr/include/ucd-snmp are

asn1.h-
#ifdef UCD_COMPATIBLE
#include 
#else
#error "Please update your headers or configure
using --enable-ucd-snmp-compatibility"
#endif
--snmp.h---
#ifdef UCD_COMPATIBLE
#include 
#else
#error "Please update your headers or configure
using --enable-ucd-snmp-compatibility"
#endif

---snmp_impl.h-
#ifdef UCD_COMPATIBLE
#include 
#include 
#include 
#else
#error "Please update your headers or configure
using --enable-ucd-snmp-compatibility"
#endif

and all the files are using the headers of net-snmp. This has left me with
no choice :)

Thanks anyway

Regards,

Ats

- Original Message - 
From: "Alan DeKok" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 29, 2003 11:31 PM
Subject: Re: Need Help with SNMP


> "Atanu Das" <[EMAIL PROTECTED]> wrote:
> > net-snmp-5.0.6-17
>
>   FreeRADIUS can't use net-snmp.
>
> > This is just a wild guess. But I have the ucd-snmp as well net-snmp
> > headers in /usr/include/ucd-snmp and /usr/include/net-snmp.
>
>   Then get the server to look at *only* ucd-snmp, and ignore net-snmp.
>
>   Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
>
>


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Need Help with SNMP

2003-07-29 Thread Alan DeKok
"Atanu Das" <[EMAIL PROTECTED]> wrote:
> net-snmp-5.0.6-17

  FreeRADIUS can't use net-snmp.

> This is just a wild guess. But I have the ucd-snmp as well net-snmp
> headers in /usr/include/ucd-snmp and /usr/include/net-snmp.

  Then get the server to look at *only* ucd-snmp, and ignore net-snmp.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html