Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger Host Alert #1

Closed
wants to merge 14 commits into from
Closed

Trigger Host Alert #1

wants to merge 14 commits into from

Conversation

lorenzobrunetti
Copy link
Contributor

Trigger Host Details is now under the alert section and appear only for
remote hosts

Trigger Host Details is now under the alert section and appear only for
remote hosts
Added flow_dump option in Network_interface class to disable flow dump
on a specific interface
@lucaderi
Copy link
Member

lucaderi commented May 3, 2015

Some comments

  1. The code you sent me isn't in sync with the repository: please update your code first.
  2. The alerts should be generated only by local hosts (not the other way round).
  3. When you define NetworkInterface::getdumpFlowPreference() please capitalise names (i.e. NetworkInterface::getDumpFlowPreference) and make it mode meaningful. As this method returns a boolean your should not use getXXX as it expects a value back
  4. For methods such as those you defined, please make them inline.
    Please fix the above issues and try again submitting your contribution

Flow_dump is now accessible through inline method in Network Interface
header class
Added function in InterfaceView to get flow_dump policy, correct
flow.cpp with the new method name.
Created new method in lua.cpp to get flow_dump variable
Now you can disable flow dump for a specific interface
Conflicts:
	.gitignore
	scripts/lua/host_details.lua
ReUp host_detils.lua
The alert logo is now hidden for local hosts
@lucaderi lucaderi mentioned this pull request Apr 9, 2021
@kfra71 kfra71 mentioned this pull request Apr 26, 2021
@aaali22 aaali22 mentioned this pull request Jun 5, 2021
@lucaderi lucaderi mentioned this pull request Nov 4, 2021
@lucaderi lucaderi mentioned this pull request Nov 11, 2021
cardigliano pushed a commit that referenced this pull request May 13, 2022
j0ji-k pushed a commit to j0ji-k/ntopng that referenced this pull request May 2, 2023
Restore host pools in endpoints import.
cardigliano pushed a commit that referenced this pull request May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants