AS400 Check Plugins

This forum was archived to /woltlab and is now in read-only mode.
  • Hi All,


    I'm currently using nagios core, Since I want to monitor AS400 server, I installed the as400 nagios plugin, but during installation Im facing some problem regarding the configuration file. I followed all installation instruction as show below:


    1. ./install
    2. Modify your $NAGIOS_PATH/libexec/.as400 with the correct user and password
    3. Add the contents of the checkcommands.example file into your $NAGIOS/etc/checkcommands.cfg
    4. Add services to your nagios configuration. There are examples in the services.example file.
    5. Add dependencies to your nagios configuration. There are examples in the dependency.example file.


    Im able to follow from step 1 until step 4, and stuck at step 5. They did provided dependency.example as shown below:


    define servicedependency{
    host_name as400host
    service_description Active Jobs
    dependent_host_name as400host
    dependent_service_description Login
    execution_failure_criteria c,u
    notification_failure_criteria c,u
    }


    #outq dependency
    define servicedependency{
    host_name prtis1
    service_description AS400 OUTQ
    dependent_host_name as400host
    dependent_service_description Login
    execution_failure_criteria c,u
    notification_failure_criteria c,u
    }



    The problem is I dont know which config should I put this definition?



    can somebody help me~ :)



    regards,


    Hazly