Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.
/ Ohno Public archive

Chef::Knife plugin to highlight clients not checking in

Notifications You must be signed in to change notification settings

lnxchk/Ohno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ohno

A messy client-status watcher plugin for Chef::Knife

Preface

Show long-lost chef client nodes. Takes input as number of hours lost and (right now) reprints them at the bottom of the output list with the number of hours out of sync they are.

What it does

knife ohno 6

Shows you the clients that are 6 or more hours out of date. Takes any integer number of hours as the command line argument.

knife ohno 6 nocolor

Shows you the clients that are 6 or more hours out of date, but it removes the colored printout. Useful for piping to sendmail for crons and whatnots.

This is a mess, yo

Yup.

Thanks to @jtimberman for some de-duping help on the time_difference_in_hms stuff.

Now shows only lost cheeps. Added some red thanks to the ui stuff and @kallistec.

About

Chef::Knife plugin to highlight clients not checking in

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages