Nagios-users digest, Vol 1 #2859 - 18 msgs

Anxo anxoasi at yahoo.es
Wed Oct 19 09:40:26 CEST 2005


hi all,
i´ve got two servers one of them have the DNS service 
enable and the other server is a backup of the first
and it have Dns service desable. Well, i´m monitoring
with nagios this service in both servers and i receibe
as result for the first ok and for the second
critical, anybody know how can i invert this result in
the second server. I can put Dns service as two
diferent service for example, but how can i invert the
result on the second server and put the result
critical as ok. 
 --- nagios-users-request at lists.sourceforge.net
escribió:

> Send Nagios-users mailing list submissions to
> 	nagios-users at lists.sourceforge.net
> 
> To subscribe or unsubscribe via the World Wide Web,
> visit
> 
>
https://lists.sourceforge.net/lists/listinfo/nagios-users
> or, via email, send a message with subject or body
> 'help' to
> 	nagios-users-request at lists.sourceforge.net
> 
> You can reach the person managing the list at
> 	nagios-users-admin at lists.sourceforge.net
> 
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of Nagios-users digest..."
> 
> 
> Today's Topics:
> 
>    1. RE: check_procs: Unknown argument - (null)
> (Gavin Henry)
>    2. RE: Notifications or host checks stopped
> working (Andrew Laden)
>    3. sh: /check_ping: No such file or directory
> (Paul O'Rorke)
>    4. Re: Problems with check_nrpe+SSL, and I have
> read
>        the FAQ (Eivind Olsen)
>    5. No email received in some host (Nelson
> Serafica)
>    6. Re: sh: /check_ping: No such file or directory
> (Paul O'Rorke)
>    7. RE: sh: /check_ping: No such file or directory
> (Marc Powell)
>    8. Re: Notifications or host checks stopped
> working (Andreas Ericsson)
>    9. Re: sh: /check_ping: No such file or directory
> (Subhendu Ghosh)
>   10. RE: No email received in some host (Marc
> Powell)
>   11. Re: sh: /check_ping: No such file or directory
> (Paul O'Rorke)
>   12. Blank check_command in host stanza causes
> error (prosolutions at gmx.net)
>   13. Re: Blank check_command in host stanza causes
> error (Jason Martin)
>   14. Re: Blank check_command in host stanza causes
> error (prosolutions at gmx.net)
>   15. Re: Follow-up> the config erroe message
> quote..... (CC Yuen)
>   16. Re: Follow-up> the config erroe message
> quote..... (Subhendu Ghosh)
>   17. Re: sh: /check_ping: No such file or directory
> (Paul O'Rorke)
> 
> --__--__--
> 
> Message: 1
> Date: Tue, 18 Oct 2005 20:26:09 +0100 (BST)
> Subject: RE: [Nagios-users] check_procs: Unknown
> argument - (null)
> From: "Gavin Henry" <ghenry at suretecsystems.com>
> To: nagios-users at lists.sourceforge.net
> 
> <quote who="Tedman Eng">
> > I see your check_local_procs has provided only 2
> arguments (250,400)
> > but your check command definition is expecting 3
> arguments (-w, -c, -s)
> >
> 
> Ah, missed that. Sorry. It was the default, I never
> changed it. Time to
> raise a bug report with the DAG RPMS.
> 
> Cheers.
> 
> >
> >> -----Original Message-----
> >> From: Gavin Henry
> [mailto:ghenry at suretecsystems.com]
> >> Sent: Tuesday, October 18, 2005 4:51 AM
> >> To: nagios-users at lists.sourceforge.net
> >> Subject: RE: [Nagios-users] check_procs: Unknown
> argument - (null)
> >>
> >>
> >> <quote who="Tedman Eng">
> >> >> From: Gavin Henry
> [mailto:ghenry at suretecsystems.com]
> >> >> Sent: Monday, October 17, 2005 4:05 PM
> >> >> I can't figure out why I am getting this
> error:
> >> >>
> >> >> check_procs: Unknown argument - (null)
> >> >>
> >> >>     320 define service{
> >> >>     321         use                           
>  generic-service
> >> >>     322         host_name                     
>  localhost
> >> >>     323         service_description           
>  Total Processes
> >> >>     324         is_volatile                   
>  0
> >> >>     325         check_period                  
>  24x7
> >> >>     326         max_check_attempts            
>  4
> >> >>     327         normal_check_interval         
>  5
> >> >>     328         retry_check_interval          
>  1
> >> >>     329         contact_groups                
>  admins
> >> >>     330         notification_interval         
>  960
> >> >>     331         notification_period           
>  24x7
> >> >>     332         check_command
> >> >> check_local_procs!250!400
> >> >>     333         }
> >> >>
> >> >> Aren't I giving it parameters here            
>  ^^^^^^^^^^^^
> >> >>
> >> >
> >> >
> >> > Yes, those are parameters.  (about as
> informative as your
> >> question was)
> >>
> >> Sorry. I thought I had covered everything,
> obviously not.
> >>
> >> >
> >> >
> >> > Provide some context please.
> >> >
> >> > Wheere are you seeing this "Unknown argument
> error"?
> >>
> >> In the nagios.log and via the web interface.
> >>
> >> > What does the pre-flight check say?
> >>
> >> nagios -v ??
> >>
> >> -----------------------
> >> Nagios 2.0b4
> >> Copyright (c) 1999-2005 Ethan Galstad
> (http://www.nagios.org)
> >> Last Modified: 08-02-2005
> >> License: GPL
> >>
> >> Reading configuration data...
> >>
> >> Running pre-flight check on configuration data...
> >>
> >> Warning: Size of service_message struct (528
> bytes) is >
> >> POSIX-guaranteed
> >> atomic  write size (512 bytes).  Service checks
> results may
> >> get lost or
> >> mangled!
> >> Checking services...
> >>         Checked 6 services.
> >> Checking hosts...
> >>         Checked 1 hosts.
> >> Checking host groups...
> >>         Checked 1 host groups.
> >> Checking service groups...
> >>         Checked 0 service groups.
> >> Checking contacts...
> >>         Checked 1 contacts.
> >> Checking contact groups...
> >>         Checked 1 contact groups.
> >> Checking service escalations...
> >>         Checked 0 service escalations.
> >> Checking service dependencies...
> >>         Checked 0 service dependencies.
> >> Checking host escalations...
> >>         Checked 0 host escalations.
> >> Checking host dependencies...
> >>         Checked 0 host dependencies.
> >> Checking commands...
> >>         Checked 22 commands.
> >> Checking time periods...
> >>         Checked 1 time periods.
> >> Checking extended host info definitions...
> >>         Checked 0 extended host info definitions.
> >> Checking extended service info definitions...
> >>         Checked 0 extended service info
> definitions.
> >> Checking for circular paths between hosts...
> >> Checking for circular host and service
> dependencies...
> >> Checking global event handlers...
> 
=== message truncated ===


Jose Angel Buceta Villar
Bolseiro Aulas de Informática
Facultade de CCEE, USC


		
______________________________________________ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list