Hi,
I need to create a log of user access to the Nagios Core web interface.
How do I get the account name of the user when they log in?
I was thinking that, if I can get that info, I could just throw a file append into index.php to log it
Thanks, Rick
Search found 96 matches
- Thu Jun 03, 2021 5:09 pm
- Forum: Open Source Nagios Projects
- Topic: Create Core Web Access Log
- Replies: 0
- Views: 743
- Tue Apr 09, 2019 4:54 pm
- Forum: Open Source Nagios Projects
- Topic: Run a script at Core Startup
- Replies: 6
- Views: 1972
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
I meant to get back to you a while ago.
This worked great.
Thanks for your help!
Rick
- Tue Mar 26, 2019 5:34 pm
- Forum: Open Source Nagios Projects
- Topic: Run a script at Core Startup
- Replies: 6
- Views: 1972
Re: Run a script at Core Startup
Thanks for the reply.
That would be fine but I see no orsystemd file
That would be fine but I see no orsystemd file
- Mon Mar 25, 2019 5:55 pm
- Forum: Open Source Nagios Projects
- Topic: Run a script at Core Startup
- Replies: 6
- Views: 1972
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
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
- Thu Nov 15, 2018 7:40 pm
- Forum: Open Source Nagios Projects
- Topic: Check whether snmp sender is active
- Replies: 1
- Views: 754
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...
- Tue Mar 13, 2018 1:03 pm
- Forum: Open Source Nagios Projects
- Topic: Getting Current State from JSON Query
- Replies: 6
- Views: 7628
Re: Getting Current State from JSON Query
Perfect! Thanks very much!
- Fri Mar 09, 2018 7:22 pm
- Forum: Open Source Nagios Projects
- Topic: Getting Current State from JSON Query
- Replies: 6
- Views: 7628
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?
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?
- Thu Mar 08, 2018 7:02 pm
- Forum: Open Source Nagios Projects
- Topic: Getting Current State from JSON Query
- Replies: 6
- Views: 7628
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...
- Fri Feb 23, 2018 5:14 pm
- Forum: Open Source Nagios Projects
- Topic: Programmatically deleting service from Core
- Replies: 3
- Views: 888
Re: Programmatically deleting service from Core
Fair enough.
If there isn't a built-in way to do it, do you have any suggestions how we can build it (without XI)
If there isn't a built-in way to do it, do you have any suggestions how we can build it (without XI)
- Fri Feb 23, 2018 4:02 pm
- Forum: Open Source Nagios Projects
- Topic: Programmatically deleting service from Core
- Replies: 3
- Views: 888
Programmatically deleting service from Core
Hi.
Is there any way, an API call perhaps, to programmatically delete a service from Core?
We have 90k+ servers (on a bunch of Core servers) and going through the GUI or editing a file as services are deleted is not going to be manageable.
Thanks,
Rick
Is there any way, an API call perhaps, to programmatically delete a service from Core?
We have 90k+ servers (on a bunch of Core servers) and going through the GUI or editing a file as services are deleted is not going to be manageable.
Thanks,
Rick