wanted to see if it could kick out reports, it did which was great but then 
when added to cron to do a scheduling test... no go

version:

Code:

Zenoss          Zenoss 2.2.3
OS              Linux (i686) 2.6.24 (Linux zeninstall.mydomain.com 
2.6.24.7-0.6.gcc3.4.x86.i686 #1 Tue Jul 15 11:59:03 EDT 2008 i686)
Zope            Zope 2.8.8
Python          Python 2.4.1
Database        MySQL 5.0.51 (Ver 5.0.51)
RRD             RRDtool 1.2.26
Twisted         Twisted 2.5.0
NetSnmp         NetSnmp 5.2.1
PyNetSnmp       PyNetSnmp 0.28.7
WMI             Wmi 0.1.12




shell script (/home/zenoss/reportmail/daily):

Code:
/home/zenoss/bin/reportmail -u 
http://zeninstall.mydomain.com:8080/zport/dmd/Reports/Custom%20Device%20Reports/rptml_test/viewMultiGraphReportClean
 -U admin -p zenoss -a [EMAIL PROTECTED] -f [EMAIL PROTECTED]



cron:

Code:
[EMAIL PROTECTED] ~]$ crontab -l
ZENOSS_ENV=/home/zenoss/.profile
#
0 7 * * 1-5 /home/zenoss/reportmail/daily
10 * * * * /home/zenoss/reportmail/daily
[EMAIL PROTECTED] ~]$



postfix log:

Code:
Aug 27 13:10:01 zeninstall postfix/pickup[338]: D9B6F17F41: uid=499 
from=<zenoss>
Aug 27 13:10:02 zeninstall postfix/cleanup[27139]: D9B6F17F41: 
message-id=<[EMAIL PROTECTED]>
Aug 27 13:10:02 zeninstall postfix/qmgr[21816]: D9B6F17F41: from=<[EMAIL 
PROTECTED]>, size=762, nrcpt=1 (queue active)
Aug 27 13:10:02 zeninstall postfix/smtp[27143]: D9B6F17F41: to=<[EMAIL 
PROTECTED]>, orig_to=<zenoss>, relay=<relay host ip>[<relay host ip>], delay=1, 
status=sent (250 2.6.0  <[EMAIL PROTECTED]> Queued mail for delivery)
Aug 27 13:10:02 zeninstall postfix/qmgr[21816]: D9B6F17F41: removed



looks to me like it mailing the report to itself...  :? 

again, the script works and sends out a precanned report if run manually as the 
user zenoss but cacks as illustrated above when the same script/command is 
called forth from cron...

bug? known?... none cares?

well if anyone has seen this or know of a workaround; please do let me know




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=24330#24330

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to