Hello There, Guest! Login Register
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Plugins on Nagios?

#1
Robbie, is there a way to utilize plugins for nagios in NEMS? Thanks
#2
Hi witchking86,
Simply post a link to the plugin with a brief description in the Feature Requests thread. If approved, I will port it to NEMS and include it in a future build.
Robbie Ferguson // The Bald Nerd

Did I help you out? Appreciate what I do? Please consider saying thanks:
#3
Hi,

I was also interested about plugins.
For example I loaded the check_cpu plugin into the NEMS directory:
https://exchange.nagios.org/directory/Pl...ux/details

And I used it from terminal.
Is there a way to add these new scripts inside the NConf dropdown menu?

Thank you
#4
Has an answer ever been given for this? I have the same question. I would like to add the Check_snmp_printer plugin to check my HP printer and have not been able to figure out how to.
#5
Hi,
I have a similar problem. I wanted to integrate a plugin for the monitoring of a ds18b20 sensor (https://github.com/cscashby/nagios-check-ds18b20).
Because I didn´t manage it to get the Plugin in the dropdown menue in NConf, I looked for a workaround. So I manually added the following to see the result of the plugin in NagiosCore.

add new command in
/etc/nems/conf/global/checkcommandos.cfg

define command {
        command_name    check_temp
        command_line    /usr/lib/nagios/plugins/check_ds18b20.py -t 30 -c $ARG2$ -C $ARG3$ -w $ARG4$ -W $ARG5$ $ARG1$
}

add new service in
/etc/nems/conf/Default_collector/services.cfg

define service {
                    service_description                   DS18B20 Temperature
                    check_command                         check_temp!28-000005d2702f!12!30!16!25
                    host_name                             NEMS
                    check_period                          24x7
                    notification_period                   24x7
                    contact_groups                        +admins
                    max_check_attempts                    10
                    check_interval                        1
                    retry_interval                        1
                    first_notification_delay              1
                    notification_interval                 0
                    notification_options                  w,c,r
                    event_handler_enabled                 0
         }


The problem now is that I receive the follwoing status information:
(No output on stdout) stderr: Usage: check_ds18b20.py [options] <sensorID>

Can someone please help me?
 
 
Forum Jump:

Users browsing this thread: 2 Guest(s)