• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Don M. · Mar 05, 2014 at 10:04 PM · plugins

Generic Execution Plugin - Can the Detailed Message be parsed

I am trying to use the Geric Execution Plugin to run a Monitoring script that returns the following...

OK:/opt/day/cq-5.4/publish/crx-quickstart/logs/access.log is 0|/opt/day/cq-5.4/publish/crx-quickstart/logs/access.log=0

 

If it looks like ther return value from a Nagios script, it is,I have written several scripts that all return basically the same thing

I am able to execute the remote command and get the string above, but what I'd like to know is if there is a way to parse that information and use it as a measure.

What it is returning is the number of 500 errors that occurred in the log file since the last time the script was run, usually every 10 minutes.

The 3 different return scenarios are

OK:/opt/day/cq-5.4/publish/crx-quickstart/logs/access.log is 0|/opt/day/cq-5.4/publish/crx-quickstart/logs/access.log=0

WARNING:/opt/day/cq-5.4/publish/crx-quickstart/logs/access.log is 52|/opt/day/cq-5.4/publish/crx-quickstart/logs/access.log=53

CRITICAL:/opt/day/cq-5.4/publish/crx-quickstart/logs/access.log is 105|/opt/day/cq-5.4/publish/crx-quickstart/logs/access.log=105

Any Assistance would be appreciated.

 

 

 

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

2 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Andreas G. · Apr 17, 2014 at 02:24 AM

Good to know it works.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Andreas G. · Apr 17, 2014 at 01:54 AM

Hi. Sorry for the late reply. DO you still have this issue?

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Don M. · Apr 17, 2014 at 02:18 AM 0
Share

no the new version of the GEP Plugin returns the exit code of whatever script it runs, I just pass information via the exit code, while it is limited to a number of 255 or less, it is working very well.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

Is there an integration of Dynatraace Appmon with Unit Test Framework built in c#

Generic Execution Plugin: Problem with quoting of spaces

Generic execution plugin field lenght limitation

UEM Heatmap rendering wrong

Error building a custom plugin I am developing

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A