Solaris, Apache, and Snmp

From: Chris Denneen (sunmanagers@ghostspace.com)
Date: Thu Jul 25 2002 - 12:11:31 EDT


All,

Ok this has thrown me for a loop.
I have looked around and can't figure out why this is the way it is but
maybe one of you can explain it to me:

we have built apache and installed it in /opt/apache
in the ps list(ps -ef) you can find /opt/apache/bin/httpd
which i expect.
but here's where I get lost.
in snmpd.conf I specified:
proc httpd
and it didn't work.
after realizing snmpd reads proc information from /proc/$PID/psinfo I
decided to figure out why it wasn't working
for some reason here is the contents of my psinfo file:

???@H;xo=-Y~
ICa#libhttpd.ep/opt/apache/bin/httpd>|t>||SW(;=-Y~ TS
bash-2.03#

if you noticed its right before the full path is what it thinks is the
process list..
it knows the full path is /opt/apache/bin/httpd but it thinks the
process is libhttpd.ep

I am trying to figure out why the contents of this psinfo file isn't:

???@H;xo=-Y~
ICa#httpd/opt/apache/bin/httpd>|t>||SW(;=-Y~ TS
bash-2.03#

can someone tell me why its like this?
I can't figure it out.. but putting:
proc libhttpd.ep
in the snmpd.conf works....

Can someone shed some light on this subject.

Thanks

-Chris
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:39 EDT