MattGruber

Getting subsystem ID by name

Discussion created by MattGruber on Mar 5, 2010
Latest reply on Apr 6, 2010 by jesse.gonzalez
Hi!

Perhaps someone has coded that, or even it is a function which I didnt found, but I am looking for a function, which delivers the subsystemID (numeric) as return, when I deliver the FullPath.

Something like

subsysID = getSubSysIdByName('Private.Metzler.SNMP.FOO')

and subsysID gets a '3.1.5.3'

Yes the opposite way is no problem, hehehe 'cause its quite simple :-)

Normaly I would ask my nas with a get_sid and parse the delivered tree and so on.... but before I start my coding, propably some gifted coder has already made it happen :-)

Cheers
Matthias

Outcomes