Tag Info

New answers tagged

0

@Karmawhore's accepted answer didn't actually force the refresh it just kept me on the cached page. So I just added a Nagios CGI Custom Header by creating a common-header.ssi file under /usr/share/nagios3/htdocs/ssi/ containing: <div align="right"><a href="#" onclick="location.reload(true)">refresh</a></div> Which adds a little ...


0

Your script is missing a proper shebang at the beginning of the first line. It should be #!/bin/bash. Additionally, it's almost a certainly that the nagios user doesn't have write permission in /etc/nagios3 (I'm guessing Ubuntu package?). Scripts really don't belong there either, but that's beside the point. Change your test file path to something in /tmp ...


1

I guess you need to configure /etc/check_mk/mrpe.cfg on the host you want to monitor like described in the CheckMK documentation. You also need to put your Nagios Plugins on the host you want to monitor. When you finished that you can run cmk -I --checks=mrpe host-to-monitor from OMD. To get to the OMD console of your CheckMK instance use su - ...


3

You don't really install nagios-tools on an ESXi host. The only thing you actually install are hardware specific VIBs that allow monitoring of the hardware itself. What VIB you need to install depends on the hardware, usually you can get them from the manufacturer. If you installed the ESXi using an image from the manufacturer the VIBs are usually already ...


1

It is better to use snmp with supported OIDS, better than nrpe and custom scripts, which you need to porting into the system. You can find howto enable snmpd server on vmware site/google. Something like this: esxcli system snmp set --communities YOUR_STRING esxcli system snmp set --enable true esxcli network firewall ruleset set --ruleset-id snmp ...


1

I was looking at the configuration again to find more details for nagios.cmd and found this: # EXTERNAL COMMAND FILE # This is the file that Nagios checks for external command requests. # It is also where the command CGI will write commands that are submitted # by users, so it must be writeable by the user that the web server # is running as (usually ...


2

Your problem is that you wrote your check command to use $HOSTNAME$ instead of $HOSTADDRESS$. This happens to work for your other hosts, because they are named with FQDNs (e.g., www.dev.domain.com). It doesn't work for rdss-vpn because that's not a valid hostname from the perspective of your Nagios box. You should use the address, not the hostname, in ...


0

The stock check_ldap does a search when it connects. See check_ldap --help or the online docs, specifically the -a option. By default, it searches "(objectclass=*)", but you can change this.


2

Nagios uses similar return codes to the shell, if you write a script and it exits with the appropriate error code & string (OK, WARN etc) you are set - just abstract the actual commands with a shell script, add that as a plugin and you're done. See the Nagios Plugins guidelines for more information.


-1

The first step to installing nagiosgraph, is to download the debian package and install it. The package can be downloaded via WGET, here: a. http://www.mirrorservice.org/sites/downloads.sourceforge.net/n/na/nagiosgraph/nagiosgraph/1.4.4/nagiosgraph-1.4.4-2.deb Once you’ve run wget and have the debian installation file on your Alienvault system, ...


1

This is a permission issue, just give the script execution right and it will be ok : here an example : Before / Remote host: [root@puppet1 nrpe.d]# ls -l /usr/lib/nagios/plugins/check_mem.sh -rwxr--r-- 1 root root 1598 Jul 7 10:55 /usr/lib/nagios/plugins/check_mem.sh NRPE server : [root plugins]# ./check_nrpe -H 172.19.9.200 -c check_mem_vb NRPE: ...


1

What has worked for me is to use exclusion define service { service_description Oracle Filesystems use Oracle_PROD_Service hostgroup_name oracle,!devua check_interval 3 check_command ...



Top 50 recent answers are included