Add monitoring to Icinga2

How can i add the following devices in my environment to my monitoring server Icinga2
- Network printer
-Registers used in stores (2-5of them )
-Power Distribution Unit
-IP Alarm Panels
-Mood Media Player (internet music player)

Hi without further informations (wich models you use, wich protocols they speak, do they have rest apis etc.) we can only recommend to take a look in the docs like https://icinga.com/docs/icinga2/latest/doc/05-service-monitoring/#service-monitoring-overview or https://exchange.icinga.com/ which checks you could use for your devices.

To answer such a question we would need (at least) two more bits of
information:

  1. What is it about the above devices that you want to monitor (for example,
    for the printer, do you want to know whether it’s connected and turned on, or
    do you want to know whether it needs the toner replacing, etc)?

  2. What connectivity / protocols are available to talk to the above devices?

Antony.

Hi Steve,

Model number for Printers: Typically IMC2000 or MP C2004ex
Registers: Wave 743, or E85, Manufacturer is IBM or Toshiba
Mood internet music player should be ProFusion iS

I would like to monitor ping for now to these devices for now.

Hi Antony,

Model number for Printers: Typically IMC2000 or MP C2004ex
Registers: Wave 743, or E85, Manufacturer is IBM or Toshiba
Mood internet music player should be ProFusion iS

I would like to monitor ping for now to these devices for now.
Let me check protocol/ connectivity details.

For ping you need only create an host object like written here https://icinga.com/docs/icinga2/latest/doc/03-monitoring-basics/#hosts-and-services

If all you want to do is monitor using ping, simply create Host entries for
each device with its corresponding hostname or IP address. You don’t even
need to define any services, since the Host “up” check is a ping check by
default.

If you want to add a Ping Service Check to the Host, then that would act as a
template for adding further Service Checks once you know what you can do with
these things and how.

Antony.

Do i need to do anything on the device end ?

Do i need to do anything on the device end ?

Normally not.
Only if your device is configured in that way, that it should block/not answer to icmp packages.

Thank you, That helped a lot,
Now i would like to know how to set SNMP level monitor of the Fortigate Firewalls and Fortinet Switches . What would be required to do SNMP based monitoring with the solution of Fortigate 60E’s, Fortiswitch 248 FPOE and 124FPOE switches?

  • SNMP configuration on the devices
  • either a script designed to query the SNMP OIDs specific to this device (try search engine with "snmp monitoring <my device>" or check on the Icinga Exchange as posted before)
  • or the specific SNMP OIDs you want to monitor and then use the check_snmp plugin for monitoring

Put that into command, service template and service apply rule definitions and you are good to go.
Check the docs for basic examples and alter them to suit your needs.

If you have trouble open a dedicated topic with a clear description of the problem in the title, so others know what it is about.

2 Likes