solaris zones & network interfaces

"Roskens, Ronald" <[email protected]>
Newsgroups gmane.network.opennms.install
Message-ID <[email protected]>
For 1.8.X:
 
Solaris zones have interfaces like:
 
lo0:27: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu
8232 index 1
        inet 127.0.0.1 netmask ff000000
aggr81001:6: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS>
mtu 1500 index 15
        inet 172.16.81.45 netmask ffffff00 broadcast 172.16.81.255

Is there an easy way to strip off the :<num> from the interface name
before opennms uses it to create the data directory? The :<num> is not
guaranteed to be the same each time the zone boots, so I'm getting a
number of extraneous interface_<num>-<string> directories in the snmp
directories for each node thats a solaris zone.
 
Ron

This e-mail message is being sent solely for use by the intended recipient(s) and may contain confidential information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by phone or reply by e-mail, delete the original message and destroy all copies. Thank you.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.