Why -g option is always used with a command defined with pass directive for object specified in notificationEvent directive in Red Hat Enterprise Linux 6
Issue
- We want to send a trap upon a following notificationEvent configuration in snmpd.conf when the network interface events (linkup/linkdown) happens.
notificationEvent linkUpTrap linkUp ifIndex ifAdminStatus ifOperStatus ifalias
notificationEvent linkDownTrap linkDown ifIndex ifAdminStatus ifOperStatus ifalias
- Also, we are using 'pass' directive to make information for ifAlias as below.
pass .1.3.6.1.2.1.31.1.1.1.18 /etc/snmp/ifalias.pl
- We found that -g option is always used with this command, it never use -n option.
Environment
Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
