net-snmp and process monitoring

Mike McGrath mmcgrath at iesabroad.org
Wed Mar 16 16:04:56 UTC 2005


In case anyone else is running into this issue, It's a conflict with
selinux.  I'll try to figure out what policy will fix this and post it
later.

 

            -Mike

 

 

________________________________

From: fedora-list-bounces at redhat.com
[mailto:fedora-list-bounces at redhat.com] On Behalf Of Mike McGrath
Sent: Tuesday, March 15, 2005 3:07 PM
To: fedora-list at redhat.com
Subject: net-snmp and process monitoring

 

I'm trying to use net-snmp to do process monitoring.  For example on a
machine with a non FC3 net-snmp implementation I have in my snmpd.conf
file:

 

proc httpd

 

when I do an snmpwalk I get:

 

.iso.org.dod.internet.private.enterprises.ucdavis.prTable.prEntry.prInde
x.1 = INTEGER: 1

.iso.org.dod.internet.private.enterprises.ucdavis.prTable.prEntry.prName
s.1 = STRING: httpd

.iso.org.dod.internet.private.enterprises.ucdavis.prTable.prEntry.prMin.
1 = INTEGER: 0

.iso.org.dod.internet.private.enterprises.ucdavis.prTable.prEntry.prMax.
1 = INTEGER: 0

.iso.org.dod.internet.private.enterprises.ucdavis.prTable.prEntry.prCoun
t.1 = INTEGER: 11

.iso.org.dod.internet.private.enterprises.ucdavis.prTable.prEntry.prErro
rFlag.1 = INTEGER: 0

.iso.org.dod.internet.private.enterprises.ucdavis.prTable.prEntry.prErrM
essage.1 = STRING:

.iso.org.dod.internet.private.enterprises.ucdavis.prTable.prEntry.prErrF
ix.1 = INTEGER: 0

.iso.org.dod.internet.private.enterprises.ucdavis.prTable.prEntry.prErrF
ixCmd.1 = STRING:

 

Indicating that the process is running (not there's no error message or
flag)

 

However on a FC3 machine when I use the same config and same walk here's
the output

 

.iso.org.dod.internet.private.enterprises.ucdavis.prTable.prEntry.prInde
x.1 = INTEGER: 1

.iso.org.dod.internet.private.enterprises.ucdavis.prTable.prEntry.prName
s.1 = STRING: httpd

.iso.org.dod.internet.private.enterprises.ucdavis.prTable.prEntry.prMin.
1 = INTEGER: 0

.iso.org.dod.internet.private.enterprises.ucdavis.prTable.prEntry.prMax.
1 = INTEGER: 0

.iso.org.dod.internet.private.enterprises.ucdavis.prTable.prEntry.prCoun
t.1 = INTEGER: 0

.iso.org.dod.internet.private.enterprises.ucdavis.prTable.prEntry.prErro
rFlag.1 = INTEGER: 1

.iso.org.dod.internet.private.enterprises.ucdavis.prTable.prEntry.prErrM
essage.1 = STRING: No httpd process running.

.iso.org.dod.internet.private.enterprises.ucdavis.prTable.prEntry.prErrF
ix.1 = INTEGER: 0

.iso.org.dod.internet.private.enterprises.ucdavis.prTable.prEntry.prErrF
ixCmd.1 = STRING:

 

Even though httpd is running.  Any ideas whats going on?

 

 

            -Mike

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050316/fbc2d6a2/attachment-0001.htm>


More information about the fedora-list mailing list