a commercial break from the " my snmptt is busted" show
When I run a backup on my Production server, it completes with no errors.
When i scp the tar file to my secondary server, and then run the restore script, I get an error saying "blah blah you are screwed" unexpected end of file"
This was working fine up until a few weeks ago.
I am including the scripts I use for your viewing pleasure
nagiosxi backup issue
nagiosxi backup issue
Last edited by sreinhardt on Thu Sep 12, 2013 4:03 pm, edited 1 time in total.
Reason: removed files for passwords
Reason: removed files for passwords
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: nagiosxi backup issue
First note, and could be from uploading to the servers, they are in dos format not unix. Otherwise nothing is screaming at me that its wrong, what line is the error at?
Edit: You are missing a semi-colon on 86, 67, 53, 42, 18 and 7, yep in revers order. Otherwise there are just a few missing spaces between ; and then in a few places but still nothing major or that should cause an issue.
Edit: You are missing a semi-colon on 86, 67, 53, 42, 18 and 7, yep in revers order. Otherwise there are just a few missing spaces between ; and then in a few places but still nothing major or that should cause an issue.
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.