npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

nagios-view

v0.0.1

Published

a simple CLI dashboard for nagios using the status.dat file

Readme

Nagios View

a simple CLI dashboard for nagios using the status.dat file

NOTE: as of right now this acts as a "dashboard" - it can only read status.

Examples

Run nagios-view with no arguments to get a summary of everything in Nagios

summary.png

Add -p to only show hosts and services that are "problems" - anything not in the OK state

problems.png


Anything provided as the first operand will be used to filter by service and hostname (case sensitive)

Filter for specific services

service-filter.png

Add --services-only to remove breaks for different hosts and to prepend the hostname to the service line

services-only.png

Filter for a specific host

host-filter.png


Use --hosts-only to only report on host status

hosts-only.png

Combine a lot of different arguments to get a custom dashboard

hosts-only-custom.png

Usage

$ nagios-view -h
usage: nagios-view [-hHnpsw] [-f /path/to/status.dat]

a simple CLI dashboard for nagios using the status.dat file

options
  -f, --file <file>         supply the path to status.dat as <file>, defaults to /var/spool/nagios/status.dat
  -h, --help                print this message and exit
  -u, --updates             check for available updates
  -v, --version             print the version number and exit

  -p, --problems            only show problem services (not OK status)
  -w, --watch               update automatically every 10 seconds indefinitely
      --hide-acknowledged   hide any services that have been acknowledged
      --status-only         only print the status lines at the bottom with totals
      --no-header           don't print header line at the top of the output
      --no-status           don't print status lines at the bottom with totals
      --hosts-only          only print hosts, not services
      --services-only       only print services, not hosts

  color output - defaults to color output if stdout is a TTY
      --color               force color output
      --no-color            disable color output

  state change times - printed by default for only problem services or hosts
      --times               print the time since last state change for all services and hosts
      --no-times            don't print the time since last state change for anything

License

MIT License