Tag Info

Hot answers tagged

7

I am a nagios user, and so my method for monitoring my backups (Veeam, Windows Server Backup, Dirvish, mysqldump script,etc) basically amounts to using a passive service, and send_nsca to report the results of a check. Basically for each backup technology I have written a script that is either called as part of the backup finished hook in the backup system, ...


4

Of cause there is, that's what those services are doing as well. :-) It depends a bit how you're currently redirecting/distributing your users globally. Assuming that the results is effectively that some users are redirected from www.example.com to www.eu.example.com and others to www.oc.example.com respectively www.am.example.com. You could use your ...


2

None. Your approach is broken. You seem to be under the delusion that you can change the DNS like that. It does not work like this. Even if you set the TTL low, some providers will ignore it - and your old value will still be used. You effectively have no control over DNS expiration outside "within a day or two". Any high availability based on DNS changes ...


1

You need some type of configuration management software to setup and install nrpe daemon on each remote host as well as deploy the configurations and ultimately your plugins. May I suggest Ansible for this task. https://github.com/bobmaerten/ansible-role-nagios-nrpe-server


1

The tool for finding a computer's physical location based nothing more than its network cable is politely referred to as an "intern". Your intern tool may well request, and be greatly assisted by something called a cable tracer/toner/mapper/identifier, but if I did it by hand or with an arp table and a command line, so can anyone. Once identified, labeling ...


1

Assuming that Ethernet ports in the wall correspond to physical locations (and assuming ethernet is used instead of wifi) if there is a managed switch attached to the other end of the ports then you can simply query the device that is attached to each port (and identify it by MAC address) using your favorite SNMP tool.Assuming that Ethernet ports in the ...


1

So for me, it's always been a lazy man's approach here if you are the only person responsible for monitoring the backups and that instant notification isn't a requirement, ie you don't need to fix the issue right when it occurs. What I do is setup each of the backup software packages to send notifications via email to me. Then I did the following: Create ...


1

On the box itself, you can use vmstat and iostat (part of the sysstat package). vmstat 1 will show you steal, which is the amount of cpu cycles that the hypervisor diverted from the VM to allocate to other VMs. You can also look at iowait, which is the % of cpu cycles spent waiting for I/O to complete. iostat -x -d 1 will show you svctm and await; ...


1

Thanks Keith. I got it fixed. Just added double quotes to the URL and that did the job :) curl -o test/test2 -u user:password "http://10.0.0.1/icinga/cgi-bin/status.cgi/host=10.0.0.2&csvoutput"


1

Icinga natively supports JSON output in status.cgi. By constructing the right filter arguments, you can get JSON of anything that status.cgi can display. For example, something like: status.cgi?hoststatustypes=3&serviceprops=2097162&servicestatustypes=20&jsonoutput


1

You should be able to have an Auto-Operator Profile in the NAS match on the alarm and run a lua script, and that lua script can in turn invoke powershell (Shell.Execute should work I think?). This would require powershell to be configured for remote execution.


1

This is all a pretty bad approach to the problem you're trying to solve. You really want your HP monitoring agents/drivers to be stable and not crash... Either way, if you aren't going to solve the root issue, you can just instruct Monit to use the process name instead of a PID. check process cmaeventd matching "cmaeventd" start program = ...


1

It's not necessary to monitor individual HP agents with Monit. Plus, they're all tied together with the wrapper service, hp-snmp-agents. Restarting one independently of the rest will have undesirable effects. While it's possible to debug the HP agent logs, I think you may have an issue with your old kernel (looks like RHEL/CentOS 5.5) and possibly old HP ...


1

command_line /etc/nagios/commands/make-ticket-wrapper "$SERVICESTATE$" "$SERVICESTATETYPE$" "$HOSTNAME" "$HOSTADDRESS$ "$HOSTSTATE" "$HOSTGROUPALIAS" "$SERVICEDESC" You're missing a double quote after $HOSTADDRESS$, and missing a $ at the end of HOSTNAME, HOSTSTATE, HOSTGROUPALIAS, and SERVICEDESC. When you miss a double quote, it screws up the rest of ...


1

I just wrote and published a guide on exactly this subject: Zen and the Art of System Monitoring Allow me to summarize here: There are 3 main goals to think about when monitoring any sort of production system: Identify as many problems as possible; Identify those problems as early as possible; and Generate as few false alarms as possible (that means ...


1

I just spent the past few months researching this exact question. My research was focused on Nginx, but the principles are the same and can apply to any web server (Windows or otherwise). First, some theory: You want to monitor metrics across your system stack -- not just the web server application itself, but the process it runs within, the server it ...



Only top voted, non community-wiki answers of a minimum length are eligible