jshardlow
2012-01-27 10:22:07 UTC
jshardlow [http://community.zenoss.org/people/jshardlow] created the discussion
"reportmail sending empty emails (Zenoss 3.2.1)"
To view the discussion, visit: http://community.zenoss.org/message/63961#63961
--------------------------------------------------------------
Hi,
I've just upgraded a test box from 2.5.2 to 3.2.1 and have discovered the hard way that the URL structure has changed and as a result my script built round reportmail doesn't work any more. I think I've got the new URL syntax right but I'm getting blank emails, whereas before I would get a .csv .
Zenoss 2.x:
http://zenoss:8080/zport/dmd/Reports/Event%20Reports/All%20EventClasses?doExport
Zenoss 3.x:
http://zenoss:8080/zport/dmd/reports#reports:.zport.dmd.Reports.Event%20Reports.All%20EventClasses
I've had a look round the Admin Guide, but in their example (below) they seemed to have changed the REPORTS_URL entry to reflect the new layout, but I'm pretty sure that the rest of it in --url is still the old layout:
#!/bin/sh
REPORTS_URL=http://public-demo.zenoss.com/zport/dmd/reports#reports:.zport.dmd.Reports.Performance%20Reports.
$ZENHOME/bin/reportmail \
--user=admin \
--passwd=PASSWD \
--from="***@example.com" \
--address="***@example.com" \
--subject="Zenoss: Availability Report" \
--url="$REPORTS_URL/Performance Reports/Availability Report"
Any ideas anyone? Thanks in advance!
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63961#63961]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"reportmail sending empty emails (Zenoss 3.2.1)"
To view the discussion, visit: http://community.zenoss.org/message/63961#63961
--------------------------------------------------------------
Hi,
I've just upgraded a test box from 2.5.2 to 3.2.1 and have discovered the hard way that the URL structure has changed and as a result my script built round reportmail doesn't work any more. I think I've got the new URL syntax right but I'm getting blank emails, whereas before I would get a .csv .
Zenoss 2.x:
http://zenoss:8080/zport/dmd/Reports/Event%20Reports/All%20EventClasses?doExport
Zenoss 3.x:
http://zenoss:8080/zport/dmd/reports#reports:.zport.dmd.Reports.Event%20Reports.All%20EventClasses
I've had a look round the Admin Guide, but in their example (below) they seemed to have changed the REPORTS_URL entry to reflect the new layout, but I'm pretty sure that the rest of it in --url is still the old layout:
#!/bin/sh
REPORTS_URL=http://public-demo.zenoss.com/zport/dmd/reports#reports:.zport.dmd.Reports.Performance%20Reports.
$ZENHOME/bin/reportmail \
--user=admin \
--passwd=PASSWD \
--from="***@example.com" \
--address="***@example.com" \
--subject="Zenoss: Availability Report" \
--url="$REPORTS_URL/Performance Reports/Availability Report"
Any ideas anyone? Thanks in advance!
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63961#63961]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]