[Mod-apache-snmp-users] Help APACHE2-MIB::serverUptime.0 = Not Running
Monitor Apache using SNMP
Brought to you by:
eplx
From: neil c. <cam...@ho...> - 2008-12-18 01:44:36
|
Hi I have installed the Mod-Apache-snmp following the instructions. However, whenever I try and snmpget anything, it always return Not running and zero values Example [root@local ~]# snmpget -v2c -c public 127.0.0.1 APACHE2-MIB::serverUptime.0 APACHE2-MIB::serverUptime.0 = STRING: Not running [root@local ~]# snmpget -v2c -c public localhost APACHE2-MIB::idleWorkers.0 APACHE2-MIB::idleWorkers.0 = Gauge32: 0 [root@local ~]# I know apache is running [root@local ~]# ps -ef | grep httpd root 6271 1 0 11:43 ? 00:00:00 /etc/httpd/bin/httpd -k start nobody 6272 6271 0 11:43 ? 00:00:00 /etc/httpd/bin/httpd -k start nobody 6273 6271 0 11:43 ? 00:00:00 /etc/httpd/bin/httpd -k start nobody 6274 6271 0 11:43 ? 00:00:00 /etc/httpd/bin/httpd -k start nobody 6275 6271 0 11:43 ? 00:00:00 /etc/httpd/bin/httpd -k start nobody 6276 6271 0 11:43 ? 00:00:00 /etc/httpd/bin/httpd -k start root 7920 5027 0 12:32 pts/1 00:00:00 grep httpd [root@local~[root@local~]# /etc/httpd/bin/apachectl -l Compiled in modules: core.c mod_authn_file.c mod_authn_default.c mod_authz_host.c mod_authz_groupfile.c mod_authz_user.c mod_authz_default.c mod_auth_basic.c mod_include.c mod_filter.c mod_log_config.c mod_env.c mod_setenvif.c prefork.c http_core.c mod_mime.c mod_status.c mod_autoindex.c mod_asis.c mod_cgi.c mod_negotiation.c mod_dir.c mod_actions.c mod_userdir.c mod_alias.c mod_so.c [root@local~]# ]# /etc/httpd/bin/apachectl -v Server version: Apache/2.2.11 (Unix) Server built: Dec 16 2008 11:05:55 Can anyone help me please? Regards Neil _________________________________________________________________ Net yourself a bargain. Find great deals on eBay. http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Frover%2Eebay%2Ecom%2Frover%2F1%2F705%2D10129%2D5668%2D323%2F4%3Fid%3D10&_t=763807330&_r=hotmailTAGLINES&_m=EXT |