Sysadmin - storage notification

FreePBX-1.810.210.57-i386-Full-1334880197 (no RAID setup)
System admin 2.10.0.26

I noticed that sysadmin module is installed at first boot. I played with it a lot.
Storage state doesn’t work, I filled my drive to 90% and never got a notification by mail.
I found /var/lib/asterisk/bin/storage.php, so I executed it manually and finally got a notification by mail. I checked all cron-files but there is no cron job for storage.php

Need a ticket for that ? Let me know.

The issue has been fixed as of today. You should see a new Sysadmin Module 2.10.0.28

Not fixed for me.
Now when I try “amportal restart”, I got this:

Fetching FreePBX settings with gen_amp_conf.php…

: command not foundin/freepbx_engine_hook_sysadmin: line 2:
/var/lib/asterisk/bin/freepbx_engine_hook_sysadmin: line 3: syntax error near un’xpected token { /var/lib/asterisk/bin/freepbx_engine_hook_sysadmin: line 3:chown_asterisk_hook’shmzskin() {

Ok well that would be a different issue. You dont need a amportal restart for the cron to get setup. So are you saying the cron is not being set in the asterisk crontab.

Just fixed that issue with the amportal issue. Stupid dos2unix conversion. Fix should be published shortly.

And I did verify the crontab is being written out.

crontab -e -u asterisk

No it’s ok.
I expected to get a notification right after installing it. But I just found :

  • */6 * * * /var/lib/asterisk/bin/storage.php

So it’s normal.

Like you said, it’s a different issue.
Let me know if there is a new update for that. I will test it.

Already published a new sysadmin

Solved.

Any idea how to get FreePBX to monitor an additional mounted drive? sdb for example?