View Message

Title

Message

Confirm

<< DiscussionsReply

Checking two strings on one line

Avatar from Gravatar.com
tiagoaviz
2 discussion posts
Hello,

I'd like to know if complex searches can match against two given strings on the same line.

There are two necessary use cases:

1- We check if a tape library's drives are online. There are several lines. It appears as:
LTO5DRV1 YES/NO

If possible i'd like to match a sucess only if it finds YES on that same line.

2- Check if a given server transferred more than X amount of GBs. On the backup report, we receive how many GBs of backup each server transferred. It appears as:
SERVER1 30GB

If possible, I'd like to match success only if that server transferred more than 30GB.
24 days ago (modified 24 days ago)  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
For the first one, you can do something like this when using the complex match mode:
LTO5DRV1 +YES


For the second one, we don't currently have a way to do math in the criteria, but it's something we may add in the future. I'll add your info to the open feature request and we'll definitely let you know if/when we're able to implement it.

Thanks!
23 days ago  • #2
Avatar from Gravatar.com
tiagoaviz
2 discussion posts
Hi Keith, thanks for the reply.

For the second case, would it be possible to search inline for the backup size and demand that it must have two characters before the period?

Because mostly when my backups fail, it'll show like:

Server1 0.0GB
23 days ago  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
There isn't, no. You could do something like this though:

Body Text Complex Match SERVER1 +GB
Body Text Doesn't Contain SERVER1 0.0GB

That would make sure that the backup size is in the email, and that it's not 0.0GB.

If you're still stuck, could you attach one of the success emails, and one of the fail emails so that I can have a look at it?
• Attachment: 2019-07-25_10-21-10.png [24,511 bytes]
2019-07-25_10-21-10.png
2019-07-25_10-21-10.png
23 days ago  • #4
Was this helpful?  Login to Vote  Login to Vote
<< DiscussionsReply