100% CPU Problem

2008-03-07 Thread Jean-Sebastien Morisset
of this? Thanks, js. -- Jean-Sebastien Morisset, Sr. UNIX Administrator [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go

Re: 5.4 compile problem on x86 Solaris 10...

2006-11-30 Thread Jean-Sebastien Morisset
On Wed, Nov 29, 2006 at 11:18:35PM +0100, Thomas Anders wrote: Jean-Sebastien Morisset wrote: I'm upgrading from 5.3.0.1 to 5.4 and ran accross a little problem on an x86 Solaris 10 box -- this is my first attempt at compiling 5.4. What's your full configure line? ./configure --enable

5.4 compile problem on x86 Solaris 10...

2006-11-29 Thread Jean-Sebastien Morisset
I'm upgrading from 5.3.0.1 is that I've busted the HD oids on some 3+ TB filesystems. I'm hoping 5.4 will fix this. :-) # snmpwalk sunbox-a1 .1.3.6.1.4.1.2021.9.1.6 UCD-SNMP-MIB::dskTotal.1 = INTEGER: 75066407 UCD-SNMP-MIB::dskTotal.2 = INTEGER: -2147483648 Thanks, js. -- Jean-Sebastien Morisset

Excluding OIDs -- is this right?

2006-10-02 Thread Jean-Sebastien Morisset
interfaces.ifTable.ifEntry.ifIndex.6 Does this look good? If anyone can suggest an alternative to exclude virtual interfaces on Solaris, I'd appreciate any tips. Thanks! js. -- Jean-Sebastien Morisset, Sr. UNIX Administrator [EMAIL PROTECTED] Personal Home Page http://jsmoriss.mvlan.net/ Underwater

Values for 1Gb interfaces...

2006-09-18 Thread Jean-Sebastien Morisset
::ifOutOctets.6 = Counter32: 0 What are people doing to gather stats on a 1Gb interface? Thanks, js. -- Jean-Sebastien Morisset, Sr. UNIX Administrator [EMAIL PROTECTED] Personal Home Page http://jsmoriss.mvlan.net/ Underwater and Travel Photographs http://www.mvpix.com

Re: Values for 1Gb interfaces...

2006-09-18 Thread Jean-Sebastien Morisset
--with-persistent-directory=/var/net-snmp/ Thanks, js. On Mon, Sep 18, 2006 at 01:23:06PM -0400, Dominique bastien wrote: Use the ifXtable information. 1.3.6.1.2.1.31.1.1.1.6 p.s. Don't forget to be in v2c because the 64bits counter are not in v1. Dominique --- Jean-Sebastien Morisset [EMAIL

Frequency of ifOutOctets stats???

2006-09-12 Thread Jean-Sebastien Morisset
] kstat_change=`expr $kstat_bytes - $kstat_last` kstat_last=$kstat_bytes echo `date` : snmp $snmp_change, kstat $kstat_change sleep 1 done Does anyone know how I can get Net-SNMP to return accurate second-by-second stats for ifOutOctets? Thanks, js. -- Jean-Sebastien Morisset, Sr

Net-SNMP + Solaris kstat + OpenNMS

2006-08-10 Thread Jean-Sebastien Morisset
-kstat.conf file attached needs 5 graph blocks to display all the md and sd values. Want to know what it looks like? I've attached a graph.png file to give you an idea... LateR! js. -- Jean-Sebastien Morisset, Sr. UNIX Administrator [EMAIL PROTECTED] Personal Home Page http://jsmoriss.mvlan.net

No -p port parameter?

2006-03-30 Thread Jean-Sebastien Morisset
v5.3.0.1. Thanks, js. -- Jean-Sebastien Morisset, Sr. UNIX Administrator [EMAIL PROTECTED] Personal Home Page http://jsmoriss.mvlan.net/ Underwater and Travel Photographs http://www.mvpix.com/ --- This SF.Net email is sponsored by xPML

