Search found 144 matches

by snapier3
Wed Dec 04, 2024 2:26 pm
Forum: Open Source Nagios Projects
Topic: Nagios(4.5.7) Perfdata to Prometheus
Replies: 3
Views: 3411

Re: Nagios(4.5.7) Perfdata to Prometheus

Had some feedback on the state tracking, refactored to make adjustments
More betterer...

Visualizing Service State in Prometheus
nagprom-prom-state.PNG
Visualizing Service State in Grafana
nagprom-service-state.PNG
--Happy Monitoring
by snapier3
Tue Dec 03, 2024 3:14 pm
Forum: Open Source Nagios Projects
Topic: Nagios(4.5.7) Perfdata to Prometheus
Replies: 3
Views: 3411

Re: Nagios(4.5.7) Perfdata to Prometheus

I made a small update in version 0.0.3 that will now include a gauge that denotes the current nagios service state in the prom file.
nagprom-service-3.PNG
--Happy Monitoring
by snapier3
Sun Dec 01, 2024 2:30 pm
Forum: Open Source Nagios Projects
Topic: Nagios CoreWizard
Replies: 1
Views: 4011

Nagios CoreWizard

I hate the toil involved in creating monitoring for objects in Nagios Core...

I had a thought, what Nagios Core really needs is a Monitoring Wizard.
https://github.com/SNapier/CoreWizard
core-interface-example.PNG
--Happy Monitoring!
by snapier3
Thu Nov 14, 2024 11:23 am
Forum: Open Source Nagios Projects
Topic: Nagios Core 4.5.7 | Action_URL and Notes_URL links malformed
Replies: 2
Views: 3212

Re: Nagios Core 4.5.7 | Action_URL and Notes_URL links malformed

Looks like the configured link is being modified via javascript...
js-conclusion.png
Y'all got one of those internal issue IDs or should I file this as a bug on GitHub?
by snapier3
Wed Nov 13, 2024 12:31 pm
Forum: Open Source Nagios Projects
Topic: Nagios Core 4.5.7 | Action_URL and Notes_URL links malformed
Replies: 2
Views: 3212

Nagios Core 4.5.7 | Action_URL and Notes_URL links malformed

When adding either action_url or notes_url to either host or service configs the links are being prepended with "http://<nagios url>/nagios/cgi-bin/" which causes the link to be malformed and not function. OS: Ubuntu 24.04 LTS Nagios: Core 4.5.7 (Fresh install) Browsers: Firefox and Edge :...
by snapier3
Wed Nov 13, 2024 12:12 pm
Forum: Open Source Nagios Projects
Topic: Nagios(4.5.7) Perfdata to Prometheus
Replies: 3
Views: 3411

Nagios(4.5.7) Perfdata to Prometheus

Tired of waiting on a TSDB to be added to Nagios, yeah me too.
https://github.com/SNapier/nagprom-service

Get all your performance data without the fluff...
nagprom-service-grafana-metrics-explorer-localhost.PNG
Happy Monitoring!
by snapier3
Fri Nov 08, 2024 12:40 pm
Forum: Nagios XI
Topic: Consolidate nagios.log and other nagios subsystem logs to syslog or journalctl
Replies: 4
Views: 1012

Re: Consolidate nagios.log and other nagios subsystem logs to syslog or journalctl

found that for RHEL I can use module imfile - https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/6/html/deployment_guide/s1-using_rsyslog_modules#s1-using_rsyslog_modules :idea: :geek: IBM has a really good write-up on how to use imfile in Ubuntu with Apache logs. https://www.ibm.com...
by snapier3
Thu Nov 07, 2024 2:26 pm
Forum: Nagios XI
Topic: List Hosts Memberships
Replies: 7
Views: 3044

Re: List Hosts Memberships

Upon testing of the origin option I noticed that any hostgroup assigned at the host object level was being omitted from the output of "config/hostgroups" which is no bueno. I refactored the script to collect both hostgroups output and host object membership and a cumulative total. localhos...
by snapier3
Tue Nov 05, 2024 2:42 pm
Forum: Nagios XI
Topic: List Hosts Memberships
Replies: 7
Views: 3044

Re: List Hosts Memberships

I fixed a bug that would compound the list membership and skew the counts. I added -o/--origin var to determine if the host has any membership set via the object config. python.exe hostgroup_click.py -n drs -H "u2204ncpa,localhost" -o u2204ncpa was found in 2 of 6 total hostgroups. [linux-...