Want know, can Nagios agent (Active / Passive) store the all sending.
Requirement :
If Nagios XI server goes down and come up again, whatever time taken by Nagios XI to getting up, those time duration missing data we want to get update in the server.
Nagios XI Active / Passive aget query
Re: Nagios XI Active / Passive aget query
Not currently without doing custom modifications, what agent and version are you using? We can give you more information once we get that.
Thank you
Thank you
-
sandeepatil
- Posts: 211
- Joined: Tue Dec 27, 2016 3:12 am
Re: Nagios XI Active / Passive aget query
We are not using available agent, created custom agent as per our environment.
Can you explain the custom modification.
Can you explain the custom modification.
Re: Nagios XI Active / Passive aget query
You'd need to setup your agent to:
- Spool the results to a directory/file
- Try to connect
---- If it is able to connect, process the file(s) and submit them to the XI server, and finally delete the files from the spool directory/file
---- If it's not able to connect, keep trying every X minutes until it does, then when it connects have it process/submit/delete
Let us know if you have any questions.
- Spool the results to a directory/file
- Try to connect
---- If it is able to connect, process the file(s) and submit them to the XI server, and finally delete the files from the spool directory/file
---- If it's not able to connect, keep trying every X minutes until it does, then when it connects have it process/submit/delete
Let us know if you have any questions.
-
sandeepatil
- Posts: 211
- Joined: Tue Dec 27, 2016 3:12 am
Re: Nagios XI Active / Passive aget query
Please explain results location or directory path.Spool the results to a directory/file
Re: Nagios XI Active / Passive aget query
As this is a custom agent you are developing, the locations and paths are up to you.
Former Nagios employee
-
sandeepatil
- Posts: 211
- Joined: Tue Dec 27, 2016 3:12 am
Re: Nagios XI Active / Passive aget query
Want to know default NRDS agent results location or directory/file, help to understand which details need to configure.
Re: Nagios XI Active / Passive aget query
There is none, as pointed out by @ssax here:sandeepatil wrote:Want to know default NRDS agent results location or directory/file
The functionality you desire is not present in NRDS, NSClient++, NCPA, or any other agent to my knowledge. You would need to develop your own agent to handle that and make design choices that are sensible in the context of your organization. Maybe the spooler file should live in the recycle bin, maybe it should live on a flash drive that you physically transport to the Nagios XI box. Maybe there should be no spooler file and you should use a message queue instead. Maybe you don't develop your own agent and instead do some very clever things with a non-nagios-based system agent with native spooling like rsyslog.ssax wrote:Not currently without doing custom modifications
These are probably not decisions that third parties should be making for an organization without proper contracts in place.
However, if you have specific architectural questions regarding any of the agents maintained by Nagios Enterprises (NRPE, NCPA, NRDS, NRDP), this is a fantastic place to get those questions answered.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
sandeepatil
- Posts: 211
- Joined: Tue Dec 27, 2016 3:12 am
Re: Nagios XI Active / Passive aget query
In the provided solution,
Need to understand in Nagios XI agent (Not my customize agent) which data need to collect (Need to know location of data and files) to submit the XI server.You'd need to setup your agent to:
- Spool the results to a directory/file
- Try to connect
---- If it is able to connect, process the file(s) and submit them to the XI server, and finally delete the files from the spool directory/file
---- If it's not able to connect, keep trying every X minutes until it does, then when it connects have it process/submit/delete
Re: Nagios XI Active / Passive aget query
There is no "Nagios XI agent". Nagios XI has configuration wizards that leverage the following agents for active checks:sandeepatil wrote: Need to understand in Nagios XI agent
- NRPE (most "Linux" configuration wizards)
- NCPA
- NSClient++ (most "Windows" configuration wizards)
If all you care about is how to get "passive" results into Nagios XI, regardless of where they are coming from, see this documentation:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/