![]()
Editing the configuration files in /opt/monitor/etc.
![]()
Using the web UI op5 Monitor configuration tool.In this chapter we will take a look at how the op5 Monitor Configuration tool, from now on called only Configure, is used.All configuration in op5 Monitor is saved in configuration files (text files) in /opt/monitor/etc/. The Configure works with a database and this makes it possible to do any changes in the configuration without saving it before you are satisfied.
Configure opens and the configuration files are compared to the data in the database. Save the changes to the Configure database by clicking Submit on the object you just added/changed. When you are done with editing the configuration save the Configure database to the configuration files by clicking Save. A preflight check is made on the configuration before it is exported to the configuration files.In The basics section we will take a look at the basic step you need to know about when working with Configure.There are many ways to jump in to Configure and start working with the configuration of op5 Monitor.When you have made any changes to an object you have to submit it to the Configure database.As soon as the data has been saved you will get the following warning telling you there is unsaved data in the Configure database.When you have finished working and consider your new configuration is ready to be used by op5 monitor you need to save the changes in the Configure database to the configuration files.If you are another users is doing changes on the same objects that you have access to you will save the other users changes as well. The other users changes will be shown under ‘More info’ as well.In the screenshot below you will see an example where we created a new host group and jsmith at the same time added a new host.When done click Yes, save to write all the changes to disk.
Note: if two users with the same permissions are editing the same host all configuration regarding the host or service will be saved.Sometimes it might be handy to reset the configuration to the state it was in where you started to work in Configure. The only thing you have to do then is to undo your changes.
The undo function will only work as long as you do not have saved the data to the configuration files.To undo all users changes click on complete reimport. This will re-read the configuration files and all changes will be reverted. If any changes were made directly into the configurations files these changes will now be loaded in to the web configurationHistorical configuration changes can be used to track changes in the configuration. In the log you will find all changes in the configuration on objects that you have access to.To access the historical configuration changes log, go to Configure and click on the Historical configuration changes icon in the upper right corner.The configuration is based on objects. There are several types of objects, each one defining different things in the monitoring process.In most of the listings you will find a small text field called Filter by regular expression. Use this to filter out the content you are interested in when viewing the different lists.All objects have a list of directives that are required when adding a new object. The other directives can be left out. They will then get the op5 Monitor defaults value.This does not mean you have to set every directive for every object. One solution is called templates. They make it a lot easier to manage a large set of objects. Read more about templates in Using templates on page 45.Hosts are one of the central objects in the monitoring logic. Important attributes of hosts are as follows:
![]()
Hosts are usually physical or virtual devices on your network (servers, workstations, routers, switches, printers, etc) but it could be practically anything you can reach and monitor from the op5 Monitor server.
![]()
Hosts does not need a service directly associated to them, the services can be inherited from a hostgroup. A host can also exist without services.
![]()
Hosts can have parent/child relationships with other hosts, often representing real-world network connections, which is used in the network reachability logic.
This is the id of the object. I may not contain any space in the value. A more describing name for the object. The address the host is reached by, preferably an IP address to make sure the host is reachable even if the DNS is down. Is used to define the number of times op5 Monitor will retry checking the host if it returns any kind of problem state. Setting this value to 1 will cause op5 Monitor alert directly without any retry. During this period the host is checked. It can be any time period defined in op5 Monitor. Single contacts used to send notifications to and gives access to this host for users who do not have access to all hosts. Contact groups used to send notifications to and gives access to this host for users who do not have access to all hosts. Number of minutes between renotifications. Set this to 0 if you only want to have one notification sent out. During this period the notifications are sent out if any alerts are created. It can be any time period defined in op5 Monitor.A service can be practically any thing that you can measure and monitor on a host. It is almost only your imagination and programming skills that sets the limit for what you can monitor with a service.
![]()
use a check command (Commands on page 40) to communicate with the plugin (Plugins on page 40) that gets all the data.
host_name object command object This is the short name of the command that is executed during service checks. Is used to define the number of times op5 Monitor will retry checking the host if it returns any kind of problem state. Setting this value to 1 will cause op5 Monitor alert directly without any retry. The number of minutes between normal service checks. The number of minutes between retry checks when a service has gone into a problem state before the state becomes hard. During this period the service is checked. It can be any time period defined in op5 Monitor. Single contacts used to send notifications to and gives access to this host for users who do not have access to all hosts. Contact groups used to send notifications to and gives access to this host for users who do not have access to all hosts. Number of minutes between renotifications. Set this to 0 if you only want to have one notification sent out. During this period the notifications are sent out if any alerts are created. It can be any time period defined in op5 Monitor.
Used to determine whether or not the contact will receive notifications about host problems and recoveries. Used to determine whether or not the contact will receive notifications about service problems and recoveries. time_period object The time period when the contact will receive any host notifications. time_period object The time period when the contact will receive any service notifications. Used to set what type of host notifications the contact shall receive. Used to set what type of service notifications the contact shall receive. command object The command used to send the host notifications command object The command used to send the service notifications. During this period the notifications are sent out if any alerts are created. It can be any time period defined in op5 Monitor.The access rights does not have any thing to do with notifications or the permissions of viewing objects in op5 Monitor.Access rights can be connected to a contact by giving the username the same name as the id (contact_name) of a contact.A access right can also be created by checking the box “Configure access rights for this contact” when creating a contact.
The password is used for the login.
authorized_for_system_information Gives the user access to the system / process information. authorized_for_configuration_information Gives the user access to view and change configuration. Gives the user access to issuing commands in the web gui. With commands you can control certain functions in op5 Monitor, for example: enable/disable notifications, scheduled downtime, acknowledge problems etc. Gives the user access to view all services, se Customizing views below for more information. Gives the user access to view all hosts, se Customizing views below for more information. authorized_for_all_service_commands Gives the user access to issue commands for all services, se Customizing views below for more information. authorized_for_all_host_commands Gives the user access to issue commands for all hosts, se Customizing views below for more information.
-
authorized_for_system_commands so they can acknowledge problems but not change the configuration.Admin roles make it possible to create a role with more fine-grained permissions than with Access RightsWhen combining several different permissions, the role's members will only get access to the objects that are allowed according to all of the permissions.If at least one permission is selected, and none of the permissions is either "Allow all" or "Disallow all", then an "Allow all" will be implied. That is, if you choose only "Disallow creating new objects", that gives the role permission to edit all existing objects.Leaving a permission empty means it will fall back to the permission in the "default" role, and that grants full access.The option "Only contacts can access" roughly means that whatever is visible in op5 Monitor will be visible in the configuration.
Setup how the users are going to be allowed to modify hostgroup objects Setup how the users are going to be allowed to modify contact objects Setup how the users are going to be allowed to modify contactgroup objects Setup how the users are going to be allowed to modify timeperiod objects Setup how the users are going to be allowed to modify command objects Setup how the users are going to be allowed to modify servicedependency objects Setup how the users are going to be allowed to modify serviceescalation objects Setup how the users are going to be allowed to modify servicegroup objects Setup how the users are going to be allowed to modify hostdependency objects Setup how the users are going to be allowed to modify hostescalation objectsIn this example we will create a user that has the ability to see all hosts in the assigned hostgroup, and can edit services in this hostgroup, in this case Mysql-srv1.Prerequisites:
You have a contact that we call jsmith that is member of contact group "Database"
2 This contact has the access rights: authorized_for_system_information, authorized_for_configuration_information and authorized_for_system_commands.
3 Click Submit button
4
5 Note: If you leave a field empty, "Full Access" will be implied.When combining several different permissions, the role's members will only get access to the objects that are allowed according to all of the permissions.If at least one permission is selected, and none of the permissions is either "Allow all" or "Disallow all", then an "Allow all" will be implied.
That is, if you choose only "Disallow creating new objects", that gives the role permission to edit all existing objects.In this case we will create a role called DB-Admin that only will have access to the hostgroup "Databases".This role can edit services on hosts in this hostgroup, add new services to the hosts in this hostgroup and create and edit services, but not create new hosts or se other hosts than “jsmith” is assigned to.
Disallow editing of existing objects, Disallow creating new objects, Only contacts can access Now "jsmith" can only access his hostgroup and change the services associated in the hostgroup "Databases".Time periods is time defining objects that span over a week. You can define included time for each day of the week in the time period definition.The time period objects are used at many places in the configuration. Most noticeably are in the contact objects where the time periods defines when notifications should be sent out.You can also use time periods to define when a service or a host should be monitored or when you are creating availability reports.
which time to include for each day. you can define multiple times by separating them with comma. Example 00:00-01:00,03:00-06:00 Specify what type of exception you want to use; Date or DayDepending on what kind of exception type you have chosen you will get different settings choices. The two lists below describes them all.
Other predefined time period definitions that should be excluded from this time period. Specify what type of exception you want to use; Date or Day
If you chosen date range you will here set the start date To date. How often the exception is repeated. Valid values are positive integers greater than one. E.g:
![]()
Date range "2008-01-01 - 2008-12-31 / 5" means every fifth day of 2008.
![]()
Day range "1 monday march - 3 sunday may / 3" means every third day between the first monday and the third sunday every month.
![]()
Date range "2008-06-01 / 14" means every 14th day from first of june 2008. Note that this exception has no end. Which time to include for this exception. You can define multiple times by separating them with comma. Example:
Choose the weekday that is supposed to be used in this Exception. How often the exception is repeated. Valid values are positive integers greater than one. E.g:
![]()
Date range "2008-01-01 - 2008-12-31 / 5" means every fifth day of 2008.
![]()
Day range "1 monday march - 3 sunday may / 3" means every third day between the first monday and the third sunday every month.
![]()
Date range "2008-06-01 / 14" means every 14th day from first of june 2008. Note that this exception has no end. Which time to include for this exception. You can define multiple times by separating them with comma.A command is exactly what it sounds like. It can use macros and arguments. Mostly they are used with services but they can actually be used as
This is the id of the command and also the name shown in Configure. is the actual command line used by the services, notifications, event handlers and obsession.Plugins are compiled executable or scripts that can be run from a command line to check the status or a host or service.There are many plugins included in the op5 Monitor software. A list of the plugins can be found in the list-of-plugins at the support section at www.op5.com.If you are looking for a plugin not found in op5 Monitor by default there are a bunch of other places to lookYou can use any plugin written for Nagios but you might need to modify them a bit before they work in the op5 Monitor environment.The groups in op5 Monitor is used to group objects of the same type. There are three types of groups in op5 MonitorThey are all good to use to get things a bit more organized and they have also special functions op5 Monitor.
You may not have any empty groups in op5 Monitor so when you create a new group, no matter what type it is, you should have at least one object to add to the group.There are a few host groups included in the initial setup of op5 Monitor but you can create your own matching your own needs.A host group can contain service checks. These service checks will be inherited on all hosts connected to the host group.To add a service to a host group go to ‘Configure’ and ‘Host Groups’. Choose the host group you want to add services to then select ‘Services for hostgroup’For example a windows servers host group could contain the checks that are common for all windows servers. By doing this you will only need to change command arguments on the service in the host group instead of changing the arguments on all windows host.If you add new checks to the service group all hosts in the host group will get the new service once you save your configuration.If a host group service and a host service should get the same name, the host group service will be used, the host service will still be visible in the configuration and if the host is lifted out from the host group the host service will become active.When nesting host groups together the services on host groups also will inherited to the nested host group. This only work one way.For example:
Host group A has service X and host 1 is a member of host group A
Host group B has service Y and host 2 is a member of host group B
If host group B is added as a member of host group A then host 1 will get service Y but host 2 will not get service X.A good way to use this feature is to have i.e a Windows host group and then a MSSQL host group. When adding the Windows host group as a member to the MSSQL host group the hosts added to MSSQL will get both the service checks that are standard for all Windows host and the default MSSQL service checks.The service groups are used to group services together in the same way as for host groups. On the other hand there is almost no useful at all to for example group service groups by geographic placements.One good way to use service groups is to create groups containing services needed for a service you deliver to your customers.
Example 1 To be able to deliver an email service to our customers the following services need to be working:If we get a problem with any of the services in the Customer email group we can easily see that the whole email service has got a problem.The service group in the example above is perfect to use in Service Level Agreement reports (SLA in the op5 Monitor user manual) to make sure we deliver the service as we promised.Contact groups are mainly used to setup where to send service and host notifications. It can also be used to setup permissions about who should be able to see what object in the op5 Monitor GUI.The members of a contact group associated with a certain host and/or service are the one that will get all notifications for that object.If a user does not has the access rights to see all hosts that user need to have a contact connected to the contact group associated with the host or service the user should be able to see.If an unprivileged user is not a contact for all hosts in a hostgroup, he will not be able to see the host group in the "Hostgroup summary/overview/grid" views.
1 Create and edit the file /opt/monitor/op5/ninja/application/config/custom/groups.php with your favorite editor.<?php defined('SYSPATH') OR die('No direct access allowed.');
$config['see_partial_hostgroups'] = true;Even though Configure makes it easy for you to add and change the configuration of op5 Monitor it is still a lot of things to edit and tweak. To make the software even more easy to use templates have been built in.op5 Monitor comes with a couple of predefined templates for each object type described above. They are just there to be examples and you should really create your own.
![]()
Any directive set in a template will be used in the objects using the template. But if you set a directive explicit on an object that value will override the templates.
![]()
Any directive not set in neither a template or directly on the object will have the op5 Monitor default value.
![]()
If you change any value on a directive in a template it will only be valid on the objects where the same directive is not set explicit.Now let us be a bit more hands on. In this section we will take a look at how to add/edit/delete objects using the Configure.There are sometimes many ways to do things in op5 Monitor but we will only show a few examples.In the subsections to Managing objects we will assume that you start from the main page of Configure.Every time you comes to a page where you can handle an object you will have the Add new... dialog ready for you to add a new object.Every object is placed in a configuration file. You may change what file the object is placed in at the bottom of every configuration page. This is normally not necessary and only used in special cases.In the guides we will only describe the directive that are differ from the default value. Click the help iconBecause handling templates is the same for all kind of templates, only the directives differ, we will only add a template in Contacts on page 47.Before we start to add any new contacts we will create a contact template to use with the contact in the next section. In this guide we only describes the directive we will not use the default value in.
1
2
5 Click Submit.
6 Click Save.
1
6 Click Submit.
7 If you want to create access right check the “Configure access rights for this contact” otherwise save changes
8 When Configuring access right for this contact select the access rights the contact should have, after that save the changes.
9
1
3 Click Go.
4 In the view you will get only directives differ from the template will be shown. To change the other directives click Advanced.
5
6 Click Save.
1
3 Click Go.
4
5 Click Save.
![]()
the new host wizard
![]()
a network scan
1
5 We assume this is a Microsoft windows server and that NSClient++ has been installed. Check for the following service checks.
When using WMI a administrators account must be selected. It is also possible to create a user with less privileges, see how-to’s on www.op5.com
6 Click host logo to set the icon that will be displayed for this host in lists and maps.
A list looking like this will be displayed.Click the icon you like to use.
7 Click Scan hosts for services.
2 The scan has found out that NSClient++ is installed plus two other services that can be added to this host.Check Select All to add all services found or select the one you like to add for this host.
3 Click Continue to step 3.Network ranges can be specified in a very free form. Each of the four parts of the IP-address may contain any combination of comma-separated numbers, 'from-to' ranges and single numbers, as such: 10.1,2.0,4-10.1-50.
1
2
3 Fill in the desired network range. We will scan for hosts in the range from 172.27.86.8 - 172.27.86.97.
4 Click Scan Ranges.
6 Repeat To add a new host using the new host wizard - Part 1 on page 49 for each host, except for the last step. If here is one or more host you do not like to add choose No in Add this host?
When you are finished click Scan hosts for services.
7 Repeat To add a new host using the new host wizard - Part 2 on page 50 for each host, except for the last step.
When you are finished click Continue to step 3
8 Click Save.
2 Click Go.
3 In the view you will get only directives differ from the template will be shown. To change the other directives click Advanced.
4
5 Click Save.
2 Click Go.
3
4 Click Delete all affected objects.
5 Click Save.When renaming a host in the web GUI it will only rename the host and will not rename the host name.To rename the host name in log-files as well a script has to be run manually. The script will rename the host in log-files. If this is not done the host will lose all it’s alert history.If there is a lot of history this script can take a while to execute and during this time the op5 monitor service will not be running.Note that this does not yet work on schedule downtime objects. If a host is renamed that has a scheduled downtime the scheduled downtime will be lost.It might get handy to let op5 Monitor scan and notify you if there are any new hosts on a particular network range.
No host will be automatically added. The network autoscan function will only find the hosts for you.You may add as many autoscan configuration as you wish. When adding a your network range you may use the same syntax as when you manually scans a network from the Add new host wizard.
1 Click Configure in the main menu.
2
3
![]()
Name: The identifier of this autoscan configuration
![]()
IP Range: In this case a complete C net.
![]()
Activate: Make this autoscan configuration active and in use.
4 Click Save.In certain ranges you are scanning with the network autoscan there might be hosts you do not want to include in the result. Then you should add that host or hosts to the blacklist.
1 Click Configure in the main menu.
2
3
4 Click Add.After the networks scan has been executed a small result will be shown in the upper left corner of the op5 Monitor GUITo add the hosts that has been found you only need to click on the text to the right of the icon. You will then come to the Add new host wizard the same as when you have done a manual network scan.We will take a look at the add service for this host.
2 Click Go.
3
5 We will use the check_nt_cpuload command for this service.
Type in as many chars you need in the filter by regular expression field until the command shows up.
6 Click Syntax help to see what arguments are needed for this command.
You can see that we have a macro called $ARG1$. This is the first, and in this case the only, argument we need to give to this command.
7 Click Syntax help again to hide the help text.
9 Click Submit.
10 Click Save.
2 Click Go.
3
5 Click Go.
6 In the view you will get only directives differ from the template will be shown. To change the other directives click Advanced.
7
8 Click Save.Test this service makes it possible for you to test the service you added or modified before you save the new configuration and reload monitor. This is a nice way to make sure the service works as it is supposed to.
2
3The output looks like the one below. If you get any errors it will be shown here in the output
4 Click Test this service again to hide the output.
2 Click Go.
3
5
6 Click Save.When you added your host (Hosts on page 49) you had the opportunity to add services found during the scan for network services. This scan function can also be reached afterwords.
1 Open up the host, in Configure, you like to add new services on.
2 Click Scan host for network services.
3
5 Click Save.Additional information: In a distributed enviorment a selectbox will appear when hovering over the menu item “Scan host for network services” where you can select from which op5 Monitor system that should preform the scan.In many times when you are about to monitor a switch or a router you need to setup a lot of services. It is hard work and takes a lot of time to add them one by one.Instead of adding all interface services one by one you should use the scan for snmp interfaces function.
1 Open up the host, in Configure, you like to add new services on.
2 Click Scan host for SNMP interfaces.
5
8 Click Add selected services.
9 Click Save.With op5 Monitor you do not need to do anything more than make sure the latest agent (NSClient++) is installed and follow the next few steps.
1 Open up the host, in Configure, you like to add new services on.
2 Click Scan host for Windows Services.
5 Give the new service a Service description.
6 Click Add Selected Services.
7 Click either the service link or the Scan for more service button.
8 Click Save.Scan for services using Windows Management Instrumentation has a number of dependencies to be able to work:To scan a host for WMI-counters and services upon adding the host to your op5 Monitor configuration as partly described in: Adding a host with new host wizard on page 49.
1 Select Configure in the main menu
2 Click on New Hosts
4
6
8 Custom variables can be used to store custom information for hosts, services and contacts in the configuration. These varibles can be used as a macro in command arguments and notifications for example.All custom variables will automaticly get a underscore “_” as a prefix to prevent name collisions with the standard variables.When using a custom variable as a macro a “$”-sign is always used before and after the variable name.
Enter a variable name and the value of the variable. Note that the prefix underscore and convertion to upper case is done automatically.Click on submit and save the configuration.Instead of using the SNMP community name hardcoded in the check command or in the command arguments in the service check we will create a custom variable that we will use as a macro in the command arguments.In this example we will move the SNMP community name on a traffic check on a switch port from being in the command arugments to a custom variable.First we create a custom variable on a switch traffic check, see Creating a new custom variable on page 64.Name the variable: snmp_community (the prefix and upper case convertion will be done automatically).Enter the name of your SNMP community as a value. Let’s say for this example that the community name is “qwerty”Change the command arugment of the command arugment from “qwerty!5!100mbit!70!90” to “$_SNMP_COMMUNITY$!5!100mbit!70!90”Click on submit and save the configuration.Escalations let you configure escalation of notifications for this host. The idea is that if you have a really important host you can send the first notification to the default contact group in order for them to solve the problem. If the problem is not solved in lets say 30 minutes you can send the notification to a broader range of contacts.Host and service escalations works exactly in the same way so we will only take a look at host escalations from now on.
2 Click Go.
3
d Set the notification interval which is the number of minutes to wait to the next notification.
f Choose what states this escalation will be valid for.
In this case we do not use the escalation for unreachable or recovery which means that unreachable and recovery notifications will be sent to the contact group set on the host.
5 Click Submit.
7 Click Go.
d
f Choose what states this escalation will be valid for.
In this case we do not use the escalation for unreachable or recovery which means that unreachable and recovery notifications will be sent to the contact group set on the host.
9 Click Submit.
10 Click Save.
2 Click Go.
3
5 Click Go.
7 Click Save.
2 Click Go.
3
5 Click Go.
6
7 Click Save.To be able to login to op5 Monitor you need to have a user, described in Access rights on page 31. But you need to have a contact, described in Contacts on page 29, to be able to receive notifications and in some cases even be able to see any hosts or services.By connecting access rights to a contact you will be able to login and get notifications with the user created in access rights.So basically what you need to do is to configure a new contact. Add the contact to an existing contact group or create a new contact group specific for the new contact. If you created a new contact group make sure to add the contact group for the hosts and services that you want to make available in the customized view.
2 Add the contact to an existing contactgroup or create a new contactgroup specific for the new contact.
If you created a new contactgroup make sure to add the contact group for the hosts and services that you want to make available in the customized view.
4 Set the options for the new access right.
When selecting options do not use the last four options, authorized for all. By doing this the new user will only see the hosts and services that uses the contactgroup that he is a member of.
2 Click Go.
3 Click the Clone button
5 Select Save as Profile
7 Click CloneYou are then presented with the option of creating clones based on this new profile. If you do not wish to do this now, you can simply use the left hand web menu to return to Configure or another part of op5 Monitor.
1 From the start page click Profiles
2 Click use next to the profile
4 Fill in the number of copies and click Continue...If you want to create the same service check on multiple host first create the service check on the host, then clone the service check to one or more hosts.
3 Click Services for host... in the ‘RELATED ITEMS’ menu.
4
6 You can chose to clone the service(s) to a list of hosts, a hostgroup or all hosts in a hostgroup.
7 Click Clone.There are a number of objects that can be copied in the configuration tool and make a exact copy of the object, besides the name that must be unique.
1 Click on Configure in the main menu:
2 Select Commands in the configuration menu
4 Click Copy
5 Make the changes you want. A new name is required. and i.e create a listing of the attached VMFS-storages:
6 Click SubmitTo change the same directive on many objects of the same type can be a really time consuming work. This is where the propagate function in op5 Monitor is very handy.With the propagate function you can copy the value of a directive from one object to one or many other objects of the same type.In the guide below we will use the propagate function to copy the parents from one host to a couple of other hosts.
1 On the start page choose the host you like to propagate a directive value from in the drop down list.
2 Click Go.
3
4 Check the check box for parents and click Propagate selected settings.
6 Select how you want to propagate your settings.
You can choose the following options
7 Click Go.
8 Click Save.As an example, we will delete two services "Ping" on two different hosts, but the process is similar on all objects listed above.
2
3
5 And click Save applied changesTime periods is time defining objects that span over a week. You can define included time for each day of the week in the time period definition.The time period objects are used at many places in the configuration. Most noticeably are in the contact objects where the time periods defines when notifications should be sent out.You can also use time periods to define when a service or a host should be monitored or when you are creating availability reports.Macros can be used to a lot of things. It can for example be used for paths, passwords and retrieving information from op5 monitor.You can read more about notification commands in Notification macros on page 144 in the Notifications chapter.By default op5 monitor has a number pre-defined macros. All from path to plugin folder to retrieving information about the last state of service check.Below is a list of some macros a complete lite of macros can be found at nagios home page: http://nagios.sourceforge.net/docs/3_0/macrolist.html
A string indicating the current state of the host ("UP", "DOWN", or "UNREACHABLE"). $SERVICEDISPLAYNAME$ A string indicating the current state of the service ("OK", "WARNING", "UNKNOWN", or "CRITICAL").It is possible to create your own macros. This can be used to store passwords or user names for example.After that add the macro to check command, in this example we use the check_esx3_host_cpu_usage check command.command_line=$USER1$/check_esx3 -H $HOSTADDRESS$ -u $ARG1$ -p $USER10$ -l cpu -s usage -w $ARG2 -c $ARG3$Even though some features are not supported by the op5 Monitor configuration tool you can still use them.What you have to do is to add a separate configuration file not read by the import function in Configure. Then you add your other configuration tricks into that file.
2
3
4 Create a configuration file with “_” as a prefix to the file name like this:
touch /opt/monitor/etc/_custom_objects.cfg
5 Add the file to the /opt/monitor/etc/nagios.cfg with by adding the following line below the other cfg_file variables in nagios.cfg:
cfg_file=/opt/monitor/etc/_custom_objects.cfg
6 Now you may add your objects to the new configuration file and they will not be loaded into Configure. But you can still see the objects using View config as it is described in the op5 Monitor user manual.
This gives this the user connected to this contact the possibility to execute commands like acknowledge problems etc.
All new services will inherit the Initial Service Settings. If you choose not to enter a value for one or more required variable, those variables must be set in the selected template.
If the start number is 1 and the end number is two it means that the first and the second notification will be handled by this escalation.
We have set the first notification and the last notification to 2 because this escalation will only be used once.
The escalation interval is set to 0 because there will be no more escalations when this one is done.