Viewpoint filters

Post Reply
User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 15 Jul 2008 6:42

You cant use variables in view points....
:(

User avatar
RoHoe
Nouveau
Nouveau
Posts: 13
Joined: 11 Apr 2008 12:00
Location: Belgium

Post by RoHoe » 16 Jul 2008 7:54

We do it like this :

Run a job -executing the script beneath- each day before the NDP:

update ecs.filtermatchings
set fieldvalue = to_char(sysdate-1,'YYMMDD')
where name = 'previous odate' and fieldname = 'ODATE';
commit;

Make sure filter 'previous odate' is created once manually.

After this you can create a viewpoint with the filter above.

Grtz, RoHoe.

User avatar
RoHoe
Nouveau
Nouveau
Posts: 13
Joined: 11 Apr 2008 12:00
Location: Belgium

Post by RoHoe » 16 Jul 2008 8:00

Forgot to mention something :

Define your filter previous odates like this :

Odate != 080715 (date updated by the query in my previous post)
Deleted = false (optional)
Job status != Ended ok (optional)


Robie.

User avatar
arno76
Nouveau
Nouveau
Posts: 24
Joined: 29 Aug 2008 12:00

Post by arno76 » 11 Sep 2008 3:09

RoHoe wrote:We do it like this :

Run a job -executing the script beneath- each day before the NDP:

update ecs.filtermatchings
set fieldvalue = to_char(sysdate-1,'YYMMDD')
where name = 'previous odate' and fieldname = 'ODATE';
commit;

Make sure filter 'previous odate' is created once manually.

After this you can create a viewpoint with the filter above.

Grtz, RoHoe.
hello,

sorry but can you explain a little bit more?
ecs.filtermatchiing is a table fro EM?

Must we run this job on all Em server?

is there a BMC doc on this?

thanks

Post Reply