cancel
Showing results for 
Search instead for 
Did you mean: 

SM 7.1 File System Exclusions TechMon Variant issue

patrick_samame
Explorer
0 Kudos

Hi.

I have attempted to set up File System exclusions in SM 7.1 Technical Monitoring, with limited success for HP-UX.

Systems:

     SM 7.1

     Managed system - OS Release:   HP-UX B.11.31

Goal:

     exclude one, or more, file systems (../sapdata155)

Template/Metric – HP-UX / File System Used (%)

The following excludes 155 and 51.  Includes *only* /oracle/* (as expected)

     ((?!/oracle/QAS/sapdata155(/.*)*)(?!/oracle/QAS/sapdata51(/.*)*)(/oracle(/.*)*))

The following excludes 155.  But includes *only* /oracle/*    (not as expected)

Does not report on /opt , /home , /usr , or other though it should include these..

      (?:(?!*/sapdata155(/.*)*)

Reviewed the following:

 

http://scn.sap.com/thread/3546553

http://scn.sap.com/thread/3169844

http://wiki.scn.sap.com/wiki/download/attachments/269157890/Template+Maintenance+-+File+System+Varia...

http://scn.sap.com/thread/3391208

Question(s):

 

Is this a syntax issue?

How would I exclude only ../sapdata155 , but include
/oracle, /etc, /home, and others?

    

Thank you.

Accepted Solutions (0)

Answers (1)

Answers (1)

roland_hennessy
Contributor
0 Kudos

Hi Patrick,

Is FILESYS_NAME=.* set as active?

Kind regards,

Roland

patrick_samame
Explorer
0 Kudos

Hi Roland.

Apologies for neglecting to mention that.

FILESYS_NAME=.* is deactivated.

Thanks.

p.s.  I will try to update the original posting.

bxiv
Active Contributor
0 Kudos

Give this site a try and see if you can manipulate the regex to what you need - Online regex tester and debugger: JavaScript, Python, PHP, and PCRE

roland_hennessy
Contributor
0 Kudos

Hi Patrick,

To continue monitoring other file systems you will have to keep the FILESYS_NAME=.* as active. Can you try this and let me know?

Kind regards,

Roland

patrick_samame
Explorer
0 Kudos

Thanks, Billy.

I did previously drop the statement in to the tester, but it was returning that an escape character was needed, which was not the case.

I will continue testing with it though.

Thanks!

Patrick

patrick_samame
Explorer
0 Kudos

Hi Roland,

I believe I read that leaving the default variant active would continue to include all.

But I will definitely give it a try and report back.

Thanks!

Patrick

patrick_samame
Explorer
0 Kudos

Hi Roland,

Just verified.

Leaving the default active [ FILESYS_NAME=.* ] resulted in all file systems being monitored, including /oracle/QAS/sapdata155

Thanks

Patrick

roland_hennessy
Contributor
0 Kudos

Hi Patrick,

Okay I've double checked and I think you expression was incorrect (extra * and missing bracket)

Please can you try the following expression and also now deactivate the variant FILESYS_NAME=.*

(?:(?!/sapdata155(/.*)*).*) 

Let me know if this helps.

Kid regards,

Roland

patrick_samame
Explorer
0 Kudos

Roland,

I will make the change, test it, and report.

Thanks!

Patrick

patrick_samame
Explorer
0 Kudos

Hi Roland.

This resulted in a gray status.

But I greatly appreciate the feedback and will keep digging.

Thanks!

Patrick