Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inventory Script for IP Office 500 v2 3

Status
Not open for further replies.

yemyslf

Technical User
May 13, 2014
13
US
Are any of you aware of a way to programmatically access Avaya Office 500 V2 systems. I have around 50 of these that I'd like to remotely query for basic inventory info like the version of IP office, number of users, extensions, etc. I know I can export this info directly from Manager but was hoping for a way that didn't require me to manually open the config on each.
 
Use the WebServices, you can get anything from Hardware/Version, users, huntgroups whole config etc.

"Trying is the first step to failure..." - Homer
 
janni78 has the right idea by suggesting the web services sdk but imo it's a huge pain to work with (why can't we just get a REST api?).

I use the tftp commands to do this. For example (where ipo01.company.com is the FQDN or IP of the IPO):

On *nix:
Code:
curl tftp://ipo01.company.com/nasystem/user_list

or on nt:
Code:
tftp -i ipo01.company.com GET "nasystem/user_list" /dev/stdout

Will give you a list of all users. It is very useful for issuing a remote rebootwhenfree :D

Here's a list of some of the available tftp commands: There is a command to retrieve the full config as well.

Note that some commands require an encoded password. The page I linked has a perl program to encode your password but I just enter it into the TAPI config and grab it from the registry.
 
The tftp commands will not work on more recent versions, since R9 I know for sure it will not work.
And that is a good thing too as it is a major security risk.
I usually use System Status to get a overview on stations and logged in users.
I use this to start with
 
>since R9 I know for sure it will not work

It appears you're right at least for the reboot and full config retrieval. The userlist and others not requiring a password still work for me on R9.1SP8. Thanks for the info, we only upgraded to R9.1 a short time ago.
 
All commands needing a password are removed from the standard tftp port and only accessible through the manager port with a more secure password algorithm.
 
Thanks everyone for the ideas. InfiniteDrums, this is really helpful. I do have a variety of firmware versions but I think I can script this to grab a good amount of stuff without having to setup something in advance.
 
See this tool (a real tool, not you):
faq940-7683

I hate jokes about German sausages.
They're the wurst.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top