Skip to content

Go client for the Nagios API (JSON CGIs)

License

Notifications You must be signed in to change notification settings

ulumuri/go-nagios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nagios Core API client CI

This is a Go client for the Nagios Core API that can communicate with the Nagios Core JSON CGIs. It's the programmatic equivalent of the <nagios>/nagios/jsonquery.html.

Installation

go get -u github.com/ulumuri/go-nagios/[email protected]

Support

  • Archive JSON CGI
    • alertcount
    • alertlist
    • notificationcount
    • notificationlist
    • statechangelist
    • availability
  • Object JSON CGI
    • hostcount
    • hostlist
    • host
    • hostgroupcount
    • hostgrouplist
    • hostgroup
    • servicecount
    • servicelist
    • service
    • servicegroupcount
    • servicegrouplist
    • servicegroup
    • contactcount
    • contactlist
    • contact
    • contactgroupcount
    • contactgrouplist
    • contactgroup
    • timeperiodcount
    • timeperiodlist
    • timeperiod
    • commandcount
    • commandlist
    • command
    • servicedependencycount
    • servicedependencylist
    • serviceescalationcount
    • serviceescalationlist
    • hostdependencycount
    • hostdependencylist
    • hostescalationcount
    • hostescalationlist
  • Status JSON CGI
    • hostcount
    • hostlist
    • host
    • servicecount
    • servicelist
    • service
    • commentcount
    • commentlist
    • comment
    • downtimecount
    • downtimelist
    • downtime
    • programstatus
    • performancedata

Compatibility

Tested with Nagios Core 4.4.x