Hey all!
I've created an Inventory Plugin for osTicket that may be of use to some of you. You can find it at the link below. If you encounter any bugs with the plugin, please feel free to reach out and let me know! Your feedback is greatly appreciated!
osTicket Inventory Manager Plugin
how about screenshots so we can see it ?
Here are some screenshots. I'll be adding them to the repo's README as well. Thanks!
It would be nice if there was auto discovery for the inventory manager
hello, thank you for such a wonderful contribution, I wanted to ask you if you can make it compatible for php version 7
pepegrillo I think the plugin might be backwards compatible already, but I'll have to test that. I'll get back to you most likely next week with my findings. If need be, I can certainly release a PHP 7 compatible version.
After following all steps installation done but when i click application show below error. kindly help
Not Found
The requested URL /osticket/scp/apps.php was not found on this server.
baltej Yes, this error unfortunately exists because osTicket references a file that does not exist. I have a fix I can provide to you, but it is not part of the plugin or osTicket and requires a manual setup. As long as you click on the plugin from the drop down menu, everything will work. Clicking directly on the "Applications" tab is what causes this error. I have not tested with osTicket v1.17.* which I believe changes the plugin interface, which perhaps resolves the issue altogether. That version of osTicket is also still in pre-release phases so I will not be testing the inventory plugin's compatibility with it until it is in full release stages.
This looks exactly what i need for my company! thank you for making this.
Few questions before i take a dive;
- Does your plugin need the user to be an agent? It looks like assignee is an agent or can he be a customer too?
- Location, can it be linked to a organization/department or are these manual entries?
- Can the hostnames be read from Active Directory? We have all hostnames listed in AD and importing them as well as the users would be a nice option for us.
Again great work!
- Edited
Hi keunk,
Great questions! Let me know if these answers help, and feel free to reach out for more clarification if needed.
Does your plugin need the user to be an agent? It looks like assignee is an agent or can he be a customer too?
No, users do not need to be agents. The plugin simply takes an email address as the assignee field. If a user exists with the same email in osTicket, assets will be linked to that user on the plugin side.Location, can it be linked to a organization/department or are these manual entries?
Currently, location is a manual entry. Its purpose is to provide another field to search/filter on. In the near future, there will be some updates coming out that will add the ability to link assets to tickets, user pages, departments, etc.Can the hostnames be read from Active Directory? We have all hostnames listed in AD and importing them as well as the users would be a nice option for us.
At the moment, this is not possible. I have done some research into the possibility of adding a feature like this, but it is going to be a while before it can be implemented. However, you can export a CSV from your AD and import that directly into Inventory Manager. For long term maintenance of assets, there is an API available. For instance, my company is using a PowerShell script that runs during our imaging process and updates/creates assets automatically using the API.
I update the plugin fairly regularly with bug fixes and new features so keep an eye out for changes. If you run into any issues with the plugin, please reach out. You can either create a post in this forum, submit an issue on the GitHub repo, or email me directly at ostinventorymgr[at]gmail[dot]com.
[edited by admin]
bcombs18 I have two questions
How do you fix the missing app.php problem? (My temp fix is to create the app.php and instead write a redirect back to /scp/dispatcher.php/inventory/asset/handle)
Does your plugin work with submitting tickets? (for example if a user submits a ticket for toner it effects the inventory when the ticket is closed)
- Edited
- Best Answerset by ntozier
The missing app.php problem is a result of that file missing from osTicket and not the plugin itself. I have created a couple of files that fix that with my interpretation of what that file is meant to do. I can upload that to GitHub here shortly for your use.
The plugin currently does not support any interaction with tickets. This is a feature that is planned, but I cannot speak to when it will be implemented. I've been working through some refactors to make it easier to add features in the future recently which has been taking up more time than expected.
EDIT: The fix for the apps.php error is now available from the osTicket-Inventory-Manager GitHub. Find it under the "extras" directory. The steps to get it installed are in the "INSTALLATION_STEPS.md" file.
Good evening,
this is very nice plugin!
In the future, You will release an updated version for newest osTicket?
Best regards.
Fabrizio
Good day,
First of all, Thank you for your good job!
But I have a question about the required rights for agents which are working with inventory.
Is it possibe to add assets without providing adminitrator rights to Agent?
It's very strange to add permissions to manage osticket for L1 support.
Hey,
Thanks for sharing. Looks great. We currently use a 'Hardware List' which has custom fields similar to the asset fields you have. However we have these against the organisation instead of the user. Is it possible to have the assets assigned to the organisation or does it require to be a user?
The way we work it is an organisation is a business or branch, which has one or more users who can report problems with these assets, the latter of which belong to the 'organisation'.
Cheers.
Fabrizio09 Yes, I do plan to update the plugin for 1.17.x. However, there were some changes to made to the way plugins work in 1.17 which are preventing plugin installation/removal from functioning properly. I am waiting until the next release to see what changes will be made so I can restore that functionality.
m-law Currently, assets need to be assigned to users. I believe it would be possible to add the ability to assign to an organization. I'm planning a re-work for asset assignments in the future so I will be sure to add this to the list of things that need to be done for that re-work. Thanks for the idea!