Re: Sub-id not found error?

2006-03-28 Thread Jean-Sebastien Morisset
On Tue, Mar 28, 2006 at 09:08:34AM +0100, Dave Shield wrote: On Mon, 2006-03-27 at 15:46 -0500, Jean-Sebastien Morisset wrote: If I stop cron using the following in my snmpd.conf file: monitor -S -r 128 -o prNames -o prErrMessage procTable prErrorFlag != 0 Then it work fine

Sub-id not found error?

2006-03-27 Thread Jean-Sebastien Morisset
lmFanSensorsDevice.9 -o lmFanSensorsValue.9 lmFanSensors.9 lmFanSensorsValue.9 = 0 monitor -r 128 -o lmFanSensorsDevice.10 -o lmFanSensorsValue.10 lmFanSensors.10 lmFanSensorsValue.10 = 0 Thanks, js. -- Jean-Sebastien Morisset, Sr. UNIX Administrator [EMAIL PROTECTED] Personal Home Page http

Re: Sub-id not found error?

2006-03-27 Thread Jean-Sebastien Morisset
On Mon, Mar 27, 2006 at 07:43:45PM +0200, Thomas Anders wrote: Jean-Sebastien Morisset wrote: I'm trying to debug some monitoring lines in my snmpd.conf file that aren't working. After restarting snmpd, I get the following error in my snmpd.log file. Any ideas what this might mean? # tail

Re: Sub-id not found error?

2006-03-27 Thread Jean-Sebastien Morisset
On Mon, Mar 27, 2006 at 01:49:41PM -0500, Jean-Sebastien Morisset wrote: On Mon, Mar 27, 2006 at 07:43:45PM +0200, Thomas Anders wrote: Jean-Sebastien Morisset wrote: I'm trying to debug some monitoring lines in my snmpd.conf file that aren't working. After restarting snmpd, I get

Re: Sub-id not found error?

2006-03-27 Thread Jean-Sebastien Morisset
On Mon, Mar 27, 2006 at 03:27:55PM -0500, Jean-Sebastien Morisset wrote: On Mon, Mar 27, 2006 at 01:49:41PM -0500, Jean-Sebastien Morisset wrote: On Mon, Mar 27, 2006 at 07:43:45PM +0200, Thomas Anders wrote: Jean-Sebastien Morisset wrote: I'm trying to debug some monitoring lines in my

Monitor line not working...

2006-03-24 Thread Jean-Sebastien Morisset
purposes). :-) The sensor _is_ working: # snmpget -c devunix6 lmMiscSensorsValue.190 LM-SENSORS-MIB::lmMiscSensorsValue.190 = Gauge32: 0 Any ideas? Thanks, js. -- Jean-Sebastien Morisset, Sr. UNIX Administrator [EMAIL PROTECTED] Personal Home Page http://jsmoriss.mvlan.net/ Underwater

pass_persist timing out!?

2006-03-13 Thread Jean-Sebastien Morisset
ideas where I might have gone wrong? :-) Thanks! js. -- Jean-Sebastien Morisset, Sr. UNIX Administrator [EMAIL PROTECTED] Personal Home Page http://jsmoriss.mvlan.net/ Underwater and Travel Photographs http://www.mvpix.com/ --- This SF.Net email

Re: pass_persist timing out!?

2006-03-13 Thread Jean-Sebastien Morisset
Never mind, found the problem. Sorry for the spam. :-) js. On Mon, Mar 13, 2006 at 01:55:10PM -0500, Jean-Sebastien Morisset wrote: Hi everyone, I wrote a script that was working very well with the pass config option. In order to improve it's speed (mostly perl load times), I changed

Re: Need help using embedded perl with Solaris...

2006-03-10 Thread Jean-Sebastien Morisset
Sorry guys, Bruce kindly reminded me to read the solaris README, where this whole embedded compiling issue is explained very well. :-) Thanks, js. On Fri, Mar 10, 2006 at 12:07:42PM -0500, Jean-Sebastien Morisset wrote: Hi everyone, I wrote a perl script to return various stats on specific

