Hello Benjamin,
thanks for the ideas and answers and support here. Yes I am using macros and templates and deploying the Nagios files with m4 too under Linux. It is good enough. We can close this threat.
Thanks and best regards
X.
Search found 14 matches
- Fri Apr 05, 2019 3:13 am
- Forum: Open Source Nagios Projects
- Topic: NRPE Looping the Config files - Nagios Core 4.3.4
- Replies: 7
- Views: 2622
- Tue Apr 02, 2019 2:00 am
- Forum: Open Source Nagios Projects
- Topic: NRPE Looping the Config files - Nagios Core 4.3.4
- Replies: 7
- Views: 2622
Re: NRPE Looping the Config files - Nagios Core 4.3.4
Hello Benjamin Thanks for the information, it is not exactly what I am looking, but yes using the templates in separate files would be of course easier. I also found a way a creating the templates using the M4 tool in linux with the macros, based on the following blog from 2009, https://administrato...
- Fri Mar 29, 2019 4:19 am
- Forum: Open Source Nagios Projects
- Topic: NRPE Looping the Config files - Nagios Core 4.3.4
- Replies: 7
- Views: 2622
Re: NRPE Looping the Config files - Nagios Core 4.3.4
Hello Benjamin, Thanks for the reply. I have for example defined in the resource.cfg file the $HOSTADDRESS, like that in the resource.cfg file, lets asume now the IPofServerB, the remote Linux server at each different location is 172.168.1.2, and then a second server in another location C, with IP a...
- Thu Mar 28, 2019 9:35 am
- Forum: Open Source Nagios Projects
- Topic: NRPE Looping the Config files - Nagios Core 4.3.4
- Replies: 7
- Views: 2622
NRPE Looping the Config files - Nagios Core 4.3.4
Hello, I am doing indirect checks with NRPE in diferent locations, and those checks/services are usually all the same in each and every location. so for example for a PC at the location B, I have the following check, in this file the IPofServerB is entered manually, and for each file. the question, ...
- Mon Mar 18, 2019 2:46 am
- Forum: Open Source Nagios Projects
- Topic: NRPE monitor Windows Clients connected to the Nagios Remote
- Replies: 15
- Views: 10418
Re: NRPE monitor Windows Clients connected to the Nagios Rem
Hello ssax, Yes, it does work. thanks for explanation and the example. I was a bit "worried" about the question in defining other commands in ServerB. I am considering this post a nice learning experience for NRPE, and now it works, with the proper syntax and the understanding. thanks for ...
- Fri Mar 15, 2019 4:13 am
- Forum: Open Source Nagios Projects
- Topic: NRPE monitor Windows Clients connected to the Nagios Remote
- Replies: 15
- Views: 10418
Re: NRPE monitor Windows Clients connected to the Nagios Rem
Hello ssax All those configuration files are on Server A. I am pinging SERVERB, as defined host, a Linux server, from SERVERA and executing the remote commands in SERVERB for checking the PC clients at Location B, or locally the commands which are in the nsclient.ini file on the Local PC clients loc...
- Wed Mar 13, 2019 1:07 pm
- Forum: Open Source Nagios Projects
- Topic: NRPE monitor Windows Clients connected to the Nagios Remote
- Replies: 15
- Views: 10418
Re: NRPE monitor Windows Clients connected to the Nagios Rem
Hello ssax, Thanks for the answer, and the explanation. Yes it as explained,some of the check are from NagiosB and others are run on the client PC locally. I managed to execute the commands on the remote PCs at the location B, and get the data to Nagios A server. I have not managed to get the syntax...
- Sun Mar 10, 2019 1:29 pm
- Forum: Open Source Nagios Projects
- Topic: NRPE monitor Windows Clients connected to the Nagios Remote
- Replies: 15
- Views: 10418
Re: NRPE monitor Windows Clients connected to the Nagios Rem
Hello ssax, Thanks for your reply, and for the help in the syntax, but I am not fully undersdanding it yet. I have now another additional question which I do not understand. It does not work for me as you said, and I may think 192.168.532 is the equivalent to my NagiosB server, and the command check...
- Thu Mar 07, 2019 4:21 am
- Forum: Open Source Nagios Projects
- Topic: NRPE monitor Windows Clients connected to the Nagios Remote
- Replies: 15
- Views: 10418
Re: NRPE monitor Windows Clients connected to the Nagios Rem
Hello ssax and tgriep I have done more operations and troubleshooting according your recommendations, and checking the NSClient++ from server A - I can reach Server B with no Issues, [root@TestNagiosA]# /usr/local/nagios/libexec/check_nrpe -H ServerB NRPE v3.2.1 also the option for arguments, "...
- Tue Mar 05, 2019 3:21 am
- Forum: Open Source Nagios Projects
- Topic: NRPE monitor Windows Clients connected to the Nagios Remote
- Replies: 15
- Views: 10418
Re: NRPE monitor Windows Clients connected to the Nagios Rem
Hello thanks for the reply, but I am still not get it to work- I would need an example which works, When passing the commands as mentioned below, I get "Unable to read output" [root@TestNagiosA]# /usr/local/nagios/libexec/check_nrpe -t 30 -H ServerB -c check_nrpe_external -a PCClient1B che...