Re: [Nagios-users] Get event when notifications enabled/disabled

2009-02-19 Thread Robert Wamala

can you please gime steps 
how to do this!!


On Thu, 2009-02-19 at 10:53 +0100, Roman Fiedler wrote:
 Hi List,
 
 Is there a simple way to detect when notifications for host/service are 
 enabled/disabled via web interface? I try to make nagios send a mail 
 when someone disables notifications for one service.
 
 Thanks, Roman
 
 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
 -Strategies to boost innovation and cut costs with open source participation
 -Receive a $600 discount off the registration fee with the source code: SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue. 
 ::: Messages without supporting info will risk being sent to /dev/null
-- 
Robert Wamala rob...@rcs-communication.com


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Get event when notifications enabled/disabled

2009-02-19 Thread Robert Wamala

Hey!
Am still having probs to 
establish the web interface
so am not yet there with you!!

thats why i need the coding steps

rgds
Robert



On Thu, 2009-02-19 at 11:20 +0100, Roman Fiedler wrote:
 Robert Wamala wrote:
   can you please gime steps
   how to do this!!
 
 I did not go into the code but I assume that one could try to
 * Try to split the external command pipe and read it. I guess CGI sends 
 commands this way, perhaps also the ones to disable the notifications.
 * Use the nagios logging to see if disable/enable triggers some specific 
 log lines and parse them
 * Try to make diffs of the nagios retention data, perhaps one could read 
 disable/enable changes from here
 * Modify the cgi binaries to add custom event handlers for 
 disable/enable detection
 * Ask the nagios users list, perhaps there is support for this already 
 in the cgi binaries but I do not know about it
 
 Regards,
 Roman
 
   On Thu, 2009-02-19 at 10:53 +0100, Roman Fiedler wrote:
   Hi List,
  
   Is there a simple way to detect when notifications for host/service are
   enabled/disabled via web interface? I try to make nagios send a mail
   when someone disables notifications for one service.
  
   Thanks, Roman
-- 
Robert Wamala rob...@rcs-communication.com


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Notes for Host

2009-02-18 Thread Robert Wamala

Pleasee can u help me to get it right,
how can I configure curl to give an automatic 
login to the urls 
will be glade.

rgds,
Robert







On Thu, 2009-02-19 at 09:52 +0900, Ian Masters wrote:
  I have nagios running and working fine but i now i want to add notes
  tab for all host so i can put short discription of all host
 
  any plugin or cgi script to do that?
 
  Please suggest me
  
  Search the docs for notes or notes_url. It's part of the host{} or  
  service{} definition.
 
 Isn't the 'alias' parameter better suited for this?
 
 Ian
 
 
 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
 -Strategies to boost innovation and cut costs with open source participation
 -Receive a $600 discount off the registration fee with the source code: SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue. 
 ::: Messages without supporting info will risk being sent to /dev/null
-- 
Robert Wamala rob...@rcs-communication.com


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Monitoring windows process - not responding status

2009-02-18 Thread Robert Wamala

Pleasee can u help me to get it right,
how can I configure curl to give an automatic 
login to the urls 
will be glade.

rgds,
Robert



On Wed, 2009-02-18 at 16:59 -0800, Qwert Asdfg wrote:
 Hi,
  
 we have installed nsclient 2.01 to windows machine and is working
 fine, but my problem is : can it monitor windows process that has a
 status of not responding in the task manager?
  
 thanks 
 
 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
 -Strategies to boost innovation and cut costs with open source participation
 -Receive a $600 discount off the registration fee with the source code: SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___ Nagios-users mailing list 
 Nagios-users@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include 
 Nagios version, plugin version (-v) and OS when reporting any issue. ::: 
 Messages without supporting info will risk being sent to /dev/null
-- 
Robert Wamala rob...@rcs-communication.com


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Monitoring windows process - not responding status

2009-02-18 Thread Robert Wamala


Pleasee can u help me to get it right,
how can I configure curl to give an automatic 
login to the urls 
will be glade.

rgds,
Robert



















