Is there a way to turn this into an RPM, or does one already exist that I am unable to find?
We are very big on RPM distribution here.
Any feedback here would make my life much easier.
Our Unix guys are already saying how they do no like the fact that it is just an installer with no clear uninstall path.
If there is an uninstall feature that we have missed that may suffice as well.
Thanks,
Kris Robertson
Duke Clinical Research Institute
Nagiox XI Linux Agents out-of-box question regarding RPM
-
krobertson71
- Posts: 444
- Joined: Tue Feb 11, 2014 10:16 pm
Re: Nagiox XI Linux Agents out-of-box question regarding RPM
Our custom linux agent does not come in rpm form. You could install the nrpe rpm but use our plugins and config that ship with the agent. That would get you much closer to an rpm-like install.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
krobertson71
- Posts: 444
- Joined: Tue Feb 11, 2014 10:16 pm
Re: Nagiox XI Linux Agents out-of-box question regarding RPM
Is there a documented way to remove the agent the way it is? If there is a way to remove the agent after install that would also work for me.abrist wrote:Our custom linux agent does not come in rpm form. You could install the nrpe rpm but use our plugins and config that ship with the agent. That would get you much closer to an rpm-like install.
-
krobertson71
- Posts: 444
- Joined: Tue Feb 11, 2014 10:16 pm
Re: Nagiox XI Linux Agents out-of-box question regarding RPM
Let me ask this a different way in hopes that it will make things a tad clearer.krobertson71 wrote:Is there a documented way to remove the agent the way it is? If there is a way to remove the agent after install that would also work for me.abrist wrote:Our custom linux agent does not come in rpm form. You could install the nrpe rpm but use our plugins and config that ship with the agent. That would get you much closer to an rpm-like install.
Let's say we install the packaged linux agent that comes with Nagios XI. Great agent, works well.
Well now let's say NCPA has come to a point where we now want to use this across all our infrastructure so we have one heterogeneous agent.
How would I go about cleaning out the old Linux agent and installing the new NCPA agent so there would be no overlap or two agents trying to run together?
Re: Nagiox XI Linux Agents out-of-box question regarding RPM
We don't haven an "uninstall script" for NRPE but you can run:How would I go about cleaning out the old Linux agent and installing the new NCPA agent so there would be no overlap or two agents trying to run together?
Code: Select all
delgroup nagios
deluser nagios
rm -f /etc/xinet.d/nrpe
service xinetd restart
rm -rf /usr/local/nagiosBe sure to check out our Knowledgebase for helpful articles and solutions!
-
krobertson71
- Posts: 444
- Joined: Tue Feb 11, 2014 10:16 pm
Re: Nagiox XI Linux Agents out-of-box question regarding RPM
Just for clarification. This would work for the Linux Agent supplied with Nagios XI? I would assume we would have to delete the nagcmd groups and also remove the sudoers file changes made by the initial install.lmiltchev wrote:We don't haven an "uninstall script" for NRPE but you can run:How would I go about cleaning out the old Linux agent and installing the new NCPA agent so there would be no overlap or two agents trying to run together?
then proceed with installing NCPA.Code: Select all
delgroup nagios deluser nagios rm -f /etc/xinet.d/nrpe service xinetd restart rm -rf /usr/local/nagios
Re: Nagiox XI Linux Agents out-of-box question regarding RPM
This is correct.
Be sure to check out our Knowledgebase for helpful articles and solutions!