Hello Torsten, I trust you are well
I was really hoping if you were able to still get hold of that script :-)
Kind Regards,
- - - -
Brad
On 2016/11/21, 23:28, "Xymon on behalf of Torsten Richter"
<xymon-bounces at xymon.com on behalf of user-c862b499d9fa@xymon.invalid> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Brad,
I wrote a script at my last job that more or less did what you want to
achieve.
Basically it downloaded the report with lynx and then renamed it and
uploaded it somewhere else with scp but this part can also be adapted to
send an email with the csv as attachment.
Unfortunately I did not copy the script when I left the company but I
can ask a colleague if he could send me the script and I can then send
it to you if you want. But this would take 1 or 2 days.
Regards
Torsten
On 21.11.2016 16:06, Brad Radjoo [ MTN South Africa ] wrote:
G'Day,
Is there a way to generate an availability report of the past 24 hours
in csv format and set that to e-mail myself on a daily basis ?
I notice that it uses the xymon-cgi/report.sh script
Kind Regards,
- - - -
Bradley
"This email is confidential. If you have received it in error, you are
on notice of its status. Please notify us immediately by reply email and
then delete this message from your system. Please do not copy it or use
it for any purpose, or disclose its contents to any other person as to
do so could be a breach of confidentiality. Thank you for your
co-operation. "
"The information contained in this message is intended solely for the
individual to whom it is specifically and originally addressed. This
message and its contents may contain confidential or privileged
information from MTN Group. If you are not the intended recipient, you
are hereby notified that any disclosure or distribution, is strictly
prohibited. If you receive this email in error, please notify MTN Group
immediately and delete it. MTN Group does not accept any liability or
responsibility if action is taken in reliance on the contents of this
information . Note that all personal emails are not authorized by MTN
Group. "
- --
+---------------------------------------------------------+
| E-mail : user-c862b499d9fa@xymon.invalid |
| |
| Homepage: http://www.richter-it.net/ |
+---------------------------------------------------------+
Download my public key from:
http://keys.gnupg.net/pks/lookup?search=0x899093AC&op=get
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEARECAAYFAlgzZwkACgkQ7DlmxomQk6w/eACgqxWgVt5/nUH85To9maz/X5Y9
1JwAnA5rGHV+3w2Md2MYNZFvexF0ecNY
=uzdY
-----END PGP SIGNATURE-----
"This email is confidential. If you have received it in error, you are on notice of its status. Please notify us immediately by reply email and then delete this message from your system. Please do not copy it or use it for any purpose, or disclose its contents to any other person as to do so could be a breach of confidentiality. Thank you for your co-operation. "
“The information contained in this message is intended solely for the individual to whom it is specifically and originally addressed. This message and its contents may contain confidential or privileged information from MTN Group. If you are not the intended recipient, you are hereby notified that any disclosure or distribution, is strictly prohibited. If you receive this email in error, please notify MTN Group immediately and delete it. MTN Group does not accept any liability or responsibility if action is taken in reliance on the contents of this information . Note that all personal emails are not authorized by MTN Group. ”