
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
CloudStack Nagios helps you monitoring your Cloudstack environment with Nagios/Icinga. CloudStack Nagios uses the CloudStack API to collect information about system vm's and resources.
The following checks are supported:
Install the cloudstack-cli gem:
$ gem install cloudstack-nagios
Create the initial configuration:
$ cs-nagios setup
cloudstack-nagios expects to find a configuration file with the API URL and your CloudStack credentials in your home directory named .cloudstack-cli.yml. If the file is located elsewhere you can specify the location using the --config option.
cloudstack-nagios supports multiple environments using the --environment option.
Example content of the configuration file:
:url: "https://my-cloudstack-server/client/api/"
:api_key: "cloudstack-api-key"
:secret_key: "cloudstack-api-secret"
test:
:url: "http://my-cloudstack-testserver/client/api/"
:api_key: "cloudstack-api-key"
:secret_key: "cloudstack-api-secret"
See the help screen:
$ cs-nagios
Generate all configuration files:
$ cs-nagios nagios_config generate all
You can also generate each config file individually. The following types are available:
$ cs-nagios nagios_config list
all
hostgroups
zone_hosts
router_hosts
router_services
system_vm_hosts
system_vm_services
capacities
async_jobs
storage_pools
For all vm checks access to the CloudStack management network is required in order to run the checks via SSH or SNMP.
cloudstack-nagios differentiates between 2 different types of system vm's:
cs-nagios check router
cs-nagios check system_vm
The following checks are available:
General Checks
Checks for routers
Examples:
$ cs-nagios check system_vm network --host 10.100.9.161
$ cs-nagios check router active_ftp --host 10.100.9.177
If you want to check your system vm's with standard Nagios SNMP checks instead of checking over SSH, there are commands to configure snmpd on the machines and open the firewall.
Note: If you want to use snmp checks, you have to adapt the Nagios configuration files accordingly.
Checks various global capacity values.
Example:
$ cs-nagios check capacity memory --zone ZUERICH_IX
Checks the available disk space on CloudStack storage pools.
Example:
$ cs-nagios check storage_pool --pool_name fs_cs_zone01_pod01
Checks the number of pending async jobs.
Example:
$ cs-nagios check async_jobs
Checks for snapshots which are not in state 'BakedUp' for a certain amount of time.
Example:
$ cs-nagios check snapshots
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)Released under the MIT License. See the LICENSE file for further details.
FAQs
Unknown package
We found that cloudstack-nagios demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.