Pandora FMS event system allows to see a real time register of all the events that take place in your monitored systems. The information displayed ranges from any module status change, alerts triggered or retrieved, to system restarts or custom events. By default, in the event view, a screenshot of what is happening at that time will be shown.
Events are the register and a fundamental part of a monitoring system.
Events are classified by their severity:
The following actions can be performed in regard to an event:
Events are managed in Operations → Events → View Events.
The event viewer shows a summary of each event and sometimes other associated data, such as the agent module that generated the event, the group, module-related tags, etc. You may also sort events by identifier, status, name, among other fields.
By clicking on the zoom icon, corresponding to each item, you will get more details.
Users will be able to see only the groups to which they belongs, unless they explicitly belong to group ALL.
The events presented are those of the last eight hours and non-validated ones by default (and can also be customized), in addition to being grouped to avoid redundancy. You may save searches as filters or apply a previously created filter.
An event may be in four different status:
Autovalidation
When events take place due to module status changes, there will usually be two events: the first event is the change from normal to “faulty” state, and the second one is the event going back to normal once the problem is solved. In these cases, events going into a faulty state (critical or warning) are automatically validated when they go back to normal. This is what it is called event autovalidation and it is an extremely useful feature.
Manual validation
When working manually, an event can be validated. That will make the system save the date and the user who validated the event. It is also possible to leave a comment, by clicking on the validate button, the screen is refreshed and the validated event “disappears”.
Note that, in addition, there are more options such as executing customized responses such as pinging the host, assigning a user, among others.
Individual or batch processes
You may validate, check as “in process” or delete events individually by clicking on the corresponding icons, or mass apply them to a selection.
Regarding custom responses, the maximum number of events to which the operation applies is limited to ten.
Important aspects of this feature:
Advanced options
Connections
and Network
enter (Connections|Network)
). The search is performed by agent name, event name, extra ID, source, custom data and comments.NG 770 version or later
The event filters that you consider most frequently used can be added to the Events section in the Favorite menu (Operation menu). This is done by clicking on the star icon that will appear when loading a saved filter (Current filter). Clicking it again allows you to uncheck the icon and remove it from the favorites system.
Events can be deleted individually (manually) and/or automatically: in the menu Management → Setup → Setup → Setup → Max. days before events are deleted you may specify, in days, the period to be kept.
In the Enterprise version, by activating Enable event history in Management → Setup → Setup → Historical database, you have the option to keep them for the purpose of creating special reports.
To see events in a news channel or RSS go to Operation → Events → RSS and subscribe from the news reader of your choice.
It allows to spread the sound alerts when an event takes place. The tune will be played until you pause the sound event or click OK.
The list of sound events that generate a sound alert by default (and may be customized) is:
Go to Operation → Events → Acoustic console. This action opens a popup window control for all sound events. You must configure your web browser to allow pop-up windows to open.
Minimizing the Acoustic Console window will cause it not to work as expected.
Sound events are explored every 10 seconds asynchronously, when an event takes place, the window will start blinking in red or vibrating and in addition, depending on the configuration of your browser or operative system, the window will keep the focus and stay over the rest of the open windows.
You will only get sound alerts for events that start right from and while that window is open, that match selected items and that have an alarm set.
To add new tunes, copy said files in WAV format, to the directory:
/var/www/pandora_console/include/sounds/
In order to export the events to a CSV file, click on Operation → Events → View events → Export to CSV File.
For Pandora FMS release 741 onwards, there is event related alert management, a specific wiki section.
Pandora FMS external API is used making remote calls (through HTTPS) on the /include/api.php
file. This is the method defined in Pandora FMS to integrate third party applications. It basically consists of a call with the parameters formatted to receive a value or a list of values that this application will use to carry out operations.
By using the WEB API, you may interact with Pandora FMS from any remote system, even if you do not have connection to the database with an installed Software agent.
The three main points to activate Pandora FMS API:
The password devoted to creating or validating events through Pandora FMS API may be copied from:
/usr/share/pandora_server/util/pandora_revent.pl
When executed in the client device, without parameters, you may see its full syntax.
Options to validate an event:
./pandora_revent.pl -p <path_to_consoleAPI> -u <credentials> -validate_event <options> -id <id_event>
For instruction unknown
, critical
o warning
fields to appear in the details of the generated event, said event must be going_unknown
, going_down_critical
, or else going_down_warning
, accordingly.
Sometimes, maybe for security reasons, it is necessary to count only with the event creation option, so pandora_revent_create.pl
can be copied to the client device. It is located at:
/usr/share/pandora_server/util/pandora_revent_create.pl
This tool has similar features to those of pandora_revent.pl
.
Events with custom fields may be generated by the Pandora FMS CLI, e.g. An event generated by the following command:
perl pandora_manage.pl \ /etc/pandora/pandora_server.conf \ --create_event 'Custom event' system Firewalls \ 'localhost' 'module' 0 4 '' 'admin' '' '' '' '' \ '{"Location": "Office", "Priority": 42}'
Through Management → Configuration → Events it is possible to configure:
It is possible to customize the fields that the Event View shows by default from the Events → View events, click on Manage events → Custom columns section, where the fields to be shown can be chosen.
The default fields are five, however there are more fields to add:
Management → Configuration → Events → Events → Events filters menu.
Allows you to create, delete and edit the filters applied to the event view. After saving you can go to View events and load the appropriate filter.
An event response is a customized action that can be executed on an event, such as creating a ticket in Pandora ITSM with the relevant event information. You may get more information about Integria IMS in the Pandora FMS documentation].
Enter a representative name, description, the parameters to be used separated by commas, the command to be used (the latter allow the use of macros), the type and the server that will execute the command. In Parameters you can put as many as you need, separated by commas. When the response is made, a dialog box will appear to fill in each one of them and add it to the event.
Agent address.
Agent alias.
Agent ID.
Agent name.
Event related alert ID.
Command response time (seconds).
Id of the user who executes the response.
Full name of the user executing the response.
Pulls all information from custom data in JSON format.
Pulls all information from custom data in text mode (with carrier return).
Pulls a particular field from custom data, replacing the X with the field's name.
Date on which the event took place.
Extra event ID.
Event ID.
Event instructions.
Event severity ID.
Event severity (translated by Pandora FMS console).
Event source.
Event status (new, validated or event in process).
Event tags separated by commas.
Full text of the event.
Event type (System, going into Unknown Status…).
Date on which the event occurred in utimestamp format.
Group ID.
Group name in database.
Contact information for a group of agents.
Event associated module address.
Event associated module ID.
Event associated module name.
For Metaconsole and Node, returns the node identifier.
For Metaconsole and Node, returns the node name.
Event owner user.
Full name of the user who owns the event.