Search found 5 matches
- Tue Feb 28, 2017 5:32 pm
- Forum: Open Source Nagios Projects
- Topic: Custom check from check_procs
- Replies: 7
- Views: 9851
Re: Custom check from check_procs
EDIT: Last question, best way to install the plugins on the nrpe machine? I only have check_nrpe in that libexec, can I just copy the rest from nagios itself? Figured this out, hence edit, moved the check_procs to the nrpe machine and edited the definitions slightly now it reports back properly. com...
- Tue Feb 28, 2017 7:06 am
- Forum: Open Source Nagios Projects
- Topic: Custom check from check_procs
- Replies: 7
- Views: 9851
Re: Custom check from check_procs
Some more hours of tinkering attempting to get anything out of it. I can easily make something on the monitors nrpe to give me back the info if stuff is running or now, but ideally I would like to only have to edit nagios host server.cfgs. On the monitor: /usr/local/nagios/libexec/check_nrpe -H 127....
- Mon Feb 27, 2017 9:07 pm
- Forum: Open Source Nagios Projects
- Topic: Custom check from check_procs
- Replies: 7
- Views: 9851
Re: Custom check from check_procs
Sorry for the double post, but I seem to have figured it out: The monitor.cfg: check_command check_procs!mono!"OpenSim.exe -inidirectory=/home/simulators/tampashop/" monitors nrpe.cfg: command[check_procs]=/usr/lib/nagios/plugins/check_procs -C $ARG1$ -a $ARG2$ and the commands.cfg: # 'che...
- Mon Feb 27, 2017 8:35 pm
- Forum: Open Source Nagios Projects
- Topic: Custom check from check_procs
- Replies: 7
- Views: 9851
Re: Custom check from check_procs
Thank you for your reply. The network stuff is a bit strange to me, there is only iptables running on both machines, but neither has any block rule assigned to that port and iptables should by default allow anything above 1024 to go through. My guess is my command syntax is not correct, which is why...
- Sun Feb 26, 2017 11:36 pm
- Forum: Open Source Nagios Projects
- Topic: Custom check from check_procs
- Replies: 7
- Views: 9851
Custom check from check_procs
Been tinkering with this for a while now and I am running out of things to try. I'm trying to create a custom check using the check_procs as basis. I have added the following to the commands.cfg on the nagios-core: # 'check_nrpe' command definition define command{ command_name check_nrpe command_lin...