Search found 173 matches

by onegative
Fri Mar 11, 2022 11:10 am
Forum: Open Source Nagios Projects
Topic: Native Windows check_ncpa.py
Replies: 0
Views: 392

Native Windows check_ncpa.py

G' Day Community, So before I go out and try to re-write check_ncpa.py or create a new Powershell version of it to run natively on Windows... Has anyone already gone through the trouble of fabricating Windows equivalent of SIGALRM embedded in check_ncpa.py? i.e. C:\Users\dg0123_\Desktop>python ./che...
by onegative
Wed Feb 02, 2022 12:21 pm
Forum: Nagios XI
Topic: Can you query the Nagios database for host "use template"
Replies: 4
Views: 243

Re: Can you query the Nagios database for host "use template

Further extension of the script. Now I can run a report where it returns the hostname, ipAddr, hostTemplate(s) and Host Group(s). I have a duplicate hostname column...but I will correct that latter. Just in case anyone is interested... SELECT * FROM ( SELECT no.name1 AS hostgroup_name, nh.display_na...
by onegative
Tue Feb 01, 2022 4:58 pm
Forum: Nagios XI
Topic: Can you query the Nagios database for host "use template"
Replies: 4
Views: 243

Re: Can you query the Nagios database for host "use template

Happy Tuesday Perry, So that helped...I was focused on the nagios database and of course missing the idea it was spread across databases. So I was able to pull exactly what I needed. Here is my solution in case anyone else wants to know quickly...especially when you have thousands of hosts. select t...
by onegative
Mon Jan 31, 2022 3:28 pm
Forum: Nagios XI
Topic: Can you query the Nagios database for host "use template"
Replies: 4
Views: 243

Can you query the Nagios database for host "use template"

G' Day Support, I am sniffing through the nagios database to try and determine what host template(s) is/are assigned to the host. I'm not finding it...can anyone point me to which table has the host template(s) assigned to the host record? How is the database re-creating the host record? Many thanks...
by onegative
Tue Oct 12, 2021 2:47 pm
Forum: Nagios XI
Topic: Upgrade Nagios XI 5.6.1 to 5.8.6
Replies: 1
Views: 108

Upgrade Nagios XI 5.6.1 to 5.8.6

G 'Day Nagios Support,

I am finally at a point to upgrade Nagios XI and I wanted to get some feedback regarding the transition from 5.6.1 to 5.8.6

Will I be able to upgrade directly between these versions?

Please let me know and thanks,
Danny
by onegative
Thu Aug 12, 2021 3:30 pm
Forum: Nagios XI
Topic: REST API to Modify Host Config that use Template Inheritance
Replies: 4
Views: 143

Re: REST API to Modify Host Config that use Template Inherit

gsmith Yea after seeing the required parameter list I figured the "use" parameter was not available. Yes I could easily extract the template values and populate to each host.cfg but that means I would have to then manage yet another one-off or convert everything to use the local parameter...
by onegative
Thu Aug 12, 2021 11:32 am
Forum: Nagios XI
Topic: REST API to Modify Host Config that use Template Inheritance
Replies: 4
Views: 143

Re: REST API to Modify Host Config that use Template Inherit

gsmith So I guess my description wasn't clear as I can see now that I wasn't precise. From the Help documentation it describes the required parameters as follows: requiredParams.png There doesn't appear to be a parameter describing the use of a Host Template which is where my parameters are defined...
by onegative
Wed Aug 11, 2021 10:33 am
Forum: Nagios XI
Topic: REST API to Modify Host Config that use Template Inheritance
Replies: 4
Views: 143

REST API to Modify Host Config that use Template Inheritance

G 'Day Nagios Support, So I am wanting to write an automation to modify hosts that use host templates to assign multiple aspects of inherited configurations. But I can't seem to get the POST correct. Perhaps this isn't possible??? Regardless I appreciate your help in advance, Danny The error is comp...
by onegative
Mon May 03, 2021 12:14 pm
Forum: Nagios XI
Topic: Run Check Command versus Service Status Detail
Replies: 6
Views: 259

Re: Run Check Command versus Service Status Detail

This can be locked and thanks everyone.
Danny
by onegative
Mon Apr 19, 2021 6:11 pm
Forum: Nagios XI
Topic: Run Check Command versus Service Status Detail
Replies: 6
Views: 259

Re: Run Check Command versus Service Status Detail

You know...these are the things that just simply waste my time. So it seems that if I use the ipAddr in the Address field $HOSTADRESS$ , I end up with the following error: ldap_bind: Can't contact LDAP server (-1) additional info: TLS: unable to get CN from peer certificate Could not bind to the LDA...