Missing OID?

2006-03-06 Thread Jean-Sebastien Morisset
: # ./configure --with-perl-modules --with-openssl=/usr/local/ssl \ --with-mib-modules=host disman/event-mib ucd-snmp/diskio smux agentx \ --with-cc=gcc Is there a way to get this OID, or should I just bite the bullet and exclude it from the graphs? Thanks, js. -- Jean-Sebastien Morisset, Sr. UNIX

Net-SNMP w/ Solaris 10 libseaProxy/Extensions.so doesn't work!

2006-03-06 Thread Jean-Sebastien Morisset
MD5|SHA defPrivType DES|AES defSecurityLevel noAuthNoPriv|authNoPriv|authPriv -- Jean-Sebastien Morisset, Sr. UNIX Administrator [EMAIL PROTECTED] Personal Home Page http://jsmoriss.mvlan.net/ Underwater and Travel Photographs http://www.mvpix.com

Re: Bug? Got it!

2006-03-03 Thread Jean-Sebastien Morisset
On Fri, Mar 03, 2006 at 10:37:37AM +, Dave Shield wrote: On Thu, 2006-03-02 at 14:00 -0500, Jean-Sebastien Morisset wrote: Can we use an AND in the monitor line? Something like: monitor -r 70 -o dskPath -o dskErrorMsg dskTable dskErrorFlag != 0 dskUsed = 0 Not directly. The Event

Using procfix...

2006-03-03 Thread Jean-Sebastien Morisset
config sections: procautomountd 1 1 procfix automountd /usr/sbin/svcadm enable autofs monitor -S -r 128 -o prNames -o prErrMessage procTable prErrorFlag != 0 Any info on what I _shoudl_ expect from the above would be appreciated. :-) Thanks, js. -- Jean-Sebastien Morisset, Sr. UNIX

Re: Using procfix...

2006-03-03 Thread Jean-Sebastien Morisset
On Fri, Mar 03, 2006 at 02:32:11PM +, Dave Shield wrote: On Fri, 2006-03-03 at 08:47 -0500, Jean-Sebastien Morisset wrote: This morning I found automountd down on a few servers, so I'm looking at the procfix feature in snmpd.conf. The details on it's use are a little sketchy. For example

Trap sent for no procTable error?

2006-03-02 Thread Jean-Sebastien Morisset
proc sshd 100 1 proc syseventd 1 1 proc syslogd 1 1 proc utmpd 1 1 proc vxconfigd 1 1 proc vxnotify 1 1 proc vxrelocd 3 1 proc wots 1 1 proc xntpd 1 1 Any idea why Net-SNMP would send a trap for cron? Thanks, js. -- Jean-Sebastien

Re: Bug?

2006-03-02 Thread Jean-Sebastien Morisset
On Thu, Mar 02, 2006 at 01:08:49PM +, Dave Shield wrote: On Wed, 2006-03-01 at 15:09 -0500, Jean-Sebastien Morisset wrote: On Wed, Mar 01, 2006 at 09:27:30AM +, Dave Shield wrote: Can you try walking the UCD-SNMP-MIB:dskTable Ah, of course, I didn't notice that dskTable in the error

Re: Bug? Got it!

2006-03-02 Thread Jean-Sebastien Morisset
On Thu, Mar 02, 2006 at 01:08:49PM +, Dave Shield wrote: On Wed, 2006-03-01 at 15:09 -0500, Jean-Sebastien Morisset wrote: On Wed, Mar 01, 2006 at 09:27:30AM +, Dave Shield wrote: Can you try walking the UCD-SNMP-MIB:dskTable Ah, of course, I didn't notice that dskTable in the error

Re: Bug? Got it!

2006-03-02 Thread Jean-Sebastien Morisset
On Thu, Mar 02, 2006 at 02:53:04PM +, Dave Shield wrote: On Thu, 2006-03-02 at 09:38 -0500, Jean-Sebastien Morisset wrote: I was able to reproduce the problem. I copied a few gigs on the filesystem and then removed it. Right after, I ran an snmpwalk. It stuck for second half way through

Re: Trap sent for no procTable error?

2006-03-02 Thread Jean-Sebastien Morisset
On Thu, Mar 02, 2006 at 05:25:30PM +, Dave Shield wrote: On Thu, 2006-03-02 at 08:10 -0500, Jean-Sebastien Morisset wrote: I seem to have a little problem. I have several Net-SNMP v5.3.0.1 clients on various Solaris servers, and I get the following trap from several of them

Re: Bug? Got it!

2006-03-02 Thread Jean-Sebastien Morisset
On Thu, Mar 02, 2006 at 02:53:04PM +, Dave Shield wrote: On Thu, 2006-03-02 at 09:38 -0500, Jean-Sebastien Morisset wrote: I was able to reproduce the problem. I copied a few gigs on the filesystem and then removed it. Right after, I ran an snmpwalk. It stuck for second half way through

Re: Bug?

2006-03-01 Thread Jean-Sebastien Morisset
On Wed, Mar 01, 2006 at 09:27:30AM +, Dave Shield wrote: On Tue, 2006-02-28 at 14:28 -0500, Jean-Sebastien Morisset wrote: And I receive the following trap: mteTriggerFired trap received from devsolx4.dev.me.org: dskTable .1.3.6.1.4.1.2021.9.1.100.3 1 /export/san /export/san: less than

Bug?

2006-02-28 Thread Jean-Sebastien Morisset
= INTEGER: 857894876 hrStorageUsed.10 = INTEGER: 613520 As you can see, there's really no space problem. Could net-snmp have a problem with the disk size (818GB)? Thanks, js. -- Jean-Sebastien Morisset, Sr. UNIX Administrator [EMAIL PROTECTED] Personal Home Page http://jsmoriss.mvlan.net/ Underwater

Re: Trying to generate traps...

2006-02-24 Thread Jean-Sebastien Morisset
On Fri, Feb 24, 2006 at 09:12:28AM +, Dave Shield wrote: On Thu, 2006-02-23 at 16:26 -0500, Jean-Sebastien Morisset wrote: Hi everyone, I'm trying to configure Net-SNMP to send traps when a process is missing, disk space is low, etc. According to the examples page ( http://net

Re: Trying to generate traps...

2006-02-24 Thread Jean-Sebastien Morisset
On Fri, Feb 24, 2006 at 03:45:41PM +, Dave Shield wrote: On Fri, 2006-02-24 at 10:31 -0500, Jean-Sebastien Morisset wrote: On Fri, Feb 24, 2006 at 09:12:28AM +, Dave Shield wrote: Which version of the agent are you using? 5.1.1 for Solaris 8 sparc Hmmm That's a fairly old

Re: Trying to generate traps...

2006-02-24 Thread Jean-Sebastien Morisset
On Fri, Feb 24, 2006 at 02:25:10PM -0500, Jean-Sebastien Morisset wrote: [sni!] I compiled v5.3.0.1 and received the following trap (in OpenNMS): Cisco Event: mteTriggerFired trap received mteHotTrigger=process table mteHotTargetName= mteHotContextName= mteHotOID

Trying to generate traps...

2006-02-23 Thread Jean-Sebastien Morisset
-o laNames -o laErrMessage laTable laErrorFlag != 0 monitor -r 60 -o fileName -o fileErrorMsg fileTable fileErrorFlag != 0 Thanks, js. -- Jean-Sebastien Morisset, Sr. UNIX Administrator [EMAIL PROTECTED] Personal Home Page http://jsmoriss.mvlan.net/ Underwater and Travel Photographs