Re: SNMP Support in PHP

2004-08-30 Thread Users
On Mon, 30 Aug 2004 21:36:42 -0700 (PDT) Mark wrote: MC> SNMP support in PHP is decent for normal tasks, but we MC> have need for v2c support as well as non-blocking MC> callbacks. I've written a patch to make all SNMP MC> requests v2c, and subsequently all walks bulkwalks and MC> posted it to the

Re: Add a useful utility into agent

2004-08-30 Thread Users
On Tue, 31 Aug 2004 12:12:15 +0800 Jim wrote: JS> #1 I added the option "--with-ldflags="-L ../../authutil/ -lauth" to JS> the configure line. The make failed due to "error: C compiler cannot JS> create executables" JS>Perhaps you can point out the error JS>I made in th

Ye Huang/ITG is out of the office.

2004-08-30 Thread yhuang
I will be out of the office starting 08/30/2004 and will not return until 09/15/2004. I will respond to your message when I return if needed. -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- This message is for the named person's use only. This communication is f

SNMP Support in PHP

2004-08-30 Thread Mark Cotner
Hi all, I use PERL for all of my polling currently and would like to thank the Net-SNMP team for a great module. Having said that, it would be significant if we could maintain one code base for all of our applications in PHP. SNMP support in PHP is decent for normal tasks, but we have need for

RE: Add a useful utility into agent

2004-08-30 Thread Jim Su
Hi Robert: I did the following three tests. #1 I added the option "--with-ldflags="-L ../../authutil/ -lauth" to the configure line. The make failed due to "error: C compiler cannot create executables" #2 I changed the path to ../authutil/ the make failed due to the subdirectory 'age

Re: Fata error while run snmpd

2004-08-30 Thread Vikas Aggarwal
As a general comment, this libcrypto.so thing has been pretty annoying. If you download the openssl source and try to compile this library on solaris, by default it does not build the shared lib. The compiled openssl distributed from ibiblio does not provide the shared library. So I am still not su

Solaris Swap Info

2004-08-30 Thread Young, Darren
Watching ssSwapIn.0 and ssSwapOut.0 on Solaris 8, however they never go over 0. Some other OID I should be watching? Darren Young Senior UNIX Administrator University of Chicago Graduate School of Business [EMAIL PROTECTED] Voice: 773-702-0331 ---

Re: Solaris CPU Stats

2004-08-30 Thread C Wells
I my experience these are counters (like time ticks) which don't add up to 100, so I don't think that 100 -Idle will work. --- Niels Baggesen <[EMAIL PROTECTED]> wrote: > You could also just look at 100 - Idle > > /Niels __ Do you Yahoo!? Yahoo!

Re: Solaris CPU Stats

2004-08-30 Thread C Wells
Total_ticks = RawNice + RawSys + RawUser + RawIdle % Idle = (RawIdle / Total_ticks) * 100 In your case swap wait with nice, unless you have both. --- "Young, Darren" <[EMAIL PROTECTED]> wrote: > Out of these: > > UCD-SNMP-MIB::ssCpuRawUser.0 > UCD-SNMP-MIB::ssCpuRawSystem.0 > UCD-SNMP-MIB::ss

Re: Solaris CPU Stats

2004-08-30 Thread Niels Baggesen
On Mon, Aug 30, 2004 at 04:56:43PM -0500, Young, Darren wrote: > Out of these: > > UCD-SNMP-MIB::ssCpuRawUser.0 > UCD-SNMP-MIB::ssCpuRawSystem.0 > UCD-SNMP-MIB::ssCpuRawIdle.0 > UCD-SNMP-MIB::ssCpuRawWait.0 > UCD-SNMP-MIB::ssCpuRawKernel.0 > > Which ones should I sum up to get an idea of the over

Solaris CPU Stats

2004-08-30 Thread Young, Darren
Out of these: UCD-SNMP-MIB::ssCpuRawUser.0 UCD-SNMP-MIB::ssCpuRawSystem.0 UCD-SNMP-MIB::ssCpuRawIdle.0 UCD-SNMP-MIB::ssCpuRawWait.0 UCD-SNMP-MIB::ssCpuRawKernel.0 Which ones should I sum up to get an idea of the overall CPU utilization on a Sun Solaris 8 system? User + System + Wait + Kernel ?

Re: Saving persistent values *now*

2004-08-30 Thread cnelson
(I've read this 3 times but I guess it's been a long day 'cuz it doesn't make sense to me.) > Ok what I do is keep a local copy Local to what function? Where? > of the set request data in an array. This > could easily be a linked list of objects. When a set request is > made I check > a COMM

Re: error in linking libraries in Visual c++ and visual .NET

2004-08-30 Thread Users
On Sun, 29 Aug 2004 12:46:02 +0200 Egil wrote: EAG> Anyways, my problem is that I downloaded the source code for windows, EAG> and compiled it from scratch, following the help documentation. EAG> It all seemed to be in order, until I started to code using net-snmp EAG> functions. Then I got an erro

Re: Add a useful utility into agent

2004-08-30 Thread Users
On Mon, 30 Aug 2004 17:57:45 +0800 Jim wrote: JS> One useful routine was created out side of net-snmp build directory. In JS> my application this routine can be used by mibII module to determine JS> the model type. JS> [...] JS> The make in mibgroup doesn't have problem - the routin

Re: Saving persistent values *now*

2004-08-30 Thread Gary Clark
] >>I've got some persistent values working but it appears that they are only saved when my sub-agent is shutting down. If it (or the >>sysetm it's on) crashes, the values are lost. This seems to be unusual or undesireable (at least for me) behavior. I guess you could >>argue that you don't wa

RE: Fata error while run snmpd

2004-08-30 Thread Bruce Shaw
This is covered in README.solaris Try /usr/bin/crle -u -l /usr/local/ssl/lib >/usr/local/sbin/snmpd >ld.so.1: /usr/local/sbin/snmpd: fatal: libcrypto.so.0.9.7: open >failed: No such file or directory >I also have correct libcrypto.so.0.9.7 under /usr/local/ssl/lib: This communication is inten

Fata error while run snmpd

2004-08-30 Thread Wes Zhang
Hi All, Due to limited option on a Solaris 8 system, I installed binary distribution of net-snmp-5.1.2. I got following error while running /usr/local/sbin/snmpd ld.so.1: /usr/local/sbin/snmpd: fatal: libcrypto.so.0.9.7: open failed: No such file or directory I also have correct libcrypto.so.0.9

error in linking libraries in Visual c++ and visual .NET

2004-08-30 Thread Egil Andre Greaker
God day, dear sourceforge   I am currently working on a project that requires SNMP protocol and I chose to use net-snmp because of its simplicity and stability. My first part of the project was to program on Linux,  which turned out to be a walk in the park thanks to your excellent docume