Solaris, Apache, and Snmp

2007-12-24 23:17:00

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

Comments

Got something to say?

You must be logged in to post a comment.