Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
M monitoring
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cylab
  • monitoring
  • Issues
  • #18

Closed
Open
Created Apr 30, 2020 by Tibo@tiboOwner

ifconfig on ubuntu 18.04

On ubuntu 18.04, the format of ifconfig is slightly different, which makes ip addresses and traffic are not parsed correctly. To solve this issue we should:

  • add a test for the ifconfig sensor with the result of ifconfig on ubuntu 18.04
  • modify the regex in the ifconfig sensor to support both versions of ubuntu

The ifconfig test: https://gitlab.cylab.be/cylab/monitoring/-/blob/master/tests/Unit/ExampleTest.php#L58

The sensor: https://gitlab.cylab.be/cylab/monitoring/-/blob/master/app/Sensor/Ifconfig.php

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking