×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles

    Nagios is a OS monitoring system

    Random Notes ill clean up later =)[edit]

    This is a list of random notes i am using whilst deploying Nagios in a customer environment, I will clean these up in to a bit of a pholisy later =)

    Check your config[edit]

    before reloading its all ways a good idea to check your config

    [Nagios base directory]/bin/nagios -v [Nagios base directory]/etc/nagios.cfg
    

    eg

    /opt/nagios/bin/nagios -v /opt/nagios/etc/nagios.cfg
    


    Define a new service check for a group[edit]

    this will add a new service check to all hosts in the solaris host group

    define service {
            service_description     if_config
            display_name            if Config
            check_command           check_nrpe!check_ifcfg
            use                     generic-service
            hostgroup_name          solaris
    }
    

    Restarting Nagios[edit]

    After adding a new service check or changing the config in general, you will have to make Nagios reload its config files or restart Nagios. Most times a reload is enough. So:

    /etc/init.d/nagios reload
    

    or, if that doesnt work,

    /etc/init.d/nagios restart
    

    This applies to a Redhat or Debian based Linux distribution. The init scripts might be in other places on different operating systems or distributions.

    Nagios and Mediawiki[edit]

    Nagios/Mediawiki

    Checks[edit]

    see: Nagios/checks

    Links[edit]

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.