How to monitor Nagios? - monitoring

I have implemented Nagios. But I like to monitor Nagios itself. I don't want to have another nagios to monitor this Nagios. Any suggestions welcome.

You can try setting up some simple hearbeat monitoring for your nagios.. just to make sure that your nagios is up and you get notified in case nagios server itself is not running... http://docs.alertagility.com/guide/heartbeat/

Install Nagios plugin and enable the configuration for local host.
follow any of the documentation of the nagios installation that will help you.

A program that does something to its own has to be AI. So technically this is impossible. You can check through nagios the localhost but in case of any problem you will not be notified. If nagios goes down, notifications can not be sent.

Related

Use rohitab API monitor to monitor Windows service startup

Is there a way to monitor a Windows service startup using Rohitab API Monitor? It looks like a can only attach to a running process.
Thanks,
Gabriel

ZAP Daemon listening at localhost

i'm running ZAP daemon, listening to localhost and running some test. The problem is, i don't get any result back, it just keep listening to localhost.
Does anyone knows how can i fix that? Is there some more specific documentation about the Daemon?
Thank you very much!
ZAP exposes a powerful API that allows you to do nearly everything that the desktop UI can do: https://www.zaproxy.org/docs/api/

Cloud dataflow job using Internal IP?

How do I configure to run my Cloud dataflow job using Internal IP?
Our policy doesn't allow to use external IP to spawn the workers. So, looking for options that would disallow external IP. I ran and got the below error.
Startup of the worker pool in zone XXX failed to bring up any of the desired 1 workers. Please check for errors in your job parameters, check quota, and retry later, or please try in a different zone/region.
Add instance projects to use external IP with it.
You can use the --usePublicIps=false flag. Here you can look at some examples.
looks like they updated flags
now it's
--no_use_public_ips or --use_public_ips
PS: Python

How to connect Flink remotely via JMX?

For my upcoming bachelor's thesis I want to develop a tool that collects system and application data from Apache Flink and sends this data in some kind of "events" to another system. This tool will be installed on Flink job- and taskmanager nodes. Beside data from linux system utilities like dstat I would like to collect JMX data.
My problem is, that I couldn't figure out how to connect via remote JMX connection by using a port to Flinks jobmanager. Although the collector will be on the same machine, I really try to avoid using a --javaagent to access JMX data of Flink's JVM.
Another problem is, I have a local docker setup based on https://github.com/apache/flink/tree/master/flink-contrib/docker-flink and updated to flink-1.0.2, that I cannot connect via jconsole because I don't know how to "open" a JMX remote port for the job- and taskmanager.
Is there any way to achieve this?
Thanks in advance, any ideas very appreciated.
Solved!
I needed to add env.java.opts: -Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=9999
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
in flink-conf.yaml.
No it's possible to connect the jobmanager via jconsole.

How can I use Nagios to act as a SNMP manager?

I have a Nagios Core 3.x setup and A linux-based appliance that has the capability to send SNMP alerts to a server.
How can I use my Nagios to leverage its snmp monitoring capabilities ???
You should read their documentation here
Nagios provides management of SNMP traps - including the ability to
read, process, and generate alerts from SNMP traps it receives. Nagios
can also send SNMP traps to other management hosts, which allows
seamless integration with other Network Management Systems.
I've used SNMPtt with Nagios with great success. You can install it with Nagios using these instructions: http://www.snmptt.org/docs/snmptt.shtml#Nagios-Netsaint

Resources