Search found 8 matches

by User Name
Tue Jun 28, 2016 1:37 am
Forum: Nagios XI
Topic: NCPA - cannot execute custom plugin script
Replies: 3
Views: 1936

Re: NCPA - cannot execute custom plugin script

Thank you very much. The following did it: /usr/local/nagios/libexec/check_ncpa.py -H <host> -t '<token>' -P 5693 -M agent/plugin/restartservice.sh -a 'ntpd' What confused me is that the value to the -M argument ( agent/plugin/ ) is not related to the plugin_path directive in the ncpa.cfg.
by User Name
Mon Jun 27, 2016 7:13 am
Forum: Nagios XI
Topic: NCPA - cannot execute custom plugin script
Replies: 3
Views: 1936

NCPA - cannot execute custom plugin script

We are trying to restart a Linux service using a custom script in the NCPA 'plugins/' directory. The intention is to use it for restarting services. I used the (somewhat limited) documentation . 1. create a restartservice.sh script in the plugins/ directory with execute permissions 2. call check_ncp...
by User Name
Tue Apr 12, 2016 1:05 am
Forum: Nagios XI
Topic: Manually executing remote commands
Replies: 3
Views: 1595

Re: Manually executing remote commands

I think it would be a valuable addition to Nagios XI to be able to manually execute remote commands on a host for those occasions when personnel do not have, or are not allowed, direct access to the host. Please create a feature request for this. Will you need more input from me for that? Practical ...
by User Name
Mon Apr 11, 2016 2:03 am
Forum: Nagios XI
Topic: Manually executing remote commands
Replies: 3
Views: 1595

Manually executing remote commands

I am aware of how NSClient++ can restart services automatically when they fail. Tried it with an SFTP service on a Windows box and it works nicely. With the monitoring system we use it's possible to *manually* execute an action to restart an application/service (both on Windows and on Linux). For ex...
by User Name
Tue Apr 05, 2016 2:32 am
Forum: Nagios XI
Topic: snmptraphandling.py not found
Replies: 3
Views: 1473

Re: snmptraphandling.py not found

Thank you very much for the reply. The wizard is working now :)
by User Name
Mon Apr 04, 2016 3:41 am
Forum: Nagios XI
Topic: snmptraphandling.py not found
Replies: 3
Views: 1473

snmptraphandling.py not found

When using the SNMP Trap wizard I get the following error: It looks like you are missing the trap handling file snmptraphandling.py normally located here: /usr/local/bin/ - To use this wizard you must configure SNMP using the document How to Intergrate SNMP Traps With Nagios XI. The script is indeed...
by User Name
Mon Apr 04, 2016 2:16 am
Forum: Nagios XI
Topic: Bug in SNMP wizard?
Replies: 3
Views: 654

Re: Bug in SNMP wizard?

Thank you very much, that works :)

Note: the last block is missing the closing curly brace.
by User Name
Fri Apr 01, 2016 9:29 am
Forum: Nagios XI
Topic: Bug in SNMP wizard?
Replies: 3
Views: 654

Bug in SNMP wizard?

I am using the SNMP Wizard to configure new Linux hosts on RHEL 6 for a Proof Of Concept project with XI. Unfortunately the generated service config files are not working. I see what happens but I do not know how to fix it. - RHEL 6 - nagiosxi-5-2.0.el6.x86_64.tar.gz - offline installation performed...