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

Hook many commands into the lnms script #9699

Merged
merged 5 commits into from Jan 24, 2019

Conversation

murrant
Copy link
Member

@murrant murrant commented Jan 19, 2019

Looking for feedback on the CLI switches and structure! Speak now while it can be changed. :) * layout format to change even after merge for awhile.

Most are just pass through for now
device:add is not, because addhost.php is terrible

Available commands:
  help                      Displays help for a command
  list                      Lists commands
  migrate                   Run the database migrations
  scan                      Scan the network for hosts and try to add them to LibreNMS
  update                    Update LibreNMS and run maintenance routines
 device
  device:add                Add a new device
  device:remove             Remove a device
  device:rename             Rename a device, this can be used to change the hostname or IP of a device
 poller
  poller:alerts             Check for any pending alerts and deliver them via defined transports
  poller:billing            Collect billing data
  poller:billing-calculate  Run billing calculations
  poller:discovery          Discover information about existing devices, defines what will be polled
  poller:ping               Check if devices are up or down via icmp
  poller:poll               Poll data from devices as defined by discovery
  poller:services           Update LibreNMS and run maintenance routines

DO NOT DELETE THIS TEXT

Please note

Please read this information carefully. You can run ./scripts/pre-commit.php to check your code before submitting.

Testers

If you would like to test this pull request then please run: ./scripts/github-apply <pr_id>, i.e ./scripts/github-apply 5926
After you are done testing, you can remove the changes with ./scripts/github-remove. If there are schema changes, you can ask on discord how to revert.

@murrant murrant added this to the 1.48 milestone Jan 22, 2019
@murrant murrant merged commit 56ef747 into librenms:master Jan 24, 2019
@murrant murrant deleted the lnms-passthrough branch January 24, 2019 05:52
@lock lock bot locked as resolved and limited conversation to collaborators Mar 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant