problem with snmp and centos 6
hi I'm a 3rd year computing student and I'm currently working on my 3rd year project.
at the moment I'm stuck with what I thought would be a fairly simple task... setting up SNMP...
so far iv managed to get snmpd running on a web-server and snmptrapd working on the monitoring server. [both are running centos 6 and for testing iv took down iptables]
on the server i have the following config.
please note that the above i got from this video http://www.youtube.com/watch?v=S0ibDVFnUws
on the webserver i have simply set
this allows me use snmpwalk and I get all the oids... but it doesn't send any traps..
I have been googleing how to get the server to send traps when say httpd stops but I can't seem to get an answer..
my current approach i sifting threw the default config to see if i can make out what needs to be done..
dose anyone happen to know of any website or book that would help me out here? or dose anyone have any suggested config that would work?
thank you in advanced
ah ha!!!! iv found my answer!!! well sort-of..... more testing to be done to be shore...
in this link
i saw the command
-_- it appears in my surprise that something actually came threw I got a little over excited...
the above dose not show that httpd is down.... [pass on what it dose say other then cold start o_O]
iv tested this by bringing httpd up and down but not more traps are being sent..
|All times are GMT -5. The time now is 11:51 PM.|