Archive | System monitoring RSS feed for this section

Nagios – NRPE

20 Apr

An NRPE plugin script to monitor any process.
(I couldn’t find the one that did this – i’m pretty sure it must exist tho!)
Continue reading

Advertisements

OpenNMS

17 Mar

OpenNMS gathers data on your network.

OpenNMS-webapp is a separate program that allows you to view the data via a Tomcat server.

You need Postgres for OpenNMS and you need to allow TCPIP connections in /var/lib/pgsql/data/postgres.conf and /var/lib/pgsql/data/pg_hba.conf.

You might need to edit /etc/tomcat4/server.xml and change the server port, default is 8080.

You will need to edit /opt/OpenNMS/etc/discovery-configuration.xml and edit the range of the network that is to be scanned

You will NEED an openNMS entry in /etc/tomcat4/server.xml – this should be done by the RPM, but if you have messed up the RPM install order it can be problematic.

++++If you get the following error:
>-bash-2.05b$ sudo /etc/init.d/opennms start
>Starting OpenNMS: ERROR: Either your JDK is too old, or I was unable to find
>echo lib/tools.jar in your JAVA_HOME directory. Please make
>sure you have a Java2-compliant compiler and JVM. JDK
>versions earlier than 1.3 may work with OpenNMS on some
>platforms, but are not supported.
> [FAILED]

You just need to do an: export JAVA_HOME=”/usr/java/j2sdk1.4.1_07/”

++++If you get the following problem when installing:
>Configures PostgreSQL tables, users, and other miscellaneous settings.
>DBI connect(‘dbname=template1′,’postgres’,…) failed: FATAL: IDENT >authentication
> failed for user “postgres” at /opt/OpenNMS/bin/install.pl line 250
>*** Unable to connect to the database!! ***
>Be sure PostgreSQL is started and running correctly
>before running this install script!
>FATAL: IDENT authentication failed for user “postgres”

You need to allow TCPIP connections (see above).
Continue reading