
Security News
Researcher Exposes Zero-Day Clickjacking Vulnerabilities in Major Password Managers
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Plugin Development
QNotifier supports user defined plugins to extend its capability. With this ability you can monitor and alert on pretty much anything on your system.
Location
Plugin Structure
Here's a basic plugin that counts the number of processes on the system:
module Qnotifier
class Iostat < Qnotifier::Plugin
def main
processes = ps -ef
if processes
process_count = processes.split("/n").count
stat("Count", process_count)
report("Count", process_count)
if process_count > 100
alert("Count", "There are more than 100 processes running")
else
reset_alert("Count", "There are now under 100 processes running")
end
else
Qnotifier.log.error "Couldn't get output from the ps command"
end
end
end
end
Methods:
stat(key, value) Will update the stat for key with value on the server. Value is a text field that will appear next to the property in the stats portion of the client.
report(key, value) Will create a datapoint for graphs for the associated key. Value is a float or integer.
alert(key, message) Sends a push notification for the specified key with the message string.
reset_alert(key, message) Resets an alert, key must match the alert that it is associated with.
put(key, value) Puts a value string in the saved variables to be retrieved on a subsequent run by get.
get(key) Retrieves a stored value by key.
Submit your plugin to support@qnotifier.com if you feel like sharing it with others!
FAQs
Unknown package
We found that qnotifier demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.