-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Runtime errors #2
Comments
Hi, |
It looks like current gets removed. At end of script the mv command does that. On December 8, 2015 3:32:47 AM EST, Ariel Kogan [email protected] wrote:
Sent from my Android device with K-9 Mail. Please excuse my brevity. |
You are right. Can you run the following at take a look if Update changes? |
Appears to be updating. Every 60.0s: grep Uptime status.last
Uptime 517710 On 2015-12-09 05:51, Ariel Kogan wrote:
|
@hashfaster Dave, apologies I haven't been able to look into this. I need to change the script to allow some debugging but I can't find the time to do it now. Let's leave this open, hope to work on that soon. |
When running with cron, make sure that your path to mysql is added to the script |
All looks well, runs, grabs data, creates the status files with real data.. but on the second run I get:
[root@ovmm01 graylog]# sh mysql-status.sh
Warning: Using a password on the command line interface can be insecure.
Runtime error (func=(main), adr=9): Divide by zero
Runtime error (func=(main), adr=9): Divide by zero
Runtime error (func=(main), adr=9): Divide by zero
Runtime error (func=(main), adr=9): Divide by zero
Runtime error (func=(main), adr=9): Divide by zero
Runtime error (func=(main), adr=9): Divide by zero
Runtime error (func=(main), adr=9): Divide by zero
Runtime error (func=(main), adr=9): Divide by zero
Runtime error (func=(main), adr=9): Divide by zero
Runtime error (func=(main), adr=9): Divide by zero
Runtime error (func=(main), adr=9): Divide by zero
Runtime error (func=(main), adr=9): Divide by zero
Runtime error (func=(main), adr=9): Divide by zero
Runtime error (func=(main), adr=9): Divide by zero
Runtime error (func=(main), adr=9): Divide by zero
Runtime error (func=(main), adr=9): Divide by zero
Runtime error (func=(main), adr=9): Divide by zero
Runtime error (func=(main), adr=9): Divide by zero
Runtime error (func=(main), adr=9): Divide by zero
Runtime error (func=(main), adr=9): Divide by zero
Runtime error (func=(main), adr=9): Divide by zero
Runtime error (func=(main), adr=9): Divide by zero
Runtime error (func=(main), adr=9): Divide by zero
Runtime error (func=(main), adr=9): Divide by zero
/root/graylog
The text was updated successfully, but these errors were encountered: