UNSOLVED

float1

updated

16 years ago

F

float1

6 Posts

0

14536

April 21st, 2010 03:00

simple email notification about backup state

Hello,

i`m searching about a simple solution to send email notifications about the state of processed bakups. I find only in the profiles a lot of events/error codes i can select. But a timed out session has no code. Is there a easy way to notify customers admin about success, faild or timed out backups?

Best Regards

Kai

  • Al Smith1

    45 Posts

    1663

    0

    Posted April 23rd, 2010 05:00

    Under tools -> Profiles

    you can create custom profiles to alert you on different actions. I would start there.

    Once you edit the profile on the Properities tab there are 2 options:

    Email Events as they occur

    Email Events on a schedule

    it's one or the other.. So choose wisely...

  • float1

    6 Posts

    1663

    0

    Posted April 26th, 2010 01:00

    yes, i know the profiles. But some events like success backups or timed out backups do not have event/error codes. in this case no message will be generated

    Cheers

    Kai

  • JohnCrouch_a316b2

    1 Rookie

    28 Posts

    1663

    0

    Posted April 26th, 2010 09:00

    I would suggest you use the MCS database views.  If you have some skill with SQL and/or Access, it is worth your time and effort to start using the views to create reports.

  • rpervan

    266 Posts

    1663

    0

    Posted April 27th, 2010 01:00

    Hi,

    > I would suggest you use the MCS database views.  If you have some skill with SQL and/or Access,

    > it is worth your time and effort to start using the views to create reports.

    Yes, another possibility is to involve SQL language from CLI .
    I mean to build your custom sql queries, involve CRON to get reports and sent it then per mail ...

    1.)  to user PostgreSQL interface and connect on it ....
      # psql -p 5555 -U viewuser mcdb

    << snip >>
    root@dpn:~/#: su - admin
    admin@dpn:~/>: psql -p 5555 -U viewuser mcdb
    Welcome to psql 8.2.3, the PostgreSQL interactive terminal.

    mcdb=>

    Note:  Please use "viewuser" (read only) account for your queries !


    2.) Herre is the example for a simple SQL query, but you can build your own queries and export it as plain text .

        SELECT * FROM "public"."v_clients";
        SELECT v_clients.cid, v_clients.client_name, v_clients.client_addr,v_clients.os_type FROM "public"."v_clients";

    regards,

    .R

  • Al Smith1

    45 Posts

    1285

    0

    Posted April 27th, 2010 12:00

    I have a couple of timed-out backups in my activity list and they do not show a code. However if you open the session and parse through the text there is an event code inside. I would configure on that event.

    For instance mine is: 10019

    And I have another that Timed Out but it was only a warning and that code was: 5598

    The codes are there you may just have to dig for them a bit.

  • float1

    6 Posts

    1663

    0

    Posted April 27th, 2010 12:00

    hello and thanks to all. i finish the discussion with the quick statement: a simple and quick implemented notification of backup status per email is not possible, like in other tools

    best regards

    kai

  • jprattnu

    10 Posts

    1663

    1

    Posted December 13th, 2010 18:00

    That is a joke, right? Wth.... ? I am coming off networker, and you are saying avamar, a product that cost as much if not more, cannot achieve the same (albeit, lame) level of functionality? (Im finding it difficult, but have not given up yet. it's 12/2010. surely there is a way?  No?

  • sald1

    4 Posts

    1663

    1

    Posted February 4th, 2011 01:00

    This is not good.


    Customers really like to have some easy monitoring off their backup status (successful and failed jobs) and the easiest way would be email.
    Every product can do that.


    We tried to achieve this with profiles and special reports but Avamar doesn't send anything. But when you select the report and run it, it shows the necessary info. However when you test the profile it sends an empty mail. Whether it is with csv, txt or xml, we only see some headers but no  real info about the status.

    Steven

  • rpervan

    266 Posts

    1665

    0

    Posted February 4th, 2011 03:00

    > This is not good.

    > Customers really like to have some easy monitoring off their backup status (successful and failed jobs)

    > and the easiest way would be email.   Every product can do that.

    You could maybe give a try with Data Protection Advisor .

    > We tried to achieve this with profiles and special reports but Avamar doesn't send anything.

    could you provide us more infornation regarding this one ... regarding your special reports ... I suppose scripts ... etc ..

    > But when you select the report and run it, it shows the necessary info. However when you test the profile

    > it sends an empty mail. Whether it is with csv, txt or xml, we only see some headers but no  real info about the status.

    It must be something wrong you performed ...  please more information here and I will be glad to share my knowledge ...

    regards,

    Rej

  • sald1

    4 Posts

    856

    0

    Posted February 4th, 2011 04:00

    First of all thanks for the follow-up.

    It is a very small customer environment (Hotel) and he primarilyd use to backup its remote sites.

    Therefor I don’t want to push a DPA installation and setup.

    Personnally I find a product of this range (and price) should be able to do this without using a second product.

    For the reports, there are no special scripts. Simply the standard reports of Avamar. We created a report which should simply sum up the successful clients and another one with the failed clients after each backup. When we launch the report via the Avamar Gui it works fine but when we try the profile and email, it sends the email but empty (empty csv, empty txt with only headers and not the information it showed in the report).

    I will try to get some examples from the customer.