Skip to content

karlcswanson/lldp-bar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lldp-bar

lldp plugin for SwiftBar

lldp-bar screenshot

Requirements

  • lldpd - After being installed, lldpd runs as a daemon. LLDP data is collected on all interfaces. lldp-bar interacts with lldpd via lldpcli.
  • SwiftBar - SwiftBar makes it easy to schedule and run scripts right from the mac menubar.

Recommended Installation

Other lldpd Sources

lldpd can be installed via brew or from the lldpd project page. These other sources may require additional steps.

After installation, confirm that that your user has access to lldpd.

karl@litz-dev ~ % /usr/local/sbin/lldpcli show neighbors
2025-09-28T15:32:22 [WARN/control] unable to connect to socket /var/run/lldpd.socket: Permission denied

If unable to connect, add your user to the _lldpd group.

karl@litz-dev ~ % sudo dseditgroup -o edit -a karl -t user _lldpd
Password:
karl@litz-dev ~ % /usr/local/sbin/lldpcli show neighbors         
-------------------------------------------------------------------------------
LLDP neighbors:
-------------------------------------------------------------------------------

About

Put LLDP info in Mac Menubar

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages