Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedasifs123 committed Jul 2, 2024
2 parents ceb9688 + eba1aba commit 6ad375a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ jobs:
curl --fail http://127.0.0.1:9091/api/v1/query?query=nginx_requests | grep nginx_requests
curl --fail http://127.0.0.1:9091/api/v1/query?query=redfish_thermal_fans_reading_rpm | grep redfish_thermal_fans_reading_rpm
curl --fail http://127.0.0.1:9091/api/v1/query?query=disk_used_percent | grep disk_used_percent
curl --fail http://127.0.0.1:9091/api/v1/query?query=interrupts_total | grep interrupts_total
- name: Logs
if: always()
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ curl --fail http://127.0.0.1:9091/api/v1/query?query=net_bytes_recv_total | grep
curl --fail http://127.0.0.1:9091/api/v1/query?query=nginx_requests | grep nginx_requests
curl --fail http://127.0.0.1:9091/api/v1/query?query=redfish_thermal_fans_reading_rpm | grep redfish_thermal_fans_reading_rpm
curl --fail http://127.0.0.1:9091/api/v1/query?query=disk_used_percent | grep disk_used_percent
curl --fail http://127.0.0.1:9091/api/v1/query?query=interrupts_total | grep interrupts_total
```

## Running example
Expand Down
7 changes: 7 additions & 0 deletions config/telegraf.conf
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@
[[inputs.disk]]
ignore_fs = ["tmpfs", "devtmpfs", "devfs", "iso9660", "overlay", "aufs", "squashfs"]

[[inputs.netstat]]
# no configuration

[[inputs.dns_query]]
servers = ["8.8.8.8"]
include_fields = ["all_ips"]

[[outputs.file]]
files = ["stdout"]
data_format = "influx"
Expand Down

0 comments on commit 6ad375a

Please sign in to comment.