Re: Monitoring processes on Windows 2000 using Net SNMP running on

This is a discussion on Re: Monitoring processes on Windows 2000 using Net SNMP running on within the SNMP Coders forums, part of the Networking and Network Related category; On Mon, 2005-11-21 at 10:48, Dave Shield wrote: > On Fri, 2005-11-18 at 09:28 +...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-22-2005
Mark Harper
 
Posts: n/a
Default Re: Monitoring processes on Windows 2000 using Net SNMP running on

On Mon, 2005-11-21 at 10:48, Dave Shield wrote:
> On Fri, 2005-11-18 at 09:28 +0000, Mark Harper wrote:
> > I am unable to set up my snmpd.conf proc command to
> > handle spaces in the path e.g.
> >
> > /program files/<progname.exe>

>
> I presume you've tried the usual technique of quoting the
> PROC parameter?
> It wouldn't surprise me if this didn't work, though it would
> certainly be helpful if it did (regardless of alternative ps
> commands). I'd suggest that you log it as a bug, to ensure
> that this doesn't get forgotten.
>
>
> > Is there a way to configure NetSnmp to use a different ps?

>
> See the definition "PSCMD" in the include/net-snmp/net-snmp-config.h
> file.
>
> Dave


I did try to enclose the proc command path in quotes but this didn't
work. I will log this as a bug shortly.

I managed to change PSCMD within net-snmp-config.h from "/bin/ps -eW" to
"/usr/bin/ps.perl -eW" (make, make install) and this worked!! I think
this is a cheat though as net-snmp-config.h is generated from the files,
configure and configure.in and I'm not sure how to go about altering
these to generate the correct net-snmp-config.h.

I'm happy for the moment though and thanks for your assistance.

Mark



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:54 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0