Nahios & Barracuda backup
-
Emmermacher
- Posts: 9
- Joined: Thu May 15, 2014 11:43 pm
Nahios & Barracuda backup
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
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
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Nahios & Barracuda backup
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?
-
Emmermacher
- Posts: 9
- Joined: Thu May 15, 2014 11:43 pm
Re: Nagios & Barracuda backup
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
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
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:
Please run the following and post the output:
Code: Select all
ps -ef | grep nagios
ps -ef | grep bbs
ps -ef | grep barracudaFormer Nagios employee
-
Emmermacher
- Posts: 9
- Joined: Thu May 15, 2014 11:43 pm
Re: Nahios & Barracuda backup
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
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
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Nahios & Barracuda backup
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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
Emmermacher
- Posts: 9
- Joined: Thu May 15, 2014 11:43 pm
Re: Nahios & Barracuda backup
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
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
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Nahios & Barracuda backup
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.
-
Emmermacher
- Posts: 9
- Joined: Thu May 15, 2014 11:43 pm
Re: Nahios & Barracuda backup
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
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
As sreinhardt asked before, can you provide this script for restarting nagios?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.
Former Nagios employee