Forum Discussion
SNMP TRAP
Yes and then u have to update the few things
In the file /etc/cron.weekly/5checkcert (delete the line in the file and add the one below)
cd /var/core
/usr/bin/tmsh -c "cd /; run /sys crypto check-cert stdout disabled"
Then you have to add all of the Partition Names into the alert.conf file. example Common, Partation2 and 3.
vi /config/user_alert.conf Type: I
alert CERTIFICATE_EXPIRED "Certificate (.) in file /Common/(.) expired" { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.300"; email toaddress="cccc@yahoo.com" body="Certificate Expired on F5hostname1" }
alert CERTIFICATE_EXPIRED "Certificate (.) in file /Common/(.) will expire" { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.301"; email toaddress="cccc@yahoo.com" body="Certificate will Expire on F5hostname1" }
alert CERTIFICATE_EXPIRED "Certificate (.) in file /Partition2/(.) expired" { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.302"; email toaddress="cccc@yahoo.com" body="Certificate Expired on F5hostname1" }
alert CERTIFICATE_EXPIRED "Certificate (.) in file /Partition2/(.) will expire" { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.303"; email toaddress="cccc@yahoo.com" body="Certificate will Expire on F5hostname1" }
alert CERTIFICATE_EXPIRED "Certificate (.) in file /Partition3/(.) expired" { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.304"; email toaddress="cccc@yahoo.com" body="Certificate Expired on F5hostname1" }
alert CERTIFICATE_EXPIRED "Certificate (.) in file /Partition3/(.) will expire" { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.305"; email toaddress="cccc@yahoo.com" body="Certificate will Expire on F5hostname1" }
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com