Tag Info

New answers tagged

1

You're not going to be able to do what you want using Performance Monitor. Traditionally, you'd do this by accessing the LogicalDisk counters on the DEF machine remotely. Since you state in your comments that you don't have access to the performance counters on the DEF machine that's a non-starter. There is no performance counter that exposes free space on ...


4

I know of the commands, postqueue -p and mailq. You can run either of those through watch: $ watch -n1 mailq


0

Perfmon is pretty rudimentary. It allows you to view existing performance counter values, but it won't dynamically add and subtract counters for you. What you probably want is an application that will dynamically add new counter values for you, such as when a new thread is launched within a process, you want to add that new thread to the counter set. ...


0

You could use "Custom Variable Macros" (http://nagios.sourceforge.net/docs/3_0/macros.html) In your ping service definition use e.g.: check_command check_ping!200.0,20%!$_HOSTVAR_SERVICE_PING_CRITICAL_RTA$,40% In your host template set a default value: _VAR_SERVICE_PING_CRITICAL_RTA 500 In the host definition that should use a difference value set ...


0

Remember, it is possible to use Monit to manage a process that does not have a PID file. In newer versions of the utility (which you should have) you can leverage the matching directive to check the name of your script. If it's running, try using the monit procmatch yourscriptname command, i.e.: # monit procmatch orca List of processes matching pattern ...


0

The bug is still there. Another fast solution is to put the variable before the command definition in the nrpe.cfg configuration file: command[check_something]=HOME=/home/user /home/user/script.sh


6

Add a special server for this that only listens on the local host. server { listen 127.0.0.1:80; listen [::1]:80; ... location /nginx_status { stub_status on; access_log off; allow 127.0.0.1; deny all; } }


1

You may try installing the NRPE together with the nagios plugins in the monitored server. The simplest way to check whether a process is running is to add something like the following line inside nrpe.conf: command[check_myprocess]=/usr/lib/nagios/plugins/check_procs -c 1: -C myprocname -a stringinmyprocargs Then you can add the following inside your ...


1

I don't think you should rely on the HP IML log alone. Not everything is reported there, and the log can be cleared. I don't look at it as an authoritative source of system health status. Plus items get marked as repaired, depending on the event. If you need a comparison of what a busy EL5 system's IML log should look like, see this pastebin. But most of my ...


2

Since KVM is a part of Linux, any Linux based monitoring solutions will work, from the standard nagios checks to proprietary hardware health monitoring solutions, like Dell OMSA. RHEV will monitor the hosts' health, keep the VMs working and make sure all hosts can access all the required cluster resources, but it is not meant to monitor hardware level ...


2

There's no easy answer since virtualisation is involved. You have a virtual disk sitting on top of a file system on top of a block device presented to a virtual guest which has its own driver presenting a block device to LVM. I don't know for sure if that would necessarily cause such a huge difference, but it may be possible. Beyond that... LVM adds ...


0

I had the same issue, but the above perl script isn't working for me (fails with an error "Not an ARRAY reference at g2g.pl"). However, I think I found a fix. Just ensure carbon_server is an IP address without quotes. That seems to work just fine for me: carbon_server a.b.c.d carbon_port 2003 graphite_prefix "ganglia" write_rrds off


0

You should be able to use JMX to check on the app itself. There are a lot of resources for JMX monitoring in Nagios Exchange, but I couldn't recommend a specific plugin. At a higher level, you might want to use check_multi to check them as a service cluster. Neither of these will get you a Cognos-specific "is this the master?" functionality, though. You'd ...


0

Are the two servers hosted in public network?. If so, there are few online URL monitoring sites are available to keep monitoring of the server availability round the clock and alert via an email when the server in not responding state. This works only when the server hosted in public network. And the configuration of Primary and Secondary server URL must be ...


1

The way to do this depends on where your thresholds are defined. If they're defined on the host being checked, e.g., hard-coded in nrpe.cfg, then you need to keep two copies of nrpe.cfg and rotate them on a schedule. (And restart NRPE every time it swaps.) This can be done with a cron job and a simple bash script. If you have NRPE accepting args, and are ...


0

I have been looking into this in the past and it appears there is no built-in solution (I might be wrong though!). What I ended up doing is creating two different configuration files for the service, I then added a cron job that would run each Friday and Sunday night to swap the two files and reload nagios (service nagios reload). The swapping can for ...


1

Personally I could not figure out how to get Awstats to do this. I think Xerxes answer from a related serverfault question is the easiest way to do this: cat /var/log/apache/access.log | awk '{SUM+=$10}END{print SUM/1024/1024}' This assumes the %b bytes output at position 10 in your log file -- so make sure your CustomLog setting includes %b and adjust ...


0

In this case, you need to check the basic settings that may not allow the 'Perfmon' to fetch the details on the remote machine. Please take a look at the below suggestion and ensure it is all fine. Turn of AV and Local firewall, to check if the 'Perfmon' collects the value Take a network trace with the help some third party tool and see what's going on ...


1

Monitoring multiple devices under one roof can be accomplished by some third party remote monitoring and management tools. They must have some pre-configured monitoring jobs for the devices that you mentioned and using SNMP traps, the tools can read the present value such as temperature, performance, etc and also, trigger alerts when the predefined value ...



Top 50 recent answers are included