Upload Nagios XI Component Not Working
-
kristen.davis
- Posts: 2
- Joined: Mon Oct 24, 2016 1:08 pm
Upload Nagios XI Component Not Working
I am trying to modify the Nagios IM Integration Component in Nagios XI in order to have it integrate with BMC Remedy instead of Nagios IM. I've adjusted the php files and rezipped them but when I try to upload them into XI I get an error that says "Component installation failed. uploaded zip file is not a component." How do I go about install or updating a component?
Re: Upload Nagios XI Component Not Working
That's a bit out of scope for what we can support, but generally speaking you want to make sure that you are following this document:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Ensure that all the names are matching up where needed, that's usually the issue when an upload fails. Otherwise, check against a working component to make sure the zipping is done in the same way.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Ensure that all the names are matching up where needed, that's usually the issue when an upload fails. Otherwise, check against a working component to make sure the zipping is done in the same way.
Former Nagios employee
-
kristen.davis
- Posts: 2
- Joined: Mon Oct 24, 2016 1:08 pm
Re: Upload Nagios XI Component Not Working
One of the things I've found in debugging the problem is that I download an existing component unzip it, rezip it (as is, no changes), and then try to upload it again I get the same error "Component installation failed. Uploaded zip file is not a component." But if I download the component and upload it back straight away without unzipping and rezipping it uploads fine. Do I need to use a specific zip tool to create the right kind of zipped file?
Re: Upload Nagios XI Component Not Working
Most often we use 7zip but I don't believe the "tool" matters. Are you compressing the files only or the directory?
Example: let's say, after unzipping, you see a directory "mycomponent" with 3 files in it: "file1", "file2", and "file3". If you zipped up the 3 files, created a "mycomponent.zip" file, and tried to install the component, it would definitely fail. You will need to zip up the "mycomponent" directory with the 3 files in it, not the files only. Hope this helps.
Example: let's say, after unzipping, you see a directory "mycomponent" with 3 files in it: "file1", "file2", and "file3". If you zipped up the 3 files, created a "mycomponent.zip" file, and tried to install the component, it would definitely fail. You will need to zip up the "mycomponent" directory with the 3 files in it, not the files only. Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!