[Nagios-users] check_cluster individual reporting
Hi Excuse me for my poor english. I have my Nagios up and running.I have configured check_cluster to monitor Primary and Backup leased line.They are in failover mode.I want to know if it is possible to see the % wise breakup of these services activity individually?I mean if my site is up on Primary link for say 1 hour then it switched to backup line for another one hour.Then link cluster shows 100% UP which is correct but i am interested in seeing % wise break up of Primary Link and Secondary Link up time. Is it possible with link_cluster ? or do i need to work on some other plugin? - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/___ 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
[Nagios-users] check_apc_temp
hi , can you please help me where to get check_apc_temp plugin. Thanks - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/___ 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] Regex Services?
hehe... no, not annoyed. I have tried much simpler matching expressions too. I am not sure its the regex, but the way Nagios incorperates it. For instance, putting a * into the expression, it matches everything even when there are [host|gost] defined. What I really want to have in, is (host|gost) but Nagios doesn't seem to like round brackets. The expression below will match also osth or ostg. Kerry. Goksie Learner wrote: > please dont be annoyed with me. > > why dont u consider changing ^[host|gost]\d{1,2}\.\w+\.\w+$ > > if in perl and other langs that i like studying... this this matches > your request. > > Learner -- Kerry Milestone Network Engineer --- 1 0 ... my two bits - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ 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] Regex Services?
I've never used regex in services. Assuming it's possible in this case, a workaround for the comma might be: ^(host|gost)\d\d?\.\w+\.\w+$ -Aaron Kerry Milestone wrote: > When trying to verify with Nagios, it seems to stop reading the string > on the first comma it comes accross. The Nagios documentation is a > little light with how to use regex other than using wildcards. > > Is what I am trying to do, actually possible? > > Cheers. > > > Error: Could not find any host matching '^(host|gost)\d{1' > > > >> kerry, >> >> note >> >> ^(host|gost)\d{1,2}\.\w+\.$ >> >> change it to >> ^(host|gost)\d{1,2}\.\w+\.\w+$ >> >> and test again. >> >> Learner >> >> > > > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ___ > 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 > > - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ 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] Regex Services?
When trying to verify with Nagios, it seems to stop reading the string on the first comma it comes accross. The Nagios documentation is a little light with how to use regex other than using wildcards. Is what I am trying to do, actually possible? Cheers. Error: Could not find any host matching '^(host|gost)\d{1' > kerry, > > note > > ^(host|gost)\d{1,2}\.\w+\.$ > > change it to > ^(host|gost)\d{1,2}\.\w+\.\w+$ > > and test again. > > Learner > - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ 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] check_sybase
Damn. Hate when I'm just plain wrong. ;) Thanks, Marc. On Tue, 31 Jul 2007, Marc Powell wrote: > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:nagios-users- > > [EMAIL PROTECTED] On Behalf Of Patrick Morris > > Sent: Tuesday, July 31, 2007 3:47 PM > > To: Danilo Perdomo > > Cc: nagios-users@lists.sourceforge.net > > Subject: Re: [Nagios-users] check_sybase > > > > Hi Danilo! > > > > On Tue, 31 Jul 2007, Danilo Perdomo wrote: > > > > > Hi all! I'm triying to use this plugin for checking a remote Sybase > > > database. The thing is that in the usage of the script > > > i dont see any option that indicates the IP address of the server. > Here > > > is the -h for the plugin: > > > > That's because this plugin won't work as a remote check. You'll need > to > > use something like nrpe or check_via_ssh to run it on a remote box. > > I'm pretty confident it will (untested though). It just uses DBI::Sybase > which doesn't care where the database is located. -- > > sub connect > { > $dbh = > DBI->connect("dbi:Sybase:server=$dbsvr;database=$dbname;". >"timeout=$timeout,loginTimeout=$timeout", $user, > $pass) > or &ncrit("Could not connect to '$dbname' on '$dbsvr'"); > > # Report success for a check of type CONNECT > &nok("Connect okay") if $checktype ne "FREESPACE"; > } > > -- > Marc > > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ___ > 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 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ 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
[Nagios-users] object inheritance question
When using templates in the case of variables which can have a comma-delimited set of values, does variable assignment overwrite or append? Example: define contact{ use template.contact contact_nametemplate.contact.admin contactgroups contactgroup.admin register0 } define contact{ use template.contact.admin contact_namejbob contactgroups contactgroup.admin.sa alias Jim Bob } Will Jim Bob be a member of a) only contactgroup.admin.sa; or b) both contactgroup.admin and contactgroup.admin.sa? If, as I suspect, a) is correct and he will only be a member of the last assigned group, is there a way to append to an inherited variable's value and achieve case b)? Thanks, --- Michael Babineau Systems Administrator Pearson Education [EMAIL PROTECTED] This email may contain material confidential to Pearson. If you were not an intended recipient, please notify the sender and delete all copies. We may monitor email to and from our network. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/___ 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] check_sybase
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Patrick Morris > Sent: Tuesday, July 31, 2007 3:47 PM > To: Danilo Perdomo > Cc: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] check_sybase > > Hi Danilo! > > On Tue, 31 Jul 2007, Danilo Perdomo wrote: > > > Hi all! I'm triying to use this plugin for checking a remote Sybase > > database. The thing is that in the usage of the script > > i dont see any option that indicates the IP address of the server. Here > > is the -h for the plugin: > > That's because this plugin won't work as a remote check. You'll need to > use something like nrpe or check_via_ssh to run it on a remote box. I'm pretty confident it will (untested though). It just uses DBI::Sybase which doesn't care where the database is located. -- sub connect { $dbh = DBI->connect("dbi:Sybase:server=$dbsvr;database=$dbname;". "timeout=$timeout,loginTimeout=$timeout", $user, $pass) or &ncrit("Could not connect to '$dbname' on '$dbsvr'"); # Report success for a check of type CONNECT &nok("Connect okay") if $checktype ne "FREESPACE"; } -- Marc - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ 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] check_sybase
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Danilo Perdomo > Sent: Tuesday, July 31, 2007 3:23 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] check_sybase > > Hi all! I'm triying to use this plugin for checking a remote Sybase > database. The thing is that in the usage of the script > i dont see any option that indicates the IP address of the server. Here > is the -h for the plugin: > > Mandatory arguments to long options are mandatory for short options too. > -U, --userUsername to connect to database. > -P, --passPassword to connect to database. > -S, --dbsvr Database server (as in the interfaces file). > -D, --dbname Database name to check. I don't use Sybase but I have used DBI::Sybase that this is based on. I'm 99% sure that the IP address would be specified within the interfaces file in the definition of the database server you pass with -S. This link might be useful -- http://www.outlands.demon.co.uk/sybase/index.html -- Marc - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ 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] check_sybase
Hi Danilo! On Tue, 31 Jul 2007, Danilo Perdomo wrote: > Hi all! I'm triying to use this plugin for checking a remote Sybase > database. The thing is that in the usage of the script > i dont see any option that indicates the IP address of the server. Here > is the -h for the plugin: That's because this plugin won't work as a remote check. You'll need to use something like nrpe or check_via_ssh to run it on a remote box. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ 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
[Nagios-users] check_sybase
Hi all! I'm triying to use this plugin for checking a remote Sybase database. The thing is that in the usage of the script i dont see any option that indicates the IP address of the server. Here is the -h for the plugin: Mandatory arguments to long options are mandatory for short options too. -U, --userUsername to connect to database. -P, --passPassword to connect to database. -S, --dbsvr Database server (as in the interfaces file). -D, --dbname Database name to check. --config=FILE Config file (see SECURITY below) --checktype=TYPE Type of check to run (see TYPEs below) --charset=CHARSET Character set of server (default iso_1). --explain Explains how we calculated the free space. --fallbackFallback to a CONNECT check if a non-CONNECT check takes too long. --no-mixed-devices-warningSuppress the warning about mixed data/log devices. -w, --warning Warning threshold (default 25). -c, --criticalCritical threshold (default 10). -t, --timeout Timeout value, in seconds (default 30). -h, --helpThis help message -V, --version Version information (1.0) Examples: check_sybase -U sa -P secret -S bigbox -D orders check_sybase --config=/secure/nagios-sybase.cfg --checktype=CONNECT TYPEs There are three types of checks you can run: --checktype=CONNECT Checks just the connection to the database. --checktype=FREESPACE (Default) Checks both the connection to the database and the free space. With this check type, both warning and critical thresholds are in percent. Warning defaults to 25% free space, critical defaults to 10% free space. --checktype=NUMLOGINS Checks the number of logins connected to the database server. With this check type, the warning and critical thresholds are integers. SECURITY - Using a config file Since a "ps ax" will reveal your database username and password, you can instead specify them in a config file. Pass the config file with --config. The format of the file is: USER value PASS value You can also specify a DBSVR and DBNAME in the file. Comments (#) and blank lines are ignored. Use whitespace to separate argument and value. The file should be readable by as few people as possible. -- - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ 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
[Nagios-users] nagios
this might seem a little complicated, but it's really not that complicated... anyways.. i have service that assigned to a hostgroup (not to an idividual host). host have specific timeperiod that i want to be monitored/notified service has different 24x7 timeperiod, as it needs to check for other hosts, that are being monitored/notified on 24x7 basis the thing is, whenever host goes down, nagios supress any service alerts, but since in my case service is being monitored 24x7 it still keeps on notifiying me about service is being down, even though i specified that host doesn't need to be monitored/notified and there for is services assigned to this host for that time period. so its kind of mix, now i dont know if this is a bug or do I need to create another service to monitor non-24 timeperiod hosts i hope it made some sort of sense... please advice thank you -- http://alexus.org/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/___ 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
[Nagios-users] check_mysql
Hello, I'm running into a little issue here, whenever I check if the slave thread is running properly, I get this: No Seconds Behind Master: (null) here is the command, I issue: # ~nagios/libexec/check_mysql -H db2 -u repl -p slavepass -S Slave IO: Yes Slave SQL: No Seconds Behind Master: (null) # for the test purpose (just to be on safe side) I even tried it with root, same thing... replication is however is working, and for test purposes, replication was interupted, yet nagios didn't send any alerts, obviosly due to something wrong with nagios plugin. another weird issue, i'm having is even though I get that output whenever I try to run command manually, nagios doesn't show me, CRITICAL state through Services. please advise, thank you in advance -- http://alexus.org/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/___ 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
[Nagios-users] EMC Symetrix monitoring
I've seen a few questions about this here but no replies. Maybe by now there is more information. I'm trying to monitor an EMC SAN with Symmetrix, but am hitting a brick wall. EMC's ECC console has up-to-date information on the SAN but doesn't have an SNMP interface for Nagios to query. The ECC console has interface libraries to talk to some of the major commercial monitoring packages, but not Nagios. Has anyone had any luck getting information from the ECC console? Has anyone had any luck with any other approaches to monitoring an EMC SAN? -David - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/___ 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] check_ping vs check_icmp?
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Rogelio Bastardo > Sent: Monday, July 30, 2007 6:22 PM > To: Nagios Users > Subject: Re: [Nagios-users] check_ping vs check_icmp? > > On 7/30/07, Rogelio Bastardo <[EMAIL PROTECTED]> wrote: > > > So, if you don't mind installing the plugin setuid root, I'd recommend > > > using check_icmp. > > > > Forgive my ignorance, but where can I find this? > > > > (I googled for "setuid root nagios check_icmp" but nothing jumped out at > me) > > ah, I see it's a package Actually, this is terminology detailing how a specific set of permissions are applied to a file/program. Basically, setuid and setgid mean that a flag is applied to the file/program with chmod such that it will retain it's ownership for that bit when being used. For the purposes here, setuid root means that the file should be owned by the user root (chown root /path/to/check_icmp) and setuid (chmod u+s /path/to/check_icmp). This will cause check_icmp to always run as the root user no matter who is running it. This allows it to open the necessary socket connections without requiring that the actual root user be running it. setuid is denoted by the 's' below -- $ ls -l /usr/local/nagios/libexec/check_icmp -r-sr-xr-x1 root nagios 15424 Jun 9 21:42 /usr/local/nagios/libexec/check_icmp $ ls -l /bin/ping -rwsr-xr-x1 root root27860 Sep 29 2005 /bin/ping -- Marc - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ 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