Comments (4)
Can you provide the command output to help understand how the data maps to the parsing command please?
from newrelic-unix-monitor.
I think the decimal point in the value is causing the issue for the match.
Can you try something like (\S+)\s+[0-9]\d*(\.\d+)?$
I think that should match the decimal condition. > https://www.freeformatter.com/java-regex-tester.html is super handy for getting the grouped regex expression
from newrelic-unix-monitor.
thank you guys
I found a work around, and it's working now fine.
from newrelic-unix-monitor.
thank you guys
I found a work around, and it's working now fine.
What is the workaround? I'm have a similar issue with my monitor.
Sending a list of files with the path, date and age in seconds. Only the last file is posted.
2023-06-20 20:33:16 [pool-2-thread-1] DEBUG c.n.infra.unix.CommandMetricUtils - Line MATCHED: 1648201985 /etc/usb_modeswitch.conf 39091211
2023-06-20 20:33:16 [pool-2-thread-1] DEBUG c.n.infra.unix.CommandMetricUtils - Regex: (\d+)\s+(\S+)\s+(\d+)
2023-06-20 20:33:16 [pool-2-thread-1] DEBUG c.n.infra.unix.CommandMetricUtils - Inserting Metric: file.epoch : 1.648201985E9
2023-06-20 20:33:16 [pool-2-thread-1] DEBUG c.n.infra.unix.CommandMetricUtils - Inserting Metric: file.path : /etc/usb_modeswitch.conf
2023-06-20 20:33:16 [pool-2-thread-1] DEBUG c.n.infra.unix.CommandMetricUtils - Inserting Metric: file.age : 3.9091211E7
2023-06-20 20:33:16 [pool-2-thread-1] DEBUG c.n.infra.unix.CommandMetricUtils - Line MATCHED: 1648028509 /etc/xattr.conf 39264687
2023-06-20 20:33:16 [pool-2-thread-1] DEBUG c.n.infra.unix.CommandMetricUtils - Regex: (\d+)\s+(\S+)\s+(\d+)
2023-06-20 20:33:16 [pool-2-thread-1] DEBUG c.n.infra.unix.CommandMetricUtils - Inserting Metric: file.epoch : 1.648028509E9
2023-06-20 20:33:16 [pool-2-thread-1] DEBUG c.n.infra.unix.CommandMetricUtils - Inserting Metric: file.path : /etc/xattr.conf
2023-06-20 20:33:16 [pool-2-thread-1] DEBUG c.n.infra.unix.CommandMetricUtils - Inserting Metric: file.age : 3.9264687E7
2023-06-20 20:33:16 [pool-2-thread-1] DEBUG c.n.insights.publish.InsightsClient - Response is HTTP/1.1 200 OK
from newrelic-unix-monitor.
Related Issues (20)
- Cannot compile: missing dependency HOT 2
- Computational memory percentage for AIX server HOT 1
- Capture Uptime for the AIX Server HOT 2
- Where are dashboards? HOT 1
- Data not reporting to Newrelic HOT 1
- Log File Monitoring HOT 3
- high load average and polling interval on Solaris10 HOT 1
- Solaris extension request HOT 2
- Add mount point to Solaris 11 disk metrics
- Provide facility to collect and transmit unix system logs to New Relic
- InsightsClient Error HOT 1
- TLS 1.2 Change more prominent HOT 3
- r1.0.1 -- Unsupported major.minor version 51.0 HOT 2
- Dependency org.apache.httpcomponents:httpclient, leading to CVE problem HOT 1
- Oracle database monitoring in AIX Machine HOT 1
- Oracle Database monitoring in AIX is not reporting to New relic HOT 1
- unable to update agent name with custom hostname HOT 1
- Trying to add custom metrics bug? HOT 2
- Oracle DB - NewRelic Monitoring on Solaris OS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from newrelic-unix-monitor.