On Wed, 2009-02-18 at 22:36 -0500, Anthony Montibello wrote:
 NSClient Cannot detect a Not Responding program
  
 However NC_Net (As well as some other plugins) can do this via Window
 Event Log checks,(EVENTLOG_NEW)
 Just look for Error events from Source Application Error and
 Application Hang in the Application Log
 
 NC_NEt can be a drop in replacement for NSClient 2.01 but to check
 event logs you need to compile check_nc_net.c 
 however the existing checks can still use check_nt (or you can replace
 it completly with check_nc_net and it will still comunicate with
 nsclient 2.01)
 I usually change the name of of check_nc_net to check_nt so that I do
 not have to rewrite any of the config files.
  
  
 Tony (Author of NC_Net)
  
  
 On Wed, Feb 18, 2009 at 7:59 PM, Qwert Asdfg westlife...@yahoo.com
 wrote:
 Hi,
  
 we have installed nsclient 2.01 to windows machine and is
 working fine, but my problem is : can it monitor windows
 process that has a status of not responding in the task
 manager?
  
 thanks 
 
 
 
 
 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San
 Francisco, CA
 -OSBC tackles the biggest issue in open source: Open Sourcing
 the Enterprise
 -Strategies to boost innovation and cut costs with open source
 participation
 -Receive a $600 discount off the registration fee with the
 source code: SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS
 when reporting any issue.
 ::: Messages without supporting info will risk being sent
 to /dev/null
 
 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
 -Strategies to boost innovation and cut costs with open source participation
 -Receive a $600 discount off the registration fee with the source code: SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___ Nagios-users mailing list 
 Nagios-users@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include 
 Nagios version, plugin version (-v) and OS when reporting any issue. ::: 
 Messages without supporting info will risk being sent to /dev/null
-- 
Robert Wamala rob...@rcs-communication.com


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Curl scripting

2009-02-18 Thread Robert Wamala

Hi Satish and Thomas, 

Pleasee can u help me to get it right,
how can I configure curl to give an automatic 
login to the urls 
will be glade.

rgds,
Robert




On Thu, 2009-02-19 at 07:31 +0100, Thomas Borger wrote:
 Hi,
 
 Ive done it with:
 
 commands.cfg
 
 ### additional IP-Address ###
 define command{
 command_nameping-lan-addIP
 command_line$USER1$/check_icmp -H $ARG1$ -n 3 -w 700.0,80% -c
 1000.0,90%
 }
 
 
 template: t_ping.cfg
 
 define service{
 namet_lan_ping_addIP
 use generic-service
 service_description lan-ping-addIP
 check_command   ping-lan-addIP!127.0.0.1
 normal_check_interval   4
 retry_check_interval2
 notification_period normal
 action_url  /nagios/pnp/index.php?host=
 $HOSTNAME$srv=$SERVICEDESC$
 register0
 }
 
 
 and the host config file host-abc.cfg
 
 define service{
 use t_lan_ping_addIP
 host_name   lns001ext
 check_command   ping-lan-addIP!192.168.135.167
 }
 
 
 
 
 best regards
 Thomas
 
 
 
 

  Satish Patel  
  sat...@linuxbug. 
  org   An 
 nagios-users@lists.sourceforge.net 
  18.02.2009 18:22Kopie 

  Thema 
 [Nagios-users] Multiple IP address 
 on single host 






 
 
 
 I have few servers which has multiple physical and virtual interface
 how to monitor then with nagios? can i add multiple ip address in
 hosts.cfg file with (,) seprated?
 
 
 
 Regards,
 
 Satish Patel
 
 
 
 
 
 
 --
 
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
 CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the
 Enterprise
 -Strategies to boost innovation and cut costs with open source
 participation
 -Receive a $600 discount off the registration fee with the source code:
 SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null
 
 
 ___
 
 
 ESG Elektroniksystem- und Logistik-GmbH
 Rechtsform/Legal Form: Gesellschaft mit beschränkter Haftung
 Sitz/Registered Office: München
 Handelsregister/Commercial Register: Registergericht München, HRB 8130
 Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Peter
 Obermark
 Vorsitzender der Geschäftsführung/CEO: Dipl.-Math. Gerhard Schempp,
 Geschäftsführer/Managing Director: Dipl.-Kfm. Götz Graichen
 
 
 
 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
 -Strategies to boost innovation and cut costs with open source participation
 -Receive a $600 discount off the registration fee with the source code: SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue. 
 ::: Messages without supporting info will risk being sent to /dev/null
-- 
Robert Wamala rob...@rcs-communication.com


