Upload Nagios XI Component Not Working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kristen.davis
Posts: 2
Joined: Mon Oct 24, 2016 1:08 pm

Upload Nagios XI Component Not Working

Post by kristen.davis »

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?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Upload Nagios XI Component Not Working

Post by tmcdonald »

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.
Former Nagios employee
kristen.davis
Posts: 2
Joined: Mon Oct 24, 2016 1:08 pm

Re: Upload Nagios XI Component Not Working

Post by kristen.davis »

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?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Upload Nagios XI Component Not Working

Post by lmiltchev »

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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked