[Nagios-users] Monitor CRC errors
Hi all, I was wondering if anyone has a plugin that works with Nagios to monitor the CRC errors on Cisco routers (7600, 7200) interfaces and sub-ifs and maybe the same with Switches. I have Nagios 2.7 up and running. Thanks for the help. -- Danilo Perdomo Ingeniero de Operaciones NOC VP Operaciones Técnicas Inter Barquisimeto - MSO Ext.: 5393 Tlf.: 58-251-3355393 58-251-9355393 Cel.: 58-414-5750938 www.inter.com.ve - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] help me
Hi alicia, Check out this link http://www.nagiosexchange.org/ it might be helpful. And I don't thinks there's Nagios 9.5 Danilo Perdomo Ingeniero de Operaciones NOC VP Operaciones Técnicas Inter Barquisimeto - MSO Ext.: 5393 Tlf.: 58-251-3355393 58-251-9355393 Cel.: 58-414-5750938 www.inter.com.ve Alicia Calvo escribió: Hi, there any paper with instruction for install plugin check sybase?. I have many errors. I work with nagios 9.5 and Suse 10.1 Thanks, AC Tarjeta de crédito Yahoo! de Banco Supervielle. Solicitá tu nueva Tarjeta de crédito. De tu PC directo a tu casa. Visitá www.tuprimeratarjeta.com.ar - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ 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] Problems with check_rrd_bw.sh plugin
Done!! I got the check_rrdtraf plugin to work!! I highly recommend it to those who use RRD. Thanks!! Danilo Perdomo Ingeniero de Operaciones NOC VP Operaciones Técnicas Inter Barquisimeto - MSO Ext.: 5393 Tlf.: 58-251-3355393 58-251-9355393 Cel.: 58-414-5750938 www.inter.com.ve Cook, Garry escribió: I've used it. In fact, I wrote it. However, the version you pointed to is an old one. Israel Brewster did a lot of work on tuning this plugin and fixing some of my original mistakes. You should check Nagios Exchange for the latest version. Thanks, Garry *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of [EMAIL PROTECTED] *Sent:* Thursday, November 15, 2007 7:01 AM *To:* nagios-users@lists.sourceforge.net *Subject:* [Nagios-users] Problems with check_rrd_bw.sh plugin Hi all! I've been having problems with the Nagios plugin check_rrd_bw.sh. It checks the traffic of some of my links in a RRD format. The thing is that every now and then i get some results that are incorrect (-2147 Mbps) and affects the alert notifications in case some of the links are in a critical value. Has anyone used the plugin? any help? The output in Nagios: OK - Current BW in: -2147Mbps Here's the plugin: http://pastebin.com/m27ba16ad Thanks! Danilo Perdomo VP Operaciones Técnicas Intercable Barquisimeto - MSO Ext.: 5393 Tlf.: 58-251-9355393 Cel.: 58-414-5750938 www.intercable.com.ve NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibited and disclaimed by ARCADIS U.S., Inc. and its affiliates. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ 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_traffic
Hi all!! Im triying to use the check_traffic plugin but the results that im getting are not realistic For example im checking a Giga interfaces that has a lot of traffic going trough and the result is the following: Total RX Bytes: 0.00 MB, Total TX Bytes: 0.00 MB Average Traffic: 0.00 B/s (0.0%) in, 0.00 B/s (0.0%) out Is anyboby using this plugin? Any help? -- Danilo Perdomo Ingeniero de Operaciones NOC VP Operaciones Técnicas Inter Barquisimeto - MSO Ext.: 5393 Tlf.: 58-251-3355393 58-251-9355393 Cel.: 58-414-5750938 www.inter.com.ve - 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] [Fwd: Re: check_sybase]
Hi Marc! im sorry to bother you. I can't make the check_sybase plugin work. Here's the error message ./check_sybase --config=/usr/local/nagios/etc/sybase.cfg src/tds/login.c: tds_connect: x.x.x.x:1433: Connection refused DBI connect('server=x.x.x.x;database=apricot;charset=iso_1;timeout=15;loginTimeout=15','sa',...) failed: OpenClient message: LAYER = (0) ORIGIN = (0) SEVERITY = (78) NUMBER = (41) Message String: Server is unavailable or does not exist. at ./check_sybase line 133 CRITICAL: Could not connect to 'apricot' on 'x.x.x.x' Here's the config file: USER sa PASS pcube2001 DBSVR x.x.x.x (IP) DBNAME apricot I'd appreciate any help! Marc Powell escribi: -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
Re: [Nagios-users] [Fwd: Re: check_sybase]
Yeap it's the same address. I'll try check the config of the database and look where i can allow the connection of my monitoring host. Thanks a lot ! Marc Powell escribió: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Danilo Perdomo Sent: Wednesday, August 01, 2007 9:28 AM To: nagios-users@lists.sourceforge.net Cc: Marc Powell Subject: [Nagios-users] [Fwd: Re: check_sybase] Hi Marc! im sorry to bother you. I can't make the check_sybase plugin work. Here's the error message ./check_sybase --config=/usr/local/nagios/etc/sybase.cfg src/tds/login.c: tds_connect: x.x.x.x:1433: Connection refused ^ Looks like your Sybase database isn't allowing connections from your monitoring host. I've never used Sybase so I can't tell you how to fix it other than to verify that Sybase is listening for connections from other hosts and that your monitoring machine is allowed to connect to the database. Here's the config file: USER sa PASS pcube2001 DBSVR x.x.x.x (IP) DBNAME apricot I presume that x.x.x.x here matches x.x.x.x above. -- 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
Re: [Nagios-users] cgi's not working or missing
Maybe this link can help you: http://www.debianhelp.co.uk/nagiosinstall.htm Cassandra Pugh escribió: I just installed Nagios 2.9 and when I get up to the web portion, I get my page up, the documentation shows up, but when I click on various cgis on the sidebar, I get the whoops message : now, 1 - I have verified the config options by using the command line procedure, and it comes back 0 warnings, 0 errors. 2- Nagios log shows nagios starting just fine. I have verified it is running, I see logs that tell me things are being monitored, I get emails if stuff goes down, etc. I just cannot see the web interface. #3 I am not so sure about? I just ran the make files as the documentation states, so I don't see why this would not be correct? ALSO , clicking on trends.cgi, histogram.cgi and statusmap.cgi give me a not found error. well, they are NOT in my sbin, so that's not a surprise. what is a surprise, is why did they not install in the first place? I see their .c files in the installation folders, but there is no .cgi to be found for them. running gcc statusmap.c just gives me errors. are there some .o files I should include? Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: 1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). : -- Cassandra (609) 243-2413 From a little spark may burst a mighty flame. - 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] 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] Problems Starting Nagios
Hi All!. Im having problems configuring Nagios 2.7, i have all the .cfg files ready to get started but when i try to initialize the nagios process i get this error message: *Error: Could not create external command file '/usr/local/nagios/var/rw/nagios.cmd'. as named pipe: (13) - Permission denied. If this file already exists and you are sure that another copy of Nagios is not running, you should delete this file.* Any ideas? the nagios.cmd is supposed to be created automatically but that isn´t happening. Thanks in advance. Danilo Perdomo www.inter.com.ve - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] R: sensor temperature
Hi, check this out. http://www.nagios.org/products/environmental/esensors/em01b.php http://support.ipmonitor.com/tutorials/cd4c08ebc42b43a69b837b58e0f73cbb.aspx I'd like to use temp sensor on the motherboard of our Dell Poweredge servers, On 6/12/2007 10:19 AM, Marco Borsani wrote: Hi all. I am looking for a sensor to monitoring the temperature in our server farms. I hope you are aware that the temperature inside your servers does not necessarily correlate with your data center environmental conditions... While I like to monitor Server temperature, harddisk temperature, etc., I think that keeping an eye on the conditions in the room is quite a good idea... Noticing your air condition to be ineffective before your machines overheat can save you lots of work, repairing, replacing or restarting your servers :-) Arno - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Problems Starting Nagios
I'm still getting an error, even though i have the permissions: *drwxrwxrwx 4 nagios nagios 4096 2007-06-13 16:17 . drwxr-xr-x 11 nagios nagios 4096 2007-05-10 11:26 .. drwxrwxr-x 2 nagios nagios 4096 2007-05-10 11:24 archives -rw-rw-r-- 1 nagios nagios238 2007-06-12 17:40 comments.dat -rw-rw-r-- 1 nagios nagios239 2007-06-12 17:40 downtime.dat -rw-r--r-- 1 nagios nagios 0 2007-06-13 16:17 nagios.lock -rwxrwxrwx 1 nagios nagios 14268 2007-06-13 16:56 nagios.log -rwxrwxrwx 1 nagios nagios 118664 2007-06-13 16:56 objects.cache -rw--- 1 nagios nagios 162982 2007-06-13 16:17 retention.dat drwxrwsr-x 2 nagios nagios 4096 2007-06-13 12:08 rw [EMAIL PROTECTED]:/var/log# /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg Nagios 2.7 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 01-19-2007 License: GPL Warning: Could not get passwd entry for 'nagiosadmin' Nagios 2.7 starting... (PID=13453) Error: Could not create external command file '/usr/local/nagios/var/rw/nagios.cmd' as named pipe: (13) - Permission denied. If this file already exists and you are sure that another copy of Nagios is not running, you should delete this file. Bailing out due to errors encountered while trying to initialize the external command file... (PID=13453) * Marc Powell escribió: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Danilo Perdomo Sent: Wednesday, June 13, 2007 1:58 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Problems Starting Nagios Hi All!. Im having problems configuring Nagios 2.7, i have all the .cfg files ready to get started but when i try to initialize the nagios process i get this error message: Error: Could not create external command file '/usr/local/nagios/var/rw/nagios.cmd'. as named pipe: (13) - Permission denied. If this file already exists and you are sure that another copy of Nagios is not running, you should delete this file. Any ideas? the nagios.cmd is supposed to be created automatically but that isn´t happening. The error indicates that the user you've configured nagios to run as, usually nagios, does not have permission to write to the directory you've configured to hold the external command file (/usr/local/nagios/var/rw/). You'll need to -- - verify the directory you've specified exists and is owned by the nagios user - the nagios user can create files within that directory - if the file exists and isn't owned by the nagios user, stop nagios, remove it, restart nagios. - if the file exists and nagios isn't running, remove it then restart nagios -- Marc - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Problems with service check
Hi all! I'm having a problem with a service check. The thing is that the variable that i want to monitor decreases instead of increasing, the variable is the battery backup time of an UPS. The normal value should be 20 minutes of backup, but i want the Nagios to send me a warning when the value decreases to 15 minutes, and a critical when it goes down to 10. I understand that the check_snmp command only checks increasing values when you set the threshold. How can i do to check decreasing values?? Hope you can help me, thanks in advanced! -- Danilo Perdomo VP Operaciones Técnicas Intercable Barquisimeto - MSO Ext.: 5393 Tlf.: 58-251-3355393 58-251-9355393 Cel.: 58-414-5750938 www.inter.com.ve - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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 Notifications
Hi People, i have a litte problem with the notifications of my Nagios 2.5. For example : # 'check_nt_cpu' command definition define command{ command_namecheck_nt_cpu command_line$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOAD -l 15,90,98 } When the notification arrives, in the additional info field i get information about the Ping instead of the CPU Load of the host, this happens when i'm checking disk, memory and others. I'd appreciate any help, thanks in advanced. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ 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 Notifications
Patrick Morris escribió: On Thu, 14 Dec 2006, Danilo Perdomo wrote: Hi People, i have a litte problem with the notifications of my Nagios 2.5. For example : # 'check_nt_cpu' command definition define command{ command_namecheck_nt_cpu command_line$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOAD -l 15,90,98 } When the notification arrives, in the additional info field i get information about the Ping instead of the CPU Load of the host, this happens when i'm checking disk, memory and others. I'd appreciate any help, thanks in advanced. What are your notification commands? Can't help much without those Notification commands: # 'notify-by-email' command definition define command{ command_namenotify-by-email command_line/usr/bin/printf %b * Nagios Nacional *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n$HOSTOUTPUT$ | /bin/mail -s Alerta: $NOTIFICATIONTYPE$ - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ $CONTACTEMAIL$ } # 'host-notify-by-email' command definition define command{ command_namehost-notify-by-email command_line/usr/bin/printf %b * Nagios Nacional *\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n | /bin/mail -s Alerta: $HOSTSTATE$ $HOSTNAME$! $CONTACTEMAIL$ } # 'process-host-perfdata' command definition define command{ command_nameprocess-host-perfdata command_line/usr/bin/printf %b $LASTHOSTCHECK$\t$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$HOSTSTATETYPE$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$\n /usr/local/nagios/var/host-perfdata.out } # 'process-service-perfdata' command definition define command{ command_nameprocess-service-perfdata command_line/usr/bin/printf %b $LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n /usr/local/nagios/var/service-perfdata.out } - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ 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] Notifications Problems
Hello. Right now im migrating to version 2.5, but i'm having problems with the notifications. I installed Postfix but for some reason the notifications just didn't get send. Then i tried Mailx but the notifications that i get are like this: * Nagios * Notification Type: PROBLEM Host: enlace_ooo State: DOWN Address: 10.10.10.10 Info: $ Date/Time: $ Notice that de Info, Date/time and additional info fields don't show any information I'd appreciate any help with this issue, even better if you help me configure Postfix. Thanks in advanced. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ 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] Notifications Problems
Hello, the notification command is: # 'notify-by-email' command definition define command{ command_namenotify-by-email command_line/usr/bin/printf %b * Nagios Barquisimeto *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n$OUTPUT$ | /bin/mail -s Alerta: $NOTIFICATIONTYPE$ - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ $CONTACTEMAIL$ } Thanks, Danilo Perdomo www.intercable.com.ve Marc Powell escribió: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Danilo Perdomo Sent: Tuesday, December 12, 2006 7:40 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Notifications Problems Hello. Right now im migrating to version 2.5, but i'm having problems with the notifications. I installed Postfix but for some reason the notifications just didn't get send. Then i tried Mailx but the notifications that i get are like this: * Nagios * Notification Type: PROBLEM Host: enlace_ooo State: DOWN Address: 10.10.10.10 Info: $ Date/Time: $ Notice that de Info, Date/time and additional info fields don't show any information I'd appreciate any help with this issue, even better if you help me configure Postfix. Make certain that you are using the correct macros. I strongly suspect that you are not. Otherwise, please post the notification command in its entirety so that we can comment on it. http://nagios.sourceforge.net/docs/2_0/macros.html -- Marc - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ 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] Notifications Problems
-Original Message- From: Danilo Perdomo [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 12, 2006 8:56 AM To: Marc Powell Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Notifications Problems Hello, the notification command is: # 'notify-by-email' command definition define command{ command_namenotify-by-email command_line/usr/bin/printf %b * Nagios Barquisimeto *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n$OUTPUT$ | /bin/mail -s Alerta: $NOTIFICATIONTYPE$ - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ $CONTACTEMAIL$ } Follow the _other_ recommendation in my original response. It's very straightforward. I'm sure you can figure it out in less than 5 minutes and you'll learn something important about the program you are using. Please try to help yourself *before* asking someone to do your work for you. Yes, I am definitely of the 'Teach a man to fish... crowd. -- Marc I'm sorry Marc, Im from Venezuela and my english is not that good, maybe i missunderstood your recomendation, i thought you were asking for the command definition that i posted before. This is the first time im working with Nagios, someone was in charge of all the monitoring before me. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ 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] Notifications Problems
Only if you were using the right $MACROS$. You are not. Your datetime and output macros are wrong for nagios 2.5. Follow the link I gave for the correct ones to use. This is the first time im working with Nagios, someone was in charge of all the monitoring before me. Even better reason to have a look at the documentation ;) -- Marc It worked! Thanks for your help Marc. And also i got to practice my english. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ 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