Re: [Nagios-users] nagios writing escalation rules multiple times to objects.cache

2012-10-02 Thread Andreas Ericsson
On 10/01/2012 09:37 PM, Chris Baldwin wrote: Short version: I have an ever-growing Nagios install for monitoring a bunch of linux hosts (currently 99 hosts 2322 services, I plan on adding 115 more hosts 1500+ services). I've noticed something odd with my escalation rules - they're being

[Nagios-users] modify service macros

2012-10-02 Thread Marco Borsani
Hi all I would modify $SERVICEDESC$ before Nagios use it to send notification. Due internal procedure I can’t modify the “service description” inside our configuration file. For example $SERVICEDESC$ is “a_b_check_tcp_port_1234” I would change it in “tcp_port_1234” (“just” cut

Re: [Nagios-users] modify service macros

2012-10-02 Thread Andreas Ericsson
On 10/02/2012 11:38 AM, Marco Borsani wrote: Hi all I would modify $SERVICEDESC$ before Nagios use it to send notification. Due internal procedure I can’t modify the “service description” inside our configuration file. For example $SERVICEDESC$ is

[Nagios-users] Plugin check_oracle_health

2012-10-02 Thread Cosmin Neagu
Hi nagios users, I need to monitor an oracle database server, an found this plugin, check_oracle_health. The problem is that i'm not a DB Admin, and it seems that something else need to be configured along with this client like system variables (ORACLE_HOME and LD_LIBRARY_PATH) Since on the

[Nagios-users] host object declarations

2012-10-02 Thread Marki
Hi there, I'd like to further discuss http://tracker.nagios.org/view.php?id=177 which is about host object declarations. You suggest using host_name as something that resolves. However, we don't have a (DNS) hostname for each device. Also, directive description (Nagios documentation) says: This

Re: [Nagios-users] host object declarations

2012-10-02 Thread Andreas Ericsson
On 10/02/2012 02:52 PM, Marki wrote: Hi there, I'd like to further discuss http://tracker.nagios.org/view.php?id=177 which is about host object declarations. You suggest using host_name as something that resolves. However, we don't have a (DNS) hostname for each device. I'm suggesting

Re: [Nagios-users] Plugin check_oracle_health

2012-10-02 Thread Ismael Puerto
Hi Cosmin The plugin needs to be installed on the Oracle Database server. I show you an example of my nrpe.cfg: command[check_oracle_seg-top10-buffer-busy-waits]=/usr/local/nagios/libexec/check_oracle_health --username nagios --password password --mode seg-top10-buffer-busy-waits --connect SID

Re: [Nagios-users] Plugin check_oracle_health

2012-10-02 Thread Claudio Kuenzler
The plugin needs to be installed on the Oracle Database server. That's not entirely correct. It can also run on a standalone Nagios server. But you need to install the ora files to be able to launch the plugin against an Oracle DB server. I did that successfully on Nagios 3.3.1 against ORA11.

Re: [Nagios-users] nagios writing escalation rules multiple times to objects.cache

2012-10-02 Thread Chris Baldwin
Well, I fixed the issue - as Andreas pointed out, it's a config issue related to having host_name servicegroup_name defined in my escalations. I edited my rules, making them host agnostic, and now I do not have duplicates in my objects.cache. I also reduced the raw number of them - since they

Re: [Nagios-users] host object declarations

2012-10-02 Thread Marki
The only thing I'm saying in that bugreport is that Nagios does not and will not complain when the address fields of hosts are unique. In fact you also said: that suggests that either your namestandard (used for the host_name field) sucks, or that you or your co-workers are simply confused

[Nagios-users] Running the same plugin once vs. multiple times

2012-10-02 Thread Tech Support
All; I wrote a plugin to collect data for a particular service. I invoke the plugin with whatever parameter I want to return information on. In fact, it collects information on about 30 different params at once, then returns the data that I specified. For example, ./get_sysinfo -p param1 or

Re: [Nagios-users] host object declarations

2012-10-02 Thread Andreas Ericsson
On 10/02/2012 05:20 PM, Marki wrote: The only thing I'm saying in that bugreport is that Nagios does not and will not complain when the address fields of hosts are unique. In fact you also said: that suggests that either your namestandard (used for the host_name field) sucks, or that

Re: [Nagios-users] Running the same plugin once vs. multiple times

2012-10-02 Thread Andreas Ericsson
On 10/02/2012 11:02 PM, Tech Support wrote: All; I wrote a plugin to collect data for a particular service. I invoke the plugin with whatever parameter I want to return information on. In fact, it collects information on about 30 different params at once, then returns the data that I