Nagios Core 4.1.2 , NagiosQL 3.2.0 and Write date

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
emi65
Posts: 129
Joined: Fri Aug 17, 2012 3:41 am

Nagios Core 4.1.2 , NagiosQL 3.2.0 and Write date

Post by emi65 »

Hi expert

I'm using nagiosQL to manage Nagios configuration

I like to automate the WRITE operation (write data from Mysql NagiosQL DB to config nagios files)
because I create some scripts that read the services present on server and Insert them in nagios

Some one know how write data using NAGIOSQL API from a bash script ?

Thanks
Emilio
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: Nagios Core 4.1.2 , NagiosQL 3.2.0 and Write date

Post by tacolover101 »

i don't know the QL interface directly, but if you're looking to make calls from the CLI - you probably just need to extract calls and make them using CURL.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Core 4.1.2 , NagiosQL 3.2.0 and Write date

Post by scottwilkerson »

We do not maintain the NagiosQL project internally and I don't believe what you describe exists.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked