Hi,
Wanted to run the script to dump historical data but it threw errors and I still have history. The point to this is I have a lot in Operations Center showing like 200+ days due to this being non-prod for a while and I want to clear out all that junk and start fresh or at least maybe 30 days back.
No such file or directory error for lines 40/41/133/134
Running Nagios XI 5.6.4
script to dump historical data but it threw errors
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: script to dump historical data but it threw errors
Hi David,
Are you running the script as root user? If not, please try to run it once more as root user. It's working for me on Nagios 5.6.4.
Are you running the script as root user? If not, please try to run it once more as root user. It's working for me on Nagios 5.6.4.
Code: Select all
# Log in as root
cd /usr/local/nagiosxi/scripts
./remove_historical_data.sh
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: script to dump historical data but it threw errors
yep, working now...sweet, thanks !
Re: script to dump historical data but it threw errors
Glad to hear everything is working!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!