Skip to content
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

Can we run cron jobs? #176

Open
raenrfm opened this issue Oct 15, 2024 · 0 comments
Open

Can we run cron jobs? #176

raenrfm opened this issue Oct 15, 2024 · 0 comments

Comments

@raenrfm
Copy link

raenrfm commented Oct 15, 2024

I'm using MRTG in a different container to generate graphs for my switch and router, but it creates RRD's that I get the "different architechture" error message when I try to use check_trafrrd in my nagios container. They share the same directory for the rrd's generated by the MRTG container.

I have a cron job running in the MRTG container that converts all the rrd's to xml, and then set up a cron job in the Nagios container to use the rrdtool to convert them back to rrds so they can be used in Nagios to check bandwidth usage. My script runs fine, I've used absolute paths in the scritps with the cron job where I'm using the run-parts comment to run any script in the directory I have pointed in there. It seem the cron job does not run at all. If I run the script manually it shows for one 5 minute cycle the bandwidth but after that it stops because the cron job isn't running.

Any ideas as to why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant