Search found 30 matches

Return to advanced search

Re: Run a script at Core Startup

Hi.
I meant to get back to you a while ago.
This worked great.
Thanks for your help!
Rick
by grenley
Tue Apr 09, 2019 4:54 pm
 
Forum: Nagios Core
Topic: Run a script at Core Startup
Replies: 6
Views: 251

Re: Run a script at Core Startup

Thanks for the reply.
That would be fine but I see no orsystemd file
by grenley
Tue Mar 26, 2019 5:34 pm
 
Forum: Nagios Core
Topic: Run a script at Core Startup
Replies: 6
Views: 251

Run a script at Core Startup

Hi.
I have a script I want to run at Core startup.
It is a socket listener that I want started with Core and run the whole time Core is active.
Where is the best place to put the script execution?
Thanks, Rick
by grenley
Mon Mar 25, 2019 5:55 pm
 
Forum: Nagios Core
Topic: Run a script at Core Startup
Replies: 6
Views: 251

Check whether snmp sender is active

Hi. We use the snmptrap sender from Core to a notification tool. In XI, there is a "Manage Components" check box that tells you if the sender is active. Aside from the fact that Core doesn't have this dialog, I need to be able to get this status programmatically (from perl). Is this do-abl...
by grenley
Thu Nov 15, 2018 7:40 pm
 
Forum: Nagios Core
Topic: Check whether snmp sender is active
Replies: 1
Views: 181

Re: Getting Current State from JSON Query

Perfect! Thanks very much!
by grenley
Tue Mar 13, 2018 1:03 pm
 
Forum: Nagios Core
Topic: Getting Current State from JSON Query
Replies: 6
Views: 1494

Re: Getting Current State from JSON Query

Awesome. Thanks!
Is there full doc on all the API fields and options?
Also, I can't find any doc on how the numeric status values map (like, 2 = "ok")
Is that documented somewhere?
by grenley
Fri Mar 09, 2018 7:22 pm
 
Forum: Nagios Core
Topic: Getting Current State from JSON Query
Replies: 6
Views: 1494

Getting Current State from JSON Query

Hi. This should be an easy and quick one. I'm using the Core JSON API to get object info. One of the values that's in status.dat is "current_state" but I don't see that come back in the JSON. There's a value called "status" but it has a value that does not match the current state...
by grenley
Thu Mar 08, 2018 7:02 pm
 
Forum: Nagios Core
Topic: Getting Current State from JSON Query
Replies: 6
Views: 1494

Re: Remotely accessing statusjson API (http 401)

Thanks very much!
This solved my issue.
You can close it.
by grenley
Thu Feb 22, 2018 7:00 pm
 
Forum: Nagios Core
Topic: Remotely accessing statusjson API (http 401)
Replies: 4
Views: 662

Remotely accessing statusjson API (http 401)

Hi. I've seen this issue addressed on the forum but I don't see quite the answer I'm looking for. I am trying to remotely access the Core statusjson API and am getting an HTTP 401 Unauthorized. I can get around that by coding the nagiosadmin account and password on the URL. That will never fly in my...
by grenley
Tue Feb 20, 2018 6:14 pm
 
Forum: Nagios Core
Topic: Remotely accessing statusjson API (http 401)
Replies: 4
Views: 662

Re: nrdp objects not in Unconfigured Objects

Okay. Reinstall makes no difference. As we use our own install process, yum is not conclusive, but here's what php says: $ php -m [PHP Modules] calendar Core ctype curl date dom ereg fileinfo filter gd gettext hash iconv json ldap libxml mbstring mcrypt mysql mysqli mysqlnd pcre PDO pdo_mysql pdo_sq...
by grenley
Fri Jun 12, 2015 4:21 pm
 
Forum: Nagios XI
Topic: nrdp objects not in Unconfigured Objects
Replies: 18
Views: 1988
Next

Return to advanced search