Greyhole email statistics [RESOLVED]

modem7
Posts: 215
Joined: Tue Mar 20, 2012 6:00 pm

Greyhole email statistics [RESOLVED]

Postby modem7 » Tue Apr 17, 2012 9:39 am

Hello,

I need further clarification from this post: http://forums.amahi.org/viewtopic.php?f=13&t=3876

I attempted to change /etc/cron.daily to /usr/bin/greyhole --fsck --email-report --if-conf-changed --dont-walk-graveyard > /dev/null (thank you BigFoot for helping out here!)

but unfortunately it still doesn't send me a daily report, is there any way I can get it to do this?

Many thanks!
Last edited by modem7 on Mon Apr 23, 2012 5:43 am, edited 1 time in total.

User avatar
ciscoh
Posts: 158
Joined: Thu Mar 10, 2011 1:53 pm

Re: Greyhole email statistics

Postby ciscoh » Tue Apr 17, 2012 9:53 am

Hello,

I need further clarification from this post: http://forums.amahi.org/viewtopic.php?f=13&t=3876

I attempted to change /etc/cron.daily to /usr/bin/greyhole --fsck --email-report --if-conf-changed --dont-walk-graveyard > /dev/null (thank you BigFoot for helping out here!)

but unfortunately it still doesn't send me a daily report, is there any way I can get it to do this?

Many thanks!
/etc/cron.daily is a folder that contains scripts to be executed daily . What was suggested was to copy the greyhole object in the /etc/cron.weekly folder, called greyhole, into the daily folder, so that it is executed daily instead

not sure what you did from looking above but it seems a little scary to me.

modem7
Posts: 215
Joined: Tue Mar 20, 2012 6:00 pm

Re: Greyhole email statistics

Postby modem7 » Tue Apr 17, 2012 10:38 am

Hello,

I need further clarification from this post: http://forums.amahi.org/viewtopic.php?f=13&t=3876

I attempted to change /etc/cron.daily to /usr/bin/greyhole --fsck --email-report --if-conf-changed --dont-walk-graveyard > /dev/null (thank you BigFoot for helping out here!)

but unfortunately it still doesn't send me a daily report, is there any way I can get it to do this?

Many thanks!
/etc/cron.daily is a folder that contains scripts to be executed daily . What was suggested was to copy the greyhole object in the /etc/cron.weekly folder, called greyhole, into the daily folder, so that it is executed daily instead

not sure what you did from looking above but it seems a little scary to me.
Only thing I changed from the weekly to the daily is "--email-report"

User avatar
ciscoh
Posts: 158
Joined: Thu Mar 10, 2011 1:53 pm

Re: Greyhole email statistics

Postby ciscoh » Tue Apr 17, 2012 10:44 am

Hello,

I need further clarification from this post: http://forums.amahi.org/viewtopic.php?f=13&t=3876

I attempted to change /etc/cron.daily to /usr/bin/greyhole --fsck --email-report --if-conf-changed --dont-walk-graveyard > /dev/null (thank you BigFoot for helping out here!)

but unfortunately it still doesn't send me a daily report, is there any way I can get it to do this?

Many thanks!
/etc/cron.daily is a folder that contains scripts to be executed daily . What was suggested was to copy the greyhole object in the /etc/cron.weekly folder, called greyhole, into the daily folder, so that it is executed daily instead

not sure what you did from looking above but it seems a little scary to me.
Only thing I changed from the weekly to the daily is "--email-report"

but you copied the "greyhole" file from the weekly to the daily folder right?

and then edited that copy?

modem7
Posts: 215
Joined: Tue Mar 20, 2012 6:00 pm

Re: Greyhole email statistics

Postby modem7 » Tue Apr 17, 2012 10:48 am

but you copied the "greyhole" file from the weekly to the daily folder right?

and then edited that copy?
Nope, I merely edited the copy that was in the daily folder (I'm assuming that's the midnight one)

User avatar
ciscoh
Posts: 158
Joined: Thu Mar 10, 2011 1:53 pm

Re: Greyhole email statistics

Postby ciscoh » Tue Apr 17, 2012 10:50 am

but you copied the "greyhole" file from the weekly to the daily folder right?

and then edited that copy?
Nope, I merely edited the copy that was in the daily folder (I'm assuming that's the midnight one)

ahhh....ok. i undertsand now

did you setup email on the server? did you look to see if the root account got the email?

modem7
Posts: 215
Joined: Tue Mar 20, 2012 6:00 pm

Re: Greyhole email statistics

Postby modem7 » Tue Apr 17, 2012 10:52 am

but you copied the "greyhole" file from the weekly to the daily folder right?

and then edited that copy?
Nope, I merely edited the copy that was in the daily folder (I'm assuming that's the midnight one)

ahhh....ok. i undertsand now

did you setup email on the server? did you look to see if the root account got the email?

Yup yup. Everything *seems* to work fine if I do a manual --fsck -e (I get an email, everything is wonderful), however can't quite seem to get it to send an email when it does it's midnight fsck. That's the bit that I'm (possibly) being a noob on.

User avatar
ciscoh
Posts: 158
Joined: Thu Mar 10, 2011 1:53 pm

Re: Greyhole email statistics

Postby ciscoh » Tue Apr 17, 2012 10:54 am

are you sure it even ran?

--if-conf-changed --dont-walk-graveyard

those 2 options might have prevented it from running

modem7
Posts: 215
Joined: Tue Mar 20, 2012 6:00 pm

Re: Greyhole email statistics

Postby modem7 » Tue Apr 17, 2012 11:10 am

are you sure it even ran?

--if-conf-changed --dont-walk-graveyard

those 2 options might have prevented it from running
I'll try taking those out. Many thanks!

modem7
Posts: 215
Joined: Tue Mar 20, 2012 6:00 pm

Re: Greyhole email statistics

Postby modem7 » Wed Apr 18, 2012 1:27 pm

Worked a beaut.

many thanks!

Who is online

Users browsing this forum: No registered users and 21 guests