Skip to content

slim-bean/ossec-metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ossec-metrics

A very simple app which polls /var/ossec/bin/agent_control and reports the number of active agents and total agents as the prometheus metrics ossec_metrics_active_agents and ossec_metrics_total_agents

Sorry there isn't a makefile, to build:

go build -o ossec-metrics cmd/ossec-metrics/main.go

To cross compile for a Raspberry Pi

GOOS=linux GOARCH=arm GOARM=7 go build -o ossec-metrics-linux-armv7 cmd/ossec-metrics/main.go

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages