Page 1 of 2

Nahios & Barracuda backup

Posted: Thu May 15, 2014 11:51 pm
by Emmermacher
Hello.

On my SLES 11 Sp3 system we're running nagios 3.5.1
After installation of barracuda backup agent, nagios start a re- uninstall script of the barracuda backup agent.

it-support:~ # rcnagios restart
Starting configuration check - passed configuration check
done
Shutting down Nagios Warning: Nagios killed done
Starting Nagios - Error: looks like Nagios is still running with PID 29269
- trying to kill previous Nagios processFound product installed at /usr/local/barracuda/bbs/
Would you like to [r]einstall or ninstall?

I asked the barracuda support. They told me, that this is a nagios problem.
Any ideas to solve the problem?

Thanks in advance for your answers.

Best regards.

Dirk Emmermacher

Re: Nahios & Barracuda backup

Posted: Fri May 16, 2014 10:23 am
by slansing
What exactly are you trying to accomplish here? I don't understand what you are doing from what you showed. Looks like you are trying to restart Nagios?

Re: Nagios & Barracuda backup

Posted: Sun May 18, 2014 11:41 pm
by Emmermacher
Hello slansing.

Thanks for your answer.
Yes, you're right.
When I restart nagios, the un- reinstall messages comes on startup nagios.
Normally I stopped here witch Ctrl + C
Then I stopped the barracuda agent /etc/init.d/bbagent stop
The next time. I try to start nagios the message comes again. With the stopped agent its possible to reinstall the bbagent.
After install, nagios starts.
That's really curiuos...

Regards.

Dirk

Re: Nahios & Barracuda backup

Posted: Mon May 19, 2014 10:56 am
by tmcdonald
Can you give us a bit more of a timeline here? From my understanding, you have an existing Nagios server and you are trying to install Barracuda for backups, but Nagios seems to be blocking the Barracuda installation. Is this correct? It almost looks like Nagios is seeing the Barracuda PID as its own.

Please run the following and post the output:

Code: Select all

ps -ef | grep nagios
ps -ef | grep bbs
ps -ef | grep barracuda

Re: Nahios & Barracuda backup

Posted: Mon May 19, 2014 11:47 pm
by Emmermacher
Hello tmcdonald.

That not 100% correct.
We're running nagios longer than the barracuda agent. Barracuda's backup method was changed some months ago. Before using the agent, the program uses a ssh-method.
The un- reinstall comes with the barracuda agent..
Here is my output:
login as: root
Using keyboard-interactive authentication.
Password:
Last login: Mon May 19 07:33:23 2014 from myworkstation
it-support:~ # ps -ef|grep nagios
nagios 3886 1 0 May19 ? 00:00:14 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d
it-support:~ # ps -ef|grep bbs
root 2432 1 0 May19 ? 00:00:00 /usr/local/barracuda/bbs/lin/x86/bblinsdr
root 2446 2432 2 May19 ? 00:35:11 /usr/local/barracuda/bbs/lin/x86/bblinsdr
root 19610 19574 0 06:35 pts/0 00:00:00 grep bbs
it-support:~ # ps -ef|grep barracuda
root 2432 1 0 May19 ? 00:00:00 /usr/local/barracuda/bbs/lin/x86/bblinsdr
root 2446 2432 2 May19 ? 00:35:11 /usr/local/barracuda/bbs/lin/x86/bblinsdr
root 19615 19574 0 06:36 pts/0 00:00:00 grep barracuda
it-support:~ #

Regards

Dirk

Re: Nahios & Barracuda backup

Posted: Tue May 20, 2014 4:55 pm
by sreinhardt
The errors you are getting do not appear in our init files. Do you know if sles uses a custom init script? Either way, could you provide the script that you are presently running /etc/rc.d/nagios(?) so that we can take a look at what is causing this behavior.

Re: Nahios & Barracuda backup

Posted: Wed May 21, 2014 5:43 am
by Emmermacher
Hello sreinhard.

On my server I use default init scripts. In /etc/rc.d/ is a file nagios. Also in /etc/init.d/ .
I suppose, that un- and reinstall nagios can solve the problem. I would backup my config files first before starting the unistallation.

Regards

Dirk

Re: Nahios & Barracuda backup

Posted: Wed May 21, 2014 9:28 am
by slansing
Are you sure that "Would you like to [r]einstall or ninstall?" is not coming from your Barracuda application? That is not a part of Nagios unless you have customized the init script to some degree. I would be very wary of using that.

Re: Nahios & Barracuda backup

Posted: Wed May 21, 2014 11:54 pm
by Emmermacher
Hello slansing.

I'm sure that the re- unstallscript is from barracuda. But I'm also sure that the script was started when I restart nagios. I asked the barracuda's support. They told me, that this behaviour has nothing to do with the backup software.

Regards

Dirk

Re: Nahios & Barracuda backup

Posted: Thu May 22, 2014 11:36 am
by tmcdonald
sreinhardt wrote:The errors you are getting do not appear in our init files. Do you know if sles uses a custom init script? Either way, could you provide the script that you are presently running /etc/rc.d/nagios(?) so that we can take a look at what is causing this behavior.
As sreinhardt asked before, can you provide this script for restarting nagios?