--
Open Source Business Conference (OSBC

Re: [Nagios-users] New to Nagios - Need help with nagios.cfg

2009-02-18 Thread Robert Wamala

Pleasee can u help me to get it right,
how can I configure curl to give an automatic 
login to the urls 
will be glade.

rgds,
Robert



On Wed, 2009-02-18 at 15:18 -0500, Allan Clark wrote:
 On Wed, Feb 18, 2009 at 15:07, Eric Chatham echat...@broadvox.net
 wrote:
 What files should I have under main/ and what files should be
 in the directory behind it?  Here is a tree example:
 
 [root@ ~ etc]# tree /opt/nagios/etc/
 /opt/nagios/etc/
 |-- cgi.cfg
 |-- cgi.cfg~
 
 
 Aren't those two files the first duplicates?
 
 
 Remove all *~ files -- I assume your editor created these.  Try again
 after:
 # rm -i $(find /opt/nagios/etc -type f -name \*~ -print)  nagios
 -v /opt/nagios/etc/nagios.cfg
 
 
 Allan
 http://community.nagios.org/wiki/index.php/LDAP-Configured_Nagios
 
 
 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
 -Strategies to boost innovation and cut costs with open source participation
 -Receive a $600 discount off the registration fee with the source code: SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___ Nagios-users mailing list 
 Nagios-users@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include 
 Nagios version, plugin version (-v) and OS when reporting any issue. ::: 
 Messages without supporting info will risk being sent to /dev/null
-- 
Robert Wamala rob...@rcs-communication.com


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios and tikiwiki integration

2009-02-18 Thread Robert Wamala

Pleasee can u help me to get it right,
how can I configure curl to give an automatic 
login to the urls 
will be glade.

rgds,
Robert





On Thu, 2009-02-19 at 02:25 +, Paul Weaver wrote:
 More a tikiwiki question. Tell them you want to link directly to an
 article. There should be a way.
 
 With mediawiki, for example, you can link to
 http://wiki.mycorp.co.uk/wiki/index.php?title=mypage#mysection
 
 E.G. To doucment PING on host Barney, you would link to
 
 http://wiki.mycorp.co.uk/wiki/index.php?title=barney#PING
 
 --
 Paul Weaver   
 Systems Development Engineer
 News Production Facilities, BBC News
 Work: 020 822 58109
 Room 1244  Television Centre,
 Wood Lane, London, W12 7RJ
 
  
 
  -Original Message-
  From: Assaf Flatto [mailto:assaf.fla...@ssp-intl.com] 
  Sent: 18 February 2009 15:45
  To: Nagios User list
  Subject: [Nagios-users] Nagios and tikiwiki integration
  
  Hello list 
  
  I'm trying to integrate the nagios notes_url capability with 
  my wiki at the office.
  nagios is 3.0.6 (from source ) and the tikiwiki is from RPM , 
  each software is installed on a separate machine .
  
  The tikiwiki requires authentication , the internal 
  capability of the tikwiki DB .
  
  I followed some how-to's found on the net  - but none seem to work.
  Has anyone been able to do such a thing ?
  
  Thanks
  
  
  --
  Assaf Flatto
  SSP Ops Team
  Linux System Administrator
  169 Euston Road, London, NW1 2AE
  
  
  
  
  
  IMPORTANT . this email and the information in it may be 
  confidential, legally
  privileged and/or protected by law. It is intended solely for 
  the use of the
  person to whom it is addressed. If you are not the intended 
  recipient, please
  notify the sender immediately and do not disclose the 
  contents to any other
  person, use it for any purpose, or store or copy the 
  information in any medium.
  Please also delete all copies of this email and any 
  attachments from your
  system.
  
  We cannot guarantee the security or confidentiality of email 
  communications. We
  do not accept any liability for losses or damages that you 
  may suffer as a
  result of your receipt of this email including but not 
  limited to computer
  service or system failure, access delays or interruption, 
  data non-delivery or
  mis-delivery, computer viruses or other harmful components.
  
  Copyright in this email and any attachments belong to Select 
  Service Partner UK
  Limited. Should you communicate with anyone at Select Service 
  Partner UK Limited by
  email, you consent to us monitoring and reading any such 
  correspondence.
  
  Nothing in this email shall be taken or read as suggesting, 
  proposing or
  relating to any agreement concerted practice or other 
  practice that could
  infringe UK or EC competition legislation.
  
  Select Service Partner UK Limited is a company registered in 
  England and Wales
  (company number 05687183) whose registered office is at 1 The 
  Heights, Brooklands, Weybridge. Surrey. KT13 0NY
   
   
  
  --
  
  Open Source Business Conference (OSBC), March 24-25, 2009, 
  San Francisco, CA
  -OSBC tackles the biggest issue in open source: Open Sourcing 
  the Enterprise
  -Strategies to boost innovation and cut costs with open 
  source participation
  -Receive a $600 discount off the registration fee with the 
  source code: SFAD
  http://p.sf.net/sfu/XcvMzF8H
  ___
  Nagios-users mailing list
  Nagios-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/nagios-users
  ::: Please include Nagios version, plugin version (-v) and OS 
  when reporting any issue. 
  ::: Messages without supporting info will risk being sent to /dev/null
  
 
 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
 -Strategies to boost innovation and cut costs with open source participation
 -Receive a $600 discount off the registration fee with the source code: SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue. 
 ::: Messages without supporting info will risk being sent to /dev/null
-- 
Robert Wamala rob...@rcs-communication.com


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee