Re: [Nagios-users] [FRAUD] [DISARMED] Re: Service Dependencies - refer to self

2007-02-04 Thread Hugo van der Kooij
On Mon, 5 Feb 2007, moshe sharon wrote: > its pretty simple solution without perl script. create a service called NRPE > > and enter the following check_command > command_name nrpe_version > command_line ./check_nrpe -H 212.150.36.20 > > when running this command against NRPE daemon you should get

Re: [Nagios-users] Service Dependencies - refer to self

2007-02-04 Thread moshe sharon
Hi its pretty simple solution without perl script. create a service called NRPE and enter the following check_command command_name nrpe_version command_line ./check_nrpe -H 212.150.36.20 when running this command against NRPE daemon you should get response "NRPE v2.0" now create your dependenc

Re: [Nagios-users] ascii frontend

2007-02-04 Thread Greg Martin
Rover?? I wrote a tool in 92-93 that monitored Banyan VINES server connectivity. It was a shell tool as well (DOS). I called that Rover, as well. Imagine my surprise. \\Greg [EMAIL PROTECTED] wrote: > Anyone out there remember Rover?! Merit et al used it to manage > the Internet/NSFNet bac

[Nagios-users] Notification commands

2007-02-04 Thread Josef Fortier
Hi All: Does anyone have any thoughts on notification best practices? I just wrote a little shell script to use heredocs to send mail. This seems preferable to the cookbook notifications, as it makes the message body a lot more intuitive (you can format the message visually). There's a simple cav

Re: [Nagios-users] Adding hosts and services

2007-02-04 Thread Nedim Bicic
On 2/1/07, Nedim Bicic <[EMAIL PROTECTED]> wrote: yeah i totally forgot about this let me ask you in order for nagios to see and compile these host files and services for example for I would uncomment bellow line in nagios.cfg #cfg_dir=/etc/nagios/routers create this extension in nagios give

Re: [Nagios-users] Service Dependencies - refer to self

2007-02-04 Thread Andy Shellam (Mailing Lists)
Hugo van der Kooij wrote: On Sun, 4 Feb 2007, Andy Shellam (Mailing Lists) wrote: Is there any way to make a service dependency refer to the service's own host? In your case I would write a tiny script and generate the service dependencies. I guess some 20 lines of perl might do the

Re: [Nagios-users] Service Dependencies - refer to self

2007-02-04 Thread Hugo van der Kooij
On Sun, 4 Feb 2007, Andy Shellam (Mailing Lists) wrote: > Is there any way to make a service dependency refer to the service's own > host? In your case I would write a tiny script and generate the service dependencies. I guess some 20 lines of perl might do the trick if you are fluent in perl.

[Nagios-users] Service Dependencies - refer to self

2007-02-04 Thread Andy Shellam (Mailing Lists)
Is there any way to make a service dependency refer to the service's own host? For example: I have a list of services that perform basic health checking (disk-space, swap-space, load, uptime etc) across all servers defined in Nagios. There is also a service on every server that checks that NRP

[Nagios-users] servicegroup_name in dependencies

2007-02-04 Thread Andy Shellam (Mailing Lists)
Can anyone see a problem with this service dependency setup? Nagios complains with a "NULL service description/host name in service dependency definition" message with this configuration, but I cannot see anything wrong myself. According to the manual: --- start man quote --- All Services In