From lists at webtent.net Wed Feb 1 02:00:18 2006 From: lists at webtent.net (Robert Fitzpatrick) Date: Tue, 31 Jan 2006 20:00:18 -0500 Subject: Monitoring a mail server Message-ID: <1138755618.3601.44.camel@columbus> I want to monitor Amavisd on localhost port 10024 with check_tcp, but if Amavisd is down, the notification will not make it. How can I monitor a localhost port? -- Robert ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From todd_barbera at wgbh.org Wed Feb 1 03:02:51 2006 From: todd_barbera at wgbh.org (Todd Barbera) Date: Tue, 31 Jan 2006 21:02:51 -0500 Subject: Monitoring a mail server References: <1138755618.3601.44.camel@columbus> Message-ID: <001101c626d3$9bcb3a60$0f7810ac@LENOVO9A2083ED> Maybe you should try check_proc instead. When you say localhost, I'm assuming you are referring to your Nagios server. Todd ----- Original Message ----- From: "Robert Fitzpatrick" To: "Nagios" Sent: Tuesday, January 31, 2006 8:00 PM Subject: [Nagios-users] Monitoring a mail server >I want to monitor Amavisd on localhost port 10024 with check_tcp, but if > Amavisd is down, the notification will not make it. How can I monitor a > localhost port? > > -- > Robert > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From djohnson at jsatech.com Wed Feb 1 03:53:11 2006 From: djohnson at jsatech.com (David Johnson) Date: Tue, 31 Jan 2006 20:53:11 -0600 Subject: Monitoring a mail server In-Reply-To: <001101c626d3$9bcb3a60$0f7810ac@LENOVO9A2083ED> References: <001101c626d3$9bcb3a60$0f7810ac@LENOVO9A2083ED> Message-ID: <033901c626da$a3ec3490$1e02a8c0@daviddell> Depending upon what you want to check, there are many solutions. I'm not familiar with Amavisd, so I can't say for certain. However it seems that you may to look at: check_smtp, check_mailq, check_proc, and check_tcp (among others). You can even write your own quickly. I'm not sure I understand, but check_tcp will notify you if it is down. > > >I want to monitor Amavisd on localhost port 10024 with check_tcp, but if > > Amavisd is down, the notification will not make it. How can I monitor a > > localhost port? > > > > -- > > Robert ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From benny at bennyvision.com Wed Feb 1 04:38:52 2006 From: benny at bennyvision.com (C. Bensend) Date: Tue, 31 Jan 2006 21:38:52 -0600 (CST) Subject: Monitoring a mail server In-Reply-To: <033901c626da$a3ec3490$1e02a8c0@daviddell> References: <001101c626d3$9bcb3a60$0f7810ac@LENOVO9A2083ED> <033901c626da$a3ec3490$1e02a8c0@daviddell> Message-ID: <62454.63.227.74.41.1138765132.squirrel@webmail.stinkweasel.net> > Depending upon what you want to check, there are many solutions. I'm not > familiar with Amavisd, so I can't say for certain. However it seems that > you may to look at: check_smtp, check_mailq, check_proc, and check_tcp > (among others). You can even write your own quickly. I'm not sure I > understand, but check_tcp will notify you if it is down. > >> >> >I want to monitor Amavisd on localhost port 10024 with check_tcp, but >> if >> > Amavisd is down, the notification will not make it. How can I monitor >> a >> > localhost port? >> > >> > -- >> > Robert C'mon, people, pay attention to his question. :) Here is the way I understand his problem (Robert, please correct me if I'm smokin' the crack here): His mailserver is on the Nagios host. It uses amavisd. He can monitor it via check_tcp, but if amavisd is not functional, _he's not going to get the email alert._ Because his email isn't going to work. So I think what he's asking, is how to get the alert to him, if his email system is not fully functional. If this is correct, he could look at using a modem to page, or an email alert sent directly to a remote SMTP gateway, or any number of things. Robert, is this the problem you're trying to get across? Benny -- "'And you've got 10 gig of files to put through our mail system?' I ask, squeezing my mouse in a non-approved manner." -- BOFH, 2006-01 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From nkaranuk at gmail.com Wed Feb 1 11:50:21 2006 From: nkaranuk at gmail.com (Karan uk) Date: Wed, 1 Feb 2006 16:20:21 +0530 Subject: Submit passive check result for a service sending out duplicate alert mails? Message-ID: <33fd7fe20602010250i477c0af0o38da941a5da62a40@mail.gmail.com> Hi, I've got Nagios-1.3 installed on rh7.3.The nagios.cfg i'm using is as below.Rest cfg files are as per the docs. _________________________________ log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/checkcommands.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg illegal_macro_output_chars=`~$&|'"<> resource_file=/usr/local/nagios/etc/resource.cfg nagios_user=root nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1ocal/nagios/etc/resource.cfg log_initial_states=1mesh/nagios-logs/status.log log_external_commands=1 service_reaper_frequency=10 sleep_time=1 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 use_agressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=0 illegal_object_name_chars=`~!$%^&*|'"<>?,()= retain_state_information=1 state_retention_file=/usr/local/nagios/var/status.sav retention_update_interval=60 use_retained_program_state=1 interval_length=60 admin_email=nkaranuk at localhost ______________________________ The issue i'm facing is that when an external command is run like "Submitting a passive check for a service" i receive two email alerts rather that just one. I've checked the no.of entries of this external command made in the nagios.cmd n found that just one entry is made per external command,is something like
[1138685516] PROCESS_SERVICE_CHECK_RESULT;nkaranuk;GENERIC_DB_CONNECTION;2;submitting a passive check manually
.So is this a normal behavior or i'm missing some key configuration that is causing these duplicate alerts. ran 'ps axuw | grep nagios' ..got only single nagios process as below root 1105 0.0 0.0 1816 840 pts/0 S 22:07 0:00 /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg looking forward to your thoughts, nkaranUk -------------- next part -------------- An HTML attachment was scrubbed... URL: From shoktai at gmail.com Wed Feb 1 12:14:26 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Wed, 1 Feb 2006 12:14:26 +0100 Subject: Considering nagmin Message-ID: <619cf3c0602010314v1fc471a1u@mail.gmail.com> Hi all, I am interesting in Nagmin installation upon Nagios 1.3 Official doc talks about nagios v1.1, does anyone got nagmin working fine with nagios1.3 ? Besides i am not using mysql support in nagios right now. Will i loose a lot of nagmin's features ? Is it obviously possible to recompile my nagios install to enable mysql support and integration ? Thanks for your lights . -------------- next part -------------- An HTML attachment was scrubbed... URL: From Toby_Kraft at KSAinc.com Wed Feb 1 14:43:21 2006 From: Toby_Kraft at KSAinc.com (Toby Kraft) Date: Wed, 1 Feb 2006 07:43:21 -0600 Subject: Considering nagmin In-Reply-To: <619cf3c0602010314v1fc471a1u@mail.gmail.com> References: <619cf3c0602010314v1fc471a1u@mail.gmail.com> Message-ID: Nagmin supports the config file format for nagios 1.x - I have used it with nagios 1.2 with no problem. You might check to see if 1.3 introduced any new configuration settings but I doubt it. Nagmin uses MySql to store the nagios configuration that it uses to create the various nagios config files. Nagios does not need to be compiled or run with mysql support. Going forward though, Nagmin does not support the Nagios 2.x format and is no longer being maintained last time I checked. Toby nagios-users-admin at lists.sourceforge.net wrote on 02/01/2006 05:14:26 AM: > Hi all, > > I am interesting in Nagmin installation upon Nagios 1.3 > Official doc talks about nagios v1.1, does anyone got nagmin working > fine with nagios1.3 ? > Besides i am not using mysql support in nagios right now. Will i > loose a lot of nagmin's features ? Is it obviously possible to > recompile my nagios install to enable mysql support and integration ? > > Thanks for your lights > . ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From xagonzalezm at gmail.com Wed Feb 1 15:01:50 2006 From: xagonzalezm at gmail.com (Alberto) Date: Wed, 1 Feb 2006 15:01:50 +0100 Subject: Nagios global stylesheet ?? Message-ID: <7fa4b410602010601r26ccc7b4gac6e8c408d118a6f@mail.gmail.com> Is there anyway to modify stylesheet colors, font, etc... globally not for each section on each file, why is this so complex in Nagios? Will this be improved in future releases? -------------- next part -------------- An HTML attachment was scrubbed... URL: From shoktai at gmail.com Wed Feb 1 15:02:51 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Wed, 1 Feb 2006 15:02:51 +0100 Subject: Considering nagmin In-Reply-To: References: <619cf3c0602010314v1fc471a1u@mail.gmail.com> Message-ID: <619cf3c0602010602i6f778202o@mail.gmail.com> Cheers, So the project may be stopped...well i was looking for an exciting tool to help configure and expand nagios functionnality. 2006/2/1, Toby Kraft : > > Nagmin supports the config file format for nagios 1.x - I have used it > with nagios 1.2 with no problem. You might check to see if 1.3 > introduced any new configuration settings but I doubt it. > > Nagmin uses MySql to store the nagios configuration that it uses to create > the various nagios config files. Nagios does not need to be compiled or > run with mysql support. > > Going forward though, Nagmin does not support the Nagios 2.x format and is > no longer being maintained last time I checked. > > Toby > > nagios-users-admin at lists.sourceforge.net wrote on 02/01/2006 05:14:26 AM: > > > Hi all, > > > > I am interesting in Nagmin installation upon Nagios 1.3 > > Official doc talks about nagios v1.1, does anyone got nagmin working > > fine with nagios1.3 ? > > Besides i am not using mysql support in nagios right now. Will i > > loose a lot of nagmin's features ? Is it obviously possible to > > recompile my nagios install to enable mysql support and integration ? > > > > Thanks for your lights > > . > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mkoponick at redhawk.info Wed Feb 1 16:19:47 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Wed, 1 Feb 2006 07:19:47 -0800 Subject: NDOUTILS - Database Dictionary/Map Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109B85@raptor.redhawk.info> Hello, I'm writing a PHP interface for Nagios using the tables (MySQL) from the NDOUtility. The data that is inserted by this utility works very well, but I was wondering if anyone had a definition listing for the tables/columns that the NDO2DB has. Thanks in advance, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From wrjacqmein at gmail.com Wed Feb 1 15:40:27 2006 From: wrjacqmein at gmail.com (Bill Jacqmein) Date: Wed, 1 Feb 2006 09:40:27 -0500 Subject: How to define a service for a host_group? In-Reply-To: <640e25ca0601292350u79cde774l20bafd58c2c36353@mail.gmail.com> References: <7fa4b410601270207p67d11ff8q55eb69d439799172@mail.gmail.com> <619cf3c0601270233u6ad92f7bu@mail.gmail.com> <1138380106.3078.48.camel@grokgeek.gowrs.net> <619cf3c0601270903h78998003p@mail.gmail.com> <640e25ca0601292350u79cde774l20bafd58c2c36353@mail.gmail.com> Message-ID: <3c9a5bae0602010640o1360324cs414ecc8e9be055d9@mail.gmail.com> define service{ hostgroup_name host_name ! ... } Will work and is how Im currently doing exclusions on my Nagios2 instance. On 1/30/06, Kai Reese wrote: > > I suppose you could then do something like > > define service{ > host_name , !, ! > .. > } > > That might check all the hosts except the 2 you exclused by ! > > Kai > > PS: untested, I don't check services on hostgroups. > > > > On 1/27/06, Toto Capuccino wrote: > > but that's another story mate ;) > > > > 2006/1/27, Don Lewis : > > > Of course then if you wanted a certain host not to have that service > > > monitored you would have to remove it from the group which in turn > would > > > remove it from anything else that is being monitored on it..;) > > > > > > -Don > > > > > > On Fri, 2006-01-27 at 11:33 +0100, Toto Capuccino wrote: > > > > yes there is you create a houstgroup in hostgroups.cfg and then put > > > > the hostgroup name in services.cfg > > > > > > > > define service{ > > > > .... > > > > hostgroup_name v240_servers > > > > .. > > > > } > > > > > > > > > > > > 2006/1/27, Alberto : > > > > Is there any way to define services for a hostgroup > something > > > > like... > > > > > > > > define service{ > > > > .... > > > > host_name v240_servers > > > > .. > > > > } > > > > > > > > and not having to specify all hosts everytime I define a new > > > > service > > > > > > > > define service{ > > > > host_name node1,node2,node4,... > > > > } > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642 > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at briandesmond.com Wed Feb 1 16:43:13 2006 From: brian at briandesmond.com (Brian Desmond) Date: Wed, 1 Feb 2006 10:43:13 -0500 Subject: Active Directory Monitoring Message-ID: <69A03D1A9CB91D44B61CD52A017B7570072C0D@bs-sbs01.house.briandesmond.com> Jan- I just do some check_nt on services - namely NetLogon and DNS. I also check for available disk space on the disks containing Sysvol, the DIT, and logs. Ideally need to be looking at replication, both AD and sysvol. I haven't had time to figure out service definitions for this, though. Insofar the services and disk monitoring has worked great for several years with about 75 DCs. Thanks, Brian Desmond brian at briandesmond.com c - 312.731.3132 > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jan Brinkmann > Sent: Wednesday, February 01, 2006 10:12 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Active Directory Monitoring > > Hi, > > I'm currently searching for a way to monitor an active directory using > nagios. The mainproblem I have is that I my active directory knowledge > tends to zero. I'm currently searching for docs where I can find atleast > the ports which I have to monitor, but until now without success. I had > the idea to define all ports which I have to monitor (when I know which > ports are involved), and then I want to put them into a servicegroup > called active directory. Is there anybody out there who has done > something like that in the past, or has a config snippet which could > lead me into the correct direction. A pointer to a document which > describes or lists the ports I need would be enough. Thanks in advance! > > -- Jan > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From lucky at the-luckyduck.de Wed Feb 1 16:12:05 2006 From: lucky at the-luckyduck.de (Jan Brinkmann) Date: Wed, 1 Feb 2006 16:12:05 +0100 Subject: Active Directory Monitoring Message-ID: <20060201151204.GA9755@luckyduck.tux> Hi, I'm currently searching for a way to monitor an active directory using nagios. The mainproblem I have is that I my active directory knowledge tends to zero. I'm currently searching for docs where I can find atleast the ports which I have to monitor, but until now without success. I had the idea to define all ports which I have to monitor (when I know which ports are involved), and then I want to put them into a servicegroup called active directory. Is there anybody out there who has done something like that in the past, or has a config snippet which could lead me into the correct direction. A pointer to a document which describes or lists the ports I need would be enough. Thanks in advance! -- Jan ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From morten.bekkelund at ergo.no Wed Feb 1 16:17:36 2006 From: morten.bekkelund at ergo.no (Morten Bekkelund) Date: Wed, 1 Feb 2006 16:17:36 +0100 Subject: Submit passive check result for a service sending out duplicate alert mails? Message-ID: <54E4617FA3879C4B8DA6CD5D1303899F0C1206@100NOOSLMSG001.common.alpharoot.net> Is this a distributed setup? If so, are you sure you're not receiving notifications from 2 servers? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Karan uk Sent: 1. februar 2006 11:50 To: Nagios-Users (E-mail) Subject: [Nagios-users] Submit passive check result for a service sending out duplicate alert mails? Hi, I've got Nagios-1.3 installed on rh7.3.The nagios.cfg i'm using is as below.Rest cfg files are as per the docs. _________________________________ log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/checkcommands.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg illegal_macro_output_chars=`~$&|'"<> resource_file=/usr/local/nagios/etc/resource.cfg nagios_user=root nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1ocal/nagios/etc/resource.cfg log_initial_states=1mesh/nagios-logs/status.log log_external_commands=1 service_reaper_frequency=10 sleep_time=1 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 use_agressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=0 illegal_object_name_chars=`~!$%^&*|'"<>?,()= retain_state_information=1 state_retention_file=/usr/local/nagios/var/status.sav retention_update_interval=60 use_retained_program_state=1 interval_length=60 admin_email=nkaranuk at localhost ______________________________ The issue i'm facing is that when an external command is run like "Submitting a passive check for a service" i receive two email alerts rather that just one. I've checked the no.of entries of this external command made in the nagios.cmd n found that just one entry is made per external command,is something like
[1138685516] PROCESS_SERVICE_CHECK_RESULT;nkaranuk;GENERIC_DB_CONNECTION;2;submitting a passive check manually
.So is this a normal behavior or i'm missing some key configuration that is causing these duplicate alerts. ran 'ps axuw | grep nagios' ..got only single nagios process as below root 1105 0.0 0.0 1816 840 pts/0 S 22:07 0:00 /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg looking forward to your thoughts, nkaranUk -------------- next part -------------- An HTML attachment was scrubbed... URL: From tgenessay at aliadis.fr Wed Feb 1 16:59:55 2006 From: tgenessay at aliadis.fr (Thibault Genessay) Date: Wed, 01 Feb 2006 16:59:55 +0100 Subject: Active Directory Monitoring In-Reply-To: <20060201151204.GA9755@luckyduck.tux> References: <20060201151204.GA9755@luckyduck.tux> Message-ID: <43E0DAFB.7030004@aliadis.fr> Hi >Hi, > >I'm currently searching for a way to monitor an active directory using >nagios. The mainproblem I have is that I my active directory knowledge >tends to zero. I'm currently searching for docs where I can find atleast >the ports which I have to monitor, but until now without success. I had >the idea to define all ports which I have to monitor (when I know which >ports are involved), and then I want to put them into a servicegroup >called active directory. Is there anybody out there who has done >something like that in the past, or has a config snippet which could >lead me into the correct direction. A pointer to a document which >describes or lists the ports I need would be enough. Thanks in advance! > > If you want a deep analysis of your Active Directory, I suggest you have a look at the WMI provider (MSDN documents it; you may access it through NC_NET for instance) or the SNMP MIB (if it exists -- I don't know, though). If you just want to test some ports, you need at least the 88 (kerberos) and 445 (Microsoft-ds). You might also try 137-138-139 which are used for NetBIOS over TCP. The best approach would be a tcpdump of a typical Active Directory access from a computer of your network so that you know which ports are used during a transaction; see http://www.netadmintools.com/art173.html -- Thibault GENESSAY ALIADIS www.aliadis.fr Tel. 0870 723 724 Fax 04 72 13 90 40 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From christian.masopust at siemens.com Wed Feb 1 17:06:11 2006 From: christian.masopust at siemens.com (Masopust, Christian) Date: Wed, 1 Feb 2006 17:06:11 +0100 Subject: Considering nagmin Message-ID: Hi Toto, if you plan to switch over to Nagios 2.x i would suggest to use "fruity" (fruity.sourceforge.net). It only supports Nagios 2 but you could prepare your configuration for Nagios 2, install Nagios 2 and then switch over to it (this is what i did this week...) Chris ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Toto Capuccino Sent: Wednesday, February 01, 2006 3:03 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Considering nagmin Cheers, So the project may be stopped...well i was looking for an exciting tool to help configure and expand nagios functionnality. 2006/2/1, Toby Kraft < Toby_Kraft at ksainc.com >: Nagmin supports the config file format for nagios 1.x - I have used it with nagios 1.2 with no problem. You might check to see if 1.3 introduced any new configuration settings but I doubt it. Nagmin uses MySql to store the nagios configuration that it uses to create the various nagios config files. Nagios does not need to be compiled or run with mysql support. Going forward though, Nagmin does not support the Nagios 2.x format and is no longer being maintained last time I checked. Toby nagios-users-admin at lists.sourceforge.net wrote on 02/01/2006 05:14:26 AM: > Hi all, > > I am interesting in Nagmin installation upon Nagios 1.3 > Official doc talks about nagios v1.1, does anyone got nagmin working > fine with nagios1.3 ? > Besides i am not using mysql support in nagios right now. Will i > loose a lot of nagmin's features ? Is it obviously possible to > recompile my nagios install to enable mysql support and integration ? > > Thanks for your lights > . ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From misch at multinet.de Wed Feb 1 17:07:56 2006 From: misch at multinet.de (Michael Schwartzkopff) Date: Wed, 1 Feb 2006 17:07:56 +0100 Subject: Active Directory Monitoring In-Reply-To: <20060201151204.GA9755@luckyduck.tux> References: <20060201151204.GA9755@luckyduck.tux> Message-ID: <200602011707.59637.misch@multinet.de> Am Mittwoch, 1. Februar 2006 16:12 schrieb Jan Brinkmann: > Hi, > > I'm currently searching for a way to monitor an active directory using > nagios. (...) Get the MIBs for SNMP from M$, read it, find out about the parameters that are interesting (performance!), and question the target machine every 5 min. Of course you have to enable SNMP on the target machine before! -- Dr. Michael Schwartzkopff MultiNET Services GmbH Bretonischer Ring 7 85630 Grasbrunn Tel: (+49 89) 456 911 - 0 Fax: (+49 89) 456 911 - 21 mob: (+49 174) 343 28 75 PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From msugano at uolinc.com Wed Feb 1 16:27:03 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 01 Feb 2006 13:27:03 -0200 Subject: processing bottleneck & staled results In-Reply-To: <20060124203714.GD12362@mal.members.linode.com> References: <1138117327.29197.15.camel@localhost> <20060124203714.GD12362@mal.members.linode.com> Message-ID: <1138807624.22459.16.camel@localhost> On Tue, 2006-01-24 at 15:37 -0500, Jason Martin wrote: > On Tue, Jan 24, 2006 at 01:42:06PM -0200, Marcel Mitsuto Fucatu Sugano wrote: > > Running nagios -s don't give me any indications that could be of use. > > > > My config is as follows: > > * almost 12k services (all passive: send_ncsa & ncsa) > There is a limit to the amount of data that can be written to > the nagios.cmd pipe in a given time period, due to kernel limits > on the buffer for it. Does it improve if you length your check > interval? Length check interval is not possible, because i am not the one who actually configure all checks, that is a task for the server administrator who really know the monitoring needs of his server and services. So, i can't start messing up with the configuration. Instead, i have raised the check_freshness_interval to 5 minutes, but i am not sure if this will avoid the amount of staled services, by not checking service freshness or if it will not show staled results anymore between 5 minutes threshold. It is not clear to me, even after re-reading docs over and over. Thank you for your response. -- Marcel Mitsuto Fucatu Sugano Universo Online S.A. -- http://www.uol.com.br ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From lists at webtent.net Wed Feb 1 17:40:56 2006 From: lists at webtent.net (Robert Fitzpatrick) Date: Wed, 01 Feb 2006 11:40:56 -0500 Subject: Monitoring a mail server In-Reply-To: <62454.63.227.74.41.1138765132.squirrel@webmail.stinkweasel.net> References: <001101c626d3$9bcb3a60$0f7810ac@LENOVO9A2083ED> <033901c626da$a3ec3490$1e02a8c0@daviddell> <62454.63.227.74.41.1138765132.squirrel@webmail.stinkweasel.net> Message-ID: <1138812056.25613.34.camel@columbus> On Tue, 2006-01-31 at 21:38 -0600, C. Bensend wrote: > His mailserver is on the Nagios host. It uses amavisd. > > He can monitor it via check_tcp, but if amavisd is not functional, > _he's not going to get the email alert._ Because his email isn't > going to work. > > So I think what he's asking, is how to get the alert to him, if his > email system is not fully functional. > > If this is correct, he could look at using a modem to page, or > an email alert sent directly to a remote SMTP gateway, or any > number of things. > > Robert, is this the problem you're trying to get across? > Yes, you got it, but how do I send an email alert sent directly to a remote SMTP gateway? -- Robert -- Robert ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From mkoponick at redhawk.info Wed Feb 1 17:25:46 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Wed, 1 Feb 2006 08:25:46 -0800 Subject: Submit passive check result for a service sending out duplicate alert mails? Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109B86@raptor.redhawk.info> Karan, If this is a distributed monitoring setup, you will need to turn off notifications on the "sensor" at that is doing the checking. Notifications should be turned on the central server where Nagios/NSCA is accepting the checks. Thanks! Mike -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Karan uk Sent: Wednesday, February 01, 2006 2:50 AM To: Nagios-Users (E-mail) Subject: [Nagios-users] Submit passive check result for a service sending out duplicate alert mails? Hi, I've got Nagios-1.3 installed on rh7.3.The nagios.cfg i'm using is as below.Rest cfg files are as per the docs. _________________________________ log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/checkcommands.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg illegal_macro_output_chars=`~$&|'"<> resource_file=/usr/local/nagios/etc/resource.cfg nagios_user=root nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1ocal/nagios/etc/resource.cfg log_initial_states=1mesh/nagios-logs/status.log log_external_commands=1 service_reaper_frequency=10 sleep_time=1 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 use_agressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=0 illegal_object_name_chars=`~!$%^&*|'"<>?,()= retain_state_information=1 state_retention_file=/usr/local/nagios/var/status.sav retention_update_interval=60 use_retained_program_state=1 interval_length=60 admin_email=nkaranuk at localhost ______________________________ The issue i'm facing is that when an external command is run like "Submitting a passive check for a service" i receive two email alerts rather that just one. I've checked the no.of entries of this external command made in the nagios.cmd n found that just one entry is made per external command,is something like
[1138685516] PROCESS_SERVICE_CHECK_RESULT;nkaranuk;GENERIC_DB_CONNECTION;2;submitting a passive check manually
.So is this a normal behavior or i'm missing some key configuration that is causing these duplicate alerts. ran 'ps axuw | grep nagios' ..got only single nagios process as below root 1105 0.0 0.0 1816 840 pts/0 S 22:07 0:00 /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg looking forward to your thoughts, nkaranUk -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcoleman at lrn.com Wed Feb 1 18:31:37 2006 From: jcoleman at lrn.com (Jason Coleman) Date: Wed, 1 Feb 2006 09:31:37 -0800 Subject: Nagios Escalations Message-ID: <864E0C613A1B8844A2C23594DDB03003012ACCD5@wwd2k3mxs01.corp.lrn.com> I am currently having trouble getting our escalations to work. I have read the documentation and tried experimenting with nagios, but I still cannot get nagios to observe the escalation rules. Here is my service definition that I am testing with: Service definition: define service{ name generic-checkhttp use generic-service service_description Check HTTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 notification_interval 720 contact_groups linux-engineers notification_period 24x7 notification_options w,u,c,r check_command check_http register 0 } And here is the escalation definition: define serviceescalation{ host_name wwdw23img01 service_description Check HTTP first_notification 3 last_notification 1000 notification_interval 12 contact_groups linux-engineers,network-engineers,windows-engineers } Any help would be appreciated. Please let me know if I have left out information that is needed to assist. ------------------------------------ Jason Coleman Systems Engineer LRN - The Legal Knowledge Company 1100 Glendon Ave, Suite 700 Los Angeles, CA 90024 tel: 310-209-5381 "/(bb|[^b]{2})/" ------------------------------------ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From kylet at panix.com Wed Feb 1 17:59:59 2006 From: kylet at panix.com (Kyle Tucker) Date: Wed, 1 Feb 2006 11:59:59 -0500 (EST) Subject: Active Directory Monitoring In-Reply-To: <20060201151204.GA9755@luckyduck.tux> References: <20060201151204.GA9755@luckyduck.tux> Message-ID: <200602011659.k11GxxV28400@panix3.panix.com> > > I'm currently searching for a way to monitor an active directory using > nagios. The mainproblem I have is that I my active directory knowledge > tends to zero. I'm currently searching for docs where I can find atleast > the ports which I have to monitor, but until now without success. I had > the idea to define all ports which I have to monitor (when I know which > ports are involved), and then I want to put them into a servicegroup > called active directory. Is there anybody out there who has done > something like that in the past, or has a config snippet which could > lead me into the correct direction. A pointer to a document which > describes or lists the ports I need would be enough. Thanks in advance! If I were to do this, I'd ask your AD admin for an account and some info from the schema that should always be there and write a plugin script using the 'ldapsearch' command and checking to make sure you get back what's expected and exit the script accordingly. Here's a sample command line query I used against AD at my last company to get people's names, email addresses, phone numbers and job title. /bin/ldapsearch -h adhost.foo.bar -D user at ds.dom -w password -b \ ou=BaseOU,dc=ds,dc=dom cn="*${1}*" cn mail telephonenumber title -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From nagios at starblanket.ca Wed Feb 1 18:33:36 2006 From: nagios at starblanket.ca (Bob DeBolt) Date: Wed, 1 Feb 2006 10:33:36 -0700 Subject: You don't have permission to access /nagios/cgi-bin/ on this server Message-ID: <200602011033.36207.nagios@starblanket.ca> Greets CentOS 4.2 up to date. SELinux is disabled 2GHz -512MB P4 Nagios installed from RPM Dag Wieers site, nagios-2.0-0.rc2.2.el4.test.i386.rpm ? nagios-plugins-1.4.1-1.2.el4.rf.i386.rpm ? ? Web pages work fine, docs are all good. Web Interface login works fine. Now the problem. "You don't have permission to access /nagios/cgi-bin/ on this server" I have googled for ?few hours, lots of hits but no success, reread docs, tried numerous permission combos on the cgi directory which is /usr/lib/nagios/cgi in the RPM install. Made sure apache user is part of the nagios group and on and on. Here is a tail of my web server error_log after wildly clicking the refresh button. Of course the log is the same using the CLI GET Wed Feb 01 08:45:54 2006] [error] [client 192.168.1.77] File does not exist: /var/www/html/favicon.ico [Wed Feb 01 08:45:54 2006] [error] [client 192.168.1.77] attempt to invoke directory as script: /usr/lib/nagios/cgi/ [Wed Feb 01 08:45:54 2006] [error] [client 192.168.1.77] attempt to invoke directory as script: /usr/lib/nagios/cgi/ [Wed Feb 01 08:45:54 2006] [error] [client 192.168.1.77] attempt to invoke directory as script: /usr/lib/nagios/cgi/ [Wed Feb 01 08:45:54 2006] [error] [client 192.168.1.77] File does not exist: /var/www/html/favicon.ico [Wed Feb 01 08:45:55 2006] [error] [client 192.168.1.77] File does not exist: /var/www/html/favicon.ico [Wed Feb 01 08:45:55 2006] [error] [client 192.168.1.77] attempt to invoke directory as script: /usr/lib/nagios/cgi/ [Wed Feb 01 08:45:55 2006] [error] [client 192.168.1.77] attempt to invoke directory as script: /usr/lib/nagios/cgi/ [Wed Feb 01 08:45:55 2006] [error] [client 192.168.1.77] File does not exist: /var/www/html/favicon.ico Ideas? Bob ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From shoktai at gmail.com Wed Feb 1 19:43:26 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Wed, 1 Feb 2006 19:43:26 +0100 Subject: Active Directory Monitoring In-Reply-To: <200602011659.k11GxxV28400@panix3.panix.com> References: <20060201151204.GA9755@luckyduck.tux> <200602011659.k11GxxV28400@panix3.panix.com> Message-ID: <619cf3c0602011043u42ed1dc3n@mail.gmail.com> you got the check plgins working with nrpe on nagios exchange thet check replication. More info there http://www.hannes-schulz.de/?doc=proj&proj=nagios Personnally i just had a quick look so i can t say much. 2006/2/1, Kyle Tucker : > > > > > I'm currently searching for a way to monitor an active directory using > > nagios. The mainproblem I have is that I my active directory knowledge > > tends to zero. I'm currently searching for docs where I can find atleast > > the ports which I have to monitor, but until now without success. I had > > the idea to define all ports which I have to monitor (when I know which > > ports are involved), and then I want to put them into a servicegroup > > called active directory. Is there anybody out there who has done > > something like that in the past, or has a config snippet which could > > lead me into the correct direction. A pointer to a document which > > describes or lists the ports I need would be enough. Thanks in advance! > > If I were to do this, I'd ask your AD admin for an account and some > info from the schema that should always be there and write a plugin > script using the 'ldapsearch' command and checking to make sure you > get back what's expected and exit the script accordingly. Here's a > sample command line query I used against AD at my last company to > get people's names, email addresses, phone numbers and job title. > > /bin/ldapsearch -h adhost.foo.bar -D user at ds.dom -w password -b \ > ou=BaseOU,dc=ds,dc=dom cn="*${1}*" cn mail telephonenumber title > > -- > - Kyle > --------------------------------------------- > kylet at panix.com http://www.panix.com/~kylet > --------------------------------------------- > > -- > - Kyle > --------------------------------------------- > kylet at panix.com http://www.panix.com/~kylet > --------------------------------------------- > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mkoponick at redhawk.info Wed Feb 1 19:30:41 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Wed, 1 Feb 2006 10:30:41 -0800 Subject: You don't have permission to access /nagios/cgi-bin/ on this server Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109B87@raptor.redhawk.info> Bob, This appears to be a permissions problem. It sounds as if you have nagios as a member of the apache group, but are you running nagios as "nagios" (user/group) Is Apache running as "apache". You may also want to check the directories/files to ensure they are a part of correct group/ownership. I know this may sound simple, but it has bitten me more than once. Mike -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Bob DeBolt Sent: Wednesday, February 01, 2006 9:34 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] You don't have permission to access /nagios/cgi-bin/ on this server Greets CentOS 4.2 up to date. SELinux is disabled 2GHz -512MB P4 Nagios installed from RPM Dag Wieers site, nagios-2.0-0.rc2.2.el4.test.i386.rpm ? nagios-plugins-1.4.1-1.2.el4.rf.i386.rpm ? ? Web pages work fine, docs are all good. Web Interface login works fine. Now the problem. "You don't have permission to access /nagios/cgi-bin/ on this server" I have googled for ?few hours, lots of hits but no success, reread docs, tried numerous permission combos on the cgi directory which is /usr/lib/nagios/cgi in the RPM install. Made sure apache user is part of the nagios group and on and on. Here is a tail of my web server error_log after wildly clicking the refresh button. Of course the log is the same using the CLI GET Wed Feb 01 08:45:54 2006] [error] [client 192.168.1.77] File does not exist: /var/www/html/favicon.ico [Wed Feb 01 08:45:54 2006] [error] [client 192.168.1.77] attempt to invoke directory as script: /usr/lib/nagios/cgi/ [Wed Feb 01 08:45:54 2006] [error] [client 192.168.1.77] attempt to invoke directory as script: /usr/lib/nagios/cgi/ [Wed Feb 01 08:45:54 2006] [error] [client 192.168.1.77] attempt to invoke directory as script: /usr/lib/nagios/cgi/ [Wed Feb 01 08:45:54 2006] [error] [client 192.168.1.77] File does not exist: /var/www/html/favicon.ico [Wed Feb 01 08:45:55 2006] [error] [client 192.168.1.77] File does not exist: /var/www/html/favicon.ico [Wed Feb 01 08:45:55 2006] [error] [client 192.168.1.77] attempt to invoke directory as script: /usr/lib/nagios/cgi/ [Wed Feb 01 08:45:55 2006] [error] [client 192.168.1.77] attempt to invoke directory as script: /usr/lib/nagios/cgi/ [Wed Feb 01 08:45:55 2006] [error] [client 192.168.1.77] File does not exist: /var/www/html/favicon.ico Ideas? Bob ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 _______________________________________________ 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From Alan_Maxwell at hilton.com Wed Feb 1 19:43:58 2006 From: Alan_Maxwell at hilton.com (Alan Maxwell) Date: Wed, 1 Feb 2006 12:43:58 -0600 Subject: force check under schedule a check of all services Message-ID: 2 fold question: The force check , check box, is by default "checked" can this behaviour be modified? why? I have a check that has both active and passive and the active command is simply a bail out to critical if the freshenss goes over. when someone runs the force check, it is then going criticial when it isn't/ Another solution would be to be able to detect whether the active check was called because of freshness outdated -or- force check. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frederik.vanhee at perso.be Wed Feb 1 20:19:48 2006 From: frederik.vanhee at perso.be (Frederik Vanhee) Date: Wed, 01 Feb 2006 20:19:48 +0100 Subject: popup In-Reply-To: <619cf3c0601310545p241f0fcfi@mail.gmail.com> References: <619cf3c0601310545p241f0fcfi@mail.gmail.com> Message-ID: <43E109D4.90600@perso.be> Toto Capuccino wrote: > Hi all, > > Does anybody got popup notifications working ? Works like a charm ! use this as your notify-command, or tune to your needs.... However I switched to jabber-notification (instant messaging) because of the rather 'aggressive' popups. # 'notify-by-smbclient' command definition define command{ command_name notify-by-smbclient command_line /usr/bin/printf "%b" "***** NAGIOS ***** automatically generated POP-UP \n\n Notification Type: $NOTIFICATIONTYPE$\n\nHost: $HOSTNAME$ ($HOSTALIAS$) \nAddress: $HOSTADDRESS$\nService: $SERVICEDESC$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/smbclient -M $CONTACTADDRESS1$ -I $CONTACTADDRESS2$ } where CONTACTADDRESS1 = the pc name and CONTACTADDRESS2 = the pc's ip-address Good luck ! Frederik ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From shoktai at gmail.com Wed Feb 1 20:24:04 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Wed, 1 Feb 2006 20:24:04 +0100 Subject: popup In-Reply-To: <43E109D4.90600@perso.be> References: <619cf3c0601310545p241f0fcfi@mail.gmail.com> <43E109D4.90600@perso.be> Message-ID: <619cf3c0602011124r760c55e4x@mail.gmail.com> i wanted to avoid the winpopup too, not very user-friendly. Is Jabber solution easy to implement ? 2006/2/1, Frederik Vanhee : > > Toto Capuccino wrote: > > > Hi all, > > > > Does anybody got popup notifications working ? > > > Works like a charm ! use this as your notify-command, or tune to your > needs.... > However I switched to jabber-notification (instant messaging) because of > the rather 'aggressive' popups. > > # 'notify-by-smbclient' command definition > define command{ > command_name notify-by-smbclient > command_line /usr/bin/printf "%b" "***** NAGIOS ***** > automatically generated POP-UP \n\n Notification Type: > $NOTIFICATIONTYPE$\n\nHost: $HOSTNAME$ ($HOSTALIAS$) \nAddress: > $HOSTADDRESS$\nService: $SERVICEDESC$\nState: > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional > Info:\n\n$SERVICEOUTPUT$" | /usr/bin/smbclient -M $CONTACTADDRESS1$ -I > $CONTACTADDRESS2$ > } > > where CONTACTADDRESS1 = the pc name > and CONTACTADDRESS2 = the pc's ip-address > > Good luck ! > > Frederik > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shoktai at gmail.com Wed Feb 1 20:31:23 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Wed, 1 Feb 2006 20:31:23 +0100 Subject: Nagios global stylesheet ?? In-Reply-To: <7fa4b410602010601r26ccc7b4gac6e8c408d118a6f@mail.gmail.com> References: <7fa4b410602010601r26ccc7b4gac6e8c408d118a6f@mail.gmail.com> Message-ID: <619cf3c0602011131x2e1bdf98n@mail.gmail.com> you can have a look there and get inspired http://www.nagiosexchange.org/Image_Packs.75.0.html?&tx_netnagext_pi1[p_view]=252 2006/2/1, Alberto : > > Is there anyway to modify stylesheet colors, font, etc... globally not for > each section on each file, why is this so complex in Nagios? Will this be > improved in future releases? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at starblanket.ca Wed Feb 1 20:50:13 2006 From: nagios at starblanket.ca (Bob DeBolt) Date: Wed, 1 Feb 2006 12:50:13 -0700 Subject: You don't have permission to access /nagios/cgi-bin/ on this server Message-ID: <200602011250.14023.nagios@starblanket.ca> Hi Mike Thanks for the response > This appears to be a permissions problem. It sounds as if you have nagios > as a member of the apache group, Actually apache is running in the nagios group > but are you running nagios as "nagios" Yes > Is Apache running as "apache". Yes > You may also want to check the directories/files to ensure they are a part > of correct group/ownership. Some of the files in the /usr/lib/nagios/cgi directory -rwxrwxr-x ?1 nagios nagios 135496 Jan 31 11:45 histogram.cgi -rwxrwxr-x ?1 nagios nagios 115176 Jan 31 11:45 history.cgi -rwxr--r-- ?1 nagios nagios ? ? 99 Jan 31 16:11 .htaccess Bob ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From shoktai at gmail.com Wed Feb 1 20:28:00 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Wed, 1 Feb 2006 20:28:00 +0100 Subject: Monitoring a mail server In-Reply-To: <1138812056.25613.34.camel@columbus> References: <001101c626d3$9bcb3a60$0f7810ac@LENOVO9A2083ED> <033901c626da$a3ec3490$1e02a8c0@daviddell> <62454.63.227.74.41.1138765132.squirrel@webmail.stinkweasel.net> <1138812056.25613.34.camel@columbus> Message-ID: <619cf3c0602011128u7dd8b8b4v@mail.gmail.com> I use nullmailer but it cant run on the same box as the one that runs amvisd 2006/2/1, Robert Fitzpatrick : > > On Tue, 2006-01-31 at 21:38 -0600, C. Bensend wrote: > > His mailserver is on the Nagios host. It uses amavisd. > > > > He can monitor it via check_tcp, but if amavisd is not functional, > > _he's not going to get the email alert._ Because his email isn't > > going to work. > > > > So I think what he's asking, is how to get the alert to him, if his > > email system is not fully functional. > > > > If this is correct, he could look at using a modem to page, or > > an email alert sent directly to a remote SMTP gateway, or any > > number of things. > > > > Robert, is this the problem you're trying to get across? > > > > Yes, you got it, but how do I send an email alert sent directly to a > remote SMTP gateway? > > -- > Robert > -- > Robert > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at starblanket.ca Wed Feb 1 20:48:23 2006 From: nagios at starblanket.ca (Bob DeBolt) Date: Wed, 1 Feb 2006 12:48:23 -0700 Subject: You don't have permission to access /nagios/cgi-bin/ on this server In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD4109B87@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD4109B87@raptor.redhawk.info> Message-ID: <200602011248.24005.nagios@starblanket.ca> On Wednesday 01 February 2006 11:30, Mike Koponick wrote: Hi Mike Thanks for the response > This appears to be a permissions problem. It sounds as if you have nagios > as a member of the apache group, Actually apache is running in the nagios group > but are you running nagios as "nagios" Yes > Is Apache running as "apache". Yes > You may also want to check the directories/files to ensure they are a part > of correct group/ownership. Some of the files in the /usr/lib/nagios/cgi directory -rwxrwxr-x 1 nagios nagios 135496 Jan 31 11:45 histogram.cgi -rwxrwxr-x 1 nagios nagios 115176 Jan 31 11:45 history.cgi -rwxr--r-- 1 nagios nagios 99 Jan 31 16:11 .htaccess Bob ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From benny at bennyvision.com Wed Feb 1 21:32:16 2006 From: benny at bennyvision.com (C. Bensend) Date: Wed, 1 Feb 2006 14:32:16 -0600 (CST) Subject: Monitoring a mail server In-Reply-To: <1138812056.25613.34.camel@columbus> References: <001101c626d3$9bcb3a60$0f7810ac@LENOVO9A2083ED> <033901c626da$a3ec3490$1e02a8c0@daviddell> <62454.63.227.74.41.1138765132.squirrel@webmail.stinkweasel.net> <1138812056.25613.34.camel@columbus> Message-ID: <1170.134.244.169.17.1138825936.squirrel@webmail.stinkweasel.net> > Yes, you got it, but how do I send an email alert sent directly to a > remote SMTP gateway? That all depends on your mailserver setup. Is there any way you can bypass the spam/anti-virus to send mail directly? Or, it could certainly be done easily enough with a shell script that connects to a remote mailserver and delivers the alert manually... Benny -- "'And you've got 10 gig of files to put through our mail system?' I ask, squeezing my mouse in a non-approved manner." -- BOFH, 2006-01 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From lists at webtent.net Wed Feb 1 21:42:30 2006 From: lists at webtent.net (Robert Fitzpatrick) Date: Wed, 01 Feb 2006 15:42:30 -0500 Subject: Monitoring a mail server In-Reply-To: <1170.134.244.169.17.1138825936.squirrel@webmail.stinkweasel.net> References: <001101c626d3$9bcb3a60$0f7810ac@LENOVO9A2083ED> <033901c626da$a3ec3490$1e02a8c0@daviddell> <62454.63.227.74.41.1138765132.squirrel@webmail.stinkweasel.net> <1138812056.25613.34.camel@columbus> <1170.134.244.169.17.1138825936.squirrel@webmail.stinkweasel.net> Message-ID: <1138826550.25613.54.camel@columbus> On Wed, 2006-02-01 at 14:32 -0600, C. Bensend wrote: > > Yes, you got it, but how do I send an email alert sent directly to a > > remote SMTP gateway? > > That all depends on your mailserver setup. Is there any way you > can bypass the spam/anti-virus to send mail directly? > > Or, it could certainly be done easily enough with a shell script > that connects to a remote mailserver and delivers the alert > manually... > Thanks, how do I get Nagios to run my shell script in place of the normal notification? -- Robert ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From jim.pye at pyenet.co.nz Wed Feb 1 21:51:08 2006 From: jim.pye at pyenet.co.nz (Jim Pye) Date: Thu, 02 Feb 2006 09:51:08 +1300 Subject: Monitoring a mail server In-Reply-To: <1170.134.244.169.17.1138825936.squirrel@webmail.stinkweasel.net> References: <001101c626d3$9bcb3a60$0f7810ac@LENOVO9A2083ED> <033901c626da$a3ec3490$1e02a8c0@daviddell> <62454.63.227.74.41.1138765132.squirrel@webmail.stinkweasel.net> <1138812056.25613.34.camel@columbus> <1170.134.244.169.17.1138825936.squirrel@webmail.stinkweasel.net> Message-ID: <1138827068.11821.16.camel@jimsx220.pyenet.co.nz> Guys Jumping in here. I use a PERL script called sendEmail available from: http://caspian.dotconf.net/menu/Software/SendEmail/ It works from the command line and if you are interested I can give you the nagios command .cfg entries to add. It works on Linux, Windows and being PERL I modified the script to work on NetWare (it uses a couple of functions that NetWare does not support) HTH Jim On Wed, 2006-02-01 at 14:32 -0600, C. Bensend wrote: > > > Yes, you got it, but how do I send an email alert sent directly to a > > remote SMTP gateway? > > That all depends on your mailserver setup. Is there any way you > can bypass the spam/anti-virus to send mail directly? > > Or, it could certainly be done easily enough with a shell script > that connects to a remote mailserver and delivers the alert > manually... > > Benny > > -- Jim Pye PyeNet Universal email: jim.pye at pyenet.co.nz | Phone: +64 4 527 8284 | Fax: +64 4 528 9693 web site: http://www.pyenet.co.nz ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From lists at webtent.net Wed Feb 1 21:51:14 2006 From: lists at webtent.net (Robert Fitzpatrick) Date: Wed, 01 Feb 2006 15:51:14 -0500 Subject: Monitoring a mail server In-Reply-To: <003401c6276e$f55741a0$0e5cd882@438LG01sshi052> References: <003401c6276e$f55741a0$0e5cd882@438LG01sshi052> Message-ID: <1138827074.25613.56.camel@columbus> On Thu, 2006-02-02 at 09:34 +1300, Steve Shipway wrote: > > > He can monitor it via check_tcp, but if amavisd is not functional, > > > _he's not going to get the email alert._ Because his email isn't > > > going to work. > ... > > Yes, you got it, but how do I send an email alert sent > > directly to a remote SMTP gateway? > > If you are using amavisd, then I take it you have this sort of setup: > > port 25 SMTPd ----> port 10024 amavisd ---> port 10025 SMTPd ----> deliver > > although you might have missed out the first step and just had amavisd on > port 25. If this is the case, why not configure your Nagios notification > command to inject its mail directly into the system on port 10025 rather > than the default 25? That way you'd bypass amavisd and directly deliver. > Of course you'd still be dependent on the local smtp daemon, but amavisd > would be out of the loop. > > Of course, you've probably got port 10025 locked down to localhost only (if > you're sensible :) but that shouldn't prevent Nagios from accessing it. > Exactly what I'd like to do, but how do I tell Nagios to deliver to port 10025? Sorry for the ignorance, thanks. -- Robert ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From s.shipway at auckland.ac.nz Wed Feb 1 21:34:53 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 2 Feb 2006 09:34:53 +1300 Subject: Monitoring a mail server In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B1CF1C4@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B1CF1C4@vxchange.vcr.auckland.ac.nz> Message-ID: <003401c6276e$f55741a0$0e5cd882@438LG01sshi052> > > He can monitor it via check_tcp, but if amavisd is not functional, > > _he's not going to get the email alert._ Because his email isn't > > going to work. ... > Yes, you got it, but how do I send an email alert sent > directly to a remote SMTP gateway? If you are using amavisd, then I take it you have this sort of setup: port 25 SMTPd ----> port 10024 amavisd ---> port 10025 SMTPd ----> deliver although you might have missed out the first step and just had amavisd on port 25. If this is the case, why not configure your Nagios notification command to inject its mail directly into the system on port 10025 rather than the default 25? That way you'd bypass amavisd and directly deliver. Of course you'd still be dependent on the local smtp daemon, but amavisd would be out of the loop. Of course, you've probably got port 10025 locked down to localhost only (if you're sensible :) but that shouldn't prevent Nagios from accessing it. Steve ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From lists at webtent.net Wed Feb 1 22:31:25 2006 From: lists at webtent.net (Robert Fitzpatrick) Date: Wed, 01 Feb 2006 16:31:25 -0500 Subject: Monitoring a mail server In-Reply-To: <1138827068.11821.16.camel@jimsx220.pyenet.co.nz> References: <001101c626d3$9bcb3a60$0f7810ac@LENOVO9A2083ED> <033901c626da$a3ec3490$1e02a8c0@daviddell> <62454.63.227.74.41.1138765132.squirrel@webmail.stinkweasel.net> <1138812056.25613.34.camel@columbus> <1170.134.244.169.17.1138825936.squirrel@webmail.stinkweasel.net> <1138827068.11821.16.camel@jimsx220.pyenet.co.nz> Message-ID: <1138829485.25613.58.camel@columbus> On Thu, 2006-02-02 at 09:51 +1300, Jim Pye wrote: > Guys > > Jumping in here. I use a PERL script called sendEmail available from: > > http://caspian.dotconf.net/menu/Software/SendEmail/ > > It works from the command line and if you are interested I can give you > the nagios command .cfg entries to add. > Great thanks, yes, I'd like to see the .cfg entries if you'd be so kind. -- Robert ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From benny at bennyvision.com Wed Feb 1 22:18:52 2006 From: benny at bennyvision.com (C. Bensend) Date: Wed, 1 Feb 2006 15:18:52 -0600 (CST) Subject: Monitoring a mail server In-Reply-To: <1138826550.25613.54.camel@columbus> References: <001101c626d3$9bcb3a60$0f7810ac@LENOVO9A2083ED> <033901c626da$a3ec3490$1e02a8c0@daviddell> <62454.63.227.74.41.1138765132.squirrel@webmail.stinkweasel.net> <1138812056.25613.34.camel@columbus> <1170.134.244.169.17.1138825936.squirrel@webmail.stinkweasel.net> <1138826550.25613.54.camel@columbus> Message-ID: <1560.134.244.169.17.1138828732.squirrel@webmail.stinkweasel.net> > Thanks, how do I get Nagios to run my shell script in place of the > normal notification? RTM. :) Hint: misccommands.cfg -- "'And you've got 10 gig of files to put through our mail system?' I ask, squeezing my mouse in a non-approved manner." -- BOFH, 2006-01 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From jim.pye at pyenet.co.nz Wed Feb 1 23:32:03 2006 From: jim.pye at pyenet.co.nz (Jim Pye) Date: Thu, 02 Feb 2006 11:32:03 +1300 Subject: Monitoring a mail server In-Reply-To: <1138829485.25613.58.camel@columbus> References: <001101c626d3$9bcb3a60$0f7810ac@LENOVO9A2083ED> <033901c626da$a3ec3490$1e02a8c0@daviddell> <62454.63.227.74.41.1138765132.squirrel@webmail.stinkweasel.net> <1138812056.25613.34.camel@columbus> <1170.134.244.169.17.1138825936.squirrel@webmail.stinkweasel.net> <1138827068.11821.16.camel@jimsx220.pyenet.co.nz> <1138829485.25613.58.camel@columbus> Message-ID: <1138833123.11821.41.camel@jimsx220.pyenet.co.nz> No probs In the misccommands.cfg I added the following # 'host-notify-by-sendEmail' send host email via PERL script define command{ command_name host-notify-by-sendEmail command_line /usr/local/bin/sendEmail -f nagios at pyenet.co.nz -t $CONTACTEMAIL$ -u "Host $HOSTSTATE$ alert for $H OSTNAME$!" -s mail.pyenet.co.nz -m "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" } This is based on the original send email on host notification default command. I also created one for the service notification as well. Email has munged this a bit so synopsis is: define command{ command_name host-notify-by-sendEmail These 2 are the command defining lines The command_line below I have broken to make more readable but to work this all has to be on one line ??? command_line /usr/local/bin/sendEmail This bit above will be dependant on where you copy/install the script. -f is the email from field. This will need to changed to an email account that the server will allow email to be sent from. -t is the to email to field. This here uses the $CONTACTEMAILS$ macro. -u is the subject line. "Host $HOSTSTATE$ alert for $HOSTNAME$!" is directly from the original send email command. -s is the server that the email is going to be sent to. Note that this server must be configured to accept emails from both the -f email account and the host that this script is running on to avoid relay denied messages. -m is the message content. Again taken from the original send email command. Note that the \n's make the display a bit prettier. "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME $\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n nDate/Time: $LONGDATETIME$\n" For other options like attachments etc. just run the sendEmail script without any options. As the script requires a couple of mandatory options it prints the help file. I use this script for all sorts of purposes like emailing log files, etc. Very handy. And in the contacts.cfg change the service_notification_commands notify-by-email host_notification_commands host-notify-by-email to service_notification_commands notify-by-sendEmail host_notification_commands host-notify-by-sendEmail for each user you wish to use the sendEmail script instead of the built in email client. HTH Jim On Wed, 2006-02-01 at 16:31 -0500, Robert Fitzpatrick wrote: > On Thu, 2006-02-02 at 09:51 +1300, Jim Pye wrote: > > Guys > > > > Jumping in here. I use a PERL script called sendEmail available from: > > > > http://caspian.dotconf.net/menu/Software/SendEmail/ > > > > It works from the command line and if you are interested I can give you > > the nagios command .cfg entries to add. > > > > Great thanks, yes, I'd like to see the .cfg entries if you'd be so kind. > > -- Jim Pye PyeNet Universal email: jim.pye at pyenet.co.nz | Phone: +64 4 527 8284 | Fax: +64 4 528 9693 web site: http://www.pyenet.co.nz ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From nkaranuk at gmail.com Thu Feb 2 06:50:31 2006 From: nkaranuk at gmail.com (Karan uk) Date: Thu, 2 Feb 2006 11:20:31 +0530 Subject: Submit passive check result for a service sending out duplicate alert mails? In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD4109B86@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD4109B86@raptor.redhawk.info> Message-ID: <33fd7fe20602012150ubc2b295o20c7027c225522f7@mail.gmail.com> Nope this is just a single server setup...monitoring services on remote servers. thanks, Suraj -------------- next part -------------- An HTML attachment was scrubbed... URL: From frederik.vanhee at perso.be Thu Feb 2 06:59:52 2006 From: frederik.vanhee at perso.be (Frederik Vanhee) Date: Thu, 02 Feb 2006 06:59:52 +0100 Subject: popup In-Reply-To: <619cf3c0602011124r760c55e4x@mail.gmail.com> References: <619cf3c0601310545p241f0fcfi@mail.gmail.com> <43E109D4.90600@perso.be> <619cf3c0602011124r760c55e4x@mail.gmail.com> Message-ID: <43E19FD8.6030906@perso.be> Hello Toto, jabber is really easy to set up. I followed these instructions : http://linuxgazette.net/112/tomar.html The jabber server was running within an hour. I use the notification script of David Cox, that I found on Nagiosexchange. On the PC-side, I use GAIM to read the messages. My end-users are very happy with that solution. Frederik Toto Capuccino wrote: > i wanted to avoid the winpopup too, not very user-friendly. Is Jabber > solution easy to implement ? > > 2006/2/1, Frederik Vanhee >: > > Toto Capuccino wrote: > > > Hi all, > > > > Does anybody got popup notifications working ? > > > Works like a charm ! use this as your notify-command, or tune to your > needs.... > However I switched to jabber-notification (instant messaging) > because of > the rather 'aggressive' popups. > > # 'notify-by-smbclient' command definition > define command{ > command_name notify-by-smbclient > command_line /usr/bin/printf "%b" "***** NAGIOS ***** > automatically generated POP-UP \n\n Notification Type: > $NOTIFICATIONTYPE$\n\nHost: $HOSTNAME$ ($HOSTALIAS$) \nAddress: > $HOSTADDRESS$\nService: $SERVICEDESC$\nState: > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional > Info:\n\n$SERVICEOUTPUT$" | /usr/bin/smbclient -M $CONTACTADDRESS1$ -I > $CONTACTADDRESS2$ > } > > where CONTACTADDRESS1 = the pc name > and CONTACTADDRESS2 = the pc's ip-address > > Good luck ! > > Frederik > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From nkaranuk at gmail.com Thu Feb 2 06:49:59 2006 From: nkaranuk at gmail.com (Karan uk) Date: Thu, 2 Feb 2006 11:19:59 +0530 Subject: Submit passive check result for a service sending out duplicate alert mails? In-Reply-To: <54E4617FA3879C4B8DA6CD5D1303899F0C1206@100NOOSLMSG001.common.alpharoot.net> References: <54E4617FA3879C4B8DA6CD5D1303899F0C1206@100NOOSLMSG001.common.alpharoot.net> Message-ID: <33fd7fe20602012149o339534fbua097bbef5a774343@mail.gmail.com> Nope this is just a single server setup...monitoring services on remote servers. thanks, Suraj -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.gliebe at fhv.at Thu Feb 2 08:03:42 2006 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Thu, 02 Feb 2006 08:03:42 +0100 Subject: snmp history Message-ID: <1138863822.7470.15.camel@localhost.localdomain> Hi all, We are monitoring our switches (Temperature) and our UPS's (BatteryCapacity/Input and Output Voltage,Seconds on Battery, etc.) via check_snmp. Now I want to implement a graphical history like MRTG, but my problem is, I can't find the snmp history-data in our nagios configuration. We don't storing the data in MySQL/RRD. We've setup Nagios with the default values with ports setup (FreeBSD 5.4-STABLE) thanks in advance Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services Hochschulstra?e 1, A-6850 Dornbirn Telefon +43 / (0)5572 / 792-2207 E-Mail: richard.gliebe at fhv.at ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From shoktai at gmail.com Thu Feb 2 07:46:46 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Thu, 2 Feb 2006 07:46:46 +0100 Subject: popup In-Reply-To: <43E19FD8.6030906@perso.be> References: <619cf3c0601310545p241f0fcfi@mail.gmail.com> <43E109D4.90600@perso.be> <619cf3c0602011124r760c55e4x@mail.gmail.com> <43E19FD8.6030906@perso.be> Message-ID: <619cf3c0602012246v39bcbcfej@mail.gmail.com> Hey Frederik, thanks for the tips i'll have a look. 2006/2/2, Frederik Vanhee : > > Hello Toto, > > jabber is really easy to set up. I followed these instructions : > http://linuxgazette.net/112/tomar.html > The jabber server was running within an hour. > I use the notification script of David Cox, that I found on > Nagiosexchange. > > On the PC-side, I use GAIM to read the messages. > My end-users are very happy with that solution. > > Frederik > > > Toto Capuccino wrote: > > > i wanted to avoid the winpopup too, not very user-friendly. Is Jabber > > solution easy to implement ? > > > > 2006/2/1, Frederik Vanhee > >: > > > > Toto Capuccino wrote: > > > > > Hi all, > > > > > > Does anybody got popup notifications working ? > > > > > > Works like a charm ! use this as your notify-command, or tune to > your > > needs.... > > However I switched to jabber-notification (instant messaging) > > because of > > the rather 'aggressive' popups. > > > > # 'notify-by-smbclient' command definition > > define command{ > > command_name notify-by-smbclient > > command_line /usr/bin/printf "%b" "***** NAGIOS ***** > > automatically generated POP-UP \n\n Notification Type: > > $NOTIFICATIONTYPE$\n\nHost: $HOSTNAME$ ($HOSTALIAS$) \nAddress: > > $HOSTADDRESS$\nService: $SERVICEDESC$\nState: > > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional > > Info:\n\n$SERVICEOUTPUT$" | /usr/bin/smbclient -M $CONTACTADDRESS1$ > -I > > $CONTACTADDRESS2$ > > } > > > > where CONTACTADDRESS1 = the pc name > > and CONTACTADDRESS2 = the pc's ip-address > > > > Good luck ! > > > > Frederik > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pt at gablini.hu Thu Feb 2 08:24:51 2006 From: pt at gablini.hu (Polenyik Tibor) Date: Thu, 2 Feb 2006 08:24:51 +0100 Subject: subject rewrite Message-ID: <5DCAF975FB499144BC0496D5ECA9286704D6C1@gablini01.gablini.local> Hi, How to change the subject in the notification email ? And I'd like to write the event and server name to the subject. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvdkooij at vanderkooij.org Thu Feb 2 08:13:55 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 2 Feb 2006 08:13:55 +0100 (CET) Subject: snmp history In-Reply-To: <1138863822.7470.15.camel@localhost.localdomain> References: <1138863822.7470.15.camel@localhost.localdomain> Message-ID: On Thu, 2 Feb 2006, Richard Gliebe wrote: > Now I want to implement a graphical history like MRTG, but my problem > is, I can't find the snmp history-data in our nagios configuration. The key word is performance. Look for that in you config file(s). But I guess you did not activate them. So there is no historical data. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From richard.gliebe at fhv.at Thu Feb 2 08:24:48 2006 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Thu, 02 Feb 2006 08:24:48 +0100 Subject: snmp history In-Reply-To: References: <1138863822.7470.15.camel@localhost.localdomain> Message-ID: <1138865088.7470.24.camel@localhost.localdomain> On Thu, 2006-02-02 at 08:13 +0100, Hugo van der Kooij wrote: Hi, > > Now I want to implement a graphical history like MRTG, but my problem > > is, I can't find the snmp history-data in our nagios configuration. > > The key word is performance. Look for that in you config file(s). > > But I guess you did not activate them. So there is no historical data. I've found this one in my nagios.cfg: [...] # PROCESS PERFORMANCE DATA OPTION # This determines whether or not Nagios will process performance # data returned from service and host checks. If this option is # enabled, host performance data will be processed using the # host_perfdata_command (defined below) and service performance # data will be processed using the service_perfdata_command (also # defined below). Read the HTML docs for more information on # performance data. # Values: 1 = process performance data, 0 = do not process performance data process_performance_data=0 [...] and this in my misccommands.cfg: [...] # 'process-host-perfdata' command definition define command{ command_name process-host-perfdata command_line /usr/bin/printf "%b" "$LASTHOSTCHECK$\t$HOSTNAME $\t$HOSTSTATE$\t$HOSTATTEMPT$\t$HOSTSTATETYPE$\t$HO STEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$\n" >> /var/spool/nagios/host-perfdata.out } # 'process-service-perfdata' command definition define command{ command_name process-service-perfdata command_line /usr/bin/printf "%b" "$LASTSERVICECHECK$\t $HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMP T$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t $SERVICEOUTPUT$\t$SERVICEPERFDATA$\n" >> /var/spool/nagio s/service-perfdata.out } [...] are these my start points ? thanks Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From d.wuethrich.h at gmx.net Thu Feb 2 09:13:25 2006 From: d.wuethrich.h at gmx.net (=?ISO-8859-1?Q?=22D=2E_W=FCthrich=22?=) Date: Thu, 02 Feb 2006 09:13:25 +0100 Subject: subject rewrite In-Reply-To: <5DCAF975FB499144BC0496D5ECA9286704D6C1@gablini01.gablini.local> References: <5DCAF975FB499144BC0496D5ECA9286704D6C1@gablini01.gablini.local> Message-ID: <43E1BF25.5070203@gmx.net> Hi Have a look at 'misccommands.cfg' configuration file. There are 2 command definitions: - host-notify-by-email (hosts) - notify-by-email (services) The mail-command specified, e.g. '... /usr/bin/mailx -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$' uses macros - have a look at nagios documentation for the macros. Polenyik Tibor wrote: > Hi, > > How to change the subject in the notification email ? > And I'd like to write the event and server name to the subject. > > Thanks > > > > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From al at its-lehmann.de Thu Feb 2 10:47:19 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Thu, 02 Feb 2006 10:47:19 +0100 Subject: Submit passive check result for a service sending out duplicate alert mails? In-Reply-To: <33fd7fe20602012149o339534fbua097bbef5a774343@mail.gmail.com> References: <54E4617FA3879C4B8DA6CD5D1303899F0C1206@100NOOSLMSG001.common.alpharoot.net> <33fd7fe20602012149o339534fbua097bbef5a774343@mail.gmail.com> Message-ID: <43E1D527.5080100@its-lehmann.de> Hello, On 2/2/2006 6:49 AM, Karan uk wrote: > Nope this is just a single server setup...monitoring services on remote > servers. Perhaps a mail server problem? Because I also see all your mails to the list twice. The one I reply to: > Received: by wproxy.gmail.com with SMTP id i24so316636wra > for ; Wed, 01 Feb 2006 21:49:59 -0800 (PST) The other one: > Received: by wproxy.gmail.com with SMTP id i30so314718wra > for ; Wed, 01 Feb 2006 21:50:31 -0800 (PST) Which looks, going by the different message id and time, like your mail was actually sent twice. Arno > thanks, > Suraj -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From mh+nagios-users at zugschlus.de Thu Feb 2 11:25:23 2006 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Thu, 2 Feb 2006 11:25:23 +0100 Subject: Service on an IP address different from the host Message-ID: <20060202102523.GA29219@torres.l21.ma.zugschlus.de> Hi, some systems I am responsible for have multiple IP addresses, with services that are not running on all IP addresses. I thus need service definitions that don't check the service on the host address, but on a dedicated "service address" while still being associated to the host which has a different address. I have come up with various ways to do this, each of them ugly, but differently so. (1) Duplicate each command definition for a service check like define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ } define command{ command_name check_http_addr command_line $USER1$/check_http -H $ARG1$ } (2) One other idea I have come up with would be having a thing like an "optional argument", which could be configured like define command{ command_name check_http command_line $USER1$/check_http -H $IFDEF $ARG1$$ $ARG1$ $ELSE$ $HOSTADDRESS$ $ENDIF$ } (3) A different approach (which is what I did back in netsaint days) was a metaplugin, which allows command configuration like define command { command_name check_http command_line $USER2$/modify_address $HOSTADDRESS$-$ARG1$ $USER1$/check_dns_random modify_address } which allows service definitions like define service { ... check_command check_http } which checks the service on $HOSTADDRESS$ and define service { ... check_command check_http!192.168.130.5 } which checks the service on 192.168.130.5. In the example, the metaplugin replaces the occurence of the string modify_address with $HOSTADDRESS$ if $ARG1$ is empty, and $ARG1$ otherwise. This has the advantage of having a very straightforward service configuration, at the price of having a confusing and complex command definition which does not use nagios standard mechanisms. (4) The last approach would be to have host definitions for both IP addresses, but that would probably be confusing for notification recipients who are not so intimately familiar with system architecture. Which approach would, in your opinion, be appropriate for a new installation? I am currently inclined towards (4). What is your opinion? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From shoktai at gmail.com Thu Feb 2 13:01:36 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Thu, 2 Feb 2006 13:01:36 +0100 Subject: You don't have permission to access /nagios/cgi-bin/ on this server In-Reply-To: <200602011250.14023.nagios@starblanket.ca> References: <200602011250.14023.nagios@starblanket.ca> Message-ID: <619cf3c0602020401h11b60074j@mail.gmail.com> maybe the problem comes from the configuration of Apache, did you put the ScriptAlias and Alias as mentionned in the doc, did you mouve the nagios web directory? 2006/2/1, Bob DeBolt : > > Hi Mike > > Thanks for the response > > > This appears to be a permissions problem. It sounds as if you have > nagios > > as a member of the apache group, > > Actually apache is running in the nagios group > > > but are you running nagios as "nagios" > Yes > > > Is Apache running as "apache". > Yes > > > You may also want to check the directories/files to ensure they are a > part > > of correct group/ownership. > > Some of the files in the /usr/lib/nagios/cgi directory > > -rwxrwxr-x 1 nagios nagios 135496 Jan 31 11:45 histogram.cgi > -rwxrwxr-x 1 nagios nagios 115176 Jan 31 11:45 history.cgi > -rwxr--r-- 1 nagios nagios 99 Jan 31 16:11 .htaccess > > > Bob > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642 > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shoktai at gmail.com Thu Feb 2 13:50:52 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Thu, 2 Feb 2006 13:50:52 +0100 Subject: host info web page Message-ID: <619cf3c0602020450y1d58041dw@mail.gmail.com> Hi, Is there's a way to get ride of the text "There are additional notes for this host" that is displayed on the host information ? Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: From boinger at tradingtechnologies.com Thu Feb 2 14:47:14 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 02 Feb 2006 07:47:14 -0600 Subject: host info web page In-Reply-To: <619cf3c0602020450y1d58041dw@mail.gmail.com> References: <619cf3c0602020450y1d58041dw@mail.gmail.com> Message-ID: <1138888034.3945.91.camel@chi101100.int.tt.local> On Thu, 2006-02-02 at 13:50 +0100, Toto Capuccino wrote: > Hi, > > Is there's a way to get ride of the text "There are additional notes > for this host" that is displayed on the host information ? The fastest way would be to remove your serviceextinfo definition. ;) Just hack the line in the source of the cgi that's displaying it and recompile. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From jonathan.w.miner at baesystems.com Thu Feb 2 15:32:41 2006 From: jonathan.w.miner at baesystems.com (Miner, Jonathan W (CSC) (US SSA)) Date: Thu, 2 Feb 2006 09:32:41 -0500 Subject: Restarting Nagios via "sudo" Message-ID: <7FCB0E206880084DB3D57CBAA2119F1202366880@blums0010> Hi - We've setup the $NAGIOS/etc directory so that all the admins can edit the files, and the files are under RCS control. I'm pretty comfortable with this, and am pretty sure the permissions are fine. All the files are world-readable except for resource.cfg which is only readable by user (root) and group (admin). If I try to use "sudo /etc/init.d/nagios force-reload" to restart Nagios, I get no errors on the screen, but in the event log: Error: Cannot open resource file '/disk0/tools/nagios-2.0rc2/etc/resource.cfg' for reading! and Nagios starts running, but since $USER1$ is not defined, all the checks start failing. However, if I "su" to root first, and then run "/etc/init.d/nagios force-reload" everything starts correctly. Apparently, there is a subtle difference between using "sudo" verses "su". Any ideas? I've already come up with two possible solutions... 1) Put the "nagios" user into the "admin" group, which would ensure that Nagios could read the files. 2) Change the group ownership of the $NAGIOS/etc files back to "nagios" and add my admin staff into the "nagios" group. This is likely the better solution, especially if there are certain admins that I don't want messing with the Nagios configuration! How do other people maintain control over their Nagios configurations? ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From lists at webtent.net Thu Feb 2 16:21:58 2006 From: lists at webtent.net (Robert Fitzpatrick) Date: Thu, 02 Feb 2006 10:21:58 -0500 Subject: Custom command Message-ID: <1138893718.25158.12.camel@columbus> Thanks to Jim here on the list, I have defined a command to send an e-mail using a sendEmail perl script. From the command line, the script works fine. When I try to use the new notify-by-sendEmail as the service_notification_commands for my contact, Nagios logs the message as sent, which never makes it to the SMTP server and I get this error in the /var/log/messages: Feb 2 10:13:39 esmtp kernel: pid 14486 (nagios), uid 2004: exited on signal 10 I have the same permissions on the file as the other commands that Nagios uses in the minimail.cfg, like /usr/bin/mail: esmtp# ls -lah /usr/local/bin/sendEmail -r-xr-xr-x 1 root wheel 62K Feb 1 17:58 /usr/local/bin/sendEmail Can someone suggest why I get this error? I simplified the new command without the variables like below, I can copy and paste this command to the command line and the message gets sent successfully: define command{ command_name notify-by-sendEmail command_line /usr/local/bin/sendEmail -f nagios at esmtp.webtent.net -t robert at webtent.com -s 10.0.0.40 -m "Body" -u "Subject" } define contact{ contact_name webtent alias WebTent service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-sendEmail host_notification_commands host-notify-by-email email support at mydomain.com } -- Robert ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From assaf at m-wise.com Thu Feb 2 16:44:59 2006 From: assaf at m-wise.com (Assaf Flatto) Date: Thu, 02 Feb 2006 17:44:59 +0200 Subject: Custom command In-Reply-To: <1138893718.25158.12.camel@columbus> References: <1138893718.25158.12.camel@columbus> Message-ID: <43E228FB.4010002@m-wise.com> Have you tried placing the script under the libexec directory? I had the same issue some time ago and the script only worked when it was in the libexec directory even though the absolute path was set. Assaf Robert Fitzpatrick wrote: > Thanks to Jim here on the list, I have defined a command to send an > e-mail using a sendEmail perl script. From the command line, the script > works fine. When I try to use the new notify-by-sendEmail as the > service_notification_commands for my contact, Nagios logs the message as > sent, which never makes it to the SMTP server and I get this error in > the /var/log/messages: > > Feb 2 10:13:39 esmtp kernel: pid 14486 (nagios), uid 2004: exited on > signal 10 > > I have the same permissions on the file as the other commands that > Nagios uses in the minimail.cfg, like /usr/bin/mail: > > esmtp# ls -lah /usr/local/bin/sendEmail > -r-xr-xr-x 1 root wheel 62K Feb 1 17:58 /usr/local/bin/sendEmail > > Can someone suggest why I get this error? I simplified the new command > without the variables like below, I can copy and paste this command to > the command line and the message gets sent successfully: > > define command{ > command_name notify-by-sendEmail > command_line /usr/local/bin/sendEmail -f > nagios at esmtp.webtent.net -t robert at webtent.com -s 10.0.0.40 -m "Body" -u > "Subject" > } > > define contact{ > contact_name webtent > alias WebTent > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-sendEmail > host_notification_commands host-notify-by-email > email support at mydomain.com > } > > -- Assaf Flatto m-Wise Operations Cellular: +972-54-5679230 e-mail: assaf at m-wise.com MSN : firedrake_3 at hotmail.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From Andrew.Laden at tudor.com Thu Feb 2 16:59:44 2006 From: Andrew.Laden at tudor.com (Andrew Laden) Date: Thu, 2 Feb 2006 10:59:44 -0500 Subject: Nagios Escalations Message-ID: <56EAA5BC64E6C34F8C9EE6725D4A2DFA024DF056@tudor.com> Bringing it back to the list > -----Original Message----- > From: Jason Coleman [mailto:jcoleman at lrn.com] > Sent: Wednesday, February 01, 2006 2:13 PM > To: Andrew Laden > Subject: RE: [Nagios-users] Nagios Escalations > > My apologies. I would like the groups listed in the > escalations contact_groups to be notified. However, they > never are in the current configuration that I have provided. > The initial alert is delivered to the group listed in the > service definition and that is it. From the outside, it > appears that nagios is not escalating the notification. > > Read your definiton. Are you waiting 12 hours for the 2nd escalation. I think the notification interval of 720 may be the issues. Notification 1 - linux engineers 720 minutes (12 hours) Notification 2 - Linux Engineers 720 Minutes ( 12 hours) Notification 3 - linux-engineers,network-engineers,windows-engineers 12 minutes Notification 4 - big list.... 12 minutes. Repeat to 1000 > > -----Original Message----- > From: Andrew Laden [mailto:Andrew.Laden at tudor.com] > Sent: Wednesday, February 01, 2006 10:18 AM > To: Jason Coleman > Subject: RE: [Nagios-users] Nagios Escalations > > Might help to say what errant behavior you are seeing. > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Jason > > Coleman > > Sent: Wednesday, February 01, 2006 12:32 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Nagios Escalations > > > > I am currently having trouble getting our escalations to > work. I have > > read the documentation and tried experimenting with nagios, but I > > still cannot get nagios to observe the escalation rules. Here is my > > service definition that I am testing with: > > > > Service definition: > > > > define service{ > > name generic-checkhttp > > use generic-service > > service_description Check HTTP > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 1 > > retry_check_interval 1 > > notification_interval 720 > > contact_groups linux-engineers > > notification_period 24x7 > > notification_options w,u,c,r > > check_command check_http > > register 0 > > } > > > > And here is the escalation definition: > > > > define serviceescalation{ > > host_name wwdw23img01 > > service_description Check HTTP > > first_notification 3 > > last_notification 1000 > > notification_interval 12 > > contact_groups > > linux-engineers,network-engineers,windows-engineers > > } > > > > Any help would be appreciated. Please let me know if I have > left out > > information that is needed to assist. > > > > > > ------------------------------------ > > Jason Coleman > > Systems Engineer > > LRN - The Legal Knowledge Company > > 1100 Glendon Ave, Suite 700 > > Los Angeles, CA 90024 > > tel: 310-209-5381 > > > > "/(bb|[^b]{2})/" > > ------------------------------------ > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep > through log > > > files for problems? Stop! Download the new AJAX search > engine that > > makes searching your log files as easy as surfing the web. > DOWNLOAD > > SPLUNK! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 > > _______________________________________________ > > 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 > > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From Christopher.Gill at noaa.gov Thu Feb 2 17:04:46 2006 From: Christopher.Gill at noaa.gov (Christopher Gill) Date: Thu, 02 Feb 2006 11:04:46 -0500 Subject: NagiosGrapher and XML::Simple Message-ID: <1138896286.15777.17.camel@lnx307.ncep.noaa.gov> Good morning. I'm having some very frustrating trouble getting NagiosGrapher working. Since it doesn't have it sown mialing lists, figured I'd ask here. I've followed the install instructions provided, but when running the collection script, collect2.pl, I get a perl error back claiming it can't find the 'new' constructor on XML::Simple. Specific error: Can't locate object method "new" via package "XML::Simple" (perhaps you forgot to load "XML::Simple"?) at NagiosGrapher.pm line 367. This is on Redhat WS 4 with Perl 5.8.5-24. I installed XML::Simple from CPAN since Redhat doesn't have a package for it. It shows up correctly in the POD index, so I'm fairly sure I installed it correctly. Could this be a NagiosGrapher bug, or is my perl install just mucked up? Any thoughts would be greatly appreciated. Thanks. -- Christopher Gill ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From Deborah.Martin at Kognitio.com Thu Feb 2 17:21:31 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Thu, 2 Feb 2006 16:21:31 -0000 Subject: Plugin return codes Message-ID: Hi, I'm using Nagios 2.0b4 on Suse 9.2 I have some plugins which do various database checks such as disk usage. In the plugin, I want to define the exit codes depending on the status of the check. I noticed that there is an exit status of STATE_DEPENDENT (defined in utils.sh which comes with the nagios plugins package) When should this exit status be used. I'm guessing it should be when a service check is a dependency and its master service has failed and therefore the dependency should exit with this status. Am I correct ? The documentation lists the other exit state codes (0,1,2,3) but doesn't mention 4. I've checked 2.0b6 docs as well. BTW - When i use the STATE_DEPENDENT exit code for a dependency service check I get the error 'Return code of 4 is out of bounds' I have the dependency service check defined in dependencies.cfg Any pointers / help would be very appreciated. thanks, deborah ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From Deborah.Martin at Kognitio.com Thu Feb 2 17:37:55 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Thu, 2 Feb 2006 16:37:55 -0000 Subject: Plugin exit status codes Message-ID: Hi, I'm using Nagios 2.0b4 on Suse 9.2 I have some plugins which do various database checks such as disk usage. In the plugin, I want to define the exit codes depending on the status of the check. I noticed that there is an exit status of STATE_DEPENDENT (defined in utils.sh which comes with the nagios plugins package) When should this exit status be used. I'm guessing it should be when a service check is a dependency and its master service has failed and therefore the dependency should exit with this status. Am I correct ? The documentation lists the other exit state codes (0,1,2,3) but doesn't mention 4. I've checked 2.0b6 docs as well. BTW - When i use the STATE_DEPENDENT exit code for a dependency service check I get the error 'Return code of 4 is out of bounds' I have the dependency service check defined in dependencies.cfg Any pointers / help would be very appreciated. thanks, deborah ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From rhall at HealthVision.com Thu Feb 2 17:47:06 2006 From: rhall at HealthVision.com (Rusty Hall) Date: Thu, 2 Feb 2006 10:47:06 -0600 Subject: Graphing service checks Message-ID: I have some data that im trying to graph from nagios , but can't seem to get it to work. I have 2 that are giving me an issue, one is an old file for graphing disk on windows server. The graph shows nothing as far as the data, but an rrd file has been cretaed. first one ntdisk_C data C:\ - total: 3.95 Gb - used: 3.33 Gb (84%) - free 0.62 Gb (16%) map file entry /perfdata:.*Space=([.0-9]+)Gb;([.0-9]+);([.0-9]+);([.0-9]+);([.0-9]+)/ and push @s, [ ntdisk, [ diskused, GAUGE, $1*1024**3 ], [ diskwarn, GAUGE, $2*1024**3 ], [ diskcrit, GAUGE, $3*1024**3 ], [ diskmaxi, GAUGE, $5*1024**3 ] ]; second one This one has never worked or created a rrd file, trying to map the count with memory data CRITICAL - no processes found resembling 'hciengine.exe'-count=27:memory=673676 map file entry /output;*count=(\d+);memory=([.0-9]+)Mb;/ and push @s, [ QDX, [ threadcount, GAUGE, $1* ], [ memorycount, GAUGE, $5*1024**3 ] ] Any help or guidance would be greatly appreciated Rusty -------------- next part -------------- An HTML attachment was scrubbed... URL: From rutski89 at gmail.com Thu Feb 2 17:41:54 2006 From: rutski89 at gmail.com (Patrick M. Rutkowski) Date: Thu, 2 Feb 2006 11:41:54 -0500 Subject: Statusmap Images Message-ID: I've set xedtemplate_config_file=/etc/nagios/hostextinfo.cfg in cgi.cfg, and then put one entry into hostextinfo.cfg: define hostextinfo{ host_name flash icon_image logo.gif icon_image_alt logo.gif statusmap_image logo.gif } I made little 40x40 gif in the gimp, uploaded to the server and put it into /usr/share/nagios/htdocs/images/logos, and restarted nagios. The gif doesn't appear in the status map like i expected it too; instead all I get is the question mark gifs that I saw even before i made any chages. What should I do? ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From rutski89 at gmail.com Thu Feb 2 17:50:46 2006 From: rutski89 at gmail.com (Patrick M. Rutkowski) Date: Thu, 2 Feb 2006 11:50:46 -0500 Subject: Statusmap Images (resend) Message-ID: (I sent out this message and I don't see it in the nagios-users archives, so I'm sending it again just be sure that it gets out there; apologies if it's a double). I've set xedtemplate_config_file=/etc/nagios/hostextinfo.cfg in cgi.cfg, and then put one entry into hostextinfo.cfg: define hostextinfo{ host_name flash icon_image logo.gif icon_image_alt logo.gif statusmap_image logo.gif } I made little 40x40 gif in the gimp, uploaded to the server and put it into /usr/share/nagios/htdocs/images/logos, and restarted nagios. The gif doesn't appear in the status map like i expected it too; instead all I get is the question mark gifs that I saw even before i made any changes. What should I do? ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From nagios at starblanket.ca Thu Feb 2 18:03:21 2006 From: nagios at starblanket.ca (Bob DeBolt) Date: Thu, 2 Feb 2006 10:03:21 -0700 Subject: You don't have permission to access /nagios/cgi-bin/ on this server In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD4109B87@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD4109B87@raptor.redhawk.info> Message-ID: <200602021003.22039.nagios@starblanket.ca> Mike I have discovered why the permission issue has happened. Following (not) the docs, after the Web Interface login is setup I was still using the http://yourmachine/nagios/cgi-bin/ to verify the functioning of the login. The login works but then attempts to read the cgi-bin directory. I should have been using http://yourmachine/nagios/ which works correctly I certainly became reacquainted with setting up apache. Bob ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From guy at extragalactic.net Thu Feb 2 18:34:06 2006 From: guy at extragalactic.net (Guy B. Purcell) Date: Thu, 2 Feb 2006 09:34:06 -0800 Subject: Service on an IP address different from the host In-Reply-To: <20060202102523.GA29219@torres.l21.ma.zugschlus.de> References: <20060202102523.GA29219@torres.l21.ma.zugschlus.de> Message-ID: <450B735C-90CF-4077-8BDC-55150CFBA199@extragalactic.net> On Feb 2, 2006, at 02:25, Marc Haber wrote: > some systems I am responsible for have multiple IP addresses, with > services that are not running on all IP addresses. I thus need service > definitions that don't check the service on the host address, but on a > dedicated "service address" while still being associated to the host > which has a different address. > > I have come up with various ways to do this, each of them ugly, but > differently so. [...some truly ugly suggestions involving special command defs for each service check...] > What is your opinion? That you've been staring at the problem from waaay too close :^) Seriously, all you need to do is to define (in Nagios, not necessarily in the DNS, although that probably wouldn't hurt) separate hosts for the different interfaces, a la define host{ use corp-host host_name mink-ge0 alias mink address 10.10.10.10 } define host{ use corp-host host_name mink-ge1 alias mink address 10.10.10.10 } Once you have that, you just define the services for each "host" as appropriate. -Guy ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From jcoleman at lrn.com Thu Feb 2 18:43:19 2006 From: jcoleman at lrn.com (Jason Coleman) Date: Thu, 2 Feb 2006 09:43:19 -0800 Subject: Nagios Escalations Message-ID: <864E0C613A1B8844A2C23594DDB03003012AD1A2@wwd2k3mxs01.corp.lrn.com> Thank you. I will take a look there. Might be a misunderstanding of what that actually means in regards to escalations. ------------------------------------ Jason Coleman Systems Engineer LRN - The Legal Knowledge Company 1100 Glendon Ave, Suite 700 Los Angeles, CA 90024 tel: 310-209-5381 "/(bb|[^b]{2})/" ------------------------------------ -----Original Message----- From: Andrew Laden [mailto:Andrew.Laden at tudor.com] Sent: Thursday, February 02, 2006 8:00 AM To: Jason Coleman Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios Escalations Bringing it back to the list > -----Original Message----- > From: Jason Coleman [mailto:jcoleman at lrn.com] > Sent: Wednesday, February 01, 2006 2:13 PM > To: Andrew Laden > Subject: RE: [Nagios-users] Nagios Escalations > > My apologies. I would like the groups listed in the escalations > contact_groups to be notified. However, they never are in the current > configuration that I have provided. > The initial alert is delivered to the group listed in the service > definition and that is it. From the outside, it appears that nagios is > not escalating the notification. > > Read your definiton. Are you waiting 12 hours for the 2nd escalation. I think the notification interval of 720 may be the issues. Notification 1 - linux engineers 720 minutes (12 hours) Notification 2 - Linux Engineers 720 Minutes ( 12 hours) Notification 3 - linux-engineers,network-engineers,windows-engineers 12 minutes Notification 4 - big list.... 12 minutes. Repeat to 1000 > > -----Original Message----- > From: Andrew Laden [mailto:Andrew.Laden at tudor.com] > Sent: Wednesday, February 01, 2006 10:18 AM > To: Jason Coleman > Subject: RE: [Nagios-users] Nagios Escalations > > Might help to say what errant behavior you are seeing. > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Jason > > Coleman > > Sent: Wednesday, February 01, 2006 12:32 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Nagios Escalations > > > > I am currently having trouble getting our escalations to > work. I have > > read the documentation and tried experimenting with nagios, but I > > still cannot get nagios to observe the escalation rules. Here is my > > service definition that I am testing with: > > > > Service definition: > > > > define service{ > > name generic-checkhttp > > use generic-service > > service_description Check HTTP > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 1 > > retry_check_interval 1 > > notification_interval 720 > > contact_groups linux-engineers > > notification_period 24x7 > > notification_options w,u,c,r > > check_command check_http > > register 0 > > } > > > > And here is the escalation definition: > > > > define serviceescalation{ > > host_name wwdw23img01 > > service_description Check HTTP > > first_notification 3 > > last_notification 1000 > > notification_interval 12 > > contact_groups > > linux-engineers,network-engineers,windows-engineers > > } > > > > Any help would be appreciated. Please let me know if I have > left out > > information that is needed to assist. > > > > > > ------------------------------------ > > Jason Coleman > > Systems Engineer > > LRN - The Legal Knowledge Company > > 1100 Glendon Ave, Suite 700 > > Los Angeles, CA 90024 > > tel: 310-209-5381 > > > > "/(bb|[^b]{2})/" > > ------------------------------------ > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep > through log > > > files for problems? Stop! Download the new AJAX search > engine that > > makes searching your log files as easy as surfing the web. > DOWNLOAD > > SPLUNK! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 > > _______________________________________________ > > 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 > > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From lists at webtent.net Thu Feb 2 18:53:05 2006 From: lists at webtent.net (Robert Fitzpatrick) Date: Thu, 02 Feb 2006 12:53:05 -0500 Subject: Custom command In-Reply-To: <43E228FB.4010002@m-wise.com> References: <1138893718.25158.12.camel@columbus> <43E228FB.4010002@m-wise.com> Message-ID: <1138902785.25158.28.camel@columbus> On Thu, 2006-02-02 at 17:44 +0200, Assaf Flatto wrote: > Have you tried placing the script under the libexec directory? > > I had the same issue some time ago and the script only worked when it was in the > libexec directory even though the absolute path was set. Thanks, but still same error even with the new location :( Jim suggested this on the list, so I know it can be done. I'm on a FreeBSD 5.4 server. Anyone ever have issues with getting custom commands to run...? -- Robert ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From hvdkooij at vanderkooij.org Thu Feb 2 19:13:45 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 2 Feb 2006 19:13:45 +0100 (CET) Subject: Plea for one time messages only Message-ID: PLEASE. Will everyone sending out duplicate messages stop sending them twice. This list is unique as it is the only mailiglist on which I see so many duplicate messages. (I see more here per day than on any other list per month.) If you don't see your own messages you need to verify your settings. Go to https://lists.sourceforge.net/lists/listinfo/nagios-users and verify your "Receive posts you send to the list?" setting. And the write only users should not depend on the archives to see if their message came through. Archives are archives and not instant views or anything like that. The archives lag behind. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From hvdkooij at vanderkooij.org Thu Feb 2 19:02:59 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 2 Feb 2006 19:02:59 +0100 (CET) Subject: NagiosGrapher and XML::Simple In-Reply-To: <1138896286.15777.17.camel@lnx307.ncep.noaa.gov> References: <1138896286.15777.17.camel@lnx307.ncep.noaa.gov> Message-ID: On Thu, 2 Feb 2006, Christopher Gill wrote: > I'm having some very frustrating trouble getting NagiosGrapher working. > Since it doesn't have it sown mialing lists, figured I'd ask here. I've > followed the install instructions provided, but when running the > collection script, collect2.pl, I get a perl error back claiming it > can't find the 'new' constructor on XML::Simple. > > Specific error: > Can't locate object method "new" via package "XML::Simple" (perhaps you > forgot to load "XML::Simple"?) at NagiosGrapher.pm line 367. > > This is on Redhat WS 4 with Perl 5.8.5-24. I installed XML::Simple from > CPAN since Redhat doesn't have a package for it. It shows up correctly > in the POD index, so I'm fairly sure I installed it correctly. Could > this be a NagiosGrapher bug, or is my perl install just mucked up? Any > thoughts would be greatly appreciated. I got it working. WHile not on RHEL4 but FC4 there are packages out there to do the job. Like atrpms (http://atrpms.net/dist/el4/) and other archives. If you insist on getting them fro CPAN I suggest you at least repackage them to solve dependencies issue with the CPAN2RPM tool. But that is in fact al besides Nagios. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From mh+nagios-users at zugschlus.de Thu Feb 2 19:01:11 2006 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Thu, 2 Feb 2006 19:01:11 +0100 Subject: Service on an IP address different from the host In-Reply-To: <450B735C-90CF-4077-8BDC-55150CFBA199@extragalactic.net> References: <20060202102523.GA29219@torres.l21.ma.zugschlus.de> <450B735C-90CF-4077-8BDC-55150CFBA199@extragalactic.net> Message-ID: <20060202180111.GA14766@torres.l21.ma.zugschlus.de> On Thu, Feb 02, 2006 at 09:34:06AM -0800, Guy B. Purcell wrote: > That you've been staring at the problem from waaay too close :^) > Seriously, all you need to do is to define (in Nagios, not > necessarily in the DNS, although that probably wouldn't hurt) > separate hosts for the different interfaces, That's my solution (4), which is indeed most probably the least ugly one. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From teng at dataway.com Thu Feb 2 19:02:24 2006 From: teng at dataway.com (Tedman Eng) Date: Thu, 2 Feb 2006 10:02:24 -0800 Subject: Custom command Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2CF8@dw-mail.dataway.com> Are you testing from commandline from the context of the nagios user? > -----Original Message----- > From: Robert Fitzpatrick [mailto:lists at webtent.net] > Sent: Thursday, February 02, 2006 7:22 AM > To: Nagios > Subject: [Nagios-users] Custom command > > > Thanks to Jim here on the list, I have defined a command to send an > e-mail using a sendEmail perl script. From the command line, > the script > works fine. When I try to use the new notify-by-sendEmail as the > service_notification_commands for my contact, Nagios logs the > message as > sent, which never makes it to the SMTP server and I get this error in > the /var/log/messages: > > Feb 2 10:13:39 esmtp kernel: pid 14486 (nagios), uid 2004: exited on > signal 10 > > I have the same permissions on the file as the other commands that > Nagios uses in the minimail.cfg, like /usr/bin/mail: > > esmtp# ls -lah /usr/local/bin/sendEmail > -r-xr-xr-x 1 root wheel 62K Feb 1 17:58 /usr/local/bin/sendEmail > > Can someone suggest why I get this error? I simplified the new command > without the variables like below, I can copy and paste this command to > the command line and the message gets sent successfully: > > define command{ > command_name notify-by-sendEmail > command_line /usr/local/bin/sendEmail -f > nagios at esmtp.webtent.net -t robert at webtent.com -s 10.0.0.40 > -m "Body" -u > "Subject" > } > > define contact{ > contact_name webtent > alias WebTent > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-sendEmail > host_notification_commands host-notify-by-email > email support at mydomain.com > } > > > -- > Robert > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep > through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. > DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486& dat=121642 _______________________________________________ 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From jonathan.w.miner at baesystems.com Thu Feb 2 19:51:39 2006 From: jonathan.w.miner at baesystems.com (Miner, Jonathan W (CSC) (US SSA)) Date: Thu, 2 Feb 2006 13:51:39 -0500 Subject: question about host groups Message-ID: <7FCB0E206880084DB3D57CBAA2119F1202366889@blums0010> I have a problem with not being able to view some host groups. We have a host group for all our servers. We have separate contact groups depending on whether the server is UNIX or Windows. Our admins get added to the contact group depending on which OS they support. If I select "host detail" /cgi-bin/status.cgi?hostgroup=all&style=hostdetail I see all the hosts that I'm on the contact list. However, when I try to select "host group" /cgi-bin/status.cgi?hostgroup=all&style=overview I get an error message indicating that I'm not authorized. I'm suspecting that since the host group contains servers that I'm NOT on the contact list for, I don't get to see _any_ of the group. Feature? Bug? Thanks ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From al at its-lehmann.de Thu Feb 2 20:12:27 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Thu, 02 Feb 2006 20:12:27 +0100 Subject: Graphing service checks In-Reply-To: References: Message-ID: <43E2599B.4010905@its-lehmann.de> Hello, On 2/2/2006 5:47 PM, Rusty Hall wrote: > > I have some data that im trying to graph from nagios , but can't > seem to get it to work. I have 2 that are giving me an issue, one is an > old file for graphing disk on windows server. The graph shows nothing > as far as the data, but an rrd file has been cretaed. Without even knowing which addon you use for graphing: > first one > > ntdisk_C > data > C:\ - total: 3.95 Gb - used: 3.33 Gb (84%) - free 0.62 Gb (16%) > map file entry > > /perfdata:.*Space=([.0-9]+)Gb;([.0-9]+);([.0-9]+);([.0-9]+);([.0-9]+)/ Asuming this should be a RE which is matched against the plugin output - in this case, especially the performance data - you should also give an example performance data line. Though it might be sufficient to remove the leading dots in the sub-expressions. I simply can't imagine that every disk space entry in the performance data line starts with a decimal point. Better, though, would be to use expressions that actually match normal decimal numbers, like '([0-9]+\.?[0-9]*)' or something. > and push @s, [ ntdisk, > [ diskused, GAUGE, $1*1024**3 ], > [ diskwarn, GAUGE, $2*1024**3 ], > [ diskcrit, GAUGE, $3*1024**3 ], > [ diskmaxi, GAUGE, $5*1024**3 ] ]; > > > second one > This one has never worked or created a rrd file, trying to map the count > with memory > > data > CRITICAL - no processes found resembling > 'hciengine.exe'-count=27:memory=673676 > > map file entry > /output;*count=(\d+);memory=([.0-9]+)Mb;/ Sure. Your RE uses a ; as a separator while your service output has a : and think about the decimal number matching subexpression... > and push @s, [ QDX, > [ threadcount, GAUGE, $1* ], > [ memorycount, GAUGE, $5*1024**3 ] ] > > Any help or guidance would be greatly appreciated Obviously the product you use is badly documented (wouldn't be the first program...) or you need more experience with REs (and I know what I'm talking about, I'm always struggling with them!). Arno Arno > Rusty > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From guy at extragalactic.net Thu Feb 2 20:48:49 2006 From: guy at extragalactic.net (Guy B. Purcell) Date: Thu, 2 Feb 2006 11:48:49 -0800 Subject: Service on an IP address different from the host In-Reply-To: <20060202180111.GA14766@torres.l21.ma.zugschlus.de> References: <20060202102523.GA29219@torres.l21.ma.zugschlus.de> <450B735C-90CF-4077-8BDC-55150CFBA199@extragalactic.net> <20060202180111.GA14766@torres.l21.ma.zugschlus.de> Message-ID: <7F71E4C8-F0F3-49B7-AABC-0B1ABDCD534E@extragalactic.net> On Feb 2, 2006, at 10:01, Marc Haber wrote: > On Thu, Feb 02, 2006 at 09:34:06AM -0800, Guy B. Purcell wrote: >> That you've been staring at the problem from waaay too close :^) >> Seriously, all you need to do is to define (in Nagios, not >> necessarily in the DNS, although that probably wouldn't hurt) >> separate hosts for the different interfaces, > > That's my solution (4), which is indeed most probably the least ugly > one. Ah yes--missed that one (probably because it was so short compared to the others), sorry. Regarding recipient confusion with this method, you'll notice my sample defs used a common alias. The alias is what gets reported, so recipients wouldn't see different hostnames--just different service names. -Guy ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From rutski89 at gmail.com Thu Feb 2 20:31:07 2006 From: rutski89 at gmail.com (Patrick M. Rutkowski) Date: Thu, 2 Feb 2006 14:31:07 -0500 Subject: Statusmap & "Host _assumed_ to be up" Message-ID: All the pictures in my status map are the unknown.gif question marks despite the fact that I've added statusmap_image to the entries in hostextinfo.cfg. ( I know my hostextinof.cfgi file is working because I do have custom icons working in the host details cgi). Could the fact that I'm only seeing question marks have anything to do with the fact that most/all of my hosts are in the "Host _assumed_ to be up" or "Pending" status? (That word assumed makes me feel uneasy about it). ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From mh+nagios-users at zugschlus.de Thu Feb 2 20:54:16 2006 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Thu, 2 Feb 2006 20:54:16 +0100 Subject: Service on an IP address different from the host In-Reply-To: <7F71E4C8-F0F3-49B7-AABC-0B1ABDCD534E@extragalactic.net> References: <20060202102523.GA29219@torres.l21.ma.zugschlus.de> <450B735C-90CF-4077-8BDC-55150CFBA199@extragalactic.net> <20060202180111.GA14766@torres.l21.ma.zugschlus.de> <7F71E4C8-F0F3-49B7-AABC-0B1ABDCD534E@extragalactic.net> Message-ID: <20060202195416.GD14766@torres.l21.ma.zugschlus.de> On Thu, Feb 02, 2006 at 11:48:49AM -0800, Guy B. Purcell wrote: > Regarding recipient confusion with this method, you'll notice my > sample defs used a common alias. The alias is what gets reported, so > recipients wouldn't see different hostnames--just different service > names. Wouldn't they then be looking for the wrong host in the web interface? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From hvdkooij at vanderkooij.org Thu Feb 2 21:02:25 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 2 Feb 2006 21:02:25 +0100 (CET) Subject: Statusmap & "Host _assumed_ to be up" In-Reply-To: References: Message-ID: On Thu, 2 Feb 2006, Patrick M. Rutkowski wrote: > All the pictures in my status map are the unknown.gif question marks > despite the fact that I've added statusmap_image to the entries in > hostextinfo.cfg. ( I know my hostextinof.cfgi file is working because > I do have custom icons working in the host details cgi). Could the > fact that I'm only seeing question marks have anything to do with the > fact that most/all of my hosts are in the "Host _assumed_ to be up" or > "Pending" status? (That word assumed makes me feel uneasy about it). Just what does your config look like? I got something like: define hostextinfo{ host_name gandalf icon_image base/redhat.png icon_image_alt Fedora Core 1 vrml_image base/redhat.png statusmap_image base/redhat.gd2 } Or: define hostextinfo{ host_name anfalas icon_image cook/dsl_router.png icon_image_alt Cisco 836 / IOS 12.3 vrml_image cook/dsl_router.png statusmap_image cook/dsl_router.gd2 } Th first one is a default one which resides in /usr/share/nagios/images/logos/base/redhat.png I added the other image sets from nagios exchange. Hugo. PS: This is a FC-4 install from package. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From rmadole at jamspiritsites.com Thu Feb 2 21:01:10 2006 From: rmadole at jamspiritsites.com (Rob Madole) Date: Thu, 2 Feb 2006 14:01:10 -0600 Subject: check_swap command runs ok as root user, but as nagios user it gives incorrect info Message-ID: <272139DA-545A-49BB-A1B4-EF98C58EF702@jamspiritsites.com> Sharing this with the list for posterity's sake... Version info: FreeBSD 4.10-RELEASE-P2 Nagios 2.0.r2 Nagios-plugins 1.4.2 NRPE 2.3 The plugin in question, check_swap, was returning the following information when ran through NRPE. SWAP CRITICAL - 100% free (0 MB out of 0 MB) |swap=0MB;0;0;0;0 Running it from the local machine (as root) the plugin functioned completely normally. What I've narrowed it down to is that on this box the user nagios doesn't have permission to view information about the swap space on the machine (specifically the /dev/mem and /dev/kmem device files). I adjusted the permission on these files, and all is working as it should now. I have a feeling that some of the other plugins that use device files would suffer the same fate. Perhaps a permissions check on the device files should be checked in the configure script for nagios plugins since the plugins themselves don't do any error-handling for this condition? (Yeah I know...you should be able to assume the perms on the system are correct but still) Hope this helps somebody in the future. Rob Madole Programming JAMSpiritSites.com The Original Cheerleading Website Designers? ofc: (877) 239-9308 ~~~~~~~~~~~NOTE~~~~~~~~~~~~ This Email is covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521 and is legally privileged. The information contained in this Email is intended only for use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by telephone (Toll Free - 877-239-9308), and destroy the original message. Thank You. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From hvdkooij at vanderkooij.org Thu Feb 2 21:04:11 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 2 Feb 2006 21:04:11 +0100 (CET) Subject: Service on an IP address different from the host In-Reply-To: <20060202195416.GD14766@torres.l21.ma.zugschlus.de> References: <20060202102523.GA29219@torres.l21.ma.zugschlus.de> <450B735C-90CF-4077-8BDC-55150CFBA199@extragalactic.net> <20060202180111.GA14766@torres.l21.ma.zugschlus.de> <7F71E4C8-F0F3-49B7-AABC-0B1ABDCD534E@extragalactic.net> <20060202195416.GD14766@torres.l21.ma.zugschlus.de> Message-ID: On Thu, 2 Feb 2006, Marc Haber wrote: > On Thu, Feb 02, 2006 at 11:48:49AM -0800, Guy B. Purcell wrote: > > Regarding recipient confusion with this method, you'll notice my > > sample defs used a common alias. The alias is what gets reported, so > > recipients wouldn't see different hostnames--just different service > > names. > > Wouldn't they then be looking for the wrong host in the web interface? Not if you happen to use standard - format and everyone knows about it. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From jim.pye at pyenet.co.nz Thu Feb 2 21:36:17 2006 From: jim.pye at pyenet.co.nz (Jim Pye) Date: Fri, 03 Feb 2006 09:36:17 +1300 Subject: Custom command In-Reply-To: <1138893718.25158.12.camel@columbus> References: <1138893718.25158.12.camel@columbus> Message-ID: <1138912577.18854.16.camel@jimsx220.pyenet.co.nz> Robert, One thing I discovered with the script is that it uses the alarm() functionality of the Linux kernel to help catch communication time outs. Both Windows (and NetWare) do not support this functionality in their PERL implementations. The script does account for Windows (I had to modify it for NetWare) by detecting the OS and turning off that function. I am wondering if FreeBSD implementation of this alert function is not working correctly. Or as the program works when running at commandline that a permissions issue is being seen with this function. I do not have a freeBSD to try the script on myself. Not sure of your hacking skills but the lines that involve this alarm() call are documented in the code and all I did for NetWare was add to the OS test, at each of the places where it tests for Windows (about 5 or 6), the string returned by NetWare. HTH Jim On Thu, 2006-02-02 at 10:21 -0500, Robert Fitzpatrick wrote: > Thanks to Jim here on the list, I have defined a command to send an > e-mail using a sendEmail perl script. From the command line, the script > works fine. When I try to use the new notify-by-sendEmail as the > service_notification_commands for my contact, Nagios logs the message as > sent, which never makes it to the SMTP server and I get this error in > the /var/log/messages: > > Feb 2 10:13:39 esmtp kernel: pid 14486 (nagios), uid 2004: exited on > signal 10 > > I have the same permissions on the file as the other commands that > Nagios uses in the minimail.cfg, like /usr/bin/mail: > > esmtp# ls -lah /usr/local/bin/sendEmail > -r-xr-xr-x 1 root wheel 62K Feb 1 17:58 /usr/local/bin/sendEmail > > Can someone suggest why I get this error? I simplified the new command > without the variables like below, I can copy and paste this command to > the command line and the message gets sent successfully: > > define command{ > command_name notify-by-sendEmail > command_line /usr/local/bin/sendEmail -f > nagios at esmtp.webtent.net -t robert at webtent.com -s 10.0.0.40 -m "Body" -u > "Subject" > } > > define contact{ > contact_name webtent > alias WebTent > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-sendEmail > host_notification_commands host-notify-by-email > email support at mydomain.com > } > > -- Jim Pye PyeNet Universal email: jim.pye at pyenet.co.nz | Phone: +64 4 527 8284 | Fax: +64 4 528 9693 web site: http://www.pyenet.co.nz ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From jim.pye at pyenet.co.nz Thu Feb 2 22:03:22 2006 From: jim.pye at pyenet.co.nz (Jim Pye) Date: Fri, 03 Feb 2006 10:03:22 +1300 Subject: Statusmap Images (resend) In-Reply-To: References: Message-ID: <1138914202.18854.19.camel@jimsx220.pyenet.co.nz> I had the same problem. The solution was to make sure that the permissions on the files for your nagios user and group are r. I also found that the world needs r as well. Jim On Thu, 2006-02-02 at 11:50 -0500, Patrick M. Rutkowski wrote: > (I sent out this message and I don't see it in the nagios-users > archives, so I'm sending it again just be sure that it gets out there; > apologies if it's a double). > > I've set xedtemplate_config_file=/etc/nagios/hostextinfo.cfg in > cgi.cfg, and then put one entry into hostextinfo.cfg: > > define hostextinfo{ > host_name flash > icon_image logo.gif > icon_image_alt logo.gif > statusmap_image logo.gif > } > > I made little 40x40 gif in the gimp, uploaded to the server and put it > into /usr/share/nagios/htdocs/images/logos, and restarted nagios. The > gif doesn't appear in the status map like i expected it too; instead > all I get is the question mark gifs that I saw even before i made any > changes. What should I do? > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 > _______________________________________________ > 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 -- Jim Pye PyeNet Universal email: jim.pye at pyenet.co.nz | Phone: +64 4 527 8284 | Fax: +64 4 528 9693 web site: http://www.pyenet.co.nz ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From s.shipway at auckland.ac.nz Thu Feb 2 22:09:18 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 3 Feb 2006 10:09:18 +1300 Subject: Statusmap Images In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B1CF1EA@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B1CF1EA@vxchange.vcr.auckland.ac.nz> Message-ID: <003701c6283c$ee056e80$135cd882@438LG01sshi052> > define hostextinfo{ > host_name flash > icon_image logo.gif > icon_image_alt logo.gif > statusmap_image logo.gif > } I believe the statusmap_image needs to be a .gd2 image file? At least, they are on our system. And, the icon_image_alt should be text (the alt= option within the tag) Steve ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From shoktai at gmail.com Thu Feb 2 20:23:22 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Thu, 2 Feb 2006 20:23:22 +0100 Subject: Statusmap Images In-Reply-To: References: Message-ID: <619cf3c0602021123n27dc4ea2h@mail.gmail.com> put png or gd2 images for statusmap and also check permissions 2006/2/2, Patrick M. Rutkowski : > > I've set xedtemplate_config_file=/etc/nagios/hostextinfo.cfg in > cgi.cfg, and then put one entry into hostextinfo.cfg: > > define hostextinfo{ > host_name flash > icon_image logo.gif > icon_image_alt logo.gif > statusmap_image logo.gif > } > > I made little 40x40 gif in the gimp, uploaded to the server and put it > into /usr/share/nagios/htdocs/images/logos, and restarted nagios. The > gif doesn't appear in the status map like i expected it too; instead > all I get is the question mark gifs that I saw even before i made any > chages. What should I do? > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642 > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shoktai at gmail.com Thu Feb 2 22:51:05 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Thu, 2 Feb 2006 22:51:05 +0100 Subject: Critical state for several hosts after a server restart Message-ID: <619cf3c0602021351l6d7cce85o@mail.gmail.com> Hi, I just restarted a server that i monitor and a lot of other services went red CRITICAL on all the other hosts i monitor. There is no dependency relationship between the servers and the one i restarted that would cause such behaviour so i wonder why all went wrong this way. Cheers. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stanley.Hopcroft at Dest.gov.au Fri Feb 3 00:01:13 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Fri, 3 Feb 2006 10:01:13 +1100 Subject: Reporting and misc rave. Message-ID: Dear Folks, I am writing with mainly a rant about Graphing and Reporting. 1 About graphing with Nagios Why would one bother when 1.1 Cacti does such a good job 1.2 Nagios could check the Cacti RRDs with either check_rrd, or by an outboard (Cron scheduled) RRD poller that submits passive service check results 1.3 the graphs can be associated with Nag service checks by either - explict URL of the Cacti graph in the service check output - for the adventurous, a Wiki front end that displays some of the Nag CGI service status and a link to the Cacti graph. As a footnote, since Cacti supports RRD 1.2 with built-in supported Holt Winters forecasting RRAs, the poller could be smart and simply check the exception Data store to see if the current rate is in fact outside the normal seasonal variation (computed by the Holt Winters algorithm inside the RRD). Of course this would require the modification of the RRDs that Cacti produces to add the HW RRAs (this doesn't require that the RRD content be unloaded and reloaded IIRC). 2 About reporting After writing a lot of code in Nagios::Report to extract and report on Nagios availability data it occurs to me that a better way of doing Reporting is to 2.1 put the availability data in a DB table (prob with an auto-incremented index) 2.2 use either 2.2.1 ad-hoc SQL queries, or 2.2.2 the reporting package of your choice (eg iReport) I hope that Nagios::Report will be enhance to take advantage of DBD::Ram, a Perl module that very easily gets a CSV file with LWP and sticks it in an in core DB that can almost as easily be used as a Data source to insert rows into the DB of your choice (MySQL, or whatever). and now back to our normal program. Yours sincerely. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From s.shipway at auckland.ac.nz Fri Feb 3 00:39:25 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 3 Feb 2006 12:39:25 +1300 Subject: Reporting and misc rave. In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B1CF206@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B1CF206@vxchange.vcr.auckland.ac.nz> Message-ID: <005301c62851$e6b6cec0$135cd882@438LG01sshi052> > I am writing with mainly a rant about Graphing and Reporting. Oh yes, I have problems with these, also. Please feel free to rant away at length. > 1 About graphing with Nagios > Why would one bother when > 1.1 Cacti does such a good job > 1.2 Nagios could check the Cacti RRDs with either We use MRTG/routers2 (on a different server) to do the graphing for a similar reason. MRTG can query the Nagios agents and extract the numbers for graphing, and routers2 has a Nagios plugin to link back to Nagios. The only minor drawback is that you end up with two queries going to the host (one from Nagios, one from MRTG) rather than just the one you'd get if using the Nagios graphing extensions. This also doesnt work for passive services. > 2 About reporting > 2.1 put the availability data in a DB table (prob with an > auto-incremented index) > 2.2 use either > 2.2.1 ad-hoc SQL queries, or > 2.2.2 the reporting package of your choice (eg iReport) Definitely. Querying the Nagios .log files is a deadend that I've finally given up on. It is a simple matter to install mysql on the same server, set up a log table, and nightly process your text logs into the database. Note that you need a unique index for many applications, and time/host/service is not unique. I found we can use time/host/service/state as a unique index for alerts, and discard any duplicates - but this would not be appropriate for people who (eg) send multiple syslog critical entries, for example. We only load the alerts, not notification and other log entries. I can let people have a copy of my perl nagioslog->mysql alert data loader if they want. Once you've got it into mysql, then there is an ODBC driver for mysql you can use under windows. Reporting is massively faster this way! Not only that, but you can do much post-processing so that you add an 'in scheduled downtime' flag to the alert records which is very useful (why doesn't Nagios log the downtime state?) My wishlist for Nagios? 0) Two levels of access - readonly and manage - on a per contact, per service level. Dont just give 'manage' access to everyone listed as a contact for that service. 1) Add downtime (and parent-in-downtime) flags to the log entries, also alert-disabled flags and all the other status flags. 2) Add optional database plugins for mysql, mssql, oracle.... instead of the .log files 3) More features in the map functions 4) Something so you can see who will be alerted by a particular service at any given time 5) A reporting tool for SLA reporting to give % time in unscheduled downtime over a whole hostgroup. 6) cmd.cgi should have dropdown lists where possible, and make checks for hostname/servicename validity. I've already coded this in on our (1.2) version. 7) Downtime schedules should have an optional flag for 'repeat' that will re-scedule themselves for next day/week etc. Thankyou for your time! Maybe I should be posting to the nagios-devel list, or finding some time to help code these myself... Steve ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From teng at dataway.com Fri Feb 3 00:41:48 2006 From: teng at dataway.com (Tedman Eng) Date: Thu, 2 Feb 2006 15:41:48 -0800 Subject: Reporting and misc rave. Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2CFF@dw-mail.dataway.com> > From: Stanley.Hopcroft at Dest.gov.au > > 1 About graphing with Nagios > > Why would one bother when > > 1.1 Cacti does such a good job > > 1.2 Nagios could check the Cacti RRDs with either > check_rrd, or by an > outboard (Cron scheduled) RRD poller that submits passive service > check results > > 1.3 the graphs can be associated with Nag service checks by either > > - explict URL of the Cacti graph in the service check output > > - for the adventurous, a Wiki front end that displays some of the > Nag CGI service status and a link to the Cacti graph. Main problem: Both systems have their own host/service configuration systems, so you'll end up duplicating all the data entry. One is PHP/MySQL, the other is binary/text cfg files, which doesn't lend itself to a simple templated configurator for both systems. If run on different servers, you'll also have to contend with check_rrd via NFS, NRPE, etc. I think what people want (and I see lots of such questions) is a "Graph This Service" checkbox plus a fruity-like web config interface. Given those two, cacti would be out on the curb. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From s.shipway at auckland.ac.nz Fri Feb 3 01:12:19 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 3 Feb 2006 13:12:19 +1300 Subject: Reporting and misc rave. In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B1CF209@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B1CF209@vxchange.vcr.auckland.ac.nz> Message-ID: <006001c62856$7f305410$135cd882@438LG01sshi052> > Main problem: Both systems have their own host/service > configuration systems, so you'll end up duplicating all the > data entry. We get around this with a home-grown configuration system, which outputs not just the Nagios configuration files, but also files for MRTG, updates a mysql database, creates LDAP users for access, and so on. The configuration tool also probes hosts for agents, hooks in templates, and probes switches and routers for port information and determines parent relationships for Nagios and connection info for crosslinking in MRTG. Sadly this tool is too customised for our environment for me to make it available for general release. Steve ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From rouilj at cs.umb.edu Fri Feb 3 01:38:17 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Thu, 02 Feb 2006 19:38:17 -0500 Subject: Reporting and misc rave. In-Reply-To: Your message of "Fri, 03 Feb 2006 10:01:13 +1100." References: Message-ID: <200602030038.k130cHBE017376@mx1.cs.umb.edu> In message , Stanley.Hopcroft writes: >I am writing with mainly a rant about Graphing and Reporting. > > OT -> on topic in this case IMHO 8-). >1 About graphing with Nagios >Why would one bother when > 1.1 Cacti does such a good job Well cacti does a good job but I hate the thought of having to poll using both cacti and nagios: it doubles the load on the network and the target system requires twice the setup and maintenance I agree for snmp polling especially cacti is much better. Autodiscovery of disks, network interfaces etc and all of that is very nice. I assume your solution for graphing is to use cacti to poll all the devices for which you want to keep performance data (which in my case would be everything 8-) so I can use holt-winters analysis). > 1.2 Nagios could check the Cacti RRDs with either check_rrd, or by an > outboard (Cron scheduled) RRD poller that submits passive service > check results I had problems trying to get check_rrd to work. I was having problems finding the perl modules it needed IIRC. > 1.3 the graphs can be associated with Nag service checks by either > > - explict URL of the Cacti graph in the service check output > > - for the adventurous, a Wiki front end that displays some of the > Nag CGI service status and a link to the Cacti graph. You forgot a couple: use the "Extra Service Actions" link on the Service Information page to link to cacti for the host using a link like: http://cacti.my.server/cacti/graph_view.php?action=preview&filter=monitored_host A second way is available due to a patch I got added to nagios. If the page footer and header are executable, they are executed (as a cgi) when the page loads and can be used to load graphs/menus etc. automatically based on service, host, user or other CGI variable. As a demo I used drraw to create nice dashboard and plot different data items from separate rrd's (e.g. a graph of all ping times to all hosts at a single site and a second network throughput graph displayed nice and large together on a single page) for easy analysis. It was displayed anytime I went to the PingCheck page for a couple of hosts. > As a footnote, since Cacti supports RRD 1.2 with built-in supported Hmm, must have missed that last I knew it only supported the 1.1 series. Cool thanks for the update. > Holt Winters forecasting RRAs, the poller could be smart and simply > check the exception Data store to see if the current rate is in fact > outside the normal seasonal variation (computed by the Holt Winters > algorithm inside the RRD). Yup my idea exactly. Use nagios to monitor for worst case (e.g. ping time > 1 second) and put the nagios data into rrd's to use the Holt-Winters forecasting to look for early signs of a problem before they trigger the nagios thresholds. >2 About reporting > >After writing a lot of code in Nagios::Report to extract and report on >Nagios availability data it occurs to me that a better way of doing >Reporting is to > > 2.1 put the availability data in a DB table (prob with an >auto-incremented index) What would be nice is a sqlite datastore and event broker. Low maintenance requirements, no server to configure, has most of SQL 92 implemented. > 2.2 use either > 2.2.1 ad-hoc SQL queries, or > 2.2.2 the reporting package of your choice (eg iReport) > >I hope that Nagios::Report will be enhance to take advantage of >DBD::Ram, a Perl module that very easily gets a CSV file with LWP and >sticks it in an in core DB that can almost as easily be used as a >Data source to insert rows into the DB of your choice (MySQL, or >whatever). Neat idea. Could use: DBD-SQLite-1.11 as the back end too. Sadly I don't see much for reporting tools for SQLite. However it does have ODBC and JDBC connectors and a bunch of bindings for tcl/tk, perl, python, ruby etc. SQLite is a nice "throw away" database easy to set up, load, query and destroy. > Not off topic as far as I am concerned. It all deals with effective use of nagios to monitor the network. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From Stanley.Hopcroft at Dest.gov.au Fri Feb 3 01:46:38 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Fri, 3 Feb 2006 11:46:38 +1100 Subject: 2.0rc2 avail.cgi - possible bug in reporting of HOST DOWNTIME START/END EVENTS. Message-ID: Dear Folks, I am writing to report a possible anomaly/bug in avail.cgi for Nag 2.0 rc2 (RPM based on Dag Wieers for RHEL3). The problem is that when a host has exited a period of scheduled downtime, the 'Host log entries' shown by avail.cgi look like Event Start Time Event End Time Event Duration Event/State Type Event/State Information 01-02-2006 00:00:00 01-02-2006 14:27:54 0d 14h 27m 54s HOST UP (HARD) PING OK - Packet loss = 0%, RTA = 0.82 ms 02-02-2006 20:59:44 02-02-2006 20:59:44 0d 0h 0m 0s HOST DOWN (HARD) CRITICAL - Plugin timed out after 10 seconds 02-02-2006 20:59:44 02-02-2006 21:06:53 0d 0h 7m 9s HOST DOWNTIME START Start of scheduled downtime 02-02-2006 21:06:53 02-02-2006 22:59:44 0d 1h 52m 51s HOST UP (HARD) PING OK - Packet loss = 0%, RTA = 0.71 ms 02-02-2006 22:59:44 03-02-2006 11:35:39 0d 12h 35m 55s+ HOST DOWNTIME END End of scheduled downtime and then the next time the Report is run the last line shows again how long it was since the host exited downtime (ie now minus the downtime end). eg Event Start Time Event End Time Event Duration Event/State Type Event/State Information 01-02-2006 00:00:00 01-02-2006 14:27:54 0d 14h 27m 54s HOST UP (HARD) PING OK - Packet loss = 0%, RTA = 0.82 ms 02-02-2006 20:59:44 02-02-2006 20:59:44 0d 0h 0m 0s HOST DOWN (HARD) CRITICAL - Plugin timed out after 10 seconds 02-02-2006 20:59:44 02-02-2006 21:06:53 0d 0h 7m 9s HOST DOWNTIME START Start of scheduled downtime 02-02-2006 21:06:53 02-02-2006 22:59:44 0d 1h 52m 51s HOST UP (HARD) PING OK - Packet loss = 0%, RTA = 0.71 ms 02-02-2006 22:59:44 03-02-2006 11:41:51 0d 12h 42m 7s+ HOST DOWNTIME END End of scheduled downtime This looks a little peculiar to me. It's not a bug but unfortunately violates the principle of least surprise (don't know what I was expecting but ..) and for those of us who mine the host log entries it means some code modification. The behaviour of the CGI seems Ok - the event duration is simply the time to the last event - and seems reasonable. Thanks for your time. Yours sincerely. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From jim.pye at pyenet.co.nz Fri Feb 3 01:59:56 2006 From: jim.pye at pyenet.co.nz (Jim Pye) Date: Fri, 03 Feb 2006 13:59:56 +1300 Subject: Reporting and misc rave. In-Reply-To: <005301c62851$e6b6cec0$135cd882@438LG01sshi052> References: <005301c62851$e6b6cec0$135cd882@438LG01sshi052> Message-ID: <1138928396.18854.51.camel@jimsx220.pyenet.co.nz> All, I have only been using Nagios for a week or two. Have a system configured to monitor a five server network. I therefore have not used all the features comprehensively but I do see some of the points Steve mentions below as things I see missing - see my notes. Note I am using v2.0rc2. On Fri, 2006-02-03 at 12:39 +1300, Steve Shipway wrote: > My wishlist for Nagios? > 0) Two levels of access - readonly and manage - on a per contact, per > service level. Dont just give 'manage' access to everyone listed as a > contact for that service. True. I did work on a customers site where the management wanted access to monitor what was going on but did not want to change or acknowledge alerts etc. > 1) Add downtime (and parent-in-downtime) flags to the log entries, also > alert-disabled flags and all the other status flags. I have not got into the logging and the history part yet so not sure what is missing but it would seem that all parts and flags should be logged if any of them are. > 2) Add optional database plugins for mysql, mssql, oracle.... instead of the > log files Maybe this could be a plugin type technology that could be developed separately from the nagios core. > 3) More features in the map functions The maps I have started to play with, but one area I see that could be made configurable is the Tactical Overview. To me the layout of this screen is a bit upside down, I see that the important data - the status of hosts and services should be front and centre. The performance information is secondary and should be below. I have had a look at the tac.c source and see that it would not be too differcult to rearrange. Might set this as a project for myself... > 4) Something so you can see who will be alerted by a particular service at > any given time Maybe with your PERL skills Steve this could be pieced together via a script that parses the config files. > 5) A reporting tool for SLA reporting to give % time in unscheduled downtime > over a whole hostgroup. Working on larger sites I know that this sort of thing can be very important. However have to watchout that, like the thread on reporting graphs etc., is this really a function of Nagios or a more full on HelpDesk system? Maybe for both Graphing and SLA type stuff an interface be built to allow alternates to be used. > 6) cmd.cgi should have dropdown lists where possible, and make checks for > hostname/servicename validity. I've already coded this in on our (1.2) > version. > 7) Downtime schedules should have an optional flag for 'repeat' that will > re-scedule themselves for next day/week etc. This problem I struck last night and yes it would be great to have a repeating scheduled downtime on a host/service. This might be for regular full offline backups etc that would happen regularly and the service is going to be "off the air" and not reporting. > > Thankyou for your time! Maybe I should be posting to the nagios-devel list, > or finding some time to help code these myself... > > Steve > My $0.02 (which isn't legal currency here in NZ anymore :-) Jim -- Jim Pye PyeNet Universal email: jim.pye at pyenet.co.nz | Phone: +64 4 527 8284 | Fax: +64 4 528 9693 web site: http://www.pyenet.co.nz ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From rutski89 at gmail.com Fri Feb 3 02:12:52 2006 From: rutski89 at gmail.com (Patrick M. Rutkowski) Date: Thu, 2 Feb 2006 20:12:52 -0500 Subject: Hosts PENDING Message-ID: I have several hosts with no associated services, and their status bars are stuck on "PENDING" in the Host Detail cgi. check_command on them is set to check-host-alive, and checks_enabled is set to 1. What am I doing wrong, why aren't the hosts being checked? ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From ratty at they.org Fri Feb 3 02:48:32 2006 From: ratty at they.org (frank) Date: Thu, 2 Feb 2006 17:48:32 -0800 (PST) Subject: Hosts PENDING In-Reply-To: References: Message-ID: I can't find the specific doc/FAQ that says so, but I know its been discussed here before: Every host needs a service. A host will not be checked if it doesn't have one. Even tho your host-check is probably a check_ping or check_icmp, add a _service_ to that host that does yet another check_ping or check_icmp. I doubt the extra bandwidth usage will kill your network. ;) I was bitten by this in my first installation too. -f On Thu, 2 Feb 2006, Patrick M. Rutkowski wrote: > Date: Thu, 2 Feb 2006 20:12:52 -0500 > From: Patrick M. Rutkowski > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Hosts PENDING > > I have several hosts with no associated services, and their status > bars are stuck on "PENDING" in the Host Detail cgi. check_command on > them is set to check-host-alive, and checks_enabled is set to 1. What > am I doing wrong, why aren't the hosts being checked? > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From lugonzalez at grupo-uno.com Fri Feb 3 03:11:43 2006 From: lugonzalez at grupo-uno.com (Diego Gonzalez Briones) Date: Thu, 02 Feb 2006 20:11:43 -0600 Subject: Hosts PENDING In-Reply-To: References: Message-ID: <1138932703.8463.61.camel@Leviatan> Hi, Actually you have to add the equipment to the service.cfg file. In fact you have to add a service for your equipment, if not, nagios will mark the host with pending status because is waiting for some service to monitor. For example you have a router defined in hosts.cfg: # 'router1' host definition define host{ use generic-host ; Name of host template to use host_name router1 alias Router #1 address 192.168.1.254 check_command check-host-alive max_check_attempts 20 notification_interval 60 notification_period 24x7 notification_options d,u,r } Then you have to add the following into services.cfg to monitor the host: # Service definition define service{ use generic-service ; Name of service template to use host_name router1 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups router-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } The last configuration is the most simple monitor. Hope it help. Best Regards. On Thu, 2006-02-02 at 20:12 -0500, Patrick M. Rutkowski wrote: > I have several hosts with no associated services, and their status > bars are stuck on "PENDING" in the Host Detail cgi. check_command on > them is set to check-host-alive, and checks_enabled is set to 1. What > am I doing wrong, why aren't the hosts being checked? > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 > _______________________________________________ > 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 Diego. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From hvdkooij at vanderkooij.org Fri Feb 3 07:44:53 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 3 Feb 2006 07:44:53 +0100 (CET) Subject: Critical state for several hosts after a server restart In-Reply-To: <619cf3c0602021351l6d7cce85o@mail.gmail.com> References: <619cf3c0602021351l6d7cce85o@mail.gmail.com> Message-ID: On Thu, 2 Feb 2006, Toto Capuccino wrote: > I just restarted a server that i monitor and a lot of other services went > red CRITICAL on all the other hosts i monitor. There is no dependency > relationship between the servers and the one i restarted that would cause > such behaviour so i wonder why all went wrong this way. This is a question that is impossible to answer. You give us no clues what your setup looks like. (config files) You give us no clueas what sort of service went critical and what they did report. We know nothing apart from what you tell us on this mailinglist so if you expect any help you need to provide enough details to fully understand the issue. I suggest you pay attention to the remark added to each message on the mailinglist as well. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From hvdkooij at vanderkooij.org Fri Feb 3 07:55:17 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 3 Feb 2006 07:55:17 +0100 (CET) Subject: Hosts PENDING In-Reply-To: References: Message-ID: On Thu, 2 Feb 2006, frank wrote: > I can't find the specific doc/FAQ that says so, but I know its been > discussed here before: > > Every host needs a service. A host will not be checked if it doesn't have > one. Even tho your host-check is probably a check_ping or check_icmp, add > a _service_ to that host that does yet another check_ping or check_icmp. I > doubt the extra bandwidth usage will kill your network. ;) With Nagios v2 this does not seems to be true. Or I must be fortunate to have multiple hosts with only a host check that have an accurate state indicator. And some of the use other checks like check_http or check_smtp Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From richard.gliebe at fhv.at Fri Feb 3 08:07:15 2006 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Fri, 03 Feb 2006 08:07:15 +0100 Subject: performance data - RRDTool Message-ID: <1138950435.7485.27.camel@localhost.localdomain> Hi all, I want to store the service_perfdata into RRD-tool to read it with MRTG. Is there a RTFM available ? We are using _nagios-2.0.r1 _nagios-plugins-1.4.2_2,1 _rrdtool-1.2.12 _mrtg-2.12.2,1 on FreeBSD 5.4-STABLE thanks in advance Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From shoktai at gmail.com Fri Feb 3 08:18:42 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Fri, 3 Feb 2006 08:18:42 +0100 Subject: Critical state for several hosts after a server restart In-Reply-To: References: <619cf3c0602021351l6d7cce85o@mail.gmail.com> Message-ID: <619cf3c0602022318w316c9735g@mail.gmail.com> I am running nagios version 1.3 with plugins 1.4.2 My setup is quiet basic i monitor windows servers on which i installed pNSClient. I am monitoring about a hundred servers. The one that i restarted yedterday was inside a LAN (where Nagios is running) where 30 hosts are too. The other servers are located in distant sites with MPLS connection. I also monitor the routers used for those connections. After restarting the servers about 65 services went CRITICAL - Socket timeout after 10 seconds> The services in Critical state seems to be the same type all checks that use Nsclient for disk space (on all sites on every single server) strange... 2006/2/3, Hugo van der Kooij : > > On Thu, 2 Feb 2006, Toto Capuccino wrote: > > > I just restarted a server that i monitor and a lot of other services > went > > red CRITICAL on all the other hosts i monitor. There is no dependency > > relationship between the servers and the one i restarted that would > cause > > such behaviour so i wonder why all went wrong this way. > > This is a question that is impossible to answer. You give us no clues what > your setup looks like. (config files) You give us no clueas what sort of > service went critical and what they did report. > > We know nothing apart from what you tell us on this mailinglist so if you > expect any help you need to provide enough details to fully understand the > issue. I suggest you pay attention to the remark added to each message on > the mailinglist as well. > > Hugo. > > -- > I hate duplicates. Just reply to the relevant mailinglist. > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > Don't meddle in the affairs of magicians, > for they are subtle and quick to anger. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mh+nagios-users at zugschlus.de Fri Feb 3 12:42:34 2006 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Fri, 3 Feb 2006 12:42:34 +0100 Subject: Why the distinction between host definition and hostextinfo definition? Message-ID: <20060203114234.GB11467@torres.l21.ma.zugschlus.de> Hi, to me, the distinction between host definition and hostextinfo definition seems artificial, awkward and clumsy - and it prevents some of the more powerful features from being used with the information that belongs into hostextinfo. Hostextinfo doesn't seem to support templates, and it doesn't seem to be possible to set information that is set as hostextinfo from a host group or via wildcards. This makes it extraordinarily hard to - for example - set host icons for the status map, since it needs a dedicated hostextinfo definition setting icon_image and statusmap_image for each host which might have all other properties set from a template. Is there any reason for keeping this distinction and not including hostextinfo into main configuration? Am I missing something here? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From jperrin at gmail.com Fri Feb 3 13:24:21 2006 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 3 Feb 2006 07:24:21 -0500 Subject: performance data - RRDTool In-Reply-To: <1138950435.7485.27.camel@localhost.localdomain> References: <1138950435.7485.27.camel@localhost.localdomain> Message-ID: <302ce8b50602030424x2b8634bchee0f5f8dc4ec51bb@mail.gmail.com> On 2/3/06, Richard Gliebe wrote: > Hi all, > > I want to store the service_perfdata into RRD-tool to read it with MRTG. > > Is there a RTFM available ? > Not so much RTFM as "check this out" -> http://nagiosgraph.sourceforge.net/ It's similar to what you're looking to do, and if it doesn't work for you, you can at least check out the code, the rrd-fu they use, and see how things are working. -- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From maillist at sjohnson.info Fri Feb 3 13:34:03 2006 From: maillist at sjohnson.info (Steve Johnson) Date: Fri, 03 Feb 2006 07:34:03 -0500 Subject: Small problem with forced service checks on 2.0rc2 Message-ID: <43E34DBB.7070909@sjohnson.info> Hi, I currently have a setup running 2.0rc2. When I go through the web interface and schedule forced checks, this works fine until I hit the max_check_attempts and the service falls into a hard state. After that, even if I schedule a new check, I see the check request in the log file, but the check is never performed. This means that the only way to get it to test again is to wait until its next officially scheduled check. I had asked in one of the IRC channels and was told that this was not supposed to be the case. Is this something related to 2.0rc2 or something I should not be experiencing at all, even on this version? If so, any ideas on what could be wrong? Thanks a lot, Steve Johnson ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From me at renux.de Fri Feb 3 13:43:59 2006 From: me at renux.de (Rene Fertig) Date: Fri, 3 Feb 2006 13:43:59 +0100 Subject: performance data - RRDTool In-Reply-To: <1138950435.7485.27.camel@localhost.localdomain> References: <1138950435.7485.27.camel@localhost.localdomain> Message-ID: <200602031343.59859.me@renux.de> Am Freitag, 3. Februar 2006 08:07 schrieb Richard Gliebe: > Hi all, > > I want to store the service_perfdata into RRD-tool to read it with MRTG. > > Is there a RTFM available ? There is a tool like that: http://nagiostat.sourceforge.net/ It use the RRD-tool, too. Perhaps you can use the db-files it generates together with MRTG. Ciao, Ren? ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From ton.voon at altinity.com Fri Feb 3 15:19:13 2006 From: ton.voon at altinity.com (Ton Voon) Date: Fri, 3 Feb 2006 14:19:13 +0000 Subject: Reporting and misc rave. In-Reply-To: <1138928396.18854.51.camel@jimsx220.pyenet.co.nz> References: <005301c62851$e6b6cec0$135cd882@438LG01sshi052> <1138928396.18854.51.camel@jimsx220.pyenet.co.nz> Message-ID: On 3 Feb 2006, at 00:59, Jim Pye wrote: >> My wishlist for Nagios? >> 0) Two levels of access - readonly and manage - on a per contact, per >> service level. Dont just give 'manage' access to everyone listed >> as a >> contact for that service. > True. I did work on a customers site where the management wanted > access > to monitor what was going on but did not want to change or acknowledge > alerts etc. I've been thinking of patching Nagios so that a contact can have defined: issue_commands = [0|1] (default 1 for backwards compatibility) This way you can define a contact to be able to view a subset of all hosts/services, but would not have access to write to cmd.cgi for downtimes, reschedule, etc. Would this go down well? Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- An HTML attachment was scrubbed... URL: From SudisB at crlcorp.com Fri Feb 3 20:17:00 2006 From: SudisB at crlcorp.com (Brian Sudis) Date: Fri, 3 Feb 2006 13:17:00 -0600 Subject: hostgroup_name and hostextinfo.cfg (nagios 1.2) Message-ID: <8701398F1CF52E40AD35CF730386A0B5092625B6@mailsvr.crlcorp.com> Can a hostgroup_name be used in the hostextinfo.cfg file instead of host_name? I have my host broken down by OS and am using the cfg_dir to OS specific configuration directories. I know that this works: define hostextinfo{ host_name somehost1,somehost2,somehost3,etc...... notes_url /nagios/man/host_notes/linux/$HOSTNAME$.html icon_image /base/redhat.gif icon_image_alt RedHat Advanced Server } What I would like to be able to do is something like this: define hostextinfo{ hostgroup_name linux-production,linux-test,linux-infrastructure,linux-development notes_url /nagios/man/host_notes/linux/$HOSTNAME$.html icon_image /base/redhat.gif icon_image_alt RedHat Advanced Server } I've tested it and have been unsuccessful. Any pointers on this, or is it just not something that is possible at this time with 1.2? Thanks, Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Fri Feb 3 20:24:11 2006 From: teng at dataway.com (Tedman Eng) Date: Fri, 3 Feb 2006 11:24:11 -0800 Subject: Reporting and misc rave. Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2D02@dw-mail.dataway.com> Read/Write access to cmd.cgi can already be disabled using .htaccess -----Original Message----- From: Ton Voon [mailto:ton.voon at altinity.com] Sent: Friday, February 03, 2006 6:19 AM To: jim.pye at pyenet.co.nz Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] RE: Reporting and misc rave. On 3 Feb 2006, at 00:59, Jim Pye wrote: My wishlist for Nagios? 0) Two levels of access - readonly and manage - on a per contact, per service level. Dont just give 'manage' access to everyone listed as a contact for that service. True. I did work on a customers site where the management wanted access to monitor what was going on but did not want to change or acknowledge alerts etc. I've been thinking of patching Nagios so that a contact can have defined: issue_commands = [0|1] (default 1 for backwards compatibility) This way you can define a contact to be able to view a subset of all hosts/services, but would not have access to write to cmd.cgi for downtimes, reschedule, etc. Would this go down well? Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From ravikmrs at yahoo.com Fri Feb 3 22:48:56 2006 From: ravikmrs at yahoo.com (Ravi Kumar) Date: Fri, 3 Feb 2006 13:48:56 -0800 (PST) Subject: Disk monitoring graphs Message-ID: <20060203214856.26849.qmail@web53908.mail.yahoo.com> Hi, can some one what is wrong in rrd command? apan.cfg app2;disk_usage;/usr/local/nagios/rrd/db/app2-disk.rrd;/|/u01;root:LINE2 u01:LINE2;Disk Usage;%; rrdtool create /usr/local/nagios/rrd/db/dapp2-disk.rrd -s 60 DS:root:GAUGE:300:0:U DS:u01:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 please suggest. I have checked and everythings are looking fine. thx --------------------------------- Yahoo! Mail - Helps protect you from nasty viruses. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Andrew.Laden at tudor.com Fri Feb 3 23:06:42 2006 From: Andrew.Laden at tudor.com (Andrew Laden) Date: Fri, 3 Feb 2006 17:06:42 -0500 Subject: What did we recover from? Message-ID: <56EAA5BC64E6C34F8C9EE6725D4A2DFA024DF0CC@tudor.com> Is there some macro that we can use when a recovery alert was sent out to indicate what we recovered from? I.E. Warning, or Critical? I am writing my own notification module, since the notification and escalation rules that nagios provides don't meet my needs. (I need much finer control of who gets noitified for what.) The problem I am having is how to avoid sending recovery pages to people who didn't get the problem pages. I want to be stateless, so I can't track who was sent the page. The idea is to determine what level the recover is for (ie, critical or warn), see if the user would have gotten a page for that service/problem level, and if so, send the recovery page. I was thinking of playing with the $LASTSERVICE*$ macros, but cant figure out an algorithm that will work for both the OK -> CRIT -> OK, case and the OK -> WARN -> CRIT -> WARN -> OK case, vs the OK -> WARN -> OK case. Any ideas? -Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvdkooij at vanderkooij.org Fri Feb 3 23:13:15 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 3 Feb 2006 23:13:15 +0100 (CET) Subject: Disk monitoring graphs In-Reply-To: <20060203214856.26849.qmail@web53908.mail.yahoo.com> References: <20060203214856.26849.qmail@web53908.mail.yahoo.com> Message-ID: On Fri, 3 Feb 2006, Ravi Kumar wrote: > can some one what is wrong in rrd command? > > apan.cfg > app2;disk_usage;/usr/local/nagios/rrd/db/app2-disk.rrd;/|/u01;root:LINE2 u01:LINE2;Disk Usage;%; > > rrdtool create /usr/local/nagios/rrd/db/dapp2-disk.rrd -s 60 DS:root:GAUGE:300:0:U DS:u01:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 > > please suggest. > > I have checked and everythings are looking fine. Well. You failed to do step 1. Execute it yourself and tell us what exact response you are getting. Whithout a hint to any error essage or anything else like that from you this exercise is pointless. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From az at whoever.org Sat Feb 4 00:31:39 2006 From: az at whoever.org (Az) Date: Sat, 04 Feb 2006 09:31:39 +1000 Subject: hostgroup_name and hostextinfo.cfg (nagios 1.2) In-Reply-To: <8701398F1CF52E40AD35CF730386A0B5092625B6@mailsvr.crlcorp.com> References: <8701398F1CF52E40AD35CF730386A0B5092625B6@mailsvr.crlcorp.com> Message-ID: <43E3E7DB.8000100@whoever.org> Brian Sudis wrote: > Can a hostgroup_name be used in the hostextinfo.cfg file instead of > host_name? No, you cant make up directives. :) And according to the docs (v1 and v2), you cant use wildcards in hostextinfo either. Eg, this wouldnt work: define hostextinfo { host_name linux-* notes_url /nagios/man/host_notes/linux/$HOSTNAME$.html icon_image /base/redhat.gif icon_image_alt RedHat Advanced Server } Feature request! -------------- next part -------------- An HTML attachment was scrubbed... URL: From brady.maxwell at gmail.com Sat Feb 4 01:16:39 2006 From: brady.maxwell at gmail.com (Brady Maxwell) Date: Fri, 03 Feb 2006 19:16:39 -0500 Subject: send_nsca send_check_result script question Message-ID: <43E3F267.4090008@gmail.com> in the send_nsca config file there does not appear to be away to set the port that send_nsca should use but in the nsca config file there is a place to set the port. does the port go in the send_check_result script? If so can someone share with me the syntax please. i think it would look something like this /bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | /usr/local/nagios/bin/send_nsca /central_server/ port_id -c /usr/local/nagios/etc/send_nsca.cfg Thank You Brady ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From lists at tswireless.net Sat Feb 4 01:31:12 2006 From: lists at tswireless.net (Carl Davis) Date: Fri, 03 Feb 2006 18:31:12 -0600 Subject: Notification Period Options? Message-ID: <1139013072.691.52.camel@localhost.localdomain> I am continuing to try to adjust my notification options. It seems like if a notifiable event happens outside of a notification period then no notification takes place, this makes sense and I understand this. However, I would like to be notified if the service is still down as soon as the service enters into a notification period. Is this possible? It seems like this will happen only if the service is still down AND only after it reaches the notification_interval. Carl ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From dirk.schulz at kinzesberg.de Sat Feb 4 09:15:03 2006 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Sat, 04 Feb 2006 09:15:03 +0100 Subject: check_mem giving wrong values Message-ID: <43E46287.4010103@kinzesberg.de> Hi folks, I have Nagios 2.0rc2 running up and fine (on Debian Sarge stable) and have started testing check_mem, but it seems to give wrong information: > /usr/local/nagios/libexec/check_mem -w 70 -c 90 > OK: 11% Used Memory | MemUsed=11%;70;90 So 11 % of used memory? Now that is what free offers: > free > total used free shared buffers cached > Mem: 515892 253588 262304 0 78564 120856 > -/+ buffers/cache: 54168 461724 > Swap: 1048568 0 1048568 And cat /proc/meminfo gives the same values, of course. Any hint or help is appreciated. Dirk ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From ton.voon at altinity.com Sat Feb 4 10:00:40 2006 From: ton.voon at altinity.com (Ton Voon) Date: Sat, 4 Feb 2006 09:00:40 +0000 Subject: Reporting and misc rave. In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1A08BB2D02@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2D02@dw-mail.dataway.com> Message-ID: On 3 Feb 2006, at 19:24, Tedman Eng wrote: > Read/Write access to cmd.cgi can already be disabled using .htaccess I tried that (setting a group in .htaccess and only certain users into that group), and it worked, but I didn't like the user experience (Apache gives another login panel, rather than directing to an error page. User would be thinking: why am I given another login panel? I'm already logged in!) This proposed patch would but the access rights into Nagios, rather than into your web server. Ton > -----Original Message----- > From: Ton Voon [mailto:ton.voon at altinity.com] > Sent: Friday, February 03, 2006 6:19 AM > To: jim.pye at pyenet.co.nz > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] RE: Reporting and misc rave. > > > > > On 3 Feb 2006, at 00:59, Jim Pye wrote: > > > My wishlist for Nagios? > 0) Two levels of access - readonly and manage - on a per contact, per > service level. Dont just give 'manage' access to everyone listed as a > contact for that service. > True. I did work on a customers site where the management wanted > access > to monitor what was going on but did not want to change or acknowledge > alerts etc. > > > I've been thinking of patching Nagios so that a contact can have > defined: > > > issue_commands = [0|1] (default 1 for backwards compatibility) > > > This way you can define a contact to be able to view a subset of all > hosts/services, but would not have access to write to cmd.cgi for > downtimes, > reschedule, etc. > > > Would this go down well? > > > Ton > > > > > http://www.altinity.com > T: +44 (0)870 787 9243 > F: +44 (0)845 280 1725 > Skype: tonvoon > > > This message has been scanned for viruses by MailController - > www.MailController.altohiway.com http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From roy at karlsbakk.net Sat Feb 4 17:21:21 2006 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Sat, 4 Feb 2006 17:21:21 +0100 Subject: new plugin? Message-ID: <9D913E21-673F-49B1-BC9B-2C437A9008D0@karlsbakk.net> hi i just wrote a simple STUN check plugin with vovida's stun client. where can i post this? it's located at http://karlsbakk.net/asterisk/ scripts/check_stun roy -- Roy Sigurd Karlsbakk roy at karlsbakk.net --- In space, loud sounds, like explosions, are even louder because there is no air to get in the way. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From todd_barbera at wgbh.org Sat Feb 4 17:28:55 2006 From: todd_barbera at wgbh.org (Todd Barbera) Date: Sat, 04 Feb 2006 11:28:55 -0500 Subject: new plugin? References: <9D913E21-673F-49B1-BC9B-2C437A9008D0@karlsbakk.net> Message-ID: <000a01c629a8$1803bae0$0f7810ac@LENOVO9A2083ED> www.nagiosexchange.org Todd ----- Original Message ----- From: "Roy Sigurd Karlsbakk" To: Sent: Saturday, February 04, 2006 11:21 AM Subject: [Nagios-users] new plugin? > hi > > i just wrote a simple STUN check plugin with vovida's stun client. where > can i post this? it's located at http://karlsbakk.net/asterisk/ > scripts/check_stun > > roy > -- > Roy Sigurd Karlsbakk > roy at karlsbakk.net > --- > In space, loud sounds, like explosions, are even louder because there is > no air to get in the way. > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From engelenh at gmail.com Sat Feb 4 18:00:05 2006 From: engelenh at gmail.com (Hans Engelen) Date: Sat, 4 Feb 2006 18:00:05 +0100 Subject: check_mem giving wrong values In-Reply-To: <43E46287.4010103@kinzesberg.de> References: <43E46287.4010103@kinzesberg.de> Message-ID: <5383c62b0602040900yf5384cdn44984244b62d2ad6@mail.gmail.com> Seems correct to me or am I missing the point. Mind you the 11 % is not counting what is used up for buffers and cache. So if you look at the second line of your result from free you will see 54168 used which is your 11 % (before some hefty rounding). Note that the first line of free gives you the amount of mem used for caching and buffers on top of what applications use to come to a grand total of 253588 mem used. I am guessing thats the value you are looking at and thats what got you confused. Cheers, Hans On 2/4/06, Dirk H. Schulz wrote: > > Hi folks, > > > OK: 11% Used Memory | MemUsed=11%;70;90 > > So 11 % of used memory? Now that is what free offers: > > > Mem: 515892 253588 262304 0 78564 > 120856 > > -/+ buffers/cache: 54168 461724 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Sat Feb 4 18:44:49 2006 From: marc at ena.com (Marc Powell) Date: Sat, 4 Feb 2006 11:44:49 -0600 Subject: send_nsca send_check_result script question Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Brady Maxwell > Sent: Friday, February 03, 2006 6:17 PM > To: Nagios users > Subject: [Nagios-users] send_nsca send_check_result script question > > in the send_nsca config file there does not appear to be away to set the > port that send_nsca should use but in the nsca config file there is a > place to set the port. > > does the port go in the send_check_result script? > > If so can someone share with me the syntax please. > > i think it would look something like this > > /bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | > /usr/local/nagios/bin/send_nsca /central_server/ port_id -c > /usr/local/nagios/etc/send_nsca.cfg It's a command-line parameter -- ~nagios/bin/send_nsca --help NSCA Client 2.1 Copyright (c) 2000-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 06-10-2002 License: GPL Encryption Routines: NOT AVAILABLE Usage: /usr/local/nagios/bin/send_nsca [-p port] [-to to_sec] [-d delim] [-c config_file] Options: = The IP address of the host running the NSCA daemon [port] = The port on which the daemon is running - default is 5667 [to_sec] = Number of seconds before connection attempt times out. (default timeout is 10 seconds) [delim] = Delimiter to use when parsing input (defaults to a tab) [config_file] = Name of config file to use Note: This utility is used to send passive service check results to the NSCA daemon. Servce check data that is to be sent to the NSCA daemon is read from standard input. Service check information is in the following format (tab-delimited unless overriden with -d command line argument, one entry per line): [tab][tab][tab][ newline] -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From brady.maxwell at gmail.com Sat Feb 4 18:54:08 2006 From: brady.maxwell at gmail.com (Brady Maxwell) Date: Sat, 04 Feb 2006 12:54:08 -0500 Subject: send_nsca send_check_result script question In-Reply-To: References: Message-ID: <43E4EA40.1020901@gmail.com> Marc Thanks for the info thats exactly the stuff i needed. Marc Powell wrote: > >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >> admin at lists.sourceforge.net] On Behalf Of Brady Maxwell >> Sent: Friday, February 03, 2006 6:17 PM >> To: Nagios users >> Subject: [Nagios-users] send_nsca send_check_result script question >> >> in the send_nsca config file there does not appear to be away to set >> > the > >> port that send_nsca should use but in the nsca config file there is a >> place to set the port. >> >> does the port go in the send_check_result script? >> >> If so can someone share with me the syntax please. >> >> i think it would look something like this >> >> /bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | >> /usr/local/nagios/bin/send_nsca /central_server/ port_id -c >> /usr/local/nagios/etc/send_nsca.cfg >> > > It's a command-line parameter -- > > ~nagios/bin/send_nsca --help > > NSCA Client 2.1 > Copyright (c) 2000-2002 Ethan Galstad (nagios at nagios.org) > Last Modified: 06-10-2002 > License: GPL > Encryption Routines: NOT AVAILABLE > > Usage: /usr/local/nagios/bin/send_nsca [-p port] [-to > to_sec] [-d delim] [-c config_file] > > Options: > = The IP address of the host running the NSCA daemon > [port] = The port on which the daemon is running - default is > 5667 > [to_sec] = Number of seconds before connection attempt times out. > (default timeout is 10 seconds) > [delim] = Delimiter to use when parsing input (defaults to a > tab) > [config_file] = Name of config file to use > > Note: > This utility is used to send passive service check results to the NSCA > daemon. > Servce check data that is to be sent to the NSCA daemon is read from > standard > input. Service check information is in the following format > (tab-delimited > unless overriden with -d command line argument, one entry per line): > > [tab][tab][tab][ > newline] > > -- > Marc > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 > _______________________________________________ > 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 > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From chet.luther at gmail.com Sun Feb 5 01:08:28 2006 From: chet.luther at gmail.com (Chet Luther) Date: Sat, 4 Feb 2006 19:08:28 -0500 Subject: What did we recover from? In-Reply-To: <56EAA5BC64E6C34F8C9EE6725D4A2DFA024DF0CC@tudor.com> References: <56EAA5BC64E6C34F8C9EE6725D4A2DFA024DF0CC@tudor.com> Message-ID: <366ea3750602041608q32983d7cv981cf625975651c1@mail.gmail.com> On 2/3/06, Andrew Laden wrote: > > Is there some macro that we can use when a recovery alert was sent out to > indicate what we recovered from? I.E. Warning, or Critical? > > I am writing my own notification module, since the notification and > escalation rules that nagios provides don't meet my needs. (I need much > finer control of who gets noitified for what.) As did I. > The problem I am having is how to avoid sending recovery pages to people who > didn't get the problem pages. I want to be stateless, so I can't track who > was sent the page. The idea is to determine what level the recover is for > (ie, critical or warn), see if the user would have gotten a page for that > service/problem level, and if so, send the recovery page. I think the easiest solution is just to keep state on your notifications. > I was thinking of playing with the $LASTSERVICE*$ macros, but cant figure > out an algorithm that will work for both the > OK -> CRIT -> OK, case and the OK -> WARN -> CRIT -> WARN -> OK case, vs the > OK -> WARN -> OK case. > > Any ideas? You can find my notification plugin that handles issues like this at http://chet.crashed.net/notify.pl.txt. You can probably find some ideas that you can use in there. -- Chet Luther chet.luther at gmail.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From ylee at neltura.com Sun Feb 5 06:15:38 2006 From: ylee at neltura.com (Yong Lee) Date: Sat, 04 Feb 2006 21:15:38 -0800 Subject: enabling external commands Message-ID: <1139116538.3869.86.camel@yongs.neltura.com> Hi all, I hope someone can help me with a very puzzling problem. I am trying to enable external commands so that I can temporarily disable notifications of a known problem. I have the following setup in my configuration file: check_external_commands=1 command_check_interval=1 command_file=/var/log/nagios/rw/nagios.cmd However, everytime i want to use the disable command, I get the message : Sorry, but Nagios is currently not checking for external commands, so your command will not be committed! I am guessing that I probably have a file permission/selinux context issue somewhere but I am having difficulty tracking this down. Can anyone provide some clues as to what files i can look at ? How does the cgi determine that I am do not have access to external commands ? Many thanks for any help you can provide, Yong. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From ylee at neltura.com Sun Feb 5 06:51:30 2006 From: ylee at neltura.com (Yong Lee) Date: Sat, 04 Feb 2006 21:51:30 -0800 Subject: enabling external commands In-Reply-To: <1139116538.3869.86.camel@yongs.neltura.com> References: <1139116538.3869.86.camel@yongs.neltura.com> Message-ID: <1139118690.3869.90.camel@yongs.neltura.com> K, In answer to my own post, it looks like the command cgi *requires* the nagios.cfg file to be used as the main configuration file. I was trying to use my own 'maing' config file which was causing me the grief. Now I am seeing the error message : "Error: Could not stat() command file '/var/log/nagios/rw/nagios.cmd'! The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands." My nagios user is : nagios, http is apache and the permissions on this file are correct....sigh...one step at a time...any ideas ? Yong. On Sat, 2006-02-04 at 21:15 -0800, Yong Lee wrote: > Hi all, > > I hope someone can help me with a very puzzling problem. I am trying to > enable external commands so that I can temporarily disable notifications > of a known problem. > > I have the following setup in my configuration file: > > > check_external_commands=1 > command_check_interval=1 > command_file=/var/log/nagios/rw/nagios.cmd > > However, everytime i want to use the disable command, I get the > message : > > Sorry, but Nagios is currently not checking for external commands, so > your command will not be committed! > > I am guessing that I probably have a file permission/selinux context > issue somewhere but I am having difficulty tracking this down. > > Can anyone provide some clues as to what files i can look at ? > > How does the cgi determine that I am do not have access to external > commands ? > > Many thanks for any help you can provide, > > Yong. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From shoktai at gmail.com Sun Feb 5 22:04:14 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Sun, 5 Feb 2006 22:04:14 +0100 Subject: Critical state for several hosts after a server restart In-Reply-To: <619cf3c0602022318w316c9735g@mail.gmail.com> References: <619cf3c0602021351l6d7cce85o@mail.gmail.com> <619cf3c0602022318w316c9735g@mail.gmail.com> Message-ID: <619cf3c0602051304p3985be19r@mail.gmail.com> Nobody? 2006/2/3, Toto Capuccino : > > I am running nagios version 1.3 with plugins 1.4.2 > My setup is quiet basic i monitor windows servers on which i installed > pNSClient. I am monitoring about a hundred servers. The one that i restarted > yedterday was inside a LAN (where Nagios is running) where 30 hosts are too. > The other servers are located in distant sites with MPLS connection. I also > monitor the routers used for those connections. > After restarting the servers about 65 services went CRITICAL - Socket > timeout after 10 seconds> The services in Critical state seems to be the > same type all checks that use Nsclient for disk space (on all sites on every > single server) strange... > > 2006/2/3, Hugo van der Kooij : > > > > On Thu, 2 Feb 2006, Toto Capuccino wrote: > > > > > I just restarted a server that i monitor and a lot of other services > > went > > > red CRITICAL on all the other hosts i monitor. There is no dependency > > > relationship between the servers and the one i restarted that would > > cause > > > such behaviour so i wonder why all went wrong this way. > > > > This is a question that is impossible to answer. You give us no clues > > what > > your setup looks like. (config files) You give us no clueas what sort of > > > > service went critical and what they did report. > > > > We know nothing apart from what you tell us on this mailinglist so if > > you > > expect any help you need to provide enough details to fully understand > > the > > issue. I suggest you pay attention to the remark added to each message > > on > > the mailinglist as well. > > > > Hugo. > > > > -- > > I hate duplicates. Just reply to the relevant mailinglist. > > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > > Don't meddle in the affairs of magicians, > > for they are subtle and quick to anger. > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > > files > > for problems? Stop! Download the new AJAX search engine that makes > > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > > _______________________________________________ > > 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 > > > > -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jperrin at gmail.com Sun Feb 5 22:36:18 2006 From: jperrin at gmail.com (Jim Perrin) Date: Sun, 5 Feb 2006 16:36:18 -0500 Subject: spam protection on the nagios mailing list Message-ID: <302ce8b50602051336y81fe748sa1b1e762b15b433@mail.gmail.com> I understand the need for spam protection and all, but why would you subscribe an address that requires confirmation for EVERY post to a mailing list? Are other people seeing this? Ol?, Voc? enviou uma mensagem para marcelo_imai at uol.com.br Para que sua mensagem seja encaminhada, por favor, clique aqui Esta confirma??o ? necess?ria porque marcelo_imai at uol.com.br usa o Antispam UOL, um programa que elimina mensagens enviadas por rob?s, como pornografia, propaganda e correntes. As pr?ximas mensagens enviadas para marcelo_imai at uol.com.br n?o precisar?o ser confirmadas*. *Caso voc? receba outro pedido de confirma??o, por favor, pe?a para marcelo_imai at uol.com.br inclu?-lo em sua lista de I'm of the opinion that addresses with this type of requirement should not be subscribed to a mailing list. What do others think? -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From jperrin at gmail.com Sun Feb 5 22:30:02 2006 From: jperrin at gmail.com (Jim Perrin) Date: Sun, 5 Feb 2006 16:30:02 -0500 Subject: Critical state for several hosts after a server restart In-Reply-To: <619cf3c0602051304p3985be19r@mail.gmail.com> References: <619cf3c0602021351l6d7cce85o@mail.gmail.com> <619cf3c0602022318w316c9735g@mail.gmail.com> <619cf3c0602051304p3985be19r@mail.gmail.com> Message-ID: <302ce8b50602051330n23d284fbldeccd8273bfbe2b4@mail.gmail.com> On 2/5/06, Toto Capuccino wrote: > Nobody? You still haven't provided information where we could actually help. What does the log say, what's the output when the service goes critical, what are the service definitions, can you run the service check by hand etc. Until you give details, there's no way we can give answers. Saying your setup is 'basic' is so vague as to be laughable. Your question currently amounts to "I drive a late model ford that won't start this morning. Why?" -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From Stanley.Hopcroft at Dest.gov.au Sun Feb 5 23:46:30 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Mon, 6 Feb 2006 09:46:30 +1100 Subject: Reporting and misc rave. Message-ID: Dear Folks, Firstly thanks to all that answered either on the list or privately. I will now attempt to emulate a journalling file system by summarising the responses. 1 Having Nagios availability in a DB is a good thing. Doing so reduces the cost of reporting since there is are data representation/conversion problems and the extraction can be done with SQL thereby minimising the script-hell problem. 2 Availability data capture Mr Shipways approach is too process the Nag logs periodically with private/in-house (AFAIK) code to extract the entries of interest and insert them as rows in a table(s). (Incidentally, this sounds very enterprising since the extraction code has to deal with all the cases handled by avail.cgi. The difficulty of extracting outages from the logs is why I chose to use avail.cgi as a source of availability data). Other approaches include event handlers that insert a row at the end of an outage. This is easy to code but unfortch since AFAIk, there is no macro that indicates if scheduled down time was prevailing may require manual post processing to update the column 'IN_SCHED_DOWNTIME'. 3 Reporting >From Mr Shipway, Rouillard. There are at least two DBs with ODBC connectors (SQL Lite and MySQL) available. This is very important since the availability of ODBC connectors make available the wealth of MS applications for 3.1 client programs eg update your DB with Excel 3.2 reporting - use Excel charts for example 4 Re-use Any site worth its salt will ultimately recognise the need for various registries/directories that reduce the cost of client coding. Such registries/directories include 4.1 Provider circuit IDs 4.2 Addressing/subnets/VLANs etc etc 4.3 Managed nodes It would be helful if the Nagios config data could also be made available as a DB. Personally I think it would a bad thing if Nagios lost its template/text driven config but the config data should be made available to other applications so that there is not the endless client code churn of mapping names between applications. One approach would be to use Al Tobeys Nagios::Config to load a config DB. Why is this useful ? At least one application is mapping structured node names to those used in Reports. What exec understands benrt200 ? What about Bendigo ? Thanks for your time. Yours sincerely. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From VINAY_SHARMA at advanex.co.jp Mon Feb 6 01:48:51 2006 From: VINAY_SHARMA at advanex.co.jp (VINAY_SHARMA at advanex.co.jp) Date: Mon, 6 Feb 2006 09:48:51 +0900 Subject: enabling external commands Message-ID: Hi, Try to run nagios from command propmt or in startup file like ... nagios start -v after you can use your nagios.cmd file for external command.i have same problem before. Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions-Associates Advanex Inc (www.advanex.co.jp) Fon : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp Yong Lee ???: ??: nagios-users at lists.sourceforge.net nagios-users-admin at lists.sour cc: ceforge.net ??: [Nagios-users] enabling external commands 2006/02/05 14:15 ylee ????????? Hi all, I hope someone can help me with a very puzzling problem. I am trying to enable external commands so that I can temporarily disable notifications of a known problem. I have the following setup in my configuration file: check_external_commands=1 command_check_interval=1 command_file=/var/log/nagios/rw/nagios.cmd However, everytime i want to use the disable command, I get the message : Sorry, but Nagios is currently not checking for external commands, so your command will not be committed! I am guessing that I probably have a file permission/selinux context issue somewhere but I am having difficulty tracking this down. Can anyone provide some clues as to what files i can look at ? How does the cgi determine that I am do not have access to external commands ? Many thanks for any help you can provide, Yong. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From rouilj at cs.umb.edu Mon Feb 6 05:54:39 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Sun, 05 Feb 2006 23:54:39 -0500 Subject: Looking for a nagios config file topology changer. Message-ID: <200602060454.k164sdKt020312@mx1.cs.umb.edu> Hi all: Here is the problem. I have a nagios installation running on host A monitoring the network. I want to set up a duplicate monitor on host B which is 10 or so hops from A, but does have parent links pointing to host A. Does anybody have a script that will read a nagios config file and create a new nagios config file where the parents for the hosts are rewritten to correspond to nagios running on host B. All my links are bi-directional fortunately so it is a "simple walk" of the nagios tree graph starting at node B and changing the direction of every link. While this is simple conceptually, it is a bit of work to code from scratch. I have looked at Al Tobey's Nagios:Config to put the graph in memory and will probably base my code on that unless somebody has a tool that does it already. Googling and searching nagiosexchange haven't turned up anything useful. Thanks for any ideas, pointers or code. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From dirk.schulz at kinzesberg.de Mon Feb 6 08:32:53 2006 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Mon, 06 Feb 2006 08:32:53 +0100 Subject: spam protection on the nagios mailing list In-Reply-To: <302ce8b50602051336y81fe748sa1b1e762b15b433@mail.gmail.com> References: <302ce8b50602051336y81fe748sa1b1e762b15b433@mail.gmail.com> Message-ID: <43E6FBA5.7010509@kinzesberg.de> Hi Jim, Jim Perrin schrieb: >I understand the need for spam protection and all, but why would you >subscribe an address that requires confirmation for EVERY post to a >mailing list? Are other people seeing this? > > > >Ol?, > >Voc? enviou uma mensagem para marcelo_imai at uol.com.br >Para que sua mensagem seja encaminhada, por favor, clique aqui > > >Esta confirma??o ? necess?ria porque marcelo_imai at uol.com.br usa o >Antispam UOL, um programa que elimina mensagens enviadas por rob?s, >como pornografia, propaganda e correntes. > >As pr?ximas mensagens enviadas para marcelo_imai at uol.com.br n?o >precisar?o ser confirmadas*. >*Caso voc? receba outro pedido de confirma??o, por favor, pe?a para >marcelo_imai at uol.com.br inclu?-lo em sua lista de > > > >I'm of the opinion that addresses with this type of requirement should >not be subscribed to a mailing list. What do others think? > > I do definitely agree. Dirk ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From shoktai at gmail.com Mon Feb 6 10:07:08 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Mon, 6 Feb 2006 10:07:08 +0100 Subject: Data protector plugs Message-ID: <619cf3c0602060107o426fc278o@mail.gmail.com> Hi list, I wonder if anyone is aware of plugins that could perform checks on HP Data Protector backup software. I would like to receive a notification if backups have been performed with errors. If no ones exist, i'd like to discuss with initiates developpers the possibility for me to start writing my first plugin, as i seek to learn programming at least one language. Thanks. -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From foranor at gmail.com Mon Feb 6 10:19:03 2006 From: foranor at gmail.com (Kai Reese) Date: Mon, 6 Feb 2006 10:19:03 +0100 Subject: Service definition with * and host-templates Message-ID: <640e25ca0602060119i38aa46bbo248cf03110bf4628@mail.gmail.com> Hey list. I'm having a slight problem with understanding templates, it seems. I use a service definition: ## PING define service{ host_name *,!sv-proxy use PING } where PING is: ## PING Template define service{ host_name PING name PING service_description PING use generic check_command check_ping!100.0,20%!500.0,60% register 0 } and generic is: define service{ host_name GENERIC name generic service_description generic is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admin notification_interval 120 notification_period workhours notification_options c,r register 0 } And have host definitions using templates as well. ## generic template define host{ host_name generic alias GenericTemplate contact_groups admin check_command check-host-alive max_check_attempts 5 notification_options d,u,r notification_interval 24x7 name generic register 0 } ## router template define host{ use generic host_name router alias Template: Router name router register 0 } And now I keep getting mail notifications telling me: ***** Nagios ***** Notification Type: PROBLEM Service: PING Host: Template: Router Address: State: CRITICAL Date/Time: Mon Feb 6 09:44:32 CET 2006 Additional Info: CRITICAL - Plugin timed out after 10 seconds I wonder, if the name is just wrong in the notification email, because the ip is one of the routers I use, or if I really receive a notification about a >register 0< template. Anyone ? Thanks, Kai ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From Andy.Kannberg at isc.politie.nl Mon Feb 6 13:53:11 2006 From: Andy.Kannberg at isc.politie.nl (Kannberg, Andy) Date: Mon, 6 Feb 2006 13:53:11 +0100 Subject: Problems with NRPE Message-ID: <25EEB9695A3A4846ADE0CA3658020614656A94@iton130.ito.lan> Hi, I've got some problems with connecting to NRPE on a remote host. I've got Nagios running, along with the 1.4.2 plugin set and NRPE on the host (Slackware Linux) On the remote client, a Tru64 box, the nrpe daemon runs under inet. Also, the plugins are compiled and installef. But for some reason, NRPE on the host can't reach the nrpe daemon on the client. The message is: Connection refused or timed out I've checked and checked again, but can't find any error. Anyone a good suggestion or hint ? thanks, Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: From askarali at beaconet.net Mon Feb 6 14:05:38 2006 From: askarali at beaconet.net (Askar Ali) Date: Mon, 06 Feb 2006 18:05:38 +0500 Subject: Problems with NRPE In-Reply-To: <25EEB9695A3A4846ADE0CA3658020614656A94@iton130.ito.lan> References: <25EEB9695A3A4846ADE0CA3658020614656A94@iton130.ito.lan> Message-ID: <43E749A2.3090702@beaconet.net> Kannberg, Andy wrote: > > Hi, > > I've got some problems with connecting to NRPE on a remote host. > > I've got Nagios running, along with the 1.4.2 plugin set and NRPE on > the host (Slackware Linux) > On the remote client, a Tru64 box, the nrpe daemon runs under inet. > Also, the plugins are compiled and installef. > But for some reason, NRPE on the host can't reach the nrpe daemon on > the client. The message is: > > Connection refused or timed out > > I've checked and checked again, but can't find any error. Anyone a > good suggestion or hint ? > > thanks, > Andy > Add your nagios IP to nrpe.cfg on remote host ie.. allowed_hosts= -------------- next part -------------- An HTML attachment was scrubbed... URL: From johan.corsini at guest.minfin.fed.be Mon Feb 6 14:06:57 2006 From: johan.corsini at guest.minfin.fed.be (Johan Corsini) Date: Mon, 06 Feb 2006 14:06:57 +0100 Subject: Problems with NRPE In-Reply-To: <25EEB9695A3A4846ADE0CA3658020614656A94@iton130.ito.lan> References: <25EEB9695A3A4846ADE0CA3658020614656A94@iton130.ito.lan> Message-ID: <200602061406.57625.johan.corsini@guest.minfin.fed.be> Hello, Did you add the nrpe port to the list in the /etc/services file? There should be a line with something like that : nrpe 5666/tcp Also, did you check with a "netstat -a | grep nrpe" if the port is listening? Johan Le Lundi 06 F?vrier 2006 13:53, Kannberg, Andy a ?crit?: > Hi, > > I've got some problems with connecting to NRPE on a remote host. > > I've got Nagios running, along with the 1.4.2 plugin set and NRPE on the > host (Slackware Linux) > On the remote client, a Tru64 box, the nrpe daemon runs under inet. Also, > the plugins are compiled and installef. > But for some reason, NRPE on the host can't reach the nrpe daemon on the > client. The message is: > > Connection refused or timed out > > I've checked and checked again, but can't find any error. Anyone a good > suggestion or hint ? > > thanks, > Andy ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From johan.corsini at guest.minfin.fed.be Mon Feb 6 14:26:58 2006 From: johan.corsini at guest.minfin.fed.be (Johan Corsini) Date: Mon, 06 Feb 2006 14:26:58 +0100 Subject: Problems with NRPE In-Reply-To: <25EEB9695A3A4846ADE0CA3658020614656A96@iton130.ito.lan> References: <25EEB9695A3A4846ADE0CA3658020614656A96@iton130.ito.lan> Message-ID: <200602061426.58096.johan.corsini@guest.minfin.fed.be> Is there any firewall between the Nagios host and the remote one? Did you try, from your Nagios host, something like "telnet remote_host 5666"? If you did, could you please tell us what was the result? Johan Le Lundi 06 F?vrier 2006 14:13, Kannberg, Andy a ?crit?: > Johan, > > Yes, the port has been added to the services file, and netstat show me that > nrpe is listening on port 5666 > > > -----Original Message----- > > From: Johan Corsini [mailto:johan.corsini at guest.minfin.fed.be] > > Sent: maandag 6 februari 2006 14:07 > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Problems with NRPE > > > > > > Hello, > > > > Did you add the nrpe port to the list in the /etc/services > > file? There should > > be a line with something like that : > > nrpe 5666/tcp > > > > Also, did you check with a "netstat -a | grep nrpe" if the > > port is listening? > > > > > > Johan > > > > Le Lundi 06 F?vrier 2006 13:53, Kannberg, Andy a ?crit?: > > > Hi, > > > > > > I've got some problems with connecting to NRPE on a remote host. > > > > > > I've got Nagios running, along with the 1.4.2 plugin set > > > > and NRPE on the > > > > > host (Slackware Linux) > > > On the remote client, a Tru64 box, the nrpe daemon runs > > > > under inet. Also, > > > > > the plugins are compiled and installef. > > > But for some reason, NRPE on the host can't reach the nrpe > > > > daemon on the > > > > > client. The message is: > > > > > > Connection refused or timed out > > > > > > I've checked and checked again, but can't find any error. > > > > Anyone a good > > > > > suggestion or hint ? > > > > > > thanks, > > > Andy > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep > > through log files > > for problems? Stop! Download the new AJAX search engine that makes > > searching your log files as easy as surfing the web. > > DOWNLOAD SPLUNK! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486& > > dat=121642 > _______________________________________________ > 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From Andy.Kannberg at isc.politie.nl Mon Feb 6 14:40:48 2006 From: Andy.Kannberg at isc.politie.nl (Kannberg, Andy) Date: Mon, 6 Feb 2006 14:40:48 +0100 Subject: Problems with NRPE Message-ID: <25EEB9695A3A4846ADE0CA3658020614656A97@iton130.ito.lan> Johan, There are some issues when I try to telnet from the nagios host to the remote host. For example, a simple telnet result in 'no route to host', and when pinging the remote host, I get a 'time to live exceeded' from another IP adres, probably a router or firewall. I'll delve into this an will see if I can solve these problems. Thanks for pointing me out on this ! andy > -----Original Message----- > From: Johan Corsini [mailto:johan.corsini at guest.minfin.fed.be] > Sent: maandag 6 februari 2006 14:27 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Problems with NRPE > > > Is there any firewall between the Nagios host and the remote one? > Did you try, from your Nagios host, something like "telnet > remote_host 5666"? > If you did, could you please tell us what was the result? > > Johan > > > Le Lundi 06 F?vrier 2006 14:13, Kannberg, Andy a ?crit?: > > Johan, > > > > Yes, the port has been added to the services file, and > netstat show me that > > nrpe is listening on port 5666 > > > > > -----Original Message----- > > > From: Johan Corsini [mailto:johan.corsini at guest.minfin.fed.be] > > > Sent: maandag 6 februari 2006 14:07 > > > To: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Problems with NRPE > > > > > > > > > Hello, > > > > > > Did you add the nrpe port to the list in the /etc/services > > > file? There should > > > be a line with something like that : > > > nrpe 5666/tcp > > > > > > Also, did you check with a "netstat -a | grep nrpe" if the > > > port is listening? > > > > > > > > > Johan > > > > > > Le Lundi 06 F?vrier 2006 13:53, Kannberg, Andy a ?crit?: > > > > Hi, > > > > > > > > I've got some problems with connecting to NRPE on a remote host. > > > > > > > > I've got Nagios running, along with the 1.4.2 plugin set > > > > > > and NRPE on the > > > > > > > host (Slackware Linux) > > > > On the remote client, a Tru64 box, the nrpe daemon runs > > > > > > under inet. Also, > > > > > > > the plugins are compiled and installef. > > > > But for some reason, NRPE on the host can't reach the nrpe > > > > > > daemon on the > > > > > > > client. The message is: > > > > > > > > Connection refused or timed out > > > > > > > > I've checked and checked again, but can't find any error. > > > > > > Anyone a good > > > > > > > suggestion or hint ? > > > > > > > > thanks, > > > > Andy > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. Do you grep > > > through log files > > > for problems? Stop! Download the new AJAX search engine > that makes > > > searching your log files as easy as surfing the web. > > > DOWNLOAD SPLUNK! > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486& > > > > dat=121642 > > _______________________________________________ > > 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 > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep > through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. > DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486& dat=121642 _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christopher.Wianecki at sothebys.com Mon Feb 6 16:15:55 2006 From: Christopher.Wianecki at sothebys.com (Wianecki, Christopher) Date: Mon, 6 Feb 2006 10:15:55 -0500 Subject: web and 3-D Status Map Message-ID: Whenever I do press on 3-D Status Map I get a File Download window where it asks me to save file called statuswrl, how can I remove this or have it fixed? Do I need to install any kind of plugin on my browser since it does not recognize that format? If yes what plugin do I need to download? I did not find much info about that... Thanks. Chris ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the postmaster at postmaster at sothebys.com. www.sothebys.com ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From marc at ena.com Mon Feb 6 16:24:51 2006 From: marc at ena.com (Marc Powell) Date: Mon, 6 Feb 2006 09:24:51 -0600 Subject: web and 3-D Status Map Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Wianecki, Christopher > Sent: Monday, February 06, 2006 9:16 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] web and 3-D Status Map > > Whenever I do press on 3-D Status Map I get a File Download window where > it > asks me to save file called statuswrl, how can I remove this or have it > fixed? Do I need to install any kind of plugin on my browser since it does > not recognize that format? If yes what plugin do I need to download? I did > not find much info about that... Thanks. http://www.nagios.org/faqs/viewfaq.php?faq_id=52&expand=false&showdesc=f alse -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From Christopher.Wianecki at sothebys.com Mon Feb 6 16:37:35 2006 From: Christopher.Wianecki at sothebys.com (Wianecki, Christopher) Date: Mon, 6 Feb 2006 10:37:35 -0500 Subject: web and 3-D Status Map Message-ID: Ups, sorry I've missed that one.. Thank you. Chris -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Monday, February 06, 2006 10:25 AM To: Nagios users Subject: RE: [Nagios-users] web and 3-D Status Map > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Wianecki, Christopher > Sent: Monday, February 06, 2006 9:16 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] web and 3-D Status Map > > Whenever I do press on 3-D Status Map I get a File Download window where > it > asks me to save file called statuswrl, how can I remove this or have it > fixed? Do I need to install any kind of plugin on my browser since it does > not recognize that format? If yes what plugin do I need to download? I did > not find much info about that... Thanks. http://www.nagios.org/faqs/viewfaq.php?faq_id=52&expand=false&showdesc=f alse -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the postmaster at postmaster at sothebys.com. www.sothebys.com ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From rex at 2020media.com Mon Feb 6 16:53:48 2006 From: rex at 2020media.com (Rex Wickham (2020Media.com)) Date: Mon, 06 Feb 2006 15:53:48 +0000 Subject: Setting up NCSA Message-ID: <43E7710C.6040007@2020media.com> Hi I've got stuck with NCSA and wondered if anyone could help. On my Windows box I've installed 1- send_nsca.exe - which is working - sending results over port 5667 to my nagios server 2- NC_Net from Shatter It which is also working - generating disk usage reports and so on. on my Nagios box I have installed NCSA started the deamon ok. It appears to be listening becuase I am getting entries in the logs like this: Feb 6 11:41:51 nagios2 nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;Vision;freespace;0;C: - total: 5.85 Gb - used: 4.54 Gb (78%) - free 1.31 Gb (22%) | 'C:\ Free Space'=1.31Gb;0.58;0.29;0.00;5.85 Feb 6 11:41:51 nagios2 nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;Vision;freespace;1;C: - total: 5.85 Gb - used: 4.54 Gb (78%) - free 1.31 Gb (22%) | 'C:\ Free Space'=1.31Gb;2.92;0.58;0.00;5.85 (Vision is the name of the host being checked) As I understand it, NCSA is copying these results to the nagios command file (command_file=/usr/local/nagios/var/rw/nagios.cmd) What I don't understand is how to get Nagios to do anything with these results. What service check options should I be using to pick these up? What alerts am I going to be getting? I thought at first it was check_nt, but this is an active check and also wants to check on a particlar port, so surely this can't be right??? I'm actually using NagiosQL for my config, but it just creates standard looking config files. Cheers, Rex Wickham -- TwentyTwentyMedia Ltd - http://www.2020media.com/ - Straightforward Hosting User-friendly packages: Java Servlets/JSP, ColdFusion, MySQL, ASP, PHP. tel: 0870 321 2020 fax: 0870 094 2020 e-mail: info at 2020media.com int: +44 870 321 2020 ================================ Want Unlimited broadband? Get 2020Media ADSL. Contact me for pricing and availability on your line. Terms and conditions apply. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From jhmartin at toger.us Mon Feb 6 17:07:02 2006 From: jhmartin at toger.us (Jason Martin) Date: Mon, 6 Feb 2006 08:07:02 -0800 Subject: Data protector plugs In-Reply-To: <619cf3c0602060107o426fc278o@mail.gmail.com> References: <619cf3c0602060107o426fc278o@mail.gmail.com> Message-ID: <20060206160702.GP28179@mal.members.linode.com> On Mon, Feb 06, 2006 at 10:07:08AM +0100, Toto Capuccino wrote: > I wonder if anyone is aware of plugins that could perform checks on HP Data > Protector backup software. I would like to receive a notification if backups > have been performed with errors. If this data is logged, then you could use the existing log checking plugins to alert on the error. -Jason Martin -- A waist is a terrible thing to mind. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From marc at ena.com Mon Feb 6 17:09:48 2006 From: marc at ena.com (Marc Powell) Date: Mon, 6 Feb 2006 10:09:48 -0600 Subject: Setting up NCSA Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Rex Wickham (2020Media.com) > Sent: Monday, February 06, 2006 9:54 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Setting up NCSA > > Hi > > I've got stuck with NCSA and wondered if anyone could help. > > On my Windows box I've installed > 1- send_nsca.exe - which is working - sending results over port 5667 to > my nagios server > 2- NC_Net from Shatter It which is also working - generating disk usage > reports and so on. > > on my Nagios box I have installed NCSA started the deamon ok. It appears > to be listening becuase I am getting entries in the logs like this: > Feb 6 11:41:51 nagios2 nagios: EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;Vision;freespace;0;C: - total: 5.85 Gb - > used: 4.54 Gb (78%) - free 1.31 Gb (22%) | 'C:\ Free > Space'=1.31Gb;0.58;0.29;0.00;5.85 > Feb 6 11:41:51 nagios2 nagios: EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;Vision;freespace;1;C: - total: 5.85 Gb - > used: 4.54 Gb (78%) - free 1.31 Gb (22%) | 'C:\ Free > Space'=1.31Gb;2.92;0.58;0.00;5.85 > (Vision is the name of the host being checked) > > > As I understand it, NCSA is copying these results to the nagios command > file (command_file=/usr/local/nagios/var/rw/nagios.cmd) > > What I don't understand is how to get Nagios to do anything with these > results. > What service check options should I be using to pick these up? > What alerts am I going to be getting? Reread the section on Central Server Configuration at http://nagios.sourceforge.net/docs/1_0/distributed.html. Once you have verified you have host and service definitions for your distributed checks (i.e. host 'Vision' and service 'freespace') on your nagios host and enabled passive checks for the services (and/or host if you are using 2.0), notifications etc are just like a normal active check. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From stanglinden at gmail.com Mon Feb 6 17:01:05 2006 From: stanglinden at gmail.com (Mike Linden) Date: Mon, 6 Feb 2006 11:01:05 -0500 (EST) Subject: Plugin to check firmware status on dell systems. Message-ID: <44703.192.88.212.43.1139241665.squirrel@lindenhouse.homeip.net> I am wanting to check the status of dell systems for hardware errors (amber lights) using the bmcutils. For example: ipmish -ip -u -p sel get returns 1= 2005/04/05 17:34:19, #81 Event Logging Disabled, Log Area Reset/Clear 2= 2006/01/13 14:51:56, #1 Memory, Correctable ECC/other correctable memory error 3= 2006/01/13 14:51:56, #1 Memory, Correctable ECC/other correctable memory error 4= 2006/01/13 14:51:56, #1 Memory, Correctable ECC/other correctable memory error 5= 2006/01/13 14:51:56, #1 Memory, Correctable ECC/other correctable memory error 6= 2006/01/13 14:51:56, #1 Memory, Correctable ECC/other correctable memory error 7= 2006/01/13 14:51:57, #1 Memory, Correctable ECC/other correctable memory error 8= 2006/01/13 14:51:58, #1 Memory, Correctable ECC/other correctable memory error 9= 2006/01/13 14:51:59, #1 Memory, Correctable ECC/other correctable memory error 10= 2006/01/13 14:52:00, #1 Memory, Correctable ECC/other correctable memory error 11= 2006/01/13 14:52:00, #1 Memory, Correctable ECC/other correctable memory error 12= 2006/01/13 14:52:00, #6 Event Logging Disabled, Correctable Memory Error Logging Disabled if there are errors. But basically I want an alert if there is more than one line in this output. I have not run across a plug that would allow for this, does any one know of one that might suffice. BTW, the bmcutils are only installed on a couple of the nodes in the cluster so I need to run the ipmish command on a remote host not the node that I am checking for. Example: host242 is the nagios server and also has the ipmish/bmc utilities installed, and can provide the information for all hosts. Thanks Mike -- -- Mike Linden ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From rex at 2020media.com Mon Feb 6 12:54:00 2006 From: rex at 2020media.com (Rex Wickham (2020Media.com)) Date: Mon, 06 Feb 2006 11:54:00 +0000 Subject: Setting up NCSA Message-ID: <43E738D8.7010802@2020media.com> Hi I've got stuck with NCSA and wondered if anyone could help. On my Windows box I've installed 1- send_nsca.exe - which is working - sending results over port 5667 to my nagios server 2- NC_Net from Shatter It which is also working - generating disk usage reports and so on. on my Nagios box I have installed NCSA started the deamon ok. It appears to be listening becuase I am getting entries in the logs like this: Feb 6 11:41:51 nagios2 nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;Vision;freespace;0;C: - total: 5.85 Gb - used: 4.54 Gb (78%) - free 1.31 Gb (22%) | 'C:\ Free Space'=1.31Gb;0.58;0.29;0.00;5.85 Feb 6 11:41:51 nagios2 nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;Vision;freespace;1;C: - total: 5.85 Gb - used: 4.54 Gb (78%) - free 1.31 Gb (22%) | 'C:\ Free Space'=1.31Gb;2.92;0.58;0.00;5.85 (Vision is the name of the host being checked) As I understand it, NCSA is copying these results to the nagios command file (command_file=/usr/local/nagios/var/rw/nagios.cmd) What I don't understand is how to get Nagios to do anything with these results. What service check options should I be using to pick these up? What alerts am I going to be getting? I thought at first it was check_nt, but this is an active check and also wants to check on a particlar port, so surely this can't be right??? I'm actually using NagiosQL for my config, but it just creates standard looking config files. Cheers, Rex Wickham -- TwentyTwentyMedia Ltd - http://www.2020media.com/ - Straightforward Hosting User-friendly packages: Java Servlets/JSP, ColdFusion, MySQL, ASP, PHP. tel: 0870 321 2020 fax: 0870 094 2020 e-mail: info at 2020media.com int: +44 870 321 2020 ================================ Want Unlimited broadband? Get 2020Media ADSL. Contact me for pricing and availability on your line. Terms and conditions apply. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From Christopher.Wianecki at sothebys.com Mon Feb 6 18:54:35 2006 From: Christopher.Wianecki at sothebys.com (Wianecki, Christopher) Date: Mon, 6 Feb 2006 12:54:35 -0500 Subject: No output - WRNING messages Message-ID: Sunserver1 PING WARNING 02-06-2006 12:47:31 0d 0h 47m 25s 3/3 (No output!) For some reason I am getting (NO output!) messages all the time, when I access Service Detail. I cannot determine from logs why that is... I did search FAQ for that but I was unable to get any information on this. When I do run PING commands from shell I get output, when I run check_ping I also do get output. But under web interface I get this message and lots of warnings... Regards, Chris ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the postmaster at postmaster at sothebys.com. www.sothebys.com ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From rex at 2020media.com Mon Feb 6 18:58:27 2006 From: rex at 2020media.com (Rex Wickham) Date: Mon, 6 Feb 2006 18:58:27 +0100 (CET) Subject: Setting up NCSA In-Reply-To: <43E7710C.6040007@2020media.com> References: <43E7710C.6040007@2020media.com> Message-ID: <20060206175827.1718E4F415D@desire.netways.de> In case people are viewing this on the web and can't see Marc's reply, here it is: Reread the section on Central Server Configuration at http://nagios.sourceforge.net/docs/1_0/distributed.html. Once you have verified you have host and service definitions for your distributed checks (i.e. host 'Vision' and service 'freespace') on your nagios host and enabled passive checks for the services (and/or host if you are using 2.0), notifications etc are just like a normal active check. -- Marc This helped me becuase I didn't realise I had to make the service name the same as the results I was getting back from NC_Net - Rex Wickham (2020media) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=15039 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From hvdkooij at vanderkooij.org Mon Feb 6 20:06:58 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 6 Feb 2006 20:06:58 +0100 (CET) Subject: nagiosgrapher v1.3 unreliable Message-ID: Hi, I have been trying to get nagiosgraper v1.3 working reliable. But it is not at all reliable. Some services are updated properly every poll. But some other fail to update sometimes or even fail to update most of the times resulting in graphs with only some snippets. If the service was failing intermittently I might explain the issue but I would go crazy by the alerts if this was the case. The nagios log does not show problem with the services that do not update. Might this be an issue with the named pipe setup? Perhaps a limit on the number of events it can handle? (With 26 hosts and 57 services I would expect this is not the issue.) The log file (ngrap.log) is consistent with the rrd graphs. Nagios is v2.0 RC2 and the nagios log does not show any down issue. I did put some screen shots in http://hvdkooij.xs4all.nl/Nagios/ How can I establish if Nagios is in fact sending all the performance data? Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From hvdkooij at vanderkooij.org Mon Feb 6 20:15:58 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 6 Feb 2006 20:15:58 +0100 (CET) Subject: nagiosgrapher v1.3 unreliable In-Reply-To: References: Message-ID: On Mon, 6 Feb 2006, Hugo van der Kooij wrote: > How can I establish if Nagios is in fact sending all the performance data? I forgot to add the config entries: nagios.cfg perfdata_timeout=5 process_performance_data=1 service_perfdata_command=process-service-perfdata #service_perfdata_file_mode=a misccommand.cfg: # 'process-service-perfdata' command definition define command { command_name process-service-perfdata command_line /usr/lib/nagios/nagiosgrapher/fifo_write.pl /var/spool/nagios/ngraph.pipe '$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n' 3 } Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From al at its-lehmann.de Mon Feb 6 20:45:36 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 06 Feb 2006 20:45:36 +0100 Subject: No output - WRNING messages In-Reply-To: References: Message-ID: <43E7A760.3040407@its-lehmann.de> Hello, On 2/6/2006 6:54 PM, Wianecki, Christopher wrote: > Sunserver1 PING WARNING 02-06-2006 12:47:31 0d 0h 47m 25s 3/3 (No output!) > > > For some reason I am getting (NO output!) messages all the time, when I > access Service Detail. I cannot determine from logs why that is... I did > search FAQ for that but I was unable to get any information on this. When I > do run PING commands from shell I get output, when I run check_ping I also > do get output. Make sure you run these tests as the user nagios runs as. Most probably you'll see that you aren't allowed to run the commands in question. Also, for host checks at least, consider using check_icmp's alias of check_host instead of check_ping. Arno > But under web interface I get this message and lots of > warnings... > > Regards, > > Chris > > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the postmaster at postmaster at sothebys.com. > > > www.sothebys.com > ********************************************************************** > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From teng at dataway.com Mon Feb 6 21:08:44 2006 From: teng at dataway.com (Tedman Eng) Date: Mon, 6 Feb 2006 12:08:44 -0800 Subject: nagiosgrapher v1.3 unreliable Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2D04@dw-mail.dataway.com> While I can't comment on nagiosgrapher specifically, since I don't use it, I would suggest for RRDtool in general you take a look at tuning the RRD heartbeat and step values used in the rrdcreate command. The factor in Nagios that would cause RRD gaps is most likely service check latency. Check latency is (in my experience) amplified by large numbers of host problems (since everything stops while host-checking) Using a heartbeat larger than the step value (2x is safe) will give you headroom in the event that your check latency becomes very large. This should help prevent gaps from appearing in the RRD data. > -----Original Message----- > From: Hugo van der Kooij [mailto:hvdkooij at vanderkooij.org] > Sent: Monday, February 06, 2006 11:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagiosgrapher v1.3 unreliable > > > Hi, > > I have been trying to get nagiosgraper v1.3 working reliable. > But it is > not at all reliable. > > Some services are updated properly every poll. But some other fail to > update sometimes or even fail to update most of the times resulting in > graphs with only some snippets. > > If the service was failing intermittently I might explain the > issue but I > would go crazy by the alerts if this was the case. The nagios > log does not > show problem with the services that do not update. > > Might this be an issue with the named pipe setup? Perhaps a > limit on the > number of events it can handle? (With 26 hosts and 57 services I would > expect this is not the issue.) > > The log file (ngrap.log) is consistent with the rrd graphs. > Nagios is v2.0 RC2 and the nagios log does not show any down issue. > > I did put some screen shots in http://hvdkooij.xs4all.nl/Nagios/ > > How can I establish if Nagios is in fact sending all the > performance data? > > Hugo. > > -- > I hate duplicates. Just reply to the relevant mailinglist. > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From andrew at profitability.net Mon Feb 6 21:18:47 2006 From: andrew at profitability.net (Andrew Cruse) Date: Mon, 6 Feb 2006 15:18:47 -0500 Subject: nagiosgrapher v1.3 unreliable In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1A08BB2D04@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2D04@dw-mail.dataway.com> Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > While I can't comment on nagiosgrapher specifically, since I > don't use it, I would suggest for RRDtool in general you take > a look at tuning the RRD heartbeat and step values used in the > rrdcreate command. > > The factor in Nagios that would cause RRD gaps is most likely > service check latency. Check latency is (in my experience) > amplified by large numbers of host problems (since everything stops > while host-checking) > > Using a heartbeat larger than the step value (2x is safe) > will give you headroom in the event that your check latency > becomes very large. This should help prevent gaps from appearing in > the RRD data. Also along the same lines, check what you have your Min and Max values set to. Values returned out of those bounds won't show up on your graphs either. Andrew ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From s.shipway at auckland.ac.nz Mon Feb 6 21:43:53 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 7 Feb 2006 09:43:53 +1300 Subject: Reporting and misc rave. In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B1CF225@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B1CF225@vxchange.vcr.auckland.ac.nz> Message-ID: <002c01c62b5e$0b8cb9d0$1d5cd882@438LG01sshi052> Stanley Hopcroft wrote: > Mr Shipways approach is too process the Nag logs periodically > with private/in-house (AFAIK) code to extract the entries of > interest and insert them as rows in a table(s). > > (Incidentally, this sounds very enterprising since the > extraction code has to deal with all the cases handled by > avail.cgi. The difficulty of extracting outages from the logs > is why I chose to use avail.cgi as a source of availability data). My perl script eats the nagios log files (from the archive directory), and copies them straight to a database. It actually filters out just the ones I'm currently interested in - host and service alerts, and host and service downtime. The script also creates all the database tables and so on if necessary. Then, my reporting tool takes care of calculating on a per-host and service basis what the downtime is (much easier using a database). The problem with it is that a particular stretch of downtime may lie partly in scheduled and partly in unscheduled, or the parent host of a service may be down for part of it. This means you cannot flag each event with a 'scheduled/unscheduled' flag. It is possible, though, to calculate event length as you go although the ends of a logfile present a bit of a problem, too. I did think of splitting events up into scheduled/unscheduled portions, but this would give problems when counting events from the log. I'm also putting together some scripts (using Nagios::Config as suggested) which load the current configuration of hosts, services, and hostextinfo into a database, mainly for reading purposes (we have a different tool which maintains the config files). The hostextinfo is a useful one, since I've already modified an existing tool for maintaining the 2d-coords to read/write its data to the mysql database. Once this is a bit more stable and documented, I hope to upload to nagiosexchange. It does bring the question, though, of why Nagios itself does not contain at least mysql database support, and preferably some sort of database plugin for this. Steve ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From s.shipway at auckland.ac.nz Mon Feb 6 21:48:08 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 7 Feb 2006 09:48:08 +1300 Subject: Reporting and misc rave. In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B1CF21A@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B1CF21A@vxchange.vcr.auckland.ac.nz> Message-ID: <002d01c62b5e$a29e95a0$1d5cd882@438LG01sshi052> Ton Voon wrote: > On 3 Feb 2006, at 19:24, Tedman Eng wrote > > Read/Write access to cmd.cgi can already be disabled using .htaccess > > I tried that (setting a group in .htaccess and only certain > users into that group), and it worked, but I didn't like the > user experience This is the same reason we don't do it this way. I would definitely like a 'issue_commands=' option for a contact, since we don't need to have any more granularity than that (eg, read this service, admin that one...) I'm currently wary, though, of making too many (any) modifications to Nagios 1.2 code when 2.0 is just around the corner. Too many site customisations mean an inability to upgrade. Prehaps this sort of thing can be submitted to the 2.0 development team? Steve ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From Christopher.Wianecki at sothebys.com Mon Feb 6 22:05:54 2006 From: Christopher.Wianecki at sothebys.com (Wianecki, Christopher) Date: Mon, 6 Feb 2006 16:05:54 -0500 Subject: No output - WRNING messages Message-ID: Thanks but I think I did all of that what you suggested, for example I did login as Nagios (this is as which user suppose to run those commands and I am able to run check_ping. Here is what I get: /appl/nagios/etc > su - nagios Sun Microsystems Inc. SunOS 5.8 Generic February 2000 $ bash bash-2.03$ libexec/check_ssh sunserver SSH OK - OpenSSH_3.1p1 (protocol 1.99) bash-2.03$ Also under web interface I get every item as WARNING with (No output!) under Status Information column. So under server defined as localhost I also do get the same for checks that I have: Current Load" Current Users PING Root Partition And Total Processes Any more ideas what could that be? Thanks. Chris -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Arno Lehmann Sent: Monday, February 06, 2006 2:46 PM To: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] No output - WRNING messages Hello, On 2/6/2006 6:54 PM, Wianecki, Christopher wrote: > Sunserver1 PING WARNING 02-06-2006 12:47:31 0d 0h 47m 25s 3/3 (No output!) > > > For some reason I am getting (NO output!) messages all the time, when I > access Service Detail. I cannot determine from logs why that is... I did > search FAQ for that but I was unable to get any information on this. When I > do run PING commands from shell I get output, when I run check_ping I also > do get output. Make sure you run these tests as the user nagios runs as. Most probably you'll see that you aren't allowed to run the commands in question. Also, for host checks at least, consider using check_icmp's alias of check_host instead of check_ping. Arno > But under web interface I get this message and lots of > warnings... > > Regards, > > Chris > > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the postmaster at postmaster at sothebys.com. > > > www.sothebys.com > ********************************************************************** > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the postmaster at postmaster at sothebys.com. www.sothebys.com ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From hvdkooij at vanderkooij.org Mon Feb 6 22:15:29 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 6 Feb 2006 22:15:29 +0100 (CET) Subject: No output - WRNING messages In-Reply-To: References: Message-ID: On Mon, 6 Feb 2006, Wianecki, Christopher wrote: > Thanks but I think I did all of that what you suggested, for example I did > login as Nagios (this is as which user suppose to run those commands and I > am able to run check_ping. Here is what I get: > /appl/nagios/etc > su - nagios > Sun Microsystems Inc. SunOS 5.8 Generic February 2000 > $ bash > bash-2.03$ libexec/check_ssh sunserver > SSH OK - OpenSSH_3.1p1 (protocol 1.99) > bash-2.03$ Right. But does a normal check run under the bash shell? By running bash like this your test is not like the real life situation. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From hvdkooij at vanderkooij.org Mon Feb 6 22:19:07 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 6 Feb 2006 22:19:07 +0100 (CET) Subject: nagiosgrapher v1.3 unreliable In-Reply-To: References: Message-ID: On Mon, 6 Feb 2006, Hugo van der Kooij wrote: > On Mon, 6 Feb 2006, Hugo van der Kooij wrote: > > > How can I establish if Nagios is in fact sending all the performance data? > > I forgot to add the config entries: > > nagios.cfg > > perfdata_timeout=5 > process_performance_data=1 > service_perfdata_command=process-service-perfdata > #service_perfdata_file_mode=a While reading the file I noticed that named pipes are one reason why one want to use the W option instead of the A option. And after only a short period it seems this seems to do the job much better. So the lines now reads: #service_perfdata_file_mode=a service_perfdata_file_mode=w Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From jperrin at gmail.com Mon Feb 6 22:13:46 2006 From: jperrin at gmail.com (Jim Perrin) Date: Mon, 6 Feb 2006 16:13:46 -0500 Subject: No output - WRNING messages In-Reply-To: References: Message-ID: <302ce8b50602061313n4275faa1xdee5866f1eece3f6@mail.gmail.com> On 2/6/06, Wianecki, Christopher wrote: > Thanks but I think I did all of that what you suggested, for example I did > login as Nagios (this is as which user suppose to run those commands and I > am able to run check_ping. Here is what I get: > /appl/nagios/etc > su - nagios > Sun Microsystems Inc. SunOS 5.8 Generic February 2000 > $ bash > bash-2.03$ libexec/check_ssh sunserver > SSH OK - OpenSSH_3.1p1 (protocol 1.99) > bash-2.03$ > > Also under web interface I get every item as WARNING with (No output!) under > Status Information column. So under server defined as localhost I also do > get the same for checks that I have: > Current Load" > Current Users > PING > Root Partition > And Total Processes > > Any more ideas what could that be? It's possible that your command is not defined properly. Do you have $USER1$ set, or are you pointing the full way to the plugin in the commandcfg ? -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From jim.pye at pyenet.co.nz Mon Feb 6 22:22:37 2006 From: jim.pye at pyenet.co.nz (Jim Pye) Date: Tue, 07 Feb 2006 10:22:37 +1300 Subject: No output - WRNING messages In-Reply-To: References: Message-ID: <1139260957.13178.5.camel@jimsx220.pyenet.co.nz> This could be a version of NRPE issue. Check out this on nagiosexchange: http://www.nagiosexchange.org/nagiosplug-devel.31.0.html?&tx_maillist tofaq_pi1[mode]=1&tx_maillisttofaq_pi1[showUid]=14546 (un-word wrap above) There is a bug in the 2.2 version. Download v 2.3 as this fixes this issue. Jim On Mon, 2006-02-06 at 12:54 -0500, Wianecki, Christopher wrote: > Sunserver1 PING WARNING 02-06-2006 12:47:31 0d 0h 47m 25s 3/3 (No output!) > > > For some reason I am getting (NO output!) messages all the time, when I > access Service Detail. I cannot determine from logs why that is... I did > search FAQ for that but I was unable to get any information on this. When I > do run PING commands from shell I get output, when I run check_ping I also > do get output. But under web interface I get this message and lots of > warnings... > > Regards, > > Chris > > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the postmaster at postmaster at sothebys.com. > > > www.sothebys.com > ********************************************************************** > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 -- Jim Pye PyeNet Universal email: jim.pye at pyenet.co.nz | Phone: +64 4 527 8284 | Fax: +64 4 528 9693 web site: http://www.pyenet.co.nz ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From Christopher.Wianecki at sothebys.com Mon Feb 6 22:24:48 2006 From: Christopher.Wianecki at sothebys.com (Wianecki, Christopher) Date: Mon, 6 Feb 2006 16:24:48 -0500 Subject: No output - WRNING messages Message-ID: Great, I did miss that.. thanks a lot for pointing this to me.. :) I think it will work now... Just to much on my head and I've missed that... I need to take a break from this maybe for a day or two... :) Thanks a lot once again. Chris -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jim Perrin Sent: Monday, February 06, 2006 4:14 PM To: Wianecki, Christopher Cc: Arno Lehmann; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] No output - WRNING messages On 2/6/06, Wianecki, Christopher wrote: > Thanks but I think I did all of that what you suggested, for example I did > login as Nagios (this is as which user suppose to run those commands and I > am able to run check_ping. Here is what I get: > /appl/nagios/etc > su - nagios > Sun Microsystems Inc. SunOS 5.8 Generic February 2000 > $ bash > bash-2.03$ libexec/check_ssh sunserver > SSH OK - OpenSSH_3.1p1 (protocol 1.99) > bash-2.03$ > > Also under web interface I get every item as WARNING with (No output!) under > Status Information column. So under server defined as localhost I also do > get the same for checks that I have: > Current Load" > Current Users > PING > Root Partition > And Total Processes > > Any more ideas what could that be? It's possible that your command is not defined properly. Do you have $USER1$ set, or are you pointing the full way to the plugin in the commandcfg ? -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the postmaster at postmaster at sothebys.com. www.sothebys.com ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From nagios at nagios.org Mon Feb 6 23:31:36 2006 From: nagios at nagios.org (Ethan Galstad) Date: Mon, 06 Feb 2006 16:31:36 -0600 Subject: Why the distinction between host definition and hostextinfo definition? In-Reply-To: <20060203114234.GB11467@torres.l21.ma.zugschlus.de> References: <20060203114234.GB11467@torres.l21.ma.zugschlus.de> Message-ID: <43E779E8.28942.B04CBB7@nagios.nagios.org> On 3 Feb 2006 at 12:42, Marc Haber wrote: > Hi, > > to me, the distinction between host definition and hostextinfo > definition seems artificial, awkward and clumsy - and it prevents some > of the more powerful features from being used with the information > that belongs into hostextinfo. > > Hostextinfo doesn't seem to support templates, and it doesn't seem to > be possible to set information that is set as hostextinfo from a host > group or via wildcards. > > This makes it extraordinarily hard to - for example - set host icons > for the status map, since it needs a dedicated hostextinfo definition > setting icon_image and statusmap_image for each host which might have > all other properties set from a template. > > Is there any reason for keeping this distinction and not including > hostextinfo into main configuration? > > Am I missing something here? > > Greetings > Marc The distinction has been maintained primarily for historical reasons. I will most likely be moving host/service extended info definitions into the host/service definitions in Nagios 3.0. Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From brady.maxwell at gmail.com Tue Feb 7 02:14:54 2006 From: brady.maxwell at gmail.com (Brady Maxwell) Date: Mon, 06 Feb 2006 20:14:54 -0500 Subject: NSCA Wierdness? Message-ID: <43E7F48E.9060406@gmail.com> I have errors in my nagios.log that look like this. [1139251531] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;IVAN;0;0 [1139251531] Warning: Passive check result was received for host 'IVAN', but the host could not be found! Ivan is a server on a remote network the nagios server there is using send_nsca to send service check results to a central server. The one with the log entries in question. In the host file on the central server i have defined IVAN. Anyone know why it will not process these results. thanks brady ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From s.shipway at auckland.ac.nz Tue Feb 7 02:30:06 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 7 Feb 2006 14:30:06 +1300 Subject: NSCA Wierdness? In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B1CF251@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B1CF251@vxchange.vcr.auckland.ac.nz> Message-ID: <00b501c62b86$06faf580$1d5cd882@438LG01sshi052> > [1139251531] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;IVAN;0;0 > [1139251531] Warning: Passive check result was received for > host 'IVAN', but the host could not be found! This message means that Nagios cannot find a host called 'IVAN' in the definitions. Are you 100% sure you have defined this host, on the server which is receiving the NSCA alerts and producing this log (the central server)? Have you defined it in all upper case, like the NSCA alert is being received? It's case sensitive, remember. Nagios will not automatically define a host just because it is defined on a downstream server, so you have to define it on both servers. Steve ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From MGarringer at APACMail.com Tue Feb 7 03:07:29 2006 From: MGarringer at APACMail.com (Garringer, Mark) Date: Mon, 6 Feb 2006 20:07:29 -0600 Subject: Nagios Behaviors Message-ID: <5EA1C2411752D711826C00B0D049CD8306A86D69@ntcr1104.apacteleservices.com> This may be rather long, please bare with me. I am currently running Nagios 2.0rc2 with 451 hosts and 1733 services. I've recently upgraded from Netsaint (0.78b I think). During this upgrade I took the time to reexamine my configurations to take advantage of the grouping logic and regular expression features in Nagios. This help make the setup much easier, faster, and more consistent than it ever was under Netsaint. Kudos! All of the following assumes that I'm doing things to the best of my understanding, and if they are incorrect or misguided in some way, I'd be more than happy to discuss the 'correct' way of implementing these features. I'm starting to run into a few operational issues that I'd like to raise. One of the most annoying is that RECOVERY should actually have a state for EACH type of RECOVERY that can exist. That way, I'm not getting RECOVERY notices for WARNINGS that I didn't get in the first place (because I don't care about WARNINGS in most cases.). I should only ever get RECOVERY for states which I've already indicated I want to receive their corresponding original alert from. The other is that HOST level notification/check_periods should be inherited by any service being check on that HOST unless explicitly overridden. For example, I have a host with 10 services on it (checking disk space in various file systems, checking for certain named processes to be running) and it has a HOST level notification_period (maintenance window) from Saturday at 1800 till Sunday 1000. Every week. I don't want to, or need to know about service changes during these times. I'm the user, and I'm requesting a black out of notifications during this time. If there are (still) problems after 1000 on Sunday, I do need to know about them or take action. The best answers I can seem to find seem to be workarounds that will cause me more overall upkeep and/or are counter to the whole idea of using grouping logic to begin with. Creating a separate, non-dynamic cron offshoot to take care of this for me while functional requires me to basically go and define another list of items (and upkeep them) to deal with and is completely external to Nagios. Defining each service individually so that they all can have 1 host assigned to them so they can have different maintenance windows as needed is totally against the grouping logic and allows again for much easier divergence from a set standard. Having 25 linux machines all in a linux host group because I want to check 10 common services rocks. However, not all 25 servers will have the same (or even overlapping) maintenance windows, so creating 25*10 separate service entries instead of just 10 sucks eggs. Maintaining the maintenance window at the host level makes perfect sense to me. Creating more host groups doesn't seem like any better of a solution and will just make things more difficult to find under the Hostgroup sections of the web display. By not understanding something am I trying to use this in a way which it was never intended? This seem like a pretty logical feature to me, of course. Can anyone offer me advice? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From JoAnne.Schmitz at baltsun.com Tue Feb 7 04:18:29 2006 From: JoAnne.Schmitz at baltsun.com (JoAnne.Schmitz at baltsun.com) Date: Mon, 6 Feb 2006 22:18:29 -0500 Subject: Notifications not coming through Message-ID: I am running Nagios 2.0b3. About a week and a half ago, notifications stopped going out in email or page. I didn't notice it until Saturday, unfortunately, and I've been changing the .cfg files throughout that time, so I can't be sure what things looked like "before" versus "after." The odd thing is that verification shows no major problems. And it thinks it did send out the notifications. If I go to the notification page, it shows all the alerts that should have been sent, to me and others. So it's not a question of a status I think should trigger a notification and doesn't. It's just that the notification never gets anywhere. If I go to the mail spool, there doesn't seem to be anything waiting. If I look at the mail log, it doesn't show anything being sent from Nagios. Any ideas where I should look for clues? Thanks, JoAnne ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From soumya.nambiar at satconet.com Tue Feb 7 07:02:08 2006 From: soumya.nambiar at satconet.com (Soumya Nambiar) Date: Tue, 7 Feb 2006 09:02:08 +0300 Subject: Sending availability reports by email Message-ID: <006d01c62bac$07f9d2a0$0702a8c0@stcl.com> Hi, Is there any way by which we can send the availability report of a hostgroup for a certain period of time by email automatically.(maybe say once a week). Soumya Nambiar Satcom Networks Africa Ltd -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 1480 bytes Desc: not available URL: From frederik.vanhee at perso.be Tue Feb 7 07:27:47 2006 From: frederik.vanhee at perso.be (Frederik Vanhee) Date: Tue, 07 Feb 2006 07:27:47 +0100 Subject: Why the distinction between host definition and hostextinfo definition? In-Reply-To: <43E779E8.28942.B04CBB7@nagios.nagios.org> References: <43E779E8.28942.B04CBB7@nagios.nagios.org> Message-ID: <43E83DE3.3020600@perso.be> Ethan Galstad wrote: >On 3 Feb 2006 at 12:42, Marc Haber wrote: > > > >>Hi, >> >>to me, the distinction between host definition and hostextinfo >>definition seems artificial, awkward and clumsy - and it prevents some >>of the more powerful features from being used with the information >>that belongs into hostextinfo. >> >>Hostextinfo doesn't seem to support templates, and it doesn't seem to >>be possible to set information that is set as hostextinfo from a host >>group or via wildcards. >> >>This makes it extraordinarily hard to - for example - set host icons >>for the status map, since it needs a dedicated hostextinfo definition >>setting icon_image and statusmap_image for each host which might have >>all other properties set from a template. >> >>Is there any reason for keeping this distinction and not including >>hostextinfo into main configuration? >> >>Am I missing something here? >> >>Greetings >>Marc >> >> > >The distinction has been maintained primarily for historical reasons. > I will most likely be moving host/service extended info definitions >into the host/service definitions in Nagios 3.0. > > > >Ethan Galstad, >Nagios Developer >--- >Email: nagios at nagios.org >Website: http://www.nagios.org > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >_______________________________________________ >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 > > > >This makes it extraordinarily hard to - for example - set host icons >for the status map, since it needs a dedicated hostextinfo definition >setting icon_image and statusmap_image for each host which might have >all other properties set from a template. Why don't you use the hostgroup_name in the hostextinfo definition ? Then you don't have to define images for each and every host define hostextinfo{ hostgroup_name notes icon_image statusmap_image notes_url } ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From hvdkooij at vanderkooij.org Tue Feb 7 08:01:00 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 7 Feb 2006 08:01:00 +0100 (CET) Subject: nagiosgrapher v1.3 unreliable In-Reply-To: References: Message-ID: On Mon, 6 Feb 2006, Hugo van der Kooij wrote: > On Mon, 6 Feb 2006, Hugo van der Kooij wrote: > > > On Mon, 6 Feb 2006, Hugo van der Kooij wrote: > > > > > How can I establish if Nagios is in fact sending all the performance data? > > > > I forgot to add the config entries: > > > > nagios.cfg > > > > perfdata_timeout=5 > > process_performance_data=1 > > service_perfdata_command=process-service-perfdata > > #service_perfdata_file_mode=a > > While reading the file I noticed that named pipes are one reason why one > want to use the W option instead of the A option. > > And after only a short period it seems this seems to do the job much > better. > > So the lines now reads: > > #service_perfdata_file_mode=a > service_perfdata_file_mode=w Spoken way to soon. The current state is rather bad in fact. The rrd files tresholds are not exceeded as this would result in entries in ngraph.log but not in the rrdfile itself. (In fact I would see errors in there, if this was the case.) hours of missing activities can not be explained by step values being too small. Most certainly not if 4 different virtual http servers on 1 machine show completely different gaps in the graphs but no events in the nagios log. So I have stopped nagiosgrapher for the moment and am sending performance data to a file to see if that shows the same amount of gaps in the prformance data. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From e.olivares at mju.es Tue Feb 7 09:19:46 2006 From: e.olivares at mju.es (Enrique Olivares) Date: Tue, 7 Feb 2006 09:19:46 +0100 Subject: web and 3-D Status Map <<< Page not found Message-ID: <008801c62bbf$41a33240$687a0c0a@mju.es> hELLo, Bad link, jejejeje. What of this is into this page http://www.web3d.org/x3d/vrml/tools/viewers_and_browsers/ ? 2s Enrique Olivares Garrido ----- Original Message ----- From: "Wianecki, Christopher" To: "'Marc Powell'" ; "'Nagios users'" Sent: Monday, February 06, 2006 4:37 PM Subject: RE: [Nagios-users] web and 3-D Status Map > Ups, sorry I've missed that one.. Thank you. > > Chris > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell > Sent: Monday, February 06, 2006 10:25 AM > To: Nagios users > Subject: RE: [Nagios-users] web and 3-D Status Map > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Wianecki, Christopher > > Sent: Monday, February 06, 2006 9:16 AM > > To: 'nagios-users at lists.sourceforge.net' > > Subject: [Nagios-users] web and 3-D Status Map > > > > Whenever I do press on 3-D Status Map I get a File Download window > where > > it > > asks me to save file called statuswrl, how can I remove this or have > it > > fixed? Do I need to install any kind of plugin on my browser since it > does > > not recognize that format? If yes what plugin do I need to download? I > did > > not find much info about that... Thanks. > > http://www.nagios.org/faqs/viewfaq.php?faq_id=52&expand=false&showdesc=f > alse > > -- > Marc > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the postmaster at postmaster at sothebys.com. > > > www.sothebys.com > ********************************************************************** > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.371 / Virus Database: 267.15.0/248 - Release Date: 01/02/06 > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From shoktai at gmail.com Tue Feb 7 11:00:58 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Tue, 7 Feb 2006 11:00:58 +0100 Subject: Logs, alerts and notifications not on the "same page" Message-ID: <619cf3c0602070200h13950732o@mail.gmail.com> Hello, I have a problem after a server restart. I am checking the used space disk with check_net plugins that comes to work with pnsclient. Pnsclient is installed on server and running fine (restarted it btw). When i launch the service by hand i get this : ../libexec/check_nt -H 10.8.1.3 -p 1248 -v USEDDISKSPACE -w 80 -c 90 Connection refused could not fetch information from server and strange thing is that log is empty but notifications are sent i have another check that uses nsclient for memuse and there's also a strange behaviour : ../libexec/check_nt -H 10.8.1.3 -p 1248 -v MEMUSE -w 80 -c 90 Connection refused could not fetch information from server and the log gives [07-02-2006 10:30:21] SERVICE ALERT: frparsv03;Memory usage;OK;HARD;1;Memory usage: total:3113.55 Mb - used: 1052.43 Mb (34%) - free: 2061.12 Mb (66%) Memory usage but in the web interface the service is in OK state OK 07-02-2006 10:50:13 6d 15h 0m 11s 1/4 Memory usage: total:3113.55 Mb - used: 1052.62 Mb (34%) - free: 2060.93 Mb (66%) I am right now a bit confused, any highlights would greatly be appreciated. Cheers. Thanks and regards Nagios 1.3 plugs 1.4 - Le bon sens est la chose du monde la mieux partag?e. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From andrea.coppo at erptech.it Tue Feb 7 11:33:07 2006 From: andrea.coppo at erptech.it (Andrea Coppo) Date: Tue, 7 Feb 2006 11:33:07 +0100 Subject: check_http problem with $ char in url Message-ID: <1139308387.43e8776349a74@webmail.erptech.it> I have problem with check_http checking the url: http://192.168.25.191:4056/CICS/CWBA/DFH$WB1A Problem is "$" in services.cfg: check_command check_http_new!/CICS/CWBA/DFH\$WB1A!4056!"successfully" in checkcommands.cfg: command_name check_http_new command_line $USER1$/check_http_new $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ # cat ../libexec/check_http_new #!/bin/bash LOUTPUT=`/usr/local/nagios/libexec/check_http -H $1 -u $2 -p $3 -R "$4"` echo $1 $2 $3 $4 > /tmp/http_out.txt echo $LOUTPUT # cat /tmp/http_out.txt 192.168.25.191 /CICS/CWBA/DFH$WB1A$ 4056 successfully HTTP WARNING: HTTP/1.0 400 Bad Request I tried to escape the $ with \ , \\ , '/CICS/CWBA/DFH$WB1A' nagios add a second "$" at the end of the url... Why ? Do you have ideas to solve my problem ? thanks, bye. Andrea ---------------------------------------------------------------------- http://www.erptech.it/ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From nagiosadmin at snef.fr Tue Feb 7 11:52:59 2006 From: nagiosadmin at snef.fr (nagiosadmin) Date: Tue, 7 Feb 2006 11:52:59 +0100 Subject: check_http problem with $ char in url In-Reply-To: <1139308387.43e8776349a74@webmail.erptech.it> References: <1139308387.43e8776349a74@webmail.erptech.it> Message-ID: <000901c62bd4$a9002d20$c26710ac@sneftech.local> Hi, You just have to do this in your services.cfg : check_command check_http_new!/CICS/CWBA/DFH\$$WB1A!4056!"successfully" --> put an additional "$". That's all folks !! Davy Gaussen -----Message d'origine----- De?: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] De la part de Andrea Coppo Envoy??: mardi 7 f?vrier 2006 11:33 ??: nagios-users at lists.sourceforge.net Objet?: [Nagios-users] check_http problem with $ char in url I have problem with check_http checking the url: http://192.168.25.191:4056/CICS/CWBA/DFH$WB1A Problem is "$" in services.cfg: check_command check_http_new!/CICS/CWBA/DFH\$WB1A!4056!"successfully" in checkcommands.cfg: command_name check_http_new command_line $USER1$/check_http_new $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ # cat ../libexec/check_http_new #!/bin/bash LOUTPUT=`/usr/local/nagios/libexec/check_http -H $1 -u $2 -p $3 -R "$4"` echo $1 $2 $3 $4 > /tmp/http_out.txt echo $LOUTPUT # cat /tmp/http_out.txt 192.168.25.191 /CICS/CWBA/DFH$WB1A$ 4056 successfully HTTP WARNING: HTTP/1.0 400 Bad Request I tried to escape the $ with \ , \\ , '/CICS/CWBA/DFH$WB1A' nagios add a second "$" at the end of the url... Why ? Do you have ideas to solve my problem ? thanks, bye. Andrea ---------------------------------------------------------------------- http://www.erptech.it/ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From simvirus at gmail.com Tue Feb 7 12:16:29 2006 From: simvirus at gmail.com (Sim) Date: Tue, 7 Feb 2006 12:16:29 +0100 Subject: NRPE and allowed_hosts after v.2.0 Message-ID: Hi! Why allowed_hosts isn't present in version >2.0... ? I'm not using xinetd, and now I can't set allowed hosts. Is there a solution, without xinetd or iptables? Thanks! ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From todd_barbera at wgbh.org Tue Feb 7 13:34:35 2006 From: todd_barbera at wgbh.org (Todd Barbera) Date: Tue, 07 Feb 2006 07:34:35 -0500 Subject: Nagios Behaviors In-Reply-To: <5EA1C2411752D711826C00B0D049CD8306A86D69@ntcr1104.apacteleservices.com> References: <5EA1C2411752D711826C00B0D049CD8306A86D69@ntcr1104.apacteleservices.com> Message-ID: <005301c62be2$daa5f3b0$147810ac@GRAPEAPE> Hi Mark, I too had submitted an e-mail asking if passing the host properties along to the services would have some detrimental impact, but I didn't receive a reply. I agree that it would certainly make the services.cfg file much simpler to maintain if you didn't have to set up multiple services in order to create different views for various user groups. For instance, all my hosts are setup for PING. If I want notifications sent out to specific users for specific hosts, I have to have multiple iterations of PING in my services.cfg file. If I try to add all contacts to PING, then the see every host in the interface. This is not desirable since I only want them to see the hosts and services for which they have a stake in. I think this is a greater design question that may be best answered by Ethan, but if anyone else has thoughts on the matter I'd be happy to hear the response. Best regards, Todd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Garringer, Mark Sent: Monday, February 06, 2006 9:07 PM To: 'Nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Nagios Behaviors This may be rather long, please bare with me. I am currently running Nagios 2.0rc2 with 451 hosts and 1733 services. I've recently upgraded from Netsaint (0.78b I think). During this upgrade I took the time to reexamine my configurations to take advantage of the grouping logic and regular expression features in Nagios. This help make the setup much easier, faster, and more consistent than it ever was under Netsaint. Kudos! All of the following assumes that I'm doing things to the best of my understanding, and if they are incorrect or misguided in some way, I'd be more than happy to discuss the 'correct' way of implementing these features. I'm starting to run into a few operational issues that I'd like to raise. One of the most annoying is that RECOVERY should actually have a state for EACH type of RECOVERY that can exist. That way, I'm not getting RECOVERY notices for WARNINGS that I didn't get in the first place (because I don't care about WARNINGS in most cases.). I should only ever get RECOVERY for states which I've already indicated I want to receive their corresponding original alert from. The other is that HOST level notification/check_periods should be inherited by any service being check on that HOST unless explicitly overridden. For example, I have a host with 10 services on it (checking disk space in various file systems, checking for certain named processes to be running) and it has a HOST level notification_period (maintenance window) from Saturday at 1800 till Sunday 1000. Every week. I don't want to, or need to know about service changes during these times. I'm the user, and I'm requesting a black out of notifications during this time. If there are (still) problems after 1000 on Sunday, I do need to know about them or take action. The best answers I can seem to find seem to be workarounds that will cause me more overall upkeep and/or are counter to the whole idea of using grouping logic to begin with. Creating a separate, non-dynamic cron offshoot to take care of this for me while functional requires me to basically go and define another list of items (and upkeep them) to deal with and is completely external to Nagios. Defining each service individually so that they all can have 1 host assigned to them so they can have different maintenance windows as needed is totally against the grouping logic and allows again for much easier divergence from a set standard. Having 25 linux machines all in a linux host group because I want to check 10 common services rocks. However, not all 25 servers will have the same (or even overlapping) maintenance windows, so creating 25*10 separate service entries instead of just 10 sucks eggs. Maintaining the maintenance window at the host level makes perfect sense to me. Creating more host groups doesn't seem like any better of a solution and will just make things more difficult to find under the Hostgroup sections of the web display. By not understanding something am I trying to use this in a way which it was never intended? This seem like a pretty logical feature to me, of course. Can anyone offer me advice? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From foranor at gmail.com Tue Feb 7 15:29:07 2006 From: foranor at gmail.com (Kai Reese) Date: Tue, 7 Feb 2006 15:29:07 +0100 Subject: Nagios Behaviors In-Reply-To: <005301c62be2$daa5f3b0$147810ac@GRAPEAPE> References: <5EA1C2411752D711826C00B0D049CD8306A86D69@ntcr1104.apacteleservices.com> <005301c62be2$daa5f3b0$147810ac@GRAPEAPE> Message-ID: <640e25ca0602070629g5c8bece0p40485a84fe53b971@mail.gmail.com> Hey. Maybe I'm missing the scope of things, but where are repetetive iterations of PING a problem when you work with templates? I'm working in a much smaller scope here than Mark and I've wondered about repetetive service-entries as well, but I've come to the conclusion that by using templates I can avoid most of the problems that these multiple entries create, even more so when -as I understand is your problem- the only thing that changes are the contacts. I would however see problems with an overhaul of the way things are addressed at this moment for matters of portability and upgradability. I would imagine the hassle of defining 25*10 services is less than migrating all your hosts and service-definitions to a new setup/layout. Also, at this very moment, I'm wondering if services maybe support the 'contact' entries, since they also do work with the (undocumented) hostgroup_name entries. Wouldn't that solve most of your problems? Did I misunderstand your problem at some point or is what I just wondered exactly the solution you were asking to be implemented? Kai On 2/7/06, Todd Barbera wrote: > > > Hi Mark, > > > > I too had submitted an e-mail asking if passing the host properties along to > the services would have some detrimental impact, but I didn't receive a > reply. I agree that it would certainly make the services.cfg file much > simpler to maintain if you didn't have to set up multiple services in order > to create different views for various user groups. For instance, all my > hosts are setup for PING. If I want notifications sent out to specific users > for specific hosts, I have to have multiple iterations of PING in my > services.cfg file. If I try to add all contacts to PING, then the see every > host in the interface. This is not desirable since I only want them to see > the hosts and services for which they have a stake in. I think this is a > greater design question that may be best answered by Ethan, but if anyone > else has thoughts on the matter I'd be happy to hear the response. > > > > Best regards, > > > > Todd > > > > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Garringer, Mark > Sent: Monday, February 06, 2006 9:07 PM > To: 'Nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Nagios Behaviors > > > > This may be rather long, please bare with me. > > I am currently running Nagios 2.0rc2 with 451 hosts and 1733 services. I've > recently upgraded from Netsaint (0.78b I think). During this upgrade I took > the time to reexamine my configurations to take advantage of the grouping > logic and regular expression features in Nagios. This help make the setup > much easier, faster, and more consistent than it ever was under Netsaint. > Kudos! > > All of the following assumes that I'm doing things to the best of my > understanding, and if they are incorrect or misguided in some way, I'd be > more than happy to discuss the 'correct' way of implementing these features. > > I'm starting to run into a few operational issues that I'd like to raise. > One of the most annoying is that RECOVERY should actually have a state for > EACH type of RECOVERY that can exist. That way, I'm not getting RECOVERY > notices for WARNINGS that I didn't get in the first place (because I don't > care about WARNINGS in most cases.). I should only ever get RECOVERY for > states which I've already indicated I want to receive their corresponding > original alert from. > > The other is that HOST level notification/check_periods should be inherited > by any service being check on that HOST unless explicitly overridden. > > For example, I have a host with 10 services on it (checking disk space in > various file systems, checking for certain named processes to be running) > and it has a HOST level notification_period (maintenance window) from > Saturday at 1800 till Sunday 1000. Every week. I don't want to, or need to > know about service changes during these times. I'm the user, and I'm > requesting a black out of notifications during this time. If there are > (still) problems after 1000 on Sunday, I do need to know about them or take > action. The best answers I can seem to find seem to be workarounds that will > cause me more overall upkeep and/or are counter to the whole idea of using > grouping logic to begin with. > > Creating a separate, non-dynamic cron offshoot to take care of this for me > while functional requires me to basically go and define another list of > items (and upkeep them) to deal with and is completely external to Nagios. > > Defining each service individually so that they all can have 1 host assigned > to them so they can have different maintenance windows as needed is totally > against the grouping logic and allows again for much easier divergence from > a set standard. Having 25 linux machines all in a linux host group because I > want to check 10 common services rocks. However, not all 25 servers will > have the same (or even overlapping) maintenance windows, so creating 25*10 > separate service entries instead of just 10 sucks eggs. Maintaining the > maintenance window at the host level makes perfect sense to me. > > Creating more host groups doesn't seem like any better of a solution and > will just make things more difficult to find under the Hostgroup sections of > the web display. > > By not understanding something am I trying to use this in a way which it was > never intended? This seem like a pretty logical feature to me, of course. > Can anyone offer me advice? > > Thanks! ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From moshesharon at gmail.com Tue Feb 7 16:27:19 2006 From: moshesharon at gmail.com (moshe sharon) Date: Tue, 7 Feb 2006 17:27:19 +0200 Subject: NRPE and allowed_hosts after v.2.0 In-Reply-To: References: Message-ID: <88ad29240602070727p1fa61f99r4b3d8bf9262bbe52@mail.gmail.com> hello allowed_hosts under xinetd never worked(you can read it in the docs) instead you can use the settings of xinetd "only_from" and enter the server ip. if you run the nrpe in standalone mode the allowed_hosts working Moshe Sharon On 2/7/06, Sim wrote: > > Hi! > > Why allowed_hosts isn't present in version >2.0... ? > > I'm not using xinetd, and now I can't set allowed hosts. > > Is there a solution, without xinetd or iptables? > > Thanks! > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642 > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brady.maxwell at gmail.com Tue Feb 7 16:30:29 2006 From: brady.maxwell at gmail.com (Brady Maxwell) Date: Tue, 07 Feb 2006 10:30:29 -0500 Subject: NSCA Wierdness? In-Reply-To: <00b501c62b86$06faf580$1d5cd882@438LG01sshi052> References: <00b501c62b86$06faf580$1d5cd882@438LG01sshi052> Message-ID: <43E8BD15.8070403@gmail.com> Steve, Yes I am certain I defined the host. I think the issue was caused because I basically did a cut and paste from the host file on the distributed server to the central server. I remarked out the ip of the box IVAN (as well as many others) in the host file afterward and I think these messages went away. Also I disabled host checking on the central box because none of the monitored hosts are accessable on the local network. I am not sure this was the correct way to get rid of this warning but I am still working on it. :) Thanks Brady Steve Shipway wrote: >> [1139251531] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;IVAN;0;0 >> [1139251531] Warning: Passive check result was received for >> host 'IVAN', but the host could not be found! >> > > This message means that Nagios cannot find a host called 'IVAN' in the > definitions. > > Are you 100% sure you have defined this host, on the server which is > receiving the NSCA alerts and producing this log (the central server)? Have > you defined it in all upper case, like the NSCA alert is being received? > It's case sensitive, remember. Nagios will not automatically define a host > just because it is defined on a downstream server, so you have to define it > on both servers. > > Steve > > > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From simvirus at gmail.com Tue Feb 7 16:36:33 2006 From: simvirus at gmail.com (Sim) Date: Tue, 7 Feb 2006 16:36:33 +0100 Subject: NRPE and allowed_hosts after v.2.0 In-Reply-To: <88ad29240602070727p1fa61f99r4b3d8bf9262bbe52@mail.gmail.com> References: <88ad29240602070727p1fa61f99r4b3d8bf9262bbe52@mail.gmail.com> Message-ID: > you run the nrpe in standalone mode > the allowed_hosts working Hi! It isn't true :( # cd nrpe-2.0/src/ # grep "allowed_hosts" * Binary file nrpe matches nrpe.c:char allowed_hosts[MAX_INPUT_BUFFER]; nrpe.c: else if(!strcmp(varname,"allowed_hosts")){ nrpe.c: if(strlen(input_buffer)>sizeof(allowed_hosts)){ nrpe.c: strncpy(allowed_hosts,varvalue,sizeof(allowed_hosts)); nrpe.c: allowed_hosts[sizeof(allowed_hosts)-1]='\x0'; nrpe.c: syslog(LOG_DEBUG,"Allowing connections from: %s\n",allowed_hosts); nrpe.c: strncpy(temp_buffer,allowed_hosts,sizeof(temp_buffer)); # cd nrpe-2.3/src/ # grep "allowed_hosts" * # Thanks! ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From brady.maxwell at gmail.com Tue Feb 7 16:47:42 2006 From: brady.maxwell at gmail.com (Brady Maxwell) Date: Tue, 07 Feb 2006 10:47:42 -0500 Subject: NSCA messages Message-ID: <43E8C11E.5000105@gmail.com> I am getting stuff like this on my distributed server. It had been working and I do not think I changed anything. Could this be because the distributed server can not reach the central server? Feb 7 07:48:01 Netcarenagios nagios: Warning: OCSP command '/usr/local/nagios/libexec/eventhandlers/submit_check_result IVAN 'UPTIME' OK '$OUTPUT$'' for ser vice 'UPTIME' on host 'IVAN' timed out after 5 seconds ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From brady.maxwell at gmail.com Tue Feb 7 16:37:24 2006 From: brady.maxwell at gmail.com (Brady Maxwell) Date: Tue, 07 Feb 2006 10:37:24 -0500 Subject: spam protection on the nagios mailing list In-Reply-To: <302ce8b50602051336y81fe748sa1b1e762b15b433@mail.gmail.com> References: <302ce8b50602051336y81fe748sa1b1e762b15b433@mail.gmail.com> Message-ID: <43E8BEB4.5030300@gmail.com> Its very annoying. Personally I would dive off a cliff before i took this approach to filtering my email. How annoying for all your friends. I just added a filter so that these emails go straight to my junk folder. :) Jim Perrin wrote: > I understand the need for spam protection and all, but why would you > subscribe an address that requires confirmation for EVERY post to a > mailing list? Are other people seeing this? > > > > Ol?, > > Voc? enviou uma mensagem para marcelo_imai at uol.com.br > Para que sua mensagem seja encaminhada, por favor, clique aqui > > > Esta confirma??o ? necess?ria porque marcelo_imai at uol.com.br usa o > Antispam UOL, um programa que elimina mensagens enviadas por rob?s, > como pornografia, propaganda e correntes. > > As pr?ximas mensagens enviadas para marcelo_imai at uol.com.br n?o > precisar?o ser confirmadas*. > *Caso voc? receba outro pedido de confirma??o, por favor, pe?a para > marcelo_imai at uol.com.br inclu?-lo em sua lista de > > > > I'm of the opinion that addresses with this type of requirement should > not be subscribed to a mailing list. What do others think? > > -- > "They that can give up essential liberty to obtain a little temporary > safety deserve neither liberty nor safety'' > Benjamin Franklin 1775 > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 > _______________________________________________ > 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 > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From mh+nagios-users at zugschlus.de Tue Feb 7 14:44:31 2006 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Tue, 7 Feb 2006 14:44:31 +0100 Subject: Why the distinction between host definition and hostextinfo definition? In-Reply-To: <43E779E8.28942.B04CBB7@nagios.nagios.org> References: <20060203114234.GB11467@torres.l21.ma.zugschlus.de> <43E779E8.28942.B04CBB7@nagios.nagios.org> Message-ID: <20060207134431.GN26710@torres.l21.ma.zugschlus.de> On Mon, Feb 06, 2006 at 04:31:36PM -0600, Ethan Galstad wrote: > On 3 Feb 2006 at 12:42, Marc Haber wrote: > > Is there any reason for keeping this distinction and not including > > hostextinfo into main configuration? > > > The distinction has been maintained primarily for historical reasons. Thanks for confirming my guess. > I will most likely be moving host/service extended info definitions > into the host/service definitions in Nagios 3.0. Too bad it's too late for Nagios 2. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From moshesharon at gmail.com Tue Feb 7 16:33:37 2006 From: moshesharon at gmail.com (moshe sharon) Date: Tue, 7 Feb 2006 17:33:37 +0200 Subject: Sending availability reports by email In-Reply-To: <006d01c62bac$07f9d2a0$0702a8c0@stcl.com> References: <006d01c62bac$07f9d2a0$0702a8c0@stcl.com> Message-ID: <88ad29240602070733t6f75579cq76197445c0646572@mail.gmail.com> > > hello > > its not a built in feature but you can use wget you can access your report > ( along with username and password from the command line fro example: wget http://your_nagios_server/nagios/cgi-bin/avail.cgi?show_log_entries=&host=all&timeperiod=last7day and pipe it to mail program Moshe Sharon -------------- next part -------------- An HTML attachment was scrubbed... URL: From brady.maxwell at gmail.com Tue Feb 7 18:03:24 2006 From: brady.maxwell at gmail.com (Brady Maxwell) Date: Tue, 07 Feb 2006 12:03:24 -0500 Subject: NSCA messages In-Reply-To: <1444.11131139328064.mail2.dataarmor.net@MHS> References: <1444.11131139328064.mail2.dataarmor.net@MHS> Message-ID: <43E8D2DC.6000300@gmail.com> I tried the telnet and was able to connect to the port with out a problem. I am so confused. :) Sumit Malhotra wrote: > Should be ...to confirm... > > telnet > > Where is on which you have configured NSCA on - most > probably 5667) > > If it's getting timed out, it shouldn't respond. > > Thanks. > Sumit > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Brady Maxwell > Sent: Tuesday, February 07, 2006 9:18 PM > To: Nagios users > Subject: [Nagios-users] NSCA messages > > I am getting stuff like this on my distributed server. It had been > working and I do not think I changed anything. > > Could this be because the distributed server can not reach the central > server? > > > Feb 7 07:48:01 Netcarenagios nagios: Warning: OCSP command > '/usr/local/nagios/libexec/eventhandlers/submit_check_result IVAN > 'UPTIME' OK '$OUTPUT$'' for ser > vice 'UPTIME' on host 'IVAN' timed out after 5 seconds > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From chad.osmond at holburn.com Tue Feb 7 14:32:52 2006 From: chad.osmond at holburn.com (Chad Osmond) Date: Tue, 7 Feb 2006 08:32:52 -0500 Subject: Embedded Perl and check_disk_smb stopped working Message-ID: I just upgraded to 2.0rc2 and it seems that my check_disk_smb.pl doesn't work any more. Any one have a suggestion? I've verified that utils.pm does exist in the /usr/lib/nagios/plugins directory and tried copying it to one of the @INC directories (/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi ) but it still doesn't seem to work. Here is the error message: **ePN failed to compile /usr/lib/nagios/plugins/check_disk_smb: "Can't locate utils.pm in @INC (@INC contains: nagios/plugins /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3" at /usr/sbin/p1.pl line Thanks, Chad ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From smalhotra at dataarmor.net Tue Feb 7 16:55:39 2006 From: smalhotra at dataarmor.net (Sumit Malhotra) Date: Tue, 7 Feb 2006 21:25:39 +0530 Subject: NSCA messages In-Reply-To: <43E8C11E.5000105@gmail.com> References: <43E8C11E.5000105@gmail.com> Message-ID: <1444.11131139328064.mail2.dataarmor.net@MHS> Should be ...to confirm... telnet Where is on which you have configured NSCA on - most probably 5667) If it's getting timed out, it shouldn't respond. Thanks. Sumit -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Brady Maxwell Sent: Tuesday, February 07, 2006 9:18 PM To: Nagios users Subject: [Nagios-users] NSCA messages I am getting stuff like this on my distributed server. It had been working and I do not think I changed anything. Could this be because the distributed server can not reach the central server? Feb 7 07:48:01 Netcarenagios nagios: Warning: OCSP command '/usr/local/nagios/libexec/eventhandlers/submit_check_result IVAN 'UPTIME' OK '$OUTPUT$'' for ser vice 'UPTIME' on host 'IVAN' timed out after 5 seconds ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From kidd1270 at gmail.com Tue Feb 7 19:20:18 2006 From: kidd1270 at gmail.com (Kidd Chaos) Date: Tue, 7 Feb 2006 13:20:18 -0500 Subject: Host State Breakdowns show over 100 percent Message-ID: <91a354090602071020v45187dccw4ab2acb042b43ee8@mail.gmail.com> ---------------------------question start------------------------ Anyone know why does my Host State Breakdowns DOWN show over 100% for this one site? UP Unscheduled 0d 0h 0m 0s 0.000% 0.000% Scheduled 0d 0h 0m 0s 0.000% 0.000% Total 0d 0h 0m 0s 0.000% 0.000% DOWN Unscheduled 32d 22h 13m 50s 99.968% 100.000% Scheduled 4d 14h 31m 44s 12.267% 12.271% Total 37d 12h 45m 34s 99.968% 100.000% UNREACHABLE Unscheduled 0d 0h 0m 0s 0.000% 0.000% Scheduled 0d 0h 0m 0s 0.000% 0.000% Total 0d 0h 0m 0s 0.000% 0.000% Undetermined Nagios Not Running 0d 0h 17m 14s 0.032% Insufficient Data 0d 0h 0m 0s 0.000% Total 0d 0h 17m 14s 0.032% All Total 37d 13h 2m 48s 100.000% 100.000% -assume initial states =yes -assume state retention=yes (it is) -first assumed host state=unspecified -backtracked archives=40 -report period=current time range --------------------------end----------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mh+nagios-users at zugschlus.de Tue Feb 7 14:47:43 2006 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Tue, 7 Feb 2006 14:47:43 +0100 Subject: Why the distinction between host definition and hostextinfo definition? In-Reply-To: <43E83DE3.3020600@perso.be> References: <43E779E8.28942.B04CBB7@nagios.nagios.org> <43E83DE3.3020600@perso.be> Message-ID: <20060207134743.GO26710@torres.l21.ma.zugschlus.de> On Tue, Feb 07, 2006 at 07:27:47AM +0100, Frederik Vanhee wrote: > Why don't you use the hostgroup_name in the hostextinfo definition ? Because I didn't know that hostgroup_name was possible in hostextinfo. It is not documented in xodtemplate.html for 2.0rc2, but has now been verified to work. Thanks for pointing this out. The availability of hostgroup_name in hostexinfo should definetely be in the docs for the 2.x release. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From mkoponick at redhawk.info Tue Feb 7 19:34:06 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Tue, 7 Feb 2006 10:34:06 -0800 Subject: NSCA messages Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109BB7@raptor.redhawk.info> I actually had a similar issue last week with NSCA. It would time-out; however I was able to telnet to the correct host/port. The problem I found was that the macros were somehow incorrect for the "submit_check" command that I used. For some reason, it showed that it timed out, rather than showing an error of an incorrect macro. Go figure. Mike -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sumit Malhotra Sent: Tuesday, February 07, 2006 7:56 AM To: brady.maxwell at gmail.com; 'Nagios users' Subject: RE: [Nagios-users] NSCA messages Should be ...to confirm... telnet Where is on which you have configured NSCA on - most probably 5667) If it's getting timed out, it shouldn't respond. Thanks. Sumit -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Brady Maxwell Sent: Tuesday, February 07, 2006 9:18 PM To: Nagios users Subject: [Nagios-users] NSCA messages I am getting stuff like this on my distributed server. It had been working and I do not think I changed anything. Could this be because the distributed server can not reach the central server? Feb 7 07:48:01 Netcarenagios nagios: Warning: OCSP command '/usr/local/nagios/libexec/eventhandlers/submit_check_result IVAN 'UPTIME' OK '$OUTPUT$'' for ser vice 'UPTIME' on host 'IVAN' timed out after 5 seconds ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From donnell.lewis at icoretechnology.com Tue Feb 7 19:42:18 2006 From: donnell.lewis at icoretechnology.com (Don Lewis) Date: Tue, 07 Feb 2006 13:42:18 -0500 Subject: Embedded Perl and check_disk_smb stopped working In-Reply-To: References: Message-ID: <1139337738.3506.3.camel@grokgeek.gowrs.net> I have my plugins in /usr/local/bin on the client and had a similiar issue and wound up just making a /usr/local/nagios directory and inside that directory created a symlink to /usr/local/bin as libexec and now everything works fine. -Don On Tue, 2006-02-07 at 08:32 -0500, Chad Osmond wrote: > I just upgraded to 2.0rc2 and it seems that my check_disk_smb.pl doesn't > work any more. Any one have a suggestion? > I've verified that utils.pm does exist in the /usr/lib/nagios/plugins > directory and tried copying it to one of the @INC directories > (/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi ) but it still > doesn't seem to work. > > Here is the error message: > > **ePN failed to compile /usr/lib/nagios/plugins/check_disk_smb: "Can't > locate utils.pm in @INC (@INC contains: nagios/plugins > /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.3" at /usr/sbin/p1.pl line > > Thanks, > > Chad > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 > _______________________________________________ > 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From donnell.lewis at icoretechnology.com Tue Feb 7 19:43:07 2006 From: donnell.lewis at icoretechnology.com (Don Lewis) Date: Tue, 07 Feb 2006 13:43:07 -0500 Subject: Embedded Perl and check_disk_smb stopped working In-Reply-To: References: Message-ID: <1139337787.3506.5.camel@grokgeek.gowrs.net> Nevermind, my bad, I replied to wrong issue...sorry folks. -Don On Tue, 2006-02-07 at 08:32 -0500, Chad Osmond wrote: > I just upgraded to 2.0rc2 and it seems that my check_disk_smb.pl doesn't > work any more. Any one have a suggestion? > I've verified that utils.pm does exist in the /usr/lib/nagios/plugins > directory and tried copying it to one of the @INC directories > (/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi ) but it still > doesn't seem to work. > > Here is the error message: > > **ePN failed to compile /usr/lib/nagios/plugins/check_disk_smb: "Can't > locate utils.pm in @INC (@INC contains: nagios/plugins > /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.3" at /usr/sbin/p1.pl line > > Thanks, > > Chad > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 > _______________________________________________ > 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From todd_barbera at wgbh.org Tue Feb 7 18:55:28 2006 From: todd_barbera at wgbh.org (Todd Barbera) Date: Tue, 07 Feb 2006 12:55:28 -0500 Subject: Nagios Behaviors In-Reply-To: <640e25ca0602070629g5c8bece0p40485a84fe53b971@mail.gmail.com> References: <5EA1C2411752D711826C00B0D049CD8306A86D69@ntcr1104.apacteleservices.com> <005301c62be2$daa5f3b0$147810ac@GRAPEAPE> <640e25ca0602070629g5c8bece0p40485a84fe53b971@mail.gmail.com> Message-ID: <43E8DF10.5080504@wgbh.org> Kai Reese wrote: >Hey. > >Maybe I'm missing the scope of things, but where are repetetive >iterations of PING a problem when you work with templates? I'm working >in a much smaller scope here than Mark and I've wondered about >repetetive service-entries as well, but I've come to the conclusion >that by using templates I can avoid most of the problems that these >multiple entries create, even more so when -as I understand is your >problem- the only thing that changes are the contacts. > >I would however see problems with an overhaul of the way things are >addressed at this moment for matters of portability and upgradability. >I would imagine the hassle of defining 25*10 services is less than >migrating all your hosts and service-definitions to a new >setup/layout. > > Well, my thought was not to eliminate contacts from the services definition, but rather make it optional and pass the contact info from the host definition. This way I can create a single service for all or a large chunk of hosts with different contacts. If for some reason I want to exclude a user from a specific service on which they are a contact for the host, I would then override the inheritance from the host definition to use a specific contact or contact group. I don't have any particular need to do this so it seems a bit redundant to me to have to specify it within my service configuration which also causes me to configure the same service checks depending upon who should have access to them. >Also, at this very moment, I'm wondering if services maybe support the >'contact' entries, since they also do work with the (undocumented) >hostgroup_name entries. >Wouldn't that solve most of your problems? Did I misunderstand your >problem at some point or is what I just wondered exactly the solution >you were asking to be implemented? > >Kai > > I wouldn't say it's a problem since I can work around it, but rather a question as to why the implementation would not allow for this. Is there a downside to making the contacts an inherited feature from the host and having the contact option within the service definition become optional rather than mandatory? Todd >On 2/7/06, Todd Barbera wrote: > > >>Hi Mark, >> >> >> >>I too had submitted an e-mail asking if passing the host properties along to >>the services would have some detrimental impact, but I didn't receive a >>reply. I agree that it would certainly make the services.cfg file much >>simpler to maintain if you didn't have to set up multiple services in order >>to create different views for various user groups. For instance, all my >>hosts are setup for PING. If I want notifications sent out to specific users >>for specific hosts, I have to have multiple iterations of PING in my >>services.cfg file. If I try to add all contacts to PING, then the see every >>host in the interface. This is not desirable since I only want them to see >>the hosts and services for which they have a stake in. I think this is a >>greater design question that may be best answered by Ethan, but if anyone >>else has thoughts on the matter I'd be happy to hear the response. >> >> >> >>Best regards, >> >> >> >>Todd >> >> >> >> >> >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net >>[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf >>Of Garringer, Mark >>Sent: Monday, February 06, 2006 9:07 PM >>To: 'Nagios-users at lists.sourceforge.net' >>Subject: [Nagios-users] Nagios Behaviors >> >> >> >>This may be rather long, please bare with me. >> >>I am currently running Nagios 2.0rc2 with 451 hosts and 1733 services. I've >>recently upgraded from Netsaint (0.78b I think). During this upgrade I took >>the time to reexamine my configurations to take advantage of the grouping >>logic and regular expression features in Nagios. This help make the setup >>much easier, faster, and more consistent than it ever was under Netsaint. >>Kudos! >> >>All of the following assumes that I'm doing things to the best of my >>understanding, and if they are incorrect or misguided in some way, I'd be >>more than happy to discuss the 'correct' way of implementing these features. >> >>I'm starting to run into a few operational issues that I'd like to raise. >>One of the most annoying is that RECOVERY should actually have a state for >>EACH type of RECOVERY that can exist. That way, I'm not getting RECOVERY >>notices for WARNINGS that I didn't get in the first place (because I don't >>care about WARNINGS in most cases.). I should only ever get RECOVERY for >>states which I've already indicated I want to receive their corresponding >>original alert from. >> >>The other is that HOST level notification/check_periods should be inherited >>by any service being check on that HOST unless explicitly overridden. >> >>For example, I have a host with 10 services on it (checking disk space in >>various file systems, checking for certain named processes to be running) >>and it has a HOST level notification_period (maintenance window) from >>Saturday at 1800 till Sunday 1000. Every week. I don't want to, or need to >>know about service changes during these times. I'm the user, and I'm >>requesting a black out of notifications during this time. If there are >>(still) problems after 1000 on Sunday, I do need to know about them or take >>action. The best answers I can seem to find seem to be workarounds that will >>cause me more overall upkeep and/or are counter to the whole idea of using >>grouping logic to begin with. >> >>Creating a separate, non-dynamic cron offshoot to take care of this for me >>while functional requires me to basically go and define another list of >>items (and upkeep them) to deal with and is completely external to Nagios. >> >>Defining each service individually so that they all can have 1 host assigned >>to them so they can have different maintenance windows as needed is totally >>against the grouping logic and allows again for much easier divergence from >>a set standard. Having 25 linux machines all in a linux host group because I >>want to check 10 common services rocks. However, not all 25 servers will >>have the same (or even overlapping) maintenance windows, so creating 25*10 >>separate service entries instead of just 10 sucks eggs. Maintaining the >>maintenance window at the host level makes perfect sense to me. >> >>Creating more host groups doesn't seem like any better of a solution and >>will just make things more difficult to find under the Hostgroup sections of >>the web display. >> >>By not understanding something am I trying to use this in a way which it was >>never intended? This seem like a pretty logical feature to me, of course. >>Can anyone offer me advice? >> >>Thanks! >> >> > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 >_______________________________________________ >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 > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From brady.maxwell at gmail.com Tue Feb 7 20:10:16 2006 From: brady.maxwell at gmail.com (Brady Maxwell) Date: Tue, 07 Feb 2006 14:10:16 -0500 Subject: NSCA messages In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD4109BB7@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD4109BB7@raptor.redhawk.info> Message-ID: <43E8F098.2030009@gmail.com> I would actually be willing to except this as an answer here is the script I am using for submit_check_results #!/bin/sh # Arguments: # $1 = host_name (Short name of the host that the service is associated with) # $2 = svc_description (Description of the service) # $3 = state_string (A string respresenting the status of the given service - "OK", "WARNING", "CRITICAL" OR "UNKNOWN") # $4 = plugin_output (A text string that should be used as the plugin output for the service check) # # # # # Convert the state string to the corresponding return code return_code=-1 case "$3" in OK) return_code=0 ;; WARNING) return_code=1 ;; CRITICAL) return_code=2 ;; UNKNOWN) return_code=-1 ;; esac # pipe the service check info into the send_nsca program, which in turn transmits the data to the nsca deamon on the central # monitoring server /usr/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | /usr/local/nagios/bin/send_nsca XXX.XXX.XXX.XXX -p XXXX -c /usr/local/nagios/etc/send_nsca.cfg my command def is define command{ command_name submit_check_result command_line /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' } Identical to the sample script in the 2.0 doco and the sample command definition i really just customized the ip and port Mike Koponick wrote: > I actually had a similar issue last week with NSCA. It would time-out; > however I was able to telnet to the correct host/port. > > The problem I found was that the macros were somehow incorrect for the > "submit_check" command that I used. For some reason, it showed that it > timed out, rather than showing an error of an incorrect macro. > > Go figure. > > Mike > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sumit > Malhotra > Sent: Tuesday, February 07, 2006 7:56 AM > To: brady.maxwell at gmail.com; 'Nagios users' > Subject: RE: [Nagios-users] NSCA messages > > Should be ...to confirm... > > telnet > > Where is on which you have configured NSCA on - > most > probably 5667) > > If it's getting timed out, it shouldn't respond. > > Thanks. > Sumit > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Brady > Maxwell > Sent: Tuesday, February 07, 2006 9:18 PM > To: Nagios users > Subject: [Nagios-users] NSCA messages > > I am getting stuff like this on my distributed server. It had been > working and I do not think I changed anything. > > Could this be because the distributed server can not reach the central > server? > > > Feb 7 07:48:01 Netcarenagios nagios: Warning: OCSP command > '/usr/local/nagios/libexec/eventhandlers/submit_check_result IVAN > 'UPTIME' OK '$OUTPUT$'' for ser > vice 'UPTIME' on host 'IVAN' timed out after 5 seconds > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From brady.maxwell at gmail.com Tue Feb 7 20:13:25 2006 From: brady.maxwell at gmail.com (Brady Maxwell) Date: Tue, 07 Feb 2006 14:13:25 -0500 Subject: NSCA messages In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD4109BB7@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD4109BB7@raptor.redhawk.info> Message-ID: <43E8F155.7000406@gmail.com> ok another question same topic in what cfg file should the command def for submit_check_result be placed? Mike Koponick wrote: > I actually had a similar issue last week with NSCA. It would time-out; > however I was able to telnet to the correct host/port. > > The problem I found was that the macros were somehow incorrect for the > "submit_check" command that I used. For some reason, it showed that it > timed out, rather than showing an error of an incorrect macro. > > Go figure. > > Mike > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sumit > Malhotra > Sent: Tuesday, February 07, 2006 7:56 AM > To: brady.maxwell at gmail.com; 'Nagios users' > Subject: RE: [Nagios-users] NSCA messages > > Should be ...to confirm... > > telnet > > Where is on which you have configured NSCA on - > most > probably 5667) > > If it's getting timed out, it shouldn't respond. > > Thanks. > Sumit > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Brady > Maxwell > Sent: Tuesday, February 07, 2006 9:18 PM > To: Nagios users > Subject: [Nagios-users] NSCA messages > > I am getting stuff like this on my distributed server. It had been > working and I do not think I changed anything. > > Could this be because the distributed server can not reach the central > server? > > > Feb 7 07:48:01 Netcarenagios nagios: Warning: OCSP command > '/usr/local/nagios/libexec/eventhandlers/submit_check_result IVAN > 'UPTIME' OK '$OUTPUT$'' for ser > vice 'UPTIME' on host 'IVAN' timed out after 5 seconds > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From flima at rio-de-janeiro.oilfield.slb.com Tue Feb 7 20:32:21 2006 From: flima at rio-de-janeiro.oilfield.slb.com (Fernando Lima) Date: Tue, 07 Feb 2006 17:32:21 -0200 Subject: spam protection on the nagios mailing list In-Reply-To: <43E8BEB4.5030300@gmail.com> References: <43E8BEB4.5030300@gmail.com> Message-ID: <002101c62c1d$372dcce0$5a23baa3@lam.slb.com> Braddy, Unfortunelly this is the "default" configuration for all UOL (ISP here at Brazil) users. :S It's not only annoyng but a great tool to leave their users' mailbox empty. Because I'll never lose even 10 sec. confirming that my e-mail exists. There's another way to do it (more smart for sure). Your attitude it's exactly mine... I had configured a filter called Lixo UOL (UOL trash), that every confirmation from UOL I send to trash... For those that are UOL users, I'm sorry but you'll never get an answer from myself if needed to confirm anything... Rgds, Fernando Lima Schlumberger Security Engineer flima at slb.com Office: +55 21 3824 6954 Mobile. : +55 21 9888 9046 (GMT: -03:00) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Brady Maxwell Sent: Tuesday, February 07, 2006 1:37 PM Cc: Nagios Subject: Re: [Nagios-users] spam protection on the nagios mailing list Its very annoying. Personally I would dive off a cliff before i took this approach to filtering my email. How annoying for all your friends. I just added a filter so that these emails go straight to my junk folder. :) Jim Perrin wrote: > I understand the need for spam protection and all, but why would you > subscribe an address that requires confirmation for EVERY post to a > mailing list? Are other people seeing this? > > > > Ol?, > > Voc? enviou uma mensagem para marcelo_imai at uol.com.br > Para que sua mensagem seja encaminhada, por favor, clique aqui > > > Esta confirma??o ? necess?ria porque marcelo_imai at uol.com.br usa o > Antispam UOL, um programa que elimina mensagens enviadas por rob?s, > como pornografia, propaganda e correntes. > > As pr?ximas mensagens enviadas para marcelo_imai at uol.com.br n?o > precisar?o ser confirmadas*. *Caso voc? receba outro pedido de > confirma??o, por favor, pe?a para marcelo_imai at uol.com.br inclu?-lo em > sua lista de > > > > I'm of the opinion that addresses with this type of requirement should > not be subscribed to a mailing list. What do others think? > > -- > "They that can give up essential liberty to obtain a little temporary > safety deserve neither liberty nor safety'' Benjamin Franklin 1775 > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files for problems? Stop! Download the new AJAX search engine that > makes searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 > _______________________________________________ > 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 > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From marc at ena.com Tue Feb 7 20:34:33 2006 From: marc at ena.com (Marc Powell) Date: Tue, 7 Feb 2006 13:34:33 -0600 Subject: NSCA messages - DOCUMENTATION BUG Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Brady Maxwell > Sent: Tuesday, February 07, 2006 1:10 PM > To: Mike Koponick > Cc: Sumit Malhotra; Nagios users > Subject: Re: [Nagios-users] NSCA messages > > I would actually be willing to except this as an answer > > here is the script I am using for submit_check_results > [chop] > my command def is > > define command{ > command_name submit_check_result > command_line > /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ > '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' > } > > Identical to the sample script in the 2.0 doco and the sample command > definition i really just customized the ip and port Docco bug in http://nagios.sourceforge.net/docs/2_0/distributed.html. $OUTPUT$ should be $SERVICEOUTPUT$. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From marc at ena.com Tue Feb 7 20:36:01 2006 From: marc at ena.com (Marc Powell) Date: Tue, 7 Feb 2006 13:36:01 -0600 Subject: NSCA messages Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Brady Maxwell > Sent: Tuesday, February 07, 2006 1:13 PM > To: Mike Koponick > Cc: Sumit Malhotra; Nagios users > Subject: Re: [Nagios-users] NSCA messages > > ok another question same topic > > in what cfg file should the command def for submit_check_result be placed? Any file defined as a 'cfg_file' in nagios.cfg. It doesn't matter. I think most people have a commands.cfg or miscommands.cfg file for command definitions. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From msugano at uolinc.com Tue Feb 7 20:48:00 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Tue, 07 Feb 2006 17:48:00 -0200 Subject: spam protection on the nagios mailing list In-Reply-To: <002101c62c1d$372dcce0$5a23baa3@lam.slb.com> References: <002101c62c1d$372dcce0$5a23baa3@lam.slb.com> Message-ID: <1139341681.3076.8.camel@localhost> On Tue, 2006-02-07 at 17:32 -0200, Fernando Lima wrote: > Braddy, > > Unfortunelly this is the "default" configuration for all UOL (ISP here at > Brazil) users. :S It's not only annoyng but a great tool to leave their > users' mailbox empty. Because I'll never lose even 10 sec. confirming that > my e-mail exists. There's another way to do it (more smart for sure). > > Your attitude it's exactly mine... I had configured a filter called Lixo UOL > (UOL trash), that every confirmation from UOL I send to trash... For those > that are UOL users, I'm sorry but you'll never get an answer from myself if > needed to confirm anything... That is why I use gmail, even been a UOL employee, to hold all my lists inscriptions. But i've subscribe my work email only to send messages to the list, because they filter outgoing email via other smtp, like gmail's. Sorry for the annoyance, but even working here(uolinc), i hate the turim's test. > Rgds, > Fernando Lima > Schlumberger > Security Engineer > flima at slb.com > > Office: +55 21 3824 6954 > Mobile. : +55 21 9888 9046 > (GMT: -03:00) > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Brady Maxwell > Sent: Tuesday, February 07, 2006 1:37 PM > Cc: Nagios > Subject: Re: [Nagios-users] spam protection on the nagios mailing list > > > Its very annoying. Personally I would dive off a cliff before i took > this approach to filtering my email. How annoying for all your friends. I > just added a filter so that these emails go straight to my junk folder. :) > > Jim Perrin wrote: > > I understand the need for spam protection and all, but why would you > > subscribe an address that requires confirmation for EVERY post to a > > mailing list? Are other people seeing this? > > > > > > > > Ol?, > > > > Voc? enviou uma mensagem para marcelo_imai at uol.com.br > > Para que sua mensagem seja encaminhada, por favor, clique aqui > > > > > > Esta confirma??o ? necess?ria porque marcelo_imai at uol.com.br usa o > > Antispam UOL, um programa que elimina mensagens enviadas por rob?s, > > como pornografia, propaganda e correntes. > > > > As pr?ximas mensagens enviadas para marcelo_imai at uol.com.br n?o > > precisar?o ser confirmadas*. *Caso voc? receba outro pedido de > > confirma??o, por favor, pe?a para marcelo_imai at uol.com.br inclu?-lo em > > sua lista de > > > > > > > > I'm of the opinion that addresses with this type of requirement should > > not be subscribed to a mailing list. What do others think? > > > > -- > > "They that can give up essential liberty to obtain a little temporary > > safety deserve neither liberty nor safety'' Benjamin Franklin 1775 > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > > files for problems? Stop! Download the new AJAX search engine that > > makes searching your log files as easy as surfing the web. DOWNLOAD > > SPLUNK! > > http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 > > _______________________________________________ > > 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 > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 > _______________________________________________ > 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 -- Marcel Mitsuto Fucatu Sugano Universo Online S.A. -- http://www.uol.com.br ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From msugano at uolinc.com Tue Feb 7 20:57:04 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Tue, 07 Feb 2006 17:57:04 -0200 Subject: spam protection on the nagios mailing list In-Reply-To: <1139341681.3076.8.camel@localhost> References: <002101c62c1d$372dcce0$5a23baa3@lam.slb.com> <1139341681.3076.8.camel@localhost> Message-ID: <1139342225.3076.17.camel@localhost> On Tue, 2006-02-07 at 17:48 -0200, Marcel Mitsuto Fucatu Sugano wrote: > On Tue, 2006-02-07 at 17:32 -0200, Fernando Lima wrote: > > Braddy, > > > > Unfortunelly this is the "default" configuration for all UOL (ISP here at > > Brazil) users. :S It's not only annoyng but a great tool to leave their > > users' mailbox empty. Because I'll never lose even 10 sec. confirming that > > my e-mail exists. There's another way to do it (more smart for sure). Just claryfing things, it is NOT default behaviour. The user has to confirm the anti-spam system to work for his email. So this guy who is annoying everyone here has to be asked to turn it off. -- Marcel Mitsuto Fucatu Sugano Universo Online S.A. -- http://www.uol.com.br ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From jim.pye at pyenet.co.nz Tue Feb 7 21:52:04 2006 From: jim.pye at pyenet.co.nz (Jim Pye) Date: Wed, 08 Feb 2006 09:52:04 +1300 Subject: Sending availability reports by email In-Reply-To: <88ad29240602070733t6f75579cq76197445c0646572@mail.gmail.com> References: <006d01c62bac$07f9d2a0$0702a8c0@stcl.com> <88ad29240602070733t6f75579cq76197445c0646572@mail.gmail.com> Message-ID: <1139345524.12258.5.camel@jimsx220.pyenet.co.nz> Note that you will need to quote the URL or the BASH shell sees the & and does not send the complete line. J On Tue, 2006-02-07 at 17:33 +0200, moshe sharon wrote: > hello > > its not a built in feature but you can use wget you can access > your report ( along with username and password from the > command line fro example: > wget > http://your_nagios_server/nagios/cgi-bin/avail.cgi?show_log_entries=&host=all&timeperiod=last7day > > and pipe it to mail program > > Moshe Sharon > -- Jim Pye PyeNet Universal email: jim.pye at pyenet.co.nz | Phone: +64 4 527 8284 | Fax: +64 4 528 9693 web site: http://www.pyenet.co.nz ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From flima at rio-de-janeiro.oilfield.slb.com Tue Feb 7 21:03:13 2006 From: flima at rio-de-janeiro.oilfield.slb.com (Fernando Lima) Date: Tue, 07 Feb 2006 18:03:13 -0200 Subject: spam protection on the nagios mailing list In-Reply-To: <619cf3c0602071137u2657c975q@mail.gmail.com> References: <619cf3c0602071137u2657c975q@mail.gmail.com> Message-ID: <002801c62c21$870ff270$5a23baa3@lam.slb.com> Toto, I don't have an UOL account. I don't know the person that have this UOL account, my intention was to explain why the list receives those messages. cheers, Fernando Lima Schlumberger Security Engineer flima at slb.com Office: +55 21 3824 6954 Mobile. : +55 21 9888 9046 (GMT: -03:00) -----Original Message----- From: Toto Capuccino [mailto:shoktai at gmail.com] Sent: Tuesday, February 07, 2006 5:38 PM To: flima at rio-de-janeiro.oilfield.slb.com Subject: Re: [Nagios-users] spam protection on the nagios mailing list why dont u use agmail account for mailing list? i sent u a few days ago an invitation 2006/2/7, Fernando Lima >: Braddy, Unfortunelly this is the "default" configuration for all UOL (ISP here at Brazil) users. :S It's not only annoyng but a great tool to leave their users' mailbox empty. Because I'll never lose even 10 sec. confirming that my e-mail exists. There's another way to do it (more smart for sure). Your attitude it's exactly mine... I had configured a filter called Lixo UOL (UOL trash), that every confirmation from UOL I send to trash... For those that are UOL users, I'm sorry but you'll never get an answer from myself if needed to confirm anything... Rgds, Fernando Lima Schlumberger Security Engineer flima at slb.com Office: +55 21 3824 6954 Mobile. : +55 21 9888 9046 (GMT: -03:00) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net ] On Behalf Of Brady Maxwell Sent: Tuesday, February 07, 2006 1:37 PM Cc: Nagios Subject: Re: [Nagios-users] spam protection on the nagios mailing list Its very annoying. Personally I would dive off a cliff before i took this approach to filtering my email. How annoying for all your friends. I just added a filter so that these emails go straight to my junk folder. :) Jim Perrin wrote: > I understand the need for spam protection and all, but why would you > subscribe an address that requires confirmation for EVERY post to a > mailing list? Are other people seeing this? > > > > Ol?, > > Voc? enviou uma mensagem para marcelo_imai at uol.com.br > Para que sua mensagem seja encaminhada, por favor, clique aqui > > > Esta confirma??o ? necess?ria porque marcelo_imai at uol.com.br usa o > Antispam UOL, um programa que elimina mensagens enviadas por rob?s, > como pornografia, propaganda e correntes. > > As pr?ximas mensagens enviadas para marcelo_imai at uol.com.br n?o > precisar?o ser confirmadas*. *Caso voc? receba outro pedido de > confirma??o, por favor, pe?a para marcelo_imai at uol.com.br inclu?-lo em > sua lista de > > > > I'm of the opinion that addresses with this type of requirement should > not be subscribed to a mailing list. What do others think? > > -- > "They that can give up essential liberty to obtain a little temporary > safety deserve neither liberty nor safety'' Benjamin Franklin 1775 > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files for problems? Stop! Download the new AJAX search engine that > makes searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=k &kid3432&bid#0486&dat1642 > _______________________________________________ > 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 > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk &kid=103432&bid=230486&dat=121642 _______________________________________________ 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmdlnk &kid3432&bid#0486&dat1642 _______________________________________________ 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 -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From leefitzg at aol.com Tue Feb 7 23:04:08 2006 From: leefitzg at aol.com (Lee Fitz) Date: Tue, 7 Feb 2006 23:04:08 +0100 (CET) Subject: Notifications not coming through In-Reply-To: References: Message-ID: <20060207220408.E53BD4F415D@desire.netways.de> Hi I was having a very similar problem about 1 week ago I had incorrectly edited the 'command_line' in the 'define command' for the email notification. The consequences of which are identical to your result. My guess is that if you look CLOSELY at the 'command_lin e' you will find something wrong - in my case I had a bare $ in the line. Anyway, an easy way to verify operation of you cmd line is to copy and edit it and then try to execute it in a shell - Im betting it wont work - AND I have NOT found anywhere in Nagios where there is any error info about the cmd not being parsed correctly Example define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "$SERVICEOUTPUT$ $HOSTNAME$ $SHORTDATETIME$" | mail -s "" $CONTACTEMAIL$ } so copy -/usr/bin/printf "%b" "$SERVICEOUTPUT$ $HOSTNAME$ $SHORTDATETIME$ " | mail -s "" $CONTACTEMAIL$- out - edit in real values and execute it - - Lee Fitz (leefitz) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=15065 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From hvdkooij at vanderkooij.org Tue Feb 7 23:07:14 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 7 Feb 2006 23:07:14 +0100 (CET) Subject: More on nagios performance data (or the lack of it) Message-ID: Right, I did send the nagios performance data to a file and wrote a perlscript to count the events recorded and calculate the average time between events recorded. The results should average the time between events per service per host. But the results are not at all what they should be. For example: aleph DNS = 3599.01728395062 aleph HTTP-lugww.counter.li.org = 3616.66749379653 aleph PING = 179.218954248366 aleph SMTP = 3599.01481481481 aleph SSH = 3616.65756823821 anfalas Internet = 1040.43540328337 anfalas InternetV6 = 1040.33618843683 anfalas PING = 176.439102564103 anfalas SSH = 3616.69975186104 As each service is supposed to be checked every 3 minutes the average should be 180. As the test period may cause some deviation I can understand anything ~10 seconds off. But many of the services do not seem to report their performance data on each poll. Is there a way to find out why nagios is not generating the performancce data as I expect it to? Short reminder: Nagios v2.0 RC2 Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From Stanley.Hopcroft at Dest.gov.au Tue Feb 7 23:31:59 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Wed, 8 Feb 2006 09:31:59 +1100 Subject: Embedded Perl and check_disk_smb stopped working Message-ID: Dear Folks, I am writing to thank you for your letter and say, >-----Original Message----- >Message: 19 >Date: Tue, 7 Feb 2006 08:32:52 -0500 >From: "Chad Osmond" >Subject: [Nagios-users] Embedded Perl and check_disk_smb >stopped working > >I just upgraded to 2.0rc2 and it seems that my >check_disk_smb.pl doesn't work any more. Any one have a >suggestion? I've verified that utils.pm does exist in the >/usr/lib/nagios/plugins directory and tried copying it to one >of the @INC directories >(/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi ) but >it still doesn't seem to work. > >Here is the error message: > >**ePN failed to compile >/usr/lib/nagios/plugins/check_disk_smb: "Can't locate utils.pm >in @INC (@INC contains: nagios/plugins >/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi >/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi >/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi >/usr/lib/perl5/site_perl/5.8.3" at /usr/sbin/p1.pl line > When using ePN you must remember that the Perl plugin is compiled _once_. (This is the benefit of embedding Perl: there is no need to recompile plugins [that typically don't change] each time they are run. There is also no need to fork a new process and exec Perl. The tradeoff is more memory and hard to understand behaviour such as this). The Perl plugin was compiled when 1 Nagios schedules the plugin for the first time. 2 The plugin text changes (the modification time is checked each time the plugin is scheduled). What you have seen is that the ePN doesn't recompile the plugin after you relocated utils.pm. Your options are 1 Restart Nagios - there's no way to restart the embedded Perl component independently of Nagios 2 Make a trivail modification to the plugin text eg 2.1 add a use lib qw(/path/to/utils.pm) ; 2.2 add a no-op (No-op, No-op the CPUs sang) such as a comment or a 1 == 1; 2.3 I can't remember if touching the text works. If it does this is the best way. >Thanks, > >Chad=20 > Yours sincerely. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From hvdkooij at vanderkooij.org Tue Feb 7 23:41:29 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 7 Feb 2006 23:41:29 +0100 (CET) Subject: More on nagios performance data (or the lack of it) In-Reply-To: References: Message-ID: On Tue, 7 Feb 2006, Hugo van der Kooij wrote: > But many of the services do not seem to report their performance data on > each poll. > > Is there a way to find out why nagios is not generating the performancce > data as I expect it to? > > Short reminder: Nagios v2.0 RC2 Got it. I had a wildcard service dependency that was depending on an incorrect service. At least the performance file now looks just fine. I will restore nagiosgraph and see what they graphs look like tomorrow. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From simvirus at gmail.com Tue Feb 7 23:48:22 2006 From: simvirus at gmail.com (Sim) Date: Tue, 7 Feb 2006 23:48:22 +0100 Subject: Migrate Nagios 1.3 to 2.0 Message-ID: Hi! Is Nagios 2.0 full compatible with last 1.3? ( etc files..., etc.. ) Thanks! ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From marc at ena.com Wed Feb 8 00:41:51 2006 From: marc at ena.com (Marc Powell) Date: Tue, 7 Feb 2006 17:41:51 -0600 Subject: Migrate Nagios 1.3 to 2.0 Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Sim > Sent: Tuesday, February 07, 2006 4:48 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Migrate Nagios 1.3 to 2.0 > > Hi! > > Is Nagios 2.0 full compatible with last 1.3? > > ( etc files..., etc.. ) http://nagios.sourceforge.net/docs/2_0/whatsnew.html -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From lennart.kvam at softronic.se Wed Feb 8 00:57:22 2006 From: lennart.kvam at softronic.se (lennart.kvam at softronic.se) Date: Wed, 8 Feb 2006 00:57:22 +0100 Subject: Major notification problem Message-ID: <308D3417BAD2104895AE72D879B815B6018EF094@stsstomail01.softronic.se> Hi All! I have major problem with getting notifications :-( Here`s my configs: Miscommands.cfg define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\nComment: $SERVICEACKCOMMENT$\n\n | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } AND # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } Minimal.cfg define contact{ contact_name nagios-admin alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r,n host_notification_options d,u,r,n service_notification_commands notify-by-email host_notification_commands host-notify-by-email # service_notification_commands notify-by-sendEmail # host_notification_commands host-notify-by-sendEmail email lelle at softronic.se } define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagios-admin } define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define service{ name generic-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define host{ use generic-host ; Name of host template to use host_name arnwin0136 alias arnwin0136 address 192.168.103.100 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r, notifications_enabled 1 contact_groups admins } define service{ use generic-service ; Name of service template to use host_name arnwin0136 service_description PING is_volatile 0 process_perf_data 1 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 notifications_enabled 1 contact_groups admins notification_options w,u,c,r notification_interval 960 notification_period 24x7 check_command check_ping!100.0,20%!500.0,60% } When i try in commandline with: /bin/mail -s TEST lelle at softronic.se Its working like charm! but i need to press "ctrl"+ d to send it! PLEASE HELP ME before i kill my self;-) Is there anymore files to edit? I have read tons of mail/forum but cant get it to work.... //Lennart ********************************** Lennart Kvam Softronic AB, Ringv?gen 100, 118 60 Stockholm Tel: 0708-813279 Vx:08-51909000 lennart.kvam at softronic.se ********************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From karl.kornel at mindspeed.com Wed Feb 8 02:29:47 2006 From: karl.kornel at mindspeed.com (karl.kornel at mindspeed.com) Date: Tue, 7 Feb 2006 17:29:47 -0800 Subject: Scheduling downtime for all services in a host? Message-ID: Dear fellow Nagios users, Is there a way for me to schedule downtime automatically for all services on a host? For reference, I'm using version 2.0rc2. When I look at the commands that I can run for a host containing 2+ services, I see a link to schedule downtime for a host, but not for all of the services associated with that host. However, if I look at the commands for a hostgroup or a servicegroup, I see that I can schedule downtime for all hosts or services in a hostgroup/servicegroup. However, I do not want to schedule downtime for all hosts in a hostgroup, just one host. And I do not have any service groups. I did some searching of previous posts, and I have not been able to find anything helpful. At this point it looks like the only way for me to declare downtime for all services by executing one command would be to create one servicegroup for each host in my configuration. Does anyone have any more information on this? Thanks in advance! -- A. Karl Kornel Mindspeed Technologies, Inc. karl.kornel at mindspeed.com (949) 579-3503 -------------- next part -------------- An HTML attachment was scrubbed... URL: From JoAnne.Schmitz at baltsun.com Wed Feb 8 03:13:15 2006 From: JoAnne.Schmitz at baltsun.com (JoAnne.Schmitz at baltsun.com) Date: Tue, 7 Feb 2006 21:13:15 -0500 Subject: Notifications not coming through Message-ID: Lee Fitz writes: "I had incorrectly edited the 'command_line' in the 'define command' for the email notification. The consequences of which are identical to your result. My guess is that if you look CLOSELY at the 'command_line' you will find something wrong - in my case I had a bare $ in the line." It turns out that this was not the problem -- misccommands.cfg had not changed since June. I did try changing the command to remove all variables, which didn't result in an email either. Thanks for the suggestion, though; it makes sense. The real problem was, somehow the /TMP directory permissions got hosed. Sendmail apparently uses that directory to compose the mail before sending it. Therefore, the notifications got logged in Nagios, because the command line got launched. But the message did not get sent, and nothing would appear in the mail log, because the command line failed. We knew there was more going on than Nagios failure, because when we tried rebooting the system, X11 wouldn't start. Fortunately I had a Linux mage helping me and we eventually tracked it down. -JoAnne -- JoAnne Schmitz Publishing Systems Supervisor The Baltimore Sun desk 410 468 2658 cell 443 829 2855 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From karl.kornel at mindspeed.com Wed Feb 8 03:30:28 2006 From: karl.kornel at mindspeed.com (karl.kornel at mindspeed.com) Date: Tue, 7 Feb 2006 18:30:28 -0800 Subject: Scheduling downtime for all services in a host? In-Reply-To: <20060208021139.588A1622F9D@sr-gw.esc.net.au> References: <20060208021139.588A1622F9D@sr-gw.esc.net.au> Message-ID: I also thought that was the case, so I decided to try it. I declared a host with 2 services, PING and SSH, and I waited until Nagios ran its first checks to make sure that everything was up. Then I declared an hour of flexible downtime on the host, scheduled to start 5 minutes ago and to last for one hour. I did this using the CGIs. Once my command had been received, I turned off SSH (just SSH). I would expect that, since I had declared downtime, I would not be notified about the SSH failure. However, 10 minutes later I got an email telling me that SSH on the host was down. So it looks to me like scheduling downtime just for the host will not automatically schedule downtime for the services on the host, and I can not assume that the host and its services will be going down at the same time. -- A. Karl Kornel Mindspeed Technologies, Inc. karl.kornel at mindspeed.com (949) 579-3503 "Andrew Xenides" wrote on 01/07/2003 05:02:13 AM: > I think if a host is down it assumes that the services wont be up either. > > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of karl.kornel at mindspeed.com > Sent: Wednesday, February 08, 2006 12:00 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Scheduling downtime for all services in a host? > > > Dear fellow Nagios users, > > Is there a way for me to schedule downtime automatically for > all services on a host? For reference, I'm using version 2.0rc2. > > When I look at the commands that I can run for a host > containing 2+ services, I see a link to schedule downtime for a > host, but not for all of the services associated with that host. > However, if I look at the commands for a hostgroup or a > servicegroup, I see that I can schedule downtime for all hosts or > services in a hostgroup/servicegroup. However, I do not want to > schedule downtime for all hosts in a hostgroup, just one host. And > I do not have any service groups. > > I did some searching of previous posts, and I have not been > able to find anything helpful. At this point it looks like the only > way for me to declare downtime for all services by executing one > command would be to create one servicegroup for each host in my configuration. > > Does anyone have any more information on this? Thanks in advance! > > -- A. Karl Kornel > Mindspeed Technologies, Inc. > karl.kornel at mindspeed.com > (949) 579-3503 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ladams at cloudmark.com Wed Feb 8 03:43:38 2006 From: ladams at cloudmark.com (Lori Adams) Date: Tue, 7 Feb 2006 18:43:38 -0800 Subject: Major notification problem Message-ID: What version are you running and on what OS? -Lori ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of lennart.kvam at softronic.se Sent: Tuesday, February 07, 2006 3:57 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Major notification problem Hi All! I have major problem with getting notifications :-( Here`s my configs: Miscommands.cfg define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\nComment: $SERVICEACKCOMMENT$\n\n | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } AND # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } Minimal.cfg define contact{ contact_name nagios-admin alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r,n host_notification_options d,u,r,n service_notification_commands notify-by-email host_notification_commands host-notify-by-email # service_notification_commands notify-by-sendEmail # host_notification_commands host-notify-by-sendEmail email lelle at softronic.se } define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagios-admin } define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define service{ name generic-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define host{ use generic-host ; Name of host template to use host_name arnwin0136 alias arnwin0136 address 192.168.103.100 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r, notifications_enabled 1 contact_groups admins } define service{ use generic-service ; Name of service template to use host_name arnwin0136 service_description PING is_volatile 0 process_perf_data 1 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 notifications_enabled 1 contact_groups admins notification_options w,u,c,r notification_interval 960 notification_period 24x7 check_command check_ping!100.0,20%!500.0,60% } When i try in commandline with: /bin/mail -s TEST lelle at softronic.se Its working like charm! but i need to press "ctrl"+ d to send it! PLEASE HELP ME before i kill my self;-) Is there anymore files to edit? I have read tons of mail/forum but cant get it to work.... //Lennart ********************************** Lennart Kvam Softronic AB, Ringv?gen 100, 118 60 Stockholm Tel: 0708-813279 Vx:08-51909000 lennart.kvam at softronic.se ********************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From ladams at cloudmark.com Wed Feb 8 03:46:00 2006 From: ladams at cloudmark.com (Lori Adams) Date: Tue, 7 Feb 2006 18:46:00 -0800 Subject: Scheduling downtime for all services in a host? Message-ID: I wrote a perl script that gets all the services for a host, and then uses the EXTERNAL_COMMAND corresponding to scheduling downtime to put hosts into a downtime. It outputs the entire command to the nagios.cmd file. -Lori ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of karl.kornel at mindspeed.com Sent: Tuesday, February 07, 2006 6:30 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Scheduling downtime for all services in a host? I also thought that was the case, so I decided to try it. I declared a host with 2 services, PING and SSH, and I waited until Nagios ran its first checks to make sure that everything was up. Then I declared an hour of flexible downtime on the host, scheduled to start 5 minutes ago and to last for one hour. I did this using the CGIs. Once my command had been received, I turned off SSH (just SSH). I would expect that, since I had declared downtime, I would not be notified about the SSH failure. However, 10 minutes later I got an email telling me that SSH on the host was down. So it looks to me like scheduling downtime just for the host will not automatically schedule downtime for the services on the host, and I can not assume that the host and its services will be going down at the same time. -- A. Karl Kornel Mindspeed Technologies, Inc. karl.kornel at mindspeed.com (949) 579-3503 "Andrew Xenides" wrote on 01/07/2003 05:02:13 AM: > I think if a host is down it assumes that the services wont be up either. > > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of karl.kornel at mindspeed.com > Sent: Wednesday, February 08, 2006 12:00 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Scheduling downtime for all services in a host? > > > Dear fellow Nagios users, > > Is there a way for me to schedule downtime automatically for > all services on a host? For reference, I'm using version 2.0rc2. > > When I look at the commands that I can run for a host > containing 2+ services, I see a link to schedule downtime for a > host, but not for all of the services associated with that host. > However, if I look at the commands for a hostgroup or a > servicegroup, I see that I can schedule downtime for all hosts or > services in a hostgroup/servicegroup. However, I do not want to > schedule downtime for all hosts in a hostgroup, just one host. And > I do not have any service groups. > > I did some searching of previous posts, and I have not been > able to find anything helpful. At this point it looks like the only > way for me to declare downtime for all services by executing one > command would be to create one servicegroup for each host in my configuration. > > Does anyone have any more information on this? Thanks in advance! > > -- A. Karl Kornel > Mindspeed Technologies, Inc. > karl.kornel at mindspeed.com > (949) 579-3503 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ladams at cloudmark.com Wed Feb 8 03:48:17 2006 From: ladams at cloudmark.com (Lori Adams) Date: Tue, 7 Feb 2006 18:48:17 -0800 Subject: Why the distinction between host definition and hostextinfo definition? Message-ID: This is actually true of the services documentation. It doesn't state that you can use hostgroups. -Lori > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Marc Haber > Sent: Tuesday, February 07, 2006 5:48 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Why the distinction between host definition > and hostextinfo definition? > > On Tue, Feb 07, 2006 at 07:27:47AM +0100, Frederik Vanhee wrote: > > Why don't you use the hostgroup_name in the hostextinfo definition ? > > Because I didn't know that hostgroup_name was possible in hostextinfo. > It is not documented in xodtemplate.html for 2.0rc2, but has now been > verified to work. Thanks for pointing this out. > > The availability of hostgroup_name in hostexinfo should definetely be > in the docs for the 2.x release. > > Greetings > Marc > > -- > ------------------------------------------------------------------------ -- > --- > Marc Haber | "I don't trust Computers. They | Mailadresse im > Header > Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 > 72739834 > Nordisch by Nature | How to make an American Quilt | Fax: *49 621 > 72739835 > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From ladams at cloudmark.com Wed Feb 8 04:07:48 2006 From: ladams at cloudmark.com (Lori Adams) Date: Tue, 7 Feb 2006 19:07:48 -0800 Subject: Service definition with * and host-templates Message-ID: The notification looks right to me. A template can be valid hosts or services according to nagios, as long as all required values for a host config are present in the template config. If they are not all there, then the config is allowed as long as it has a register = 0. Your template called router has all required values. To make it so that "router" does not send a PING notification, you would remove "router" as the host_name for your router host template. (see below) -Lori > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Kai Reese > Sent: Monday, February 06, 2006 1:19 AM > To: Nagios Users Mailing List > Subject: [Nagios-users] Service definition with * and host-templates > > Hey list. > > I'm having a slight problem with understanding templates, it seems. > > I use a service definition: > ## PING > define service{ > host_name *,!sv-proxy > use PING > } > > where PING is: > ## PING Template > define service{ > host_name PING > name PING > service_description PING > use generic > check_command check_ping!100.0,20%!500.0,60% > register 0 > } > > and generic is: > define service{ > host_name GENERIC > name generic > service_description generic > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups admin > notification_interval 120 > notification_period workhours > notification_options c,r > register 0 > } > > > And have host definitions using templates as well. > > ## generic template > define host{ > host_name generic > alias GenericTemplate > contact_groups admin > check_command check-host-alive > max_check_attempts 5 > notification_options d,u,r > notification_interval 24x7 > name generic > register 0 > } > > ## router template > define host{ > use generic =====> remove the host_name here. > host_name router > alias Template: Router > name router > register 0 > } > > > And now I keep getting mail notifications telling me: > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: PING > Host: Template: Router > Address: > State: CRITICAL > > Date/Time: Mon Feb 6 09:44:32 CET 2006 > > Additional Info: > > CRITICAL - Plugin timed out after 10 seconds > > > > I wonder, if the name is just wrong in the notification email, because > the ip is one of the routers I use, or if I really receive a > notification about a >register 0< template. > > Anyone ? > Thanks, Kai > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 > _______________________________________________ > 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From moshesharon at gmail.com Wed Feb 8 04:32:30 2006 From: moshesharon at gmail.com (moshe sharon) Date: Wed, 8 Feb 2006 05:32:30 +0200 Subject: NRPE and allowed_hosts after v.2.0 In-Reply-To: References: <88ad29240602070727p1fa61f99r4b3d8bf9262bbe52@mail.gmail.com> Message-ID: <88ad29240602071932x283bcf39ybfcf9e40fc2d56b@mail.gmail.com> Hello taken from the READE Section Configuration Paragraph 2. "2) Add entries for the NRPE daemon to either your inetd or xinetd configuration files. Which one your use will depend on which superserver is installed on your system. Both methods are described below. NOTE: If you run nrpe under inetd or xinetd, the server_port and allowed_hosts variables in the nrpe configuration file are ignored." this quote was taken from the 2.3. Moshe Sharon -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stanley.Hopcroft at Dest.gov.au Wed Feb 8 05:17:22 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Wed, 8 Feb 2006 15:17:22 +1100 Subject: Reporting bits and pieces. Message-ID: Dear Folks, Firstly some observations and corrections to my recent letters about Reporting. 1 Use of DBD::RAM to at one fell swoop download the Nagios all hosts/services report and stash it in an in-core table (prior to filtering with SELECT and saving in an RDBMS). DBD::RAM no longer builds. It has been replaced by DBD::AnyData. >From the README of DBD::AnyDATA: HISTORICAL NOTE: this module was formerly called DBD::RAM. Its name was changed because many people were unaware that the module supports file operations in addition to in-memory operations. See the Changes file for a description of changes since the last release of DBD::RAM. 2 Another way of accounting for outages (apart from daily log file parsing or using avail.cgi directly) may be with an event handler that inserts rows into a table with these columns HOST_NAME HOST_DOWN HOST_UP OUTAGE Since there are lot of good DB interfaces in various programming languages (Perl, Python, Ruby), this is pretty straight forward. I only recently became aware of the $HOSTDOWNTIME$ macro that allows one to filter outages that are in scheduled downtime. (At this low capability site, the event handler simply appends a row to a CSV file so that Excel can view/edit the data. While this is not great it allows manual update with COMMENT and CAUSE [via Excel] so it allows one in principal to combine problem analysis/resolution data with the outage). 3 Would anyone like to post their Reporting schemas ? and now back to our usual program .. Yours sincerely. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From s.shipway at auckland.ac.nz Wed Feb 8 05:21:10 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 8 Feb 2006 17:21:10 +1300 Subject: Nagios mysql database loaded Message-ID: <008801c62c67$16d79a80$165cd882@438LG01sshi052> As there was some interest in it, I've uploaded the first version of my Nagios database load scripts to www.nagiosexchange.org. Look for 'mysql database loader' under Addon/Misc. This is a pair of Perl scripts, with minimal documentation, that can load the Nagios config files and the Nagios log files into tables in a mysql database (it will also create the tables for you if you ask it to). Later versions will reduce the data to 3rd normal form, and do some additional post-processing and summarisation, but for now it just loads the data. Please feel free to try it out, comment, improve, etc. Hope they can prove useful to someone. Steve ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From siemsen at ucar.edu Wed Feb 8 07:57:15 2006 From: siemsen at ucar.edu (Pete Siemsen) Date: Tue, 07 Feb 2006 23:57:15 -0700 Subject: how to control sounds per-browser? Message-ID: <43E9964B.7040408@ucar.edu> I have sounds turned on in my cgi.cfg so that my NOC staff notices when something goes down. I have other users who want to see nagios pages, but they don't want to hear noises from nagios. How can I help those other users? -- Pete ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From dirk.schulz at kinzesberg.de Wed Feb 8 08:11:19 2006 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Wed, 08 Feb 2006 08:11:19 +0100 Subject: check_mailq running wild Message-ID: <43E99997.1080309@kinzesberg.de> Hi folks, early this morning Nagios (that means: check_mailq) claimed ALL of my hosts to have increasing mailqueues which went up to 40 mail waiting there and then cleared again. But none of the those hosts has received or sent mail around that period! They are Debian Sarge stable and postfix. Nagios is 2.0rc2, the plugins are current as well. Any explanation for this? Any hint or help is appreciated. Dirk ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From dirk.schulz at kinzesberg.de Wed Feb 8 08:19:23 2006 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Wed, 08 Feb 2006 08:19:23 +0100 Subject: Network outage not handled correctly Message-ID: <43E99B7B.1060805@kinzesberg.de> Hi folks, this night we had a router down. As I understand ist, Nagios should not have notified about "host down" for the hosts set behind those routers (I have set up a fitting parent structure, and the map looks okay). But for every host behind the died router there was a "host down" message as well as a "host up" message. Is there anything additional to configure to get network outages handled right? Dirk ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From simvirus at gmail.com Wed Feb 8 09:02:37 2006 From: simvirus at gmail.com (Sim) Date: Wed, 8 Feb 2006 09:02:37 +0100 Subject: NRPE and allowed_hosts after v.2.0 In-Reply-To: <88ad29240602071932x283bcf39ybfcf9e40fc2d56b@mail.gmail.com> References: <88ad29240602070727p1fa61f99r4b3d8bf9262bbe52@mail.gmail.com> <88ad29240602071932x283bcf39ybfcf9e40fc2d56b@mail.gmail.com> Message-ID: Hi Moshe ! Try to connect from another ip in allowed_hosts ... PS: allowed_hosts in sample/cfg is removed :( > Hello > > taken from the READE Section Configuration Paragraph 2. > "2) Add entries for the NRPE daemon to either your inetd or xinetd > configuration files. Which one your use will depend on which > superserver is installed on your system. Both methods are described > below. NOTE: If you run nrpe under inetd or xinetd, the server_port > and allowed_hosts variables in the nrpe configuration file are > ignored." > > this quote was taken from the 2.3. > > Moshe Sharon ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From andreaco at email.it Wed Feb 8 09:07:19 2006 From: andreaco at email.it (Andreaco) Date: Wed, 8 Feb 2006 09:07:19 +0100 Subject: Nagios init file version 2.0rc2 Message-ID: <4970ff3a45ba96798fea1faf3cb4c0d8@213.156.34.234> Hi, I had some troubles with the init scrip /etc/init.d/nagios in nagios version 2 'cos when the nagios application's started its checks ignore the /home/nagios/.bashrc and /home/nagios/.netrc I updated from nagios 1.3 to 2.0rc2 and the new init script contain the # 2003-01-11 Ethan Galstad # - Updated su syntax (Gary Miller) it causes the my problem. The solution is changing in the start procedure the line : $NagiosBin -d $NagiosCfgFile with the line: su -l $NagiosUser -c "$NagiosBin -d $NagiosCfgFile" Bye Andrea -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Meetic, il primo sito di incontri in Europa con milioni di single iscritti. Iscriviti, consulta i profili e chatta con le persone in linea. Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=4050&d=20060208 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From shoktai at gmail.com Wed Feb 8 10:22:03 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Wed, 8 Feb 2006 10:22:03 +0100 Subject: Need pointer Message-ID: <619cf3c0602080122g411dfd02u@mail.gmail.com> Hi, I need a pointer to do the following : i am checking the staus of printers with check_snmp -H x.x.x.x -o OID the snmp check returns a value between 0 and 14 that corresponds to a state Condition Bit # lowPaper 0 noPaper 1 lowToner 2 noToner 3 doorOpen 4 jammed 5 offline 6 serviceRequested 7 inputTrayMissing 8 outputTrayMissing 9 markerSupplyMissing 10 outputNearFull 11 outputFull 12 inputTrayEmpty 13 overduePreventMaint 14 What i want to do is to make appear the value in the output of the check. How can i do that ? Thanks. -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From smalhotra at dataarmor.net Wed Feb 8 10:36:56 2006 From: smalhotra at dataarmor.net (Sumit Malhotra) Date: Wed, 8 Feb 2006 15:06:56 +0530 Subject: Need pointer In-Reply-To: <619cf3c0602080122g411dfd02u@mail.gmail.com> References: <619cf3c0602080122g411dfd02u@mail.gmail.com> Message-ID: <1444.11341139391742.mail2.dataarmor.net@MHS> _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Toto Capuccino Sent: Wednesday, February 08, 2006 2:52 PM To: Nagios Subject: [Nagios-users] Need pointer Hi, I need a pointer to do the following : i am checking the staus of printers with check_snmp -H x.x.x.x -o OID the snmp check returns a value between 0 and 14 that corresponds to a state Condition Bit # lowPaper 0 noPaper 1 lowToner 2 noToner 3 doorOpen 4 jammed 5 offline 6 serviceRequested 7 inputTrayMissing 8 outputTrayMissing 9 markerSupplyMissing 10 outputNearFull 11 outputFull 12 inputTrayEmpty 13 overduePreventMaint 14 What i want to do is to make appear the value in the output of the check. How can i do that ? Write a wrapper script which instead of returning OID in output returns the State instead of NUMBERIC value. The script could be like #!/bin/sh output= `/usr/bin/local/Nagios/check_snmp -H $1 -o $2` if [ $output = 0 ] echo "lowpaper" exit ($value) From shoktai at gmail.com Wed Feb 8 11:23:21 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Wed, 8 Feb 2006 11:23:21 +0100 Subject: Need pointer In-Reply-To: <1444.11341139391742.mail2.dataarmor.net@MHS> References: <619cf3c0602080122g411dfd02u@mail.gmail.com> <1444.11341139391742.mail2.dataarmor.net@MHS> Message-ID: <619cf3c0602080223p11efa47ex@mail.gmail.com> I have tried this #!/bin/sh $output=`/usr/local/nagios/libexec/check_snmp -H $1 -o $2` if [ $output = 0 ] echo "low paper" if [ $output = 1 ] echo "no Paper" if [ $output = 2 ] echo "low Toner" . . . exit ($value) i get this errors : ../libexec/check_Xerox_Status: line 3: =SNMP: command not found ../libexec/check_Xerox_Status: line 65: syntax error near unexpected token `$value' ../libexec/check_Xerox_Status: line 65: `exit ($value)' I am totally walking blind there as i could say it is my first script, can you give a hand? Thanks and i get this error 2006/2/8, Sumit Malhotra : > > > > > > _____ > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Toto > Capuccino > Sent: Wednesday, February 08, 2006 2:52 PM > To: Nagios > Subject: [Nagios-users] Need pointer > > > > Hi, > > I need a pointer to do the following : > i am checking the staus of printers with check_snmp -H x.x.x.x -o OID > the snmp check returns a value between 0 and 14 that corresponds to a > state > Condition Bit # > lowPaper 0 > noPaper 1 > lowToner 2 > noToner 3 > doorOpen 4 > jammed 5 > offline 6 > serviceRequested 7 > inputTrayMissing 8 > outputTrayMissing 9 > markerSupplyMissing 10 > outputNearFull 11 > outputFull 12 > inputTrayEmpty 13 > overduePreventMaint 14 > > What i want to do is to make appear the value in the output of the check. > How can i do that ? > > Write a wrapper script which instead of returning OID in output returns > the > State instead of NUMBERIC value. > > > > The script could be like > > > > #!/bin/sh > > output= `/usr/bin/local/Nagios/check_snmp -H $1 -o $2` > > > > if [ $output = 0 ] > > echo "lowpaper" > > exit ($value) > > -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at aidworld.org Wed Feb 8 11:45:19 2006 From: chris at aidworld.org (Chris Wilson) Date: Wed, 08 Feb 2006 10:45:19 +0000 Subject: check_mailq running wild In-Reply-To: <43E99997.1080309@kinzesberg.de> References: <43E99997.1080309@kinzesberg.de> Message-ID: <1139395519.13816.1.camel@localhost> Hi Dirk, > early this morning Nagios (that means: check_mailq) claimed ALL of my > hosts to have increasing mailqueues which went up to 40 mail waiting > there and then cleared again. > But none of the those hosts has received or sent mail around that period! > > They are Debian Sarge stable and postfix. Nagios is 2.0rc2, the plugins > are current as well. > > Any explanation for this? How are you monitoring remote mail queues? With check_nrpe or check_ssh or distributed monitoring? If you're not using any of these, the chances are that your Nagios machine is actually monitoring its own mail queue instead of the remote host's queue in each case. Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From chris at aidworld.org Wed Feb 8 11:47:06 2006 From: chris at aidworld.org (Chris Wilson) Date: Wed, 08 Feb 2006 10:47:06 +0000 Subject: Network outage not handled correctly In-Reply-To: <43E99B7B.1060805@kinzesberg.de> References: <43E99B7B.1060805@kinzesberg.de> Message-ID: <1139395626.13816.4.camel@localhost> Hi Dirk, > this night we had a router down. As I understand ist, Nagios should not > have notified about "host down" for the hosts set behind those routers > (I have set up a fitting parent structure, and the map looks okay). > But for every host behind the died router there was a "host down" > message as well as a "host up" message. Did you get a "host down" for the router? Was it detected before the "host down" (hard state) of the hosts behind the router? > Is there anything additional to configure to get network outages handled > right? Did you disable unreachable host notifications for the hosts behind the router? Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From smalhotra at dataarmor.net Wed Feb 8 11:45:32 2006 From: smalhotra at dataarmor.net (Sumit Malhotra) Date: Wed, 8 Feb 2006 16:15:32 +0530 Subject: Need pointer In-Reply-To: <619cf3c0602080223p11efa47ex@mail.gmail.com> References: <619cf3c0602080223p11efa47ex@mail.gmail.com> Message-ID: <1444.11371139395858.mail2.dataarmor.net@MHS> With $value I meant, Write an exit status to be used by Nagios #!/bin/sh output=`/usr/local/nagios/libexec/check_snmp -H $1 -o $2` if [ $output = 0 ] echo "low paper" Exit(1) if [ $output = 1 ] echo "no Paper" Exit(2) if [ $output = 2 ] echo "low Toner" ---------- 0 will return OK 1 will return WARNING 2 will return CRITICAL -------- Also, check you shell script there is error on line 3 (NO $output ? us output instead). I guess, it?s a good time to read some shell scripting. Thanks Sumit _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Toto Capuccino Sent: Wednesday, February 08, 2006 3:53 PM To: Nagios Subject: Re: [Nagios-users] Need pointer I have tried this #!/bin/sh $output=`/usr/local/nagios/libexec/check_snmp -H $1 -o $2` if [ $output = 0 ] echo "low paper" if [ $output = 1 ] echo "no Paper" if [ $output = 2 ] echo "low Toner" . . . exit ($value) i get this errors : ../libexec/check_Xerox_Status: line 3: =SNMP: command not found ../libexec/check_Xerox_Status: line 65: syntax error near unexpected token `$value' ../libexec/check_Xerox_Status: line 65: `exit ($value)' I am totally walking blind there as i could say it is my first script, can you give a hand? Thanks and i get this error 2006/2/8, Sumit Malhotra : _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net ] On Behalf Of Toto Capuccino Sent: Wednesday, February 08, 2006 2:52 PM To: Nagios Subject: [Nagios-users] Need pointer Hi, I need a pointer to do the following : i am checking the staus of printers with check_snmp -H x.x.x.x -o OID the snmp check returns a value between 0 and 14 that corresponds to a state Condition Bit # lowPaper 0 noPaper 1 lowToner 2 noToner 3 doorOpen 4 jammed 5 offline 6 serviceRequested 7 inputTrayMissing 8 outputTrayMissing 9 markerSupplyMissing 10 outputNearFull 11 outputFull 12 inputTrayEmpty 13 overduePreventMaint 14 What i want to do is to make appear the value in the output of the check. How can i do that ? Write a wrapper script which instead of returning OID in output returns the State instead of NUMBERIC value. The script could be like #!/bin/sh output= `/usr/bin/local/Nagios/check_snmp -H $1 -o $2` if [ $output = 0 ] echo "lowpaper" exit ($value) -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From prandal at herefordshire.gov.uk Wed Feb 8 12:22:53 2006 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Wed, 8 Feb 2006 11:22:53 -0000 Subject: Migrate Nagios 1.3 to 2.0 Message-ID: <86144ED6CE5B004DA23E1EAC0B569B580B0D3CD0@isabella.herefordshire.gov.uk> That's useful, but has anybody done a Migration "howto"? Or written a migration tool? Cheers, Phil ---- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Marc Powell > Sent: 07 February 2006 23:42 > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Migrate Nagios 1.3 to 2.0 > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Sim > > Sent: Tuesday, February 07, 2006 4:48 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Migrate Nagios 1.3 to 2.0 > > > > Hi! > > > > Is Nagios 2.0 full compatible with last 1.3? > > > > ( etc files..., etc.. ) > > http://nagios.sourceforge.net/docs/2_0/whatsnew.html > > -- > Marc > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep > through log files for problems? Stop! Download the new AJAX > search engine that makes searching your log files as easy as > surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486& > dat=121642 > _______________________________________________ > 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 > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From al at its-lehmann.de Wed Feb 8 12:29:43 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Wed, 08 Feb 2006 12:29:43 +0100 Subject: Need pointer In-Reply-To: <1444.11371139395858.mail2.dataarmor.net@MHS> References: <1444.11371139395858.mail2.dataarmor.net@MHS> Message-ID: <43E9D627.50605@its-lehmann.de> Hi, On 2/8/2006 11:45 AM, Sumit Malhotra wrote: > > > With $value I meant, Write an exit status to be used by Nagios > without having the time to produce a complete script, I just wanted to point out... > #!/bin/sh > output=`/usr/local/nagios/libexec/check_snmp -H $1 -o $2` > if [ $output = 0 ] that these are Bit numbers, so you have to compare against 1, 2, 4 and either do it with a bitwise and or by comparing with -ge. Like if [ $output -ge 1 ] ; then # add something to output string # store marker for problem fi and in the end you return after you checked all status. Toto: Try understanding existing shell scripts first before you try your own. Also, read and nderstand the manual, like 'man bash'. Arno > echo "low paper" > > Exit(1) > if [ $output = 1 ] > echo "no Paper" > Exit(2) > if [ $output = 2 ] > > echo "low Toner" > > ---------- > > 0 will return OK > > 1 will return WARNING > > 2 will return CRITICAL > > -------- > > > > Also, check you shell script there is error on line 3 (NO $output ? us > output instead). > > I guess, it?s a good time to read some shell scripting. > > > > Thanks > > Sumit > > > > > > > > * From: * nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] *On Behalf Of *Toto > Capuccino > *Sent:* Wednesday, February 08, 2006 3:53 PM > *To:* Nagios > *Subject:* Re: [Nagios-users] Need pointer > > > > I have tried this > > #!/bin/sh > > $output=`/usr/local/nagios/libexec/check_snmp -H $1 -o $2` > > if [ $output = 0 ] > > echo "low paper" > > if [ $output = 1 ] > > echo "no Paper" > > if [ $output = 2 ] > > echo "low Toner" > . > . > . > exit ($value) > > i get this errors : > ../libexec/check_Xerox_Status: line 3: =SNMP: command not found > ../libexec/check_Xerox_Status: line 65: syntax error near unexpected > token `$value' > ../libexec/check_Xerox_Status: line 65: `exit ($value)' > > I am totally walking blind there as i could say it is my first script, > can you give a hand? > > Thanks > and i get this error > > 2006/2/8, Sumit Malhotra >: > > > > > > _____ > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net > ] On Behalf Of Toto > Capuccino > Sent: Wednesday, February 08, 2006 2:52 PM > To: Nagios > Subject: [Nagios-users] Need pointer > > > > Hi, > > I need a pointer to do the following : > i am checking the staus of printers with check_snmp -H x.x.x.x -o OID > the snmp check returns a value between 0 and 14 that corresponds to a state > Condition Bit # > lowPaper 0 > noPaper 1 > lowToner 2 > noToner 3 > doorOpen 4 > jammed 5 > offline 6 > serviceRequested 7 > inputTrayMissing 8 > outputTrayMissing 9 > markerSupplyMissing 10 > outputNearFull 11 > outputFull 12 > inputTrayEmpty 13 > overduePreventMaint 14 > > What i want to do is to make appear the value in the output of the check. > How can i do that ? > > Write a wrapper script which instead of returning OID in output returns the > State instead of NUMBERIC value. > > > > The script could be like > > > > #!/bin/sh > > output= `/usr/bin/local/Nagios/check_snmp -H $1 -o $2` > > > > if [ $output = 0 ] > > echo "lowpaper" > > exit ($value) > > > > > -- > Le bon sens est la chose du monde la mieux partag?e. > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From dirk.schulz at kinzesberg.de Wed Feb 8 13:02:31 2006 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Wed, 08 Feb 2006 13:02:31 +0100 Subject: check_mailq running wild In-Reply-To: <1139395519.13816.1.camel@localhost> References: <43E99997.1080309@kinzesberg.de> <1139395519.13816.1.camel@localhost> Message-ID: <43E9DDD7.1080100@kinzesberg.de> Hi Chris, Chris Wilson schrieb: >Hi Dirk, > > > >>early this morning Nagios (that means: check_mailq) claimed ALL of my >>hosts to have increasing mailqueues which went up to 40 mail waiting >>there and then cleared again. >>But none of the those hosts has received or sent mail around that period! >> >>They are Debian Sarge stable and postfix. Nagios is 2.0rc2, the plugins >>are current as well. >> >>Any explanation for this? >> >> > >How are you monitoring remote mail queues? With check_nrpe or check_ssh >or distributed monitoring? > >If you're not using any of these, the chances are that your Nagios >machine is actually monitoring its own mail queue instead of the remote >host's queue in each case. > > Thanks for pointing me to the right direction. I have defined local and ssh commands for check_mailq and used the local command for all servers. I go banging my head somewhere ... Dirk ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From dirk.schulz at kinzesberg.de Wed Feb 8 13:07:22 2006 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Wed, 08 Feb 2006 13:07:22 +0100 Subject: Network outage not handled correctly In-Reply-To: <1139395626.13816.4.camel@localhost> References: <43E99B7B.1060805@kinzesberg.de> <1139395626.13816.4.camel@localhost> Message-ID: <43E9DEFA.9020406@kinzesberg.de> Hi Chris, Chris Wilson schrieb: >Hi Dirk, > > > >>this night we had a router down. As I understand ist, Nagios should not >>have notified about "host down" for the hosts set behind those routers >>(I have set up a fitting parent structure, and the map looks okay). >>But for every host behind the died router there was a "host down" >>message as well as a "host up" message. >> >> > >Did you get a "host down" for the router? Was it detected before the >"host down" (hard state) of the hosts behind the router? > > The router was detected first as down (2 x soft, then hard state), and half a minute later the hosts behind it. A "host down" message was sent first, then a "host unreachable" message. > > >>Is there anything additional to configure to get network outages handled >>right? >> >> > >Did you disable unreachable host notifications for the hosts behind the >router? > > That's it. Thank you. Dirk ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From kylet at panix.com Wed Feb 8 14:12:54 2006 From: kylet at panix.com (Kyle Tucker) Date: Wed, 8 Feb 2006 08:12:54 -0500 (EST) Subject: Distributed servers and parenting In-Reply-To: <004b01c62381$4a3ad200$620a010a@GRAPEAPE> References: <004b01c62381$4a3ad200$620a010a@GRAPEAPE> Message-ID: <200602081312.k18DCs512701@panix3.panix.com> Well I am not sure how parenting would affect my monitoring hiearchy. If you look at this image for my setup.... http://www.panix.com/~kylet/nagconf.png ... if the distributed server is monitoring the firewall system as it's in the same remote location from the central server, and that firewall is the parent of the distributed server, will the central server see the landscape correctly? Or is this a non-issue? If it's not obvious, I am monitoring the distributed server with NRPE through the firewall, not bypassing it as the image might be suggesting. Thanks. > I don't run distributed, but I do use the parent option with hosts to point > to the switch that they are behind. I see the parent/child relationship not > so much from a visual perspective but more from a functional perspective. > Since I don't want to get a zillion notifications if one of the switches > fails, I set it up in this fashion. > > With regards to the status maps, I don't see that they provide a whole lot > of functionality, but if you want to clean them up, perhaps you can try > using Nagvis. I have it on my list of future add-ons. > > Todd > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Kyle Tucker > > Sent: Friday, January 27, 2006 3:26 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Distributed servers and parenting > > > > Hi, > > I have Nagios set up in distributed mode. I am > > wondering if this should have a direct affect on how > > parenting is set up. I think visually from the status > > maps, it would look "right" to have the all clients have > > the distributed monitor system be its parent and perhaps > > have the central server be the parent of it, but I'm not > > sure if this makes sense from a systems-link standpoint. > > Any thoughts on this? > > > > -- > > - Kyle > > --------------------------------------------- > > kylet at panix.com http://www.panix.com/~kylet > > --------------------------------------------- > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > > files > > for problems? Stop! Download the new AJAX search engine that makes > > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > > _______________________________________________ > > 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 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From ravikmrs at yahoo.com Wed Feb 8 14:24:59 2006 From: ravikmrs at yahoo.com (Ravi Kumar) Date: Wed, 8 Feb 2006 05:24:59 -0800 (PST) Subject: disk graph Message-ID: <20060208132459.66266.qmail@web53909.mail.yahoo.com> Please suggest why this not showing disk graph. apan.cfg server1;disk_usage;/usr/local/nagios/rrd/server1-disk.rrd;/|/u01;root:LINE2 u01:LINE2;Disk Usage;%; rrd command rrdtool create /usr/local/nagios/rrd/server1-disk.rrd -s 60 DS:root:GAUGE:300:0:U DS:u01:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 Thx --------------------------------- Brings words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: From samba at guidemail.com Wed Feb 8 15:18:47 2006 From: samba at guidemail.com (Josh) Date: Wed, 8 Feb 2006 14:18:47 +0000 (UTC) Subject: Updated Web Config program Message-ID: I have updated NagiosWeb Config on sourceforge.net. NagiosWeb allows you to use a web interface to configure Nagios 2.x and store your configuration in a MySQL DB backend. It is missing an import script for existing configurations but it is easy enough to setup for new and small sites. Please give it a try and submit a question to the Open Discussion forum if you run into any problems or have any improvement ideas. http://sourceforge.net/projects/nagiosweb/ Josh ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From matteo.corti at id.ethz.ch Wed Feb 8 16:07:06 2006 From: matteo.corti at id.ethz.ch (Matteo Corti) Date: Wed, 08 Feb 2006 16:07:06 +0100 Subject: Icons showing up everywhere but in the status map Message-ID: <43EA091A.3010303@id.ethz.ch> Hi, I configured nagios (2.0) to read the hostextinfo.cfg file where I configured some hosts with icons. Example: define hostextinfo{ host_name router.example.com statusmap_image router.gd2 icon_image router.png icon_image_alt Router vrml_image router.png } I can see the icons in the host list but not in the status map where I simply see squares (in the popup the icon is OK). Looking on the web I saw that it should be possible to have the icons in the map itself but I am obviously missing something. Many thanks, Matteo -- Matteo Corti ETH Zurich Informatikdienste / Basisdienste matteo.corti at id.ethz.ch +41 44 6327944 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From shoktai at gmail.com Wed Feb 8 16:11:21 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Wed, 8 Feb 2006 16:11:21 +0100 Subject: Icons showing up everywhere but in the status map In-Reply-To: <43EA091A.3010303@id.ethz.ch> References: <43EA091A.3010303@id.ethz.ch> Message-ID: <619cf3c0602080711v1695db89l@mail.gmail.com> Hi, Did you check permissions ? Did you make your owm gd2 picture ? 2006/2/8, Matteo Corti : > > Hi, > > I configured nagios (2.0) to read the hostextinfo.cfg file where I > configured some hosts with icons. Example: > > define hostextinfo{ > host_name router.example.com > statusmap_image router.gd2 > icon_image router.png > icon_image_alt Router > vrml_image router.png > } > > I can see the icons in the host list but not in the status map where I > simply see squares (in the popup the icon is OK). Looking on the web I > saw that it should be possible to have the icons in the map itself but I > am obviously missing something. > > Many thanks, > > Matteo > > -- > Matteo Corti > ETH Zurich > Informatikdienste / Basisdienste > matteo.corti at id.ethz.ch > +41 44 6327944 > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From MGarringer at APACMail.com Wed Feb 8 16:12:25 2006 From: MGarringer at APACMail.com (Garringer, Mark) Date: Wed, 8 Feb 2006 09:12:25 -0600 Subject: Icons showing up everywhere but in the status map Message-ID: <5EA1C2411752D711826C00B0D049CD8306A86D73@ntcr1104.apacteleservices.com> I had a similar problem, where the gd2 pics in the status map would not display correctly. I was trying to use the ones that were included in the RPM, but ended up removing them and recreating them from the pngs and then they worked perfectly. Mark Garringer Manager, UNIX Systems Administration Red Hat Certified Engineer (RHCE) APAC Customer Services (319)896-2289 -----Original Message----- From: Matteo Corti [mailto:matteo.corti at id.ethz.ch] Sent: Wednesday, February 08, 2006 9:07 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Icons showing up everywhere but in the status map Hi, I configured nagios (2.0) to read the hostextinfo.cfg file where I configured some hosts with icons. Example: define hostextinfo{ host_name router.example.com statusmap_image router.gd2 icon_image router.png icon_image_alt Router vrml_image router.png } I can see the icons in the host list but not in the status map where I simply see squares (in the popup the icon is OK). Looking on the web I saw that it should be possible to have the icons in the map itself but I am obviously missing something. Many thanks, Matteo -- Matteo Corti ETH Zurich Informatikdienste / Basisdienste matteo.corti at id.ethz.ch +41 44 6327944 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From tholmes at mcaschool.net Wed Feb 8 16:47:48 2006 From: tholmes at mcaschool.net (Timothy A. Holmes) Date: Wed, 8 Feb 2006 10:47:48 -0500 Subject: SPLUNK Message-ID: <17CD9CE4C0FA574A8B29EF02D49B385D0F5180@srvexch-01.mcaschool.local> Hi Folks: I received an email this morning, that was sponsored by SPLUNK INC. the advertisement -- without the link is included below, I am curious to know if anyone has used this, or knows anything about it. It sounds like something that I would find VERY useful, BUT..... I am in general very very suspicious of anything that is advertised on the bottom of an e-mail. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! Any Comments etc are greatly appreciated Timothy A. Holmes IT Manager / Network Admin / Web Master / Computer Teacher Medina Christian Academy A Higher Standard... Jeremiah 33:3 Jeremiah 29:11 Esther 4:14 Timothy A. Holmes IT Manager / Network Admin / Web Master / Computer Teacher Medina Christian Academy A Higher Standard... Jeremiah 33:3 Jeremiah 29:11 Esther 4:14 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From dyioulos at firstbhph.com Wed Feb 8 16:56:48 2006 From: dyioulos at firstbhph.com (Dimitri Yioulos) Date: Wed, 8 Feb 2006 10:56:48 -0500 Subject: SPLUNK In-Reply-To: <17CD9CE4C0FA574A8B29EF02D49B385D0F5180@srvexch-01.mcaschool.local> References: <17CD9CE4C0FA574A8B29EF02D49B385D0F5180@srvexch-01.mcaschool.local> Message-ID: <200602081056.48884.dyioulos@firstbhph.com> On Wednesday February 08 2006 10:47 am, Timothy A. Holmes wrote: > Hi Folks: > > I received an email this morning, that was sponsored by SPLUNK INC. the > advertisement -- without the link is included below, I am curious to > know if anyone has used this, or knows anything about it. It sounds > like something that I would find VERY useful, BUT..... I am in general > very very suspicious of anything that is advertised on the bottom of an > e-mail. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files for problems? Stop! Download the new AJAX search engine that > makes searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > > > > Any Comments etc are greatly appreciated > > Timothy A. Holmes > IT Manager / Network Admin / Web Master / Computer Teacher > > Medina Christian Academy > A Higher Standard... > > Jeremiah 33:3 > Jeremiah 29:11 > Esther 4:14 > > > Timothy A. Holmes > IT Manager / Network Admin / Web Master / Computer Teacher > > Medina Christian Academy > A Higher Standard... > > Jeremiah 33:3 > Jeremiah 29:11 > Esther 4:14 > > I installed the previous version on my firewall a few weeks ago. Believe me when I tell you that it makes looking at logs a whole lot easier, since it's trivial to filter on key words. Installation was easy, and you only need to make a couple of easy tweaks to a couple of files to get it working. HTH. Dimitri -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From boinger at tradingtechnologies.com Wed Feb 8 17:10:57 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 08 Feb 2006 10:10:57 -0600 Subject: Major notification problem In-Reply-To: <308D3417BAD2104895AE72D879B815B6018EF094@stsstomail01.softronic.se> References: <308D3417BAD2104895AE72D879B815B6018EF094@stsstomail01.softronic.se> Message-ID: <1139415057.11456.80.camel@chi100400> On Wed, 2006-02-08 at 00:57 +0100, lennart.kvam at softronic.se wrote: > When i try in commandline with: /bin/mail -s TEST > lelle at softronic.se Its working like charm! but i need to press "ctrl"+ > d to send it! what about: echo "test message" | /bin/mail -s TEST lelle at softronic.se ? You need to study up on pipes, stdin, stdout, etc. Standard Unix concepts. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From jhmartin at toger.us Wed Feb 8 17:26:18 2006 From: jhmartin at toger.us (Jason Martin) Date: Wed, 8 Feb 2006 08:26:18 -0800 Subject: SPLUNK In-Reply-To: <200602081056.48884.dyioulos@firstbhph.com> References: <17CD9CE4C0FA574A8B29EF02D49B385D0F5180@srvexch-01.mcaschool.local> <200602081056.48884.dyioulos@firstbhph.com> Message-ID: <20060208162618.GH17772@mal.members.linode.com> On Wed, Feb 08, 2006 at 10:56:48AM -0500, Dimitri Yioulos wrote: > I installed the previous version on my firewall a few weeks ago. Believe me > when I tell you that it makes looking at logs a whole lot easier, since it's > trivial to filter on key words. Installation was easy, and you only need to > make a couple of easy tweaks to a couple of files to get it working. Note that the free version will only process 500MB/day of input. -Jason Martin -- Where there's a will, there's an inheritance tax. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From jhmartin at toger.us Wed Feb 8 17:27:57 2006 From: jhmartin at toger.us (Jason Martin) Date: Wed, 8 Feb 2006 08:27:57 -0800 Subject: check_mailq running wild In-Reply-To: <43E99997.1080309@kinzesberg.de> References: <43E99997.1080309@kinzesberg.de> Message-ID: <20060208162757.GI17772@mal.members.linode.com> On Wed, Feb 08, 2006 at 08:11:19AM +0100, Dirk H. Schulz wrote: > They are Debian Sarge stable and postfix. Nagios is 2.0rc2, the plugins > are current as well. How are you invoking check_mailq? NRPE? SSH? It sounds to me like all of your check_mailq checks are occuring on the Nagios server instead of on the remote servers. -Jason Martin -- Where there's a will, there's an inheritance tax. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From matteo.corti at id.ethz.ch Wed Feb 8 17:31:06 2006 From: matteo.corti at id.ethz.ch (Matteo Corti) Date: Wed, 08 Feb 2006 17:31:06 +0100 Subject: Icons showing up everywhere but in the status map In-Reply-To: <619cf3c0602080711v1695db89l@mail.gmail.com> References: <43EA091A.3010303@id.ethz.ch> <619cf3c0602080711v1695db89l@mail.gmail.com> Message-ID: <43EA1CCA.8050805@id.ethz.ch> Hi, > Did you check permissions ? Did you make your owm gd2 picture ? Files are readable and I regenerated all the gd2 files (uncompressed with a 0 chunk size ad suggested in the FAQ). The result is the same. BTW: I can see the icons in the status map popups: are these coming from the gd2 or png files? Thanks again, Matteo > > 2006/2/8, Matteo Corti >: > > Hi, > > I configured nagios (2.0) to read the hostextinfo.cfg file where I > configured some hosts with icons. Example: > > define hostextinfo{ > host_name router.example.com > statusmap_image router.gd2 > icon_image router.png > icon_image_alt Router > vrml_image router.png > } > > I can see the icons in the host list but not in the status map where I > simply see squares (in the popup the icon is OK). Looking on the web I > saw that it should be possible to have the icons in the map itself but I > am obviously missing something. > > Many thanks, > > Matteo > > -- > Matteo Corti > ETH Zurich > Informatikdienste / Basisdienste > matteo.corti at id.ethz.ch > +41 44 6327944 > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > > _______________________________________________ > 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 > > > > > -- > Le bon sens est la chose du monde la mieux partag?e. -- Matteo Corti ETH Zurich Informatikdienste / Basisdienste matteo.corti at id.ethz.ch +41 44 6327944 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From Deborah.Martin at Kognitio.com Wed Feb 8 17:40:13 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Wed, 8 Feb 2006 16:40:13 -0000 Subject: DEPENDENCIES Message-ID: Hi, I have dependencies working mainly fine. However, i'm still not 100% satisfied that its behaving correctly. Using Nagios 2.0rc2 on suse 9.2 (i've used later releases for testing but behaviour is the same) I have one main service which is a database connection plugin to ensure the database is up and running. I have 3 additional dependency plugins which do various other checks such as ram and disk usage. When the main database plugin check goes to warning or critical I want to suppress email notifications on the 3 remaining checks as there is no point in running these (they won't return anything useful apart from timeouts). However, this rarely happens. Usually, I get the main check email notification plus 1 other email notification from one of the dependencies (though it may not always be the same dependency) Is there something i'm missing here ? Why can't it supress all three as i would expect ? Do i need to set a parameter setting somewhere ? My main plugin checks every 5 mins with the dependencies every 20 mins. Should i change these timings to something different and if so why ? This is driving me somewhat insane and any pointers / help would be very welcomed. regards, deborah ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From msugano at uolinc.com Wed Feb 8 17:50:20 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 08 Feb 2006 14:50:20 -0200 Subject: Need pointer In-Reply-To: <43E9D627.50605@its-lehmann.de> References: <1444.11371139395858.mail2.dataarmor.net@MHS> <43E9D627.50605@its-lehmann.de> Message-ID: <1139417420.12238.5.camel@localhost> On Wed, 2006-02-08 at 12:29 +0100, Arno Lehmann wrote: > Also, read and nderstand the manual, like 'man bash'. Wow, that IS a real task. It is hundred+ printed pages. Toto, i suggest you to google 'bash scripting howto'. -- Marcel Mitsuto Fucatu Sugano Universo Online S.A. -- http://www.uol.com.br ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From sghosh at sghosh.org Wed Feb 8 18:00:54 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 8 Feb 2006 12:00:54 -0500 (EST) Subject: DEPENDENCIES In-Reply-To: References: Message-ID: On Wed, 8 Feb 2006, Deborah Martin wrote: > Hi, > > I have dependencies working mainly fine. However, i'm still not 100% > satisfied that its behaving correctly. > > Using Nagios 2.0rc2 on suse 9.2 (i've used later releases for testing but > behaviour is the same) > > I have one main service which is a database connection plugin to ensure the > database is up and running. > I have 3 additional dependency plugins which do various other checks such as > ram and disk usage. > > When the main database plugin check goes to warning or critical I want to > suppress email notifications on the 3 remaining checks as there is no point > in running these (they won't return anything useful apart from timeouts). > > However, this rarely happens. Usually, I get the main check email > notification plus 1 other email notification from one of the dependencies > (though it may not always be the same dependency) > > Is there something i'm missing here ? Why can't it supress all three as i > would expect ? Do i need to set a parameter setting somewhere ? > > My main plugin checks every 5 mins with the dependencies every 20 mins. > Should i change these timings to something different and if so why ? > > This is driving me somewhat insane and any pointers / help would be very > welcomed. > > regards, > deborah > It is possible for the checks to be running concurrently - If the main check fails, then the service dependency checks kick in. but the cocurrent check is already in progress and notifications would be sent out. -sg -- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From holger at CIS.FU-Berlin.DE Wed Feb 8 18:16:44 2006 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Wed, 8 Feb 2006 18:16:44 +0100 Subject: DEPENDENCIES In-Reply-To: References: Message-ID: <20060208171643.GB7013055@CIS.FU-Berlin.DE> * Deborah Martin [2006-02-08 16:40]: > When the main database plugin check goes to warning or critical I want to > suppress email notifications on the 3 remaining checks as there is no point > in running these (they won't return anything useful apart from timeouts). > > However, this rarely happens. Usually, I get the main check email > notification plus 1 other email notification from one of the dependencies > (though it may not always be the same dependency) Whether or not service dependencies work as expected depends on the setting of soft_state_dependencies and your check intervals: | Try reading the nagios docs on soft_state_dependencies. Then setting | | soft_state_dependencies=1 | | in nagios.cfg. | | If A depends on B (aka no alert on A when B in trouble) make sure that: | | retry_check_interval(A) * max_check_attempts(A) > | normal_check_interval(B) | | That should guarantee that at least one check of B occurs during the | trouble interval for A. Without the soft_state_dependencies you must use: | | retry_check_interval(A) * max_check_attempts(A) > | normal_check_interval(B) + | (retry_check_interval(B) * max_check_attempts(B)) | | to make sure that B goes into a hard state during the trouble interval | of A. [ http://sourceforge.net/mailarchive/message.php?msg_id=14420901 ] This makes sure it should work in most cases (though in theory it can still fail if the critical check of service B was delayed for some reason). Holger PS: For host dependencies, a similar problem AFAICS cannot be solved without patching Nagios: http://sourceforge.net/mailarchive/message.php?msg_id=14641584 -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From PShelfo at embrex.com Wed Feb 8 18:23:13 2006 From: PShelfo at embrex.com (Pete Shelfo) Date: Wed, 8 Feb 2006 12:23:13 -0500 Subject: Upgrade from 1.1 to 2.0rc2 Changes Service Checks Message-ID: I have been running custom check_nt and check_snmp commands in my services files as each instance is different. However now that I am moving to version 2.0rc2 I keeping getting the following error on the pre-flight check: Error: Service check command '"/usr/local/nagios/libexec/check_nt' specified in service 'Service States' for host 'server1' not defined anywhere! The new build of Nagios is a fresh install on a separate server. If I run check_nt or check_snmp from a terminal command line the check runs fine. Did something check in the new version that changed the way check_commands work? It appears that anything I set with a custom check command is failing but everything else that has a direct reference in the checkcommands.cfg file works. Example of my service check: # SERVICES define service{ use generic-service ; Name of service template to use host_name server1 service_description Service States check_command "/usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -d SHOWALL -l McShield,Netlogon,W32Time" } ------------------------------------------------------------------- Pete Shelfo Systems Engineer (919) 314-2546 pshelfo at embrex.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From matteo.corti at id.ethz.ch Wed Feb 8 18:36:41 2006 From: matteo.corti at id.ethz.ch (Matteo Corti) Date: Wed, 08 Feb 2006 18:36:41 +0100 Subject: Icons showing up everywhere but in the status map In-Reply-To: <5EA1C2411752D711826C00B0D049CD8306A86D74@ntcr1104.apacteleservices.com> References: <5EA1C2411752D711826C00B0D049CD8306A86D74@ntcr1104.apacteleservices.com> Message-ID: <43EA2C29.6070508@id.ethz.ch> Hi Garringer, Mark wrote: > Are you running RedHat/Fedora by chance? Yes, FC4 > This sounds just like the problem that I had, but it looks like you > regenerated all the gd2 files already with no luck. As part of my > troubleshooting I think I ended up installing both the gd-devel and gd-prog > RPMs. I have both > The popup icons in the status map are from your png files...those are > whatever you are defining as icon_image. Ok [snip] > pngtogd2 redhat.png redhat.gd2 0 1 is what I did to convert the files, but > again as you mention I think this is exactly what the FAQ says. Yes. I converted them all: rm -f *gd2; or file in *png ; do pngtogd2 $file ${file%png}gd2 0 1; done But, without any change. How could I get more information on what is going on? Thanks again, Matteo > > Mark Garringer > Manager, UNIX Systems Administration > Red Hat Certified Engineer (RHCE) > APAC Customer Services > (319)896-2289 > > > -----Original Message----- > From: Matteo Corti [mailto:matteo.corti at id.ethz.ch] > Sent: Wednesday, February 08, 2006 10:31 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Icons showing up everywhere but in the status > map > > > Hi, > >> Did you check permissions ? Did you make your owm gd2 picture ? > > Files are readable and I regenerated all the gd2 files (uncompressed with a > 0 chunk size ad suggested in the FAQ). > > The result is the same. > > BTW: I can see the icons in the status map popups: are these coming from the > gd2 or png files? > > Thanks again, > > Matteo > >> 2006/2/8, Matteo Corti > >: >> >> Hi, >> >> I configured nagios (2.0) to read the hostextinfo.cfg file where I >> configured some hosts with icons. Example: >> >> define hostextinfo{ >> host_name router.example.com >> statusmap_image router.gd2 >> icon_image router.png >> icon_image_alt Router >> vrml_image router.png >> } >> >> I can see the icons in the host list but not in the status map where I >> simply see squares (in the popup the icon is OK). Looking on the web I >> saw that it should be possible to have the icons in the map itself but > I >> am obviously missing something. >> >> Many thanks, >> >> Matteo >> >> -- >> Matteo Corti >> ETH Zurich >> Informatikdienste / Basisdienste >> matteo.corti at id.ethz.ch >> +41 44 6327944 >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep through >> log files >> for problems? Stop! Download the new AJAX search engine that makes >> searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > >> _______________________________________________ >> 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 >> >> >> >> >> -- >> Le bon sens est la chose du monde la mieux partag?e. > > -- Matteo Corti ETH Zurich Informatikdienste / Basisdienste matteo.corti at id.ethz.ch +41 44 6327944 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From RLAdams at AdamsInfoServ.Com Wed Feb 8 18:51:55 2006 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Wed, 8 Feb 2006 11:51:55 -0600 Subject: SPLUNK In-Reply-To: <20060208162618.GH17772@mal.members.linode.com> References: <17CD9CE4C0FA574A8B29EF02D49B385D0F5180@srvexch-01.mcaschool.local> <200602081056.48884.dyioulos@firstbhph.com> <20060208162618.GH17772@mal.members.linode.com> Message-ID: <20060208175155.GA30364@keroberos> My answer? Syslog-ng and Logmuncher. Email reports. ;] Russell On Wed, Feb 08, 2006 at 08:26:18AM -0800, Jason Martin wrote: > On Wed, Feb 08, 2006 at 10:56:48AM -0500, Dimitri Yioulos wrote: > > I installed the previous version on my firewall a few weeks ago. Believe me > > when I tell you that it makes looking at logs a whole lot easier, since it's > > trivial to filter on key words. Installation was easy, and you only need to > > make a couple of easy tweaks to a couple of files to get it working. > Note that the free version will only process 500MB/day of input. > > -Jason Martin > -- > Where there's a will, there's an inheritance tax. > This message is PGP/MIME signed. ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From mkoponick at redhawk.info Wed Feb 8 19:07:48 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Wed, 8 Feb 2006 10:07:48 -0800 Subject: Immediate Check of service? Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109BC4@raptor.redhawk.info> Hello All, I think this subject has been around the block a few times, but I'm still confused. I have a distributed model working in a "lab" environment but I see the following message on the Central Server. "nagios: Warning: The results of service 'check_ping' on host 'Company-A-Switch-21' are stale by 60 seconds (threshold=420 seconds). I'm forcing an immediate check of the service." I currently am only using service checks, since (I think) it make sense for the environment that I will be using the distributed model. Host checks are disabled. I don't mind that fact that it comes up "stale", but why force an immediate check of the service? Is there a way to turn this office since I'm in "Passive Mode" anyway? The situation would be that the Central Server does not have direct access to the remote network, but only receives data from each remote sensor. Thanks in advance, Mike Here is a snippet from my services configuration from the Central Server: ######################################################################## #### define service { host_name Company-A-Switch-21 service_description check_ping is_volatile 1 check_command check-host-alive max_check_attempts 1 normal_check_interval 2 retry_check_interval 1 active_checks_enabled 0 passive_checks_enabled 1 check_period 24x7 parallelize_check 1 obsess_over_service 1 check_freshness 1 freshness_threshold 420 event_handler_enabled 1 low_flap_threshold 0 high_flap_threshold 0 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 contact_groups Support notification_interval 0 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 register 1 } ######################################################################## #### Here is a snippet from my services configuration from the remote sensor: ######################################################################## #### define service { host_name Company-A-Switch-21 service_description check_ping is_volatile 0 check_command check_ping!100.0,20%!500.0,60% max_check_attempts 2 normal_check_interval 2 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 0 check_period 24x7 parallelize_check 0 obsess_over_service 1 check_freshness 0 event_handler_enabled 0 flap_detection_enabled 1 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 1 contact_groups Support notification_interval 99 notification_period 24x7 notification_options w,u,c,r,f notifications_enabled 0 register 1 } ######################################################################## #### ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From jhmartin at toger.us Wed Feb 8 19:09:51 2006 From: jhmartin at toger.us (Jason Martin) Date: Wed, 8 Feb 2006 10:09:51 -0800 Subject: SPLUNK In-Reply-To: <20060208175155.GA30364@keroberos> References: <17CD9CE4C0FA574A8B29EF02D49B385D0F5180@srvexch-01.mcaschool.local> <200602081056.48884.dyioulos@firstbhph.com> <20060208162618.GH17772@mal.members.linode.com> <20060208175155.GA30364@keroberos> Message-ID: <20060208180951.GK17772@mal.members.linode.com> On Wed, Feb 08, 2006 at 11:51:55AM -0600, Russell Adams wrote: > Syslog-ng and Logmuncher. Email reports. ;] This is getting a bit off topic, but Splunk isn't so much about scheduled pre-defined analysis, but more of a ad-hoc conglomerated log exploration tool. The idea is you feed it all of your application logs, syslogs, weblogs, etc etc and then do keyword and time searches for it to see that, for example, switch port X went to half-duplex mode the same time that Oracle thew a threw a fibblebitzi error in its alert log. -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From dyioulos at firstbhph.com Wed Feb 8 19:13:54 2006 From: dyioulos at firstbhph.com (Dimitri Yioulos) Date: Wed, 8 Feb 2006 13:13:54 -0500 Subject: SPLUNK In-Reply-To: <20060208180951.GK17772@mal.members.linode.com> References: <17CD9CE4C0FA574A8B29EF02D49B385D0F5180@srvexch-01.mcaschool.local> <20060208175155.GA30364@keroberos> <20060208180951.GK17772@mal.members.linode.com> Message-ID: <200602081313.54928.dyioulos@firstbhph.com> On Wednesday February 08 2006 1:09 pm, Jason Martin wrote: > On Wed, Feb 08, 2006 at 11:51:55AM -0600, Russell Adams wrote: > > Syslog-ng and Logmuncher. Email reports. ;] > > This is getting a bit off topic, but Splunk isn't so much about > scheduled pre-defined analysis, but more of a ad-hoc > conglomerated log exploration tool. The idea is you feed it all > of your application logs, syslogs, weblogs, etc etc and then do > keyword and time searches for it to see that, for example, > switch port X went to half-duplex mode the same time that Oracle > thew a threw a fibblebitzi error in its alert log. > > -Jason Martin Jason, I tried filtering Splunk on fibblebitzi. Returned nothing, thank God. :-) Dimitri -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From lennart.kvam at softronic.se Wed Feb 8 19:18:20 2006 From: lennart.kvam at softronic.se (lennart.kvam at softronic.se) Date: Wed, 8 Feb 2006 19:18:20 +0100 Subject: VB: Major notification problem Message-ID: <308D3417BAD2104895AE72D879B815B6018EF0A1@stsstomail01.softronic.se> Yes, that works fine! Here`s I bit from nagios.log [1139416555] HOST ALERT: arnwin0136;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds [1139416565] HOST ALERT: arnwin0136;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds [1139416575] HOST ALERT: arnwin0136;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds [1139416585] HOST ALERT: arnwin0136;DOWN;SOFT;5;CRITICAL - Plugin timed out after 10 seconds [1139416595] HOST ALERT: arnwin0136;DOWN;SOFT;6;CRITICAL - Plugin timed out after 10 seconds should not nagios log something like "notification" sent or? Thanks //Lelle -----Ursprungligt meddelande----- Fr?n: jeff vier [mailto:boinger at tradingtechnologies.com] Skickat: den 8 februari 2006 17:11 Till: Kvam Lennart Kopia: nagios-users at lists.sourceforge.net ?mne: Re: [Nagios-users] Major notification problem On Wed, 2006-02-08 at 00:57 +0100, lennart.kvam at softronic.se wrote: > When i try in commandline with: /bin/mail -s TEST lelle at softronic.se > Its working like charm! but i need to press "ctrl"+ d to send it! what about: echo "test message" | /bin/mail -s TEST lelle at softronic.se ? You need to study up on pipes, stdin, stdout, etc. Standard Unix concepts. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From sghosh at sghosh.org Wed Feb 8 19:28:13 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 8 Feb 2006 13:28:13 -0500 (EST) Subject: VB: Major notification problem In-Reply-To: <308D3417BAD2104895AE72D879B815B6018EF0A1@stsstomail01.softronic.se> References: <308D3417BAD2104895AE72D879B815B6018EF0A1@stsstomail01.softronic.se> Message-ID: On Wed, 8 Feb 2006, lennart.kvam at softronic.se wrote: > Yes, that works fine! > Here`s I bit from nagios.log > > [1139416555] HOST ALERT: arnwin0136;DOWN;SOFT;2;CRITICAL - Plugin timed > out after 10 seconds [1139416565] HOST ALERT: > arnwin0136;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds > [1139416575] HOST ALERT: arnwin0136;DOWN;SOFT;4;CRITICAL - Plugin timed > out after 10 seconds [1139416585] HOST ALERT: > arnwin0136;DOWN;SOFT;5;CRITICAL - Plugin timed out after 10 seconds > [1139416595] HOST ALERT: arnwin0136;DOWN;SOFT;6;CRITICAL - Plugin timed > out after 10 seconds > > > should not nagios log something like "notification" sent or? These are SOFT states. Nothing happens until you reach a HARD state. > > Thanks > //Lelle > > -----Ursprungligt meddelande----- > Fr?n: jeff vier [mailto:boinger at tradingtechnologies.com] > Skickat: den 8 februari 2006 17:11 > Till: Kvam Lennart > Kopia: nagios-users at lists.sourceforge.net > ?mne: Re: [Nagios-users] Major notification problem > > On Wed, 2006-02-08 at 00:57 +0100, lennart.kvam at softronic.se wrote: >> When i try in commandline with: /bin/mail -s TEST lelle at softronic.se >> Its working like charm! but i need to press "ctrl"+ d to send it! > > what about: > echo "test message" | /bin/mail -s TEST lelle at softronic.se ? > > You need to study up on pipes, stdin, stdout, etc. Standard Unix concepts. > > -- From jperrin at gmail.com Wed Feb 8 19:38:02 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 8 Feb 2006 13:38:02 -0500 Subject: Icons showing up everywhere but in the status map In-Reply-To: <43EA2C29.6070508@id.ethz.ch> References: <5EA1C2411752D711826C00B0D049CD8306A86D74@ntcr1104.apacteleservices.com> <43EA2C29.6070508@id.ethz.ch> Message-ID: <302ce8b50602081038q301e94ecs12ade56f91387b2e@mail.gmail.com> > > [snip] > > pngtogd2 redhat.png redhat.gd2 0 1 is what I did to convert the files, but > > again as you mention I think this is exactly what the FAQ says. > > Yes. I converted them all: > > rm -f *gd2; or file in *png ; do pngtogd2 $file ${file%png}gd2 0 1; done Are you sure that the path to the image is correct? For example, on the server we maintain here, I ran into a similar problem when I inheritied it. It was looking in /usr/share/nagios/images/logos/ for the statusmap images, when in reality they were in /usr/share/nagios/images/logos/base/. A simple path adjustment fixed this. -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From holger at CIS.FU-Berlin.DE Wed Feb 8 19:50:28 2006 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Wed, 8 Feb 2006 19:50:28 +0100 Subject: Why the distinction between host definition and hostextinfo definition? In-Reply-To: References: Message-ID: <20060208185028.GE7013055@CIS.FU-Berlin.DE> * Lori Adams [2006-02-07 18:48]: > This is actually true of the services documentation. It doesn't state > that you can use hostgroups. This is documented here: http://nagios.sf.net/docs/2_0/templatetricks.html#service However, I agree it should also be added to "xodtemplate.html". Holger -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From vincent.aniello at pipelinefinancial.com Wed Feb 8 19:48:10 2006 From: vincent.aniello at pipelinefinancial.com (Vincent Aniello) Date: Wed, 8 Feb 2006 13:48:10 -0500 Subject: check_nagios plugin Message-ID: <834F55E6F1BE3B488AD3AFC927A09700021BB128@EMAILSRV1.exad.net> Since upgrading from Nagios 1.2 to 2.0 with the 1.4.2 plugin package the check_nagios plugin seems to have stopped working on my system. Each time it runs it comes back with a warning with the following message: Nagios problem: located 12 processes, status log updated 1139423924 seconds ago The check_command for the service is defined as: check_command check_local_nagios!/usr/local/nagios/var/status.dat!5!/usr/local/nagios/ bin/nagios The command check_local_nagios is defined as: define command{ command_name check_local_nagios command_line $USER1$/check_nagios -F $ARG1$ -e $ARG2$ -C $ARG3$ } The version of the check_nagios plugins is 1.26. Do I have this setup correctly for Nagios 2.0 and check_nagios v1.26? Any help would be appreciated. Thanks. V/ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From mkoponick at redhawk.info Wed Feb 8 20:08:29 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Wed, 8 Feb 2006 11:08:29 -0800 Subject: Check_snmp_int Plugin Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109BC7@raptor.redhawk.info> I was wondering before I started coding, if anyone has written a plugin similar to check_snmp_int that will also retrieve the description that a user can enter for various interfaces? I have an OID, (1.3.6.1.2.1.31.1.1.1.18) which will retrieve what I want, however I didn't want to go through all the trouble of writing a new plugin until I exhausted all other resources. Thanks in advance, Mike ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From estair at ilm.com Wed Feb 8 20:11:12 2006 From: estair at ilm.com (Eli Stair) Date: Wed, 8 Feb 2006 11:11:12 -0800 Subject: Check_snmp_int Plugin Message-ID: <6E56E676C9D6A74EBC980144BC06A17D061494@mailbox03.lucas.alllucas.com> You should just be able to add a few lines to the existing script to poll that. Since that OID exists as a leaf of the same IFIndex table containing all the metrics (or at worst another table whose interfaces numbering always matches the others), you could just add another snmpget for that one, add it to a var, and output that when the script exits. /eli -----Original Message----- From: nagios-users-admin at lists.sourceforge.net on behalf of Mike Koponick Sent: Wed 2/8/2006 11:08 AM To: Nagios Users Subject: [Nagios-users] Check_snmp_int Plugin I was wondering before I started coding, if anyone has written a plugin similar to check_snmp_int that will also retrieve the description that a user can enter for various interfaces? I have an OID, (1.3.6.1.2.1.31.1.1.1.18) which will retrieve what I want, however I didn't want to go through all the trouble of writing a new plugin until I exhausted all other resources. Thanks in advance, Mike ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Feb 8 21:45:18 2006 From: marc at ena.com (Marc Powell) Date: Wed, 8 Feb 2006 14:45:18 -0600 Subject: Immediate Check of service? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mike Koponick > Sent: Wednesday, February 08, 2006 12:08 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Immediate Check of service? > > Hello All, > > I think this subject has been around the block a few times, but I'm > still confused. > > I have a distributed model working in a "lab" environment but I see the > following message on the Central Server. > > "nagios: Warning: The results of service 'check_ping' on host > 'Company-A-Switch-21' are stale by 60 seconds (threshold=420 seconds). > I'm forcing an immediate check of the service." > > > I currently am only using service checks, since (I think) it make sense > for the environment that I will be using the distributed model. Host > checks are disabled. > > I don't mind that fact that it comes up "stale", but why force an > immediate check of the service? Is there a way to turn this office since > I'm in "Passive Mode" anyway? It's checking freshness as you've told it to do which includes running the check_command for the service when it's stale. Disable freshness checking for the service (check_freshness 0) _or_ make the check_command for the service on your central server do something more interesting in your situation when it's called (change the status of the service, send an e-mail, shutdown a random computer on the network, etc). http://nagios.sourceforge.net/docs/1_0/freshness.html -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From marc at ena.com Wed Feb 8 21:56:38 2006 From: marc at ena.com (Marc Powell) Date: Wed, 8 Feb 2006 14:56:38 -0600 Subject: Upgrade from 1.1 to 2.0rc2 Changes Service Checks Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Pete Shelfo > Sent: Wednesday, February 08, 2006 11:23 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Upgrade from 1.1 to 2.0rc2 Changes Service Checks > > I have been running custom check_nt and check_snmp commands in my services > files as each instance is different. However now that I am moving to > version 2.0rc2 I keeping getting the following error on the pre-flight > check: > > Error: Service check command '"/usr/local/nagios/libexec/check_nt' > specified in service 'Service States' for host 'server1' not defined > anywhere! > > The new build of Nagios is a fresh install on a separate server. If I run > check_nt or check_snmp from a terminal command line the check runs fine. > Did something check in the new version that changed the way check_commands > work? It appears that anything I set with a custom check command is > failing but everything else that has a direct reference in the > checkcommands.cfg file works. It's not listed in the What's New page but 'Raw Command Line' support is no longer listed as a possible argument to check_command in the 2.0 documentation. Previously -- http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service check_command: This is the command that Nagios will run in order to check the status of the service. There are three command formats that can be used: 1. "Vanilla" Command: The command name is just the name of command that was previously defined. 2. Command w/ Arguments: This is basically the same as the "vanilla" command style, but with command options separated by a ! character. The example above uses this type of definition. Command arguments are placed into $ARGx$ macros before the command is executed. In the example above, the $ARG1$ macro would resolve to "/dev/sda1" (without quotes). 3. "Raw" Command Line: You may optionally specify an actual command line to be executed. To do so you must enclose the entire command line in double quotes. The outer double quotes will be stripped off before the command is actually executed. No macros are processed inside of raw command lines. The maximum amount of time that the service check command can run is controlled by the service_check_timeout option. 2.0 -- http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service check_command: This directive is used to specify the *short name* of the command that Nagios will run in order to check the status of the service. The maximum amount of time that the service check command can run is controlled by the service_check_timeout option. Looks like support for that usage has been removed. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From jcoleman at lrn.com Wed Feb 8 22:06:53 2006 From: jcoleman at lrn.com (Jason Coleman) Date: Wed, 8 Feb 2006 13:06:53 -0800 Subject: Using Hostgroups - Notification Message-ID: <864E0C613A1B8844A2C23594DDB030030140C69F@wwd2k3mxs01.corp.lrn.com> This may be a very simple fix. I am using hostgroups for my service checks instead of single hosts for the service definitions. When nagios sends out a notification that there is an issue, it adds the hostgroup name for the host in the email, not the actual hostname. The only way we know what host to look at to rectify the problem is by looking at the IP address used in the email. Is there a way to monitor using hostgroups yet be notified using the name of the host in the email and not the hostgoup? ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From dmourati at cm.math.uiuc.edu Wed Feb 8 22:09:10 2006 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Wed, 8 Feb 2006 15:09:10 -0600 (CST) Subject: SPLUNK In-Reply-To: <20060208180951.GK17772@mal.members.linode.com> References: <17CD9CE4C0FA574A8B29EF02D49B385D0F5180@srvexch-01.mcaschool.local> <200602081056.48884.dyioulos@firstbhph.com> <20060208162618.GH17772@mal.members.linode.com> <20060208175155.GA30364@keroberos> <20060208180951.GK17772@mal.members.linode.com> Message-ID: On Wed, 8 Feb 2006, Jason Martin wrote: > On Wed, Feb 08, 2006 at 11:51:55AM -0600, Russell Adams wrote: >> Syslog-ng and Logmuncher. Email reports. ;] > This is getting a bit off topic, but Splunk isn't so much about > scheduled pre-defined analysis, but more of a ad-hoc > conglomerated log exploration tool. The idea is you feed it all > of your application logs, syslogs, weblogs, etc etc and then do > keyword and time searches for it to see that, for example, > switch port X went to half-duplex mode the same time that Oracle > thew a threw a fibblebitzi error in its alert log. > Maybe not so off topic after all. Guess who is on the board of advisors at Splunk and who is currently working on Nagios plugins to integrate with Splunk? Hint: http://www.splunk.com/index.php/articles/news/134 BTW, thanks, Ethan, for a wonderful round table discussion at Camp Sysadmin. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From lennart.kvam at softronic.se Wed Feb 8 22:30:41 2006 From: lennart.kvam at softronic.se (lennart.kvam at softronic.se) Date: Wed, 8 Feb 2006 22:30:41 +0100 Subject: sv: Major notification problem Message-ID: <308D3417BAD2104895AE72D879B815B6018EF0A5@stsstomail01.softronic.se> Sorry, I stopt the cutting from the log to early:-) here`s the rest.... Feb 8 19:35:34 nagios nagios: HOST ALERT: arnwin0136;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Feb 8 19:35:44 nagios nagios: HOST ALERT: arnwin0136;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Feb 8 19:35:54 nagios nagios: HOST ALERT: arnwin0136;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds Feb 8 19:36:04 nagios nagios: HOST ALERT: arnwin0136;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds Feb 8 19:36:14 nagios nagios: HOST ALERT: arnwin0136;DOWN;SOFT;5;CRITICAL - Plugin timed out after 10 seconds Feb 8 19:36:24 nagios nagios: HOST ALERT: arnwin0136;DOWN;SOFT;6;CRITICAL - Plugin timed out after 10 seconds Feb 8 19:36:34 nagios nagios: HOST ALERT: arnwin0136;DOWN;SOFT;7;CRITICAL - Plugin timed out after 10 seconds Feb 8 19:36:44 nagios nagios: HOST ALERT: arnwin0136;DOWN;SOFT;8;CRITICAL - Plugin timed out after 10 seconds Feb 8 19:36:54 nagios nagios: HOST ALERT: arnwin0136;DOWN;SOFT;9;CRITICAL - Plugin timed out after 10 seconds Feb 8 19:37:04 nagios nagios: HOST ALERT: arnwin0136;DOWN;HARD;10;CRITICAL - Plugin timed out after 10 seconds Feb 8 19:37:04 nagios nagios: SERVICE ALERT: arnwin0136;check_ping;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 10 seconds Feb 8 19:37:24 nagios nagios: SERVICE ALERT: arnwin0136;check_ping;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 10 seconds Nothing happens after that... Thanks //Lennart -----Ursprungligt meddelande----- Fr?n: Subhendu Ghosh [mailto:sghosh at sghosh.org] Skickat: den 8 februari 2006 19:28 Till: Kvam Lennart Kopia: nagios-users at lists.sourceforge.net ?mne: Re: VB: [Nagios-users] Major notification problem On Wed, 8 Feb 2006, lennart.kvam at softronic.se wrote: > Yes, that works fine! > Here`s I bit from nagios.log > > [1139416555] HOST ALERT: arnwin0136;DOWN;SOFT;2;CRITICAL - Plugin > timed out after 10 seconds [1139416565] HOST ALERT: > arnwin0136;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds > [1139416575] HOST ALERT: arnwin0136;DOWN;SOFT;4;CRITICAL - Plugin > timed out after 10 seconds [1139416585] HOST ALERT: > arnwin0136;DOWN;SOFT;5;CRITICAL - Plugin timed out after 10 seconds > [1139416595] HOST ALERT: arnwin0136;DOWN;SOFT;6;CRITICAL - Plugin > timed out after 10 seconds > > > should not nagios log something like "notification" sent or? These are SOFT states. Nothing happens until you reach a HARD state. > > Thanks > //Lelle > > -----Ursprungligt meddelande----- > Fr?n: jeff vier [mailto:boinger at tradingtechnologies.com] > Skickat: den 8 februari 2006 17:11 > Till: Kvam Lennart > Kopia: nagios-users at lists.sourceforge.net > ?mne: Re: [Nagios-users] Major notification problem > > On Wed, 2006-02-08 at 00:57 +0100, lennart.kvam at softronic.se wrote: >> When i try in commandline with: /bin/mail -s TEST lelle at softronic.se >> Its working like charm! but i need to press "ctrl"+ d to send it! > > what about: > echo "test message" | /bin/mail -s TEST lelle at softronic.se ? > > You need to study up on pipes, stdin, stdout, etc. Standard Unix concepts. > > -- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From mkoponick at redhawk.info Wed Feb 8 22:47:46 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Wed, 8 Feb 2006 13:47:46 -0800 Subject: Immediate Check of service? Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109BC8@raptor.redhawk.info> Bob, Thanks for the check_stale script. I was wondering why it would force an immediate check more than anything else. From what I understand from your e-mail and some other reading, it will force a check because of the type of check command that is being used in my services.cfg. If I replace say, check_ping with check_stale, it won't try to PING the host, but rather send this nice (or not so nice) notification that it has not heard anything for "x" amount of time. I assume however that if something is wrong, say a node is down or ?? I will receive a notification that the host is down or ??? OK, if I have that straight, maybe life is better. Thanks! Mike -----Original Message----- From: Sloane, Robert Raymond [mailto:sloane at ku.edu] Sent: Wednesday, February 08, 2006 12:22 PM To: Mike Koponick Subject: RE: [Nagios-users] Immediate Check of service? > I don't mind that fact that it comes up "stale", but why > force an immediate check of the service? Is there a way to > turn this office since I'm in "Passive Mode" anyway? The theory is that if you don't receive any passive data from the service, then there is a problem, and your "active check" is actually just a script that will inform you of the problem. If you don't want to be notified when nothing is received for a while, then turn off freshness checking. Otherwise use something like: checkcommands.cfg: define command { command_name check_stale command_line $USER1$/check_stale $SERVICEDESC$ $HOSTNAME$ } check_stale script: #!/bin/sh echo "Service $1 on Host $2 has not reported its status" exit 2 and then use check_stale as the check_command for the passive service. -- Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045 Email:sloane at ku.edu http://www.ku.edu/home/sloane Phone:(785)864-0444 > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Mike Koponick > Sent: Wednesday, February 08, 2006 12:08 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Immediate Check of service? > > > Hello All, > > I think this subject has been around the block a few times, > but I'm still confused. > > I have a distributed model working in a "lab" environment but > I see the following message on the Central Server. > > "nagios: Warning: The results of service 'check_ping' on host > 'Company-A-Switch-21' are stale by 60 seconds (threshold=420 > seconds). I'm forcing an immediate check of the service." > > > I currently am only using service checks, since (I think) it > make sense for the environment that I will be using the > distributed model. Host checks are disabled. > > > The situation would be that the Central Server does not have > direct access to the remote network, but only receives data > from each remote sensor. > > Thanks in advance, > > Mike > > > > > Here is a snippet from my services configuration from the Central > Server: > > ############################################################## > ########## > #### > > define service { > host_name Company-A-Switch-21 > service_description check_ping > is_volatile 1 > check_command check-host-alive > max_check_attempts 1 > normal_check_interval 2 > retry_check_interval 1 > active_checks_enabled 0 > passive_checks_enabled 1 > check_period 24x7 > parallelize_check 1 > obsess_over_service 1 > check_freshness 1 > freshness_threshold 420 > event_handler_enabled 1 > low_flap_threshold 0 > high_flap_threshold 0 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > contact_groups Support > notification_interval 0 > notification_period 24x7 > notification_options w,u,c,r > notifications_enabled 1 > register 1 > } > > ############################################################## > ########## > #### > > Here is a snippet from my services configuration from the > remote sensor: > > ############################################################## > ########## > #### > > define service { > host_name Company-A-Switch-21 > service_description check_ping > is_volatile 0 > check_command check_ping!100.0,20%!500.0,60% > max_check_attempts 2 > normal_check_interval 2 > retry_check_interval 1 > active_checks_enabled 1 > passive_checks_enabled 0 > check_period 24x7 > parallelize_check 0 > obsess_over_service 1 > check_freshness 0 > event_handler_enabled 0 > flap_detection_enabled 1 > process_perf_data 0 > retain_status_information 1 > retain_nonstatus_information 1 > contact_groups Support > notification_interval 99 > notification_period 24x7 > notification_options w,u,c,r,f > notifications_enabled 0 > register 1 > } > > ############################################################## > ########## > #### > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep > through log files for problems? Stop! Download the new AJAX > search engine that makes searching your log files as easy as > surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 > _______________________________________________ > 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 > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From lennart.kvam at softronic.se Wed Feb 8 23:48:29 2006 From: lennart.kvam at softronic.se (lennart.kvam at softronic.se) Date: Wed, 8 Feb 2006 23:48:29 +0100 Subject: VB: Major notification problem Message-ID: <308D3417BAD2104895AE72D879B815B6018EF0A7@stsstomail01.softronic.se> Wwwwhiiiieeee..... Jim! You are my new HERO:-) It works.... THANKS MAN!!!! Did`nt see that! Dumb "n".... Thanks again! This is how it came out! ------------------------------------- ***** Nagios ***** Notification Type: PROBLEM Host: arnwin0136 State: DOWN Address: 192.168.103.100 Info: $ Date/Time: $ Why no date? :-) Regards Lennart -----Ursprungligt meddelande----- Fr?n: Jim Perrin [mailto:jperrin at gmail.com] Skickat: den 8 februari 2006 23:24 Till: Kvam Lennart Kopia: nagios-users at lists.sourceforge.net ?mne: Re: [Nagios-users] Major notification problem > Minimal.cfg > > define contact{ > contact_name nagios-admin > alias Nagios Admin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r,n > host_notification_options d,u,r,n > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > # service_notification_commands notify-by-sendEmail > # host_notification_commands host-notify-by-sendEmail > email lelle at softronic.se > } Uh.... you're aware that the host_notification_options and service_notification_options you have set up here have 'n' in them.. This will keep notifications from being sent. >From TFD -> "If you specify n (none) as an option, no host notifications will be sent out." http://nagios.sourceforge.net/docs/2_0/xodtemplate.html -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From jperrin at gmail.com Thu Feb 9 00:11:26 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 8 Feb 2006 18:11:26 -0500 Subject: Major notification problem In-Reply-To: <308D3417BAD2104895AE72D879B815B6018EF0A6@stsstomail01.softronic.se> References: <308D3417BAD2104895AE72D879B815B6018EF0A6@stsstomail01.softronic.se> Message-ID: <302ce8b50602081511l5765b76o2b282c28ec320e50@mail.gmail.com> > > Why no date? :-) Good question. I assume (since I didn't see this in a previous message) you're using some variant of 2.0, where the $LONGDATETIME$ variable exists. Before that it was just $DATETIME$, iirc. You may want to double check your versions. > -- > "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' > Benjamin Franklin 1775 > -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From jperrin at gmail.com Wed Feb 8 23:23:35 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 8 Feb 2006 17:23:35 -0500 Subject: Major notification problem In-Reply-To: <308D3417BAD2104895AE72D879B815B6018EF094@stsstomail01.softronic.se> References: <308D3417BAD2104895AE72D879B815B6018EF094@stsstomail01.softronic.se> Message-ID: <302ce8b50602081423h3f599c85k97da1ecb229cb3fe@mail.gmail.com> > Minimal.cfg > > define contact{ > contact_name nagios-admin > alias Nagios Admin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r,n > host_notification_options d,u,r,n > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > # service_notification_commands notify-by-sendEmail > # host_notification_commands host-notify-by-sendEmail > email lelle at softronic.se > } Uh.... you're aware that the host_notification_options and service_notification_options you have set up here have 'n' in them.. This will keep notifications from being sent. >From TFD -> "If you specify n (none) as an option, no host notifications will be sent out." http://nagios.sourceforge.net/docs/2_0/xodtemplate.html -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From lennart.kvam at softronic.se Thu Feb 9 00:26:30 2006 From: lennart.kvam at softronic.se (lennart.kvam at softronic.se) Date: Thu, 9 Feb 2006 00:26:30 +0100 Subject: SV: Major notification problem Message-ID: <308D3417BAD2104895AE72D879B815B6018EF0A8@stsstomail01.softronic.se> My version is: Copyright (c) 1999-2004 Ethan Galstad Version 2.0b5 November 14, 2005 A whole Another question, this is my last...for this time:-) When I log in to nagios, I always land on the "home" page! Is there a way to land on "tactical overview" eg? Many thanks! Regards Lelle -----Ursprungligt meddelande----- Fr?n: Jim Perrin [mailto:jperrin at gmail.com] Skickat: den 9 februari 2006 00:11 Till: Kvam Lennart Kopia: nagios-users at lists.sourceforge.net ?mne: Re: [Nagios-users] Major notification problem > > Why no date? :-) Good question. I assume (since I didn't see this in a previous message) you're using some variant of 2.0, where the $LONGDATETIME$ variable exists. Before that it was just $DATETIME$, iirc. You may want to double check your versions. > -- > "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' > Benjamin Franklin 1775 > -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From teng at dataway.com Thu Feb 9 00:38:06 2006 From: teng at dataway.com (Tedman Eng) Date: Wed, 8 Feb 2006 15:38:06 -0800 Subject: Major notification problem Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2D09@dw-mail.dataway.com> > -----Original Message----- > From: lennart.kvam at softronic.se [mailto:lennart.kvam at softronic.se] > Sent: Wednesday, February 08, 2006 3:27 PM > To: jperrin at gmail.com > Cc: nagios-users at lists.sourceforge.net > Subject: SV: [Nagios-users] Major notification problem > > A whole Another question, this is my last...for this time:-) > New question, create a new mail with a relevant Subject Line. > When I log in to nagios, I always land on the "home" page! Is > there a way to land on "tactical overview" eg? > Edit the index.html/side.html to provide whatever customized views/links you desire. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From lennart.kvam at softronic.se Thu Feb 9 00:42:57 2006 From: lennart.kvam at softronic.se (lennart.kvam at softronic.se) Date: Thu, 9 Feb 2006 00:42:57 +0100 Subject: SV: Major notification problem Message-ID: <308D3417BAD2104895AE72D879B815B6018EF0A9@stsstomail01.softronic.se> Hi! Oki! But give me a clue:-) where/how? >New question, create a new mail with a relevant Subject Line. How do I do that? >Edit the index.html/side.html to provide whatever customized views/links you desire. Is this in the httpd.conf file? Sorry if this is noobish questions! //Lennart -----Ursprungligt meddelande----- Fr?n: Tedman Eng [mailto:teng at dataway.com] Skickat: den 9 februari 2006 00:38 Till: Kvam Lennart; jperrin at gmail.com Kopia: nagios-users at lists.sourceforge.net ?mne: RE: [Nagios-users] Major notification problem > -----Original Message----- > From: lennart.kvam at softronic.se [mailto:lennart.kvam at softronic.se] > Sent: Wednesday, February 08, 2006 3:27 PM > To: jperrin at gmail.com > Cc: nagios-users at lists.sourceforge.net > Subject: SV: [Nagios-users] Major notification problem > > A whole Another question, this is my last...for this time:-) > New question, create a new mail with a relevant Subject Line. > When I log in to nagios, I always land on the "home" page! Is there a > way to land on "tactical overview" eg? > Edit the index.html/side.html to provide whatever customized views/links you desire. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From ntserafica at yahoo.com Thu Feb 9 02:03:57 2006 From: ntserafica at yahoo.com (Nelson Serafica) Date: Wed, 8 Feb 2006 17:03:57 -0800 (PST) Subject: Notifications thru Yahoo Messenger Message-ID: <20060209010358.23871.qmail@web60414.mail.yahoo.com> Is there a way that i can send notifications thru YM? --------------------------------- Relax. Yahoo! Mail virus scanning helps detect nasty viruses! -------------- next part -------------- An HTML attachment was scrubbed... URL: From brady.maxwell at gmail.com Thu Feb 9 03:57:37 2006 From: brady.maxwell at gmail.com (Brady Maxwell) Date: Wed, 08 Feb 2006 21:57:37 -0500 Subject: Distributed notifications Message-ID: <43EAAFA1.3090105@gmail.com> I have three distributed servers that are using send_nsca to a central server. the central server is receiving the check results or at least it appears to be. I have except passive host and service checks enabled on the central server. However none of the cgis update the list all services and hosts as pending. In netstat I can see the connections from the distributed servers on both the central and distributed servers. I have definded all hosts, check commands and service checks in the central servers config files. In the past I have had only post checks report in the cgis but now hosts just show pending along with all service checks. Also I have execute service checks disabled on the central server. I am pretty certain that they should be disabled on the central server but I enabled them for a bit and all service checks went critical so I turned it back off. In nsca.dump I see lots of host checks from only one of the distributed servers. nagios.cmd does not appear to get data written to it. I run nsca and nagios as user nagios. I am wondering if there maybe a ownership or permissions issue keeping either the nsca deamon or nagios from writing to or reading from the nagios.cmd file. I made both the nagios.cmd and nsca.dump rw by ug and o so I would this that would have solved any potential read write permissions problems. Anyone have any suggestions? Thanks Brady ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From matteo.corti at id.ethz.ch Thu Feb 9 09:40:24 2006 From: matteo.corti at id.ethz.ch (Matteo Corti) Date: Thu, 09 Feb 2006 09:40:24 +0100 Subject: Icons showing up everywhere but in the status map In-Reply-To: <5EA1C2411752D711826C00B0D049CD8306A86D77@ntcr1104.apacteleservices.com> References: <5EA1C2411752D711826C00B0D049CD8306A86D77@ntcr1104.apacteleservices.com> Message-ID: <43EAFFF8.3080901@id.ethz.ch> Garringer, Mark wrote: > Hmmmm. Well, sadly that takes me through the limits of my experience w/ the > gd2 problem I had. > > For additional testing, I did also copy some of the gd2 files to the > documentroot of my webserver to see if they would display. Before recreation > they would display as a text string, after recreation they displayed > correctly. Dear Mark, I am a little bit confused. Are the gd2 images supposed to be rendered by the browser? If I look in the Apache log files I have no indication that they are requested when the status map is loaded: $> wget https://teo.ethz.ch/nagios/cgi-bin//statusmap.cgi?host=all There is no reference to any gd2 file in the downloaded file nor any in the Apache log files. Matteo -- Matteo Corti ETH Zurich Informatikdienste / Basisdienste matteo.corti at id.ethz.ch +41 44 6327944 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From jim.pye at pyenet.co.nz Thu Feb 9 12:30:17 2006 From: jim.pye at pyenet.co.nz (Jim Pye) Date: Fri, 10 Feb 2006 00:30:17 +1300 Subject: Icons showing up everywhere but in the status map In-Reply-To: <43EAFFF8.3080901@id.ethz.ch> References: <5EA1C2411752D711826C00B0D049CD8306A86D77@ntcr1104.apacteleservices.com> <43EAFFF8.3080901@id.ethz.ch> Message-ID: <1139484617.18647.106.camel@jimsx220.pyenet.co.nz> >From what I understand the way that the status map works is the gd2 files are "compiled" together to make the graphic of the map. If you try to display the status map graphic, in its own page, you will see that it is just one graphic and not made up of multiple icons etc. The gd2 file format is not designed to be rendered directly but is a format that makes composition of multiple files into one graphic quick and easy. Check out http://www.boutell.com/gd/ for more details. I am still puzzling over why my system does not want to display the icons properly but several things can be show stoppers. One was the permissions on the gd2 files. I found that they had to be world readable. Not just user or group. The graphics format for the png needed to be 8 bpp. Anything with more colour depth did not display correctly. The pngtogd2 conversion seems to loose colours. HTH Jim On Thu, 2006-02-09 at 09:40 +0100, Matteo Corti wrote: > Garringer, Mark wrote: > > Hmmmm. Well, sadly that takes me through the limits of my experience w/ the > > gd2 problem I had. > > > > For additional testing, I did also copy some of the gd2 files to the > > documentroot of my webserver to see if they would display. Before recreation > > they would display as a text string, after recreation they displayed > > correctly. > > Dear Mark, > > I am a little bit confused. Are the gd2 images supposed to be rendered > by the browser? > > If I look in the Apache log files I have no indication that they are > requested when the status map is loaded: > > $> wget https://teo.ethz.ch/nagios/cgi-bin//statusmap.cgi?host=all > > There is no reference to any gd2 file in the downloaded file nor any in > the Apache log files. > > Matteo > -- Jim Pye PyeNet Universal email: jim.pye at pyenet.co.nz | Phone: +64 4 527 8284 | Fax: +64 4 528 9693 web site: http://www.pyenet.co.nz ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From kmue at engine.de Thu Feb 9 12:39:47 2006 From: kmue at engine.de (=?ISO-8859-1?Q?Karsten_M=FCller?=) Date: Thu, 9 Feb 2006 12:39:47 +0100 Subject: nagiosgrapher parsing perfdata Message-ID: <937CF023-8FC9-4849-803E-D3C290494B94@engine.de> Hi, I am having problems to parse the output of the command 'check_snmp_load -H XXX -T cisco -C XXX -w 10,10,10 -c 10,10,10 -f' with nagiosgrapher. The output reads 'CPU : 9 11 10 : 11 > 10 : CRITICAL | load_5_sec=9%; 10;10,load_1_min=11%;10;10,load_5_min=10%;10;10' The nagiosgrapher logging seems to be truncated (?). 2006-02-09 12:05:40 PIPE: cisco CISCO-LOAD load_5_min=12%:70:90 2006-02-09 12:05:40 VALUES: [cisco][CISCO-LOAD]:No matching perfdata values found... Here is my config define ngraph{ service_name CISCO-LOAD graph_perf_regex load_5_min=([0-9]+)% graph_value 5min graph_units load graph_legend 5min avg load rrd_plottype AREA rrd_color EACC00 } Does somebody know how to parse the output? bye, Karsten ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From kmue at engine.de Thu Feb 9 12:44:52 2006 From: kmue at engine.de (=?ISO-8859-1?Q?Karsten_M=FCller?=) Date: Thu, 9 Feb 2006 12:44:52 +0100 Subject: nagiosgrapher config files Message-ID: Hi, I tried using the cfg_dir=/path/xx config directive but without success. I created separate files for all ngraph definition in the / path/xx directory. The data collection seems to work but no graphs are displayed. This may be a problem with rrd2-graph.cgi? Is someone using this configuration with nagisgrapher 1.4-dev? bye, Karsten ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From jim.pye at pyenet.co.nz Thu Feb 9 13:11:19 2006 From: jim.pye at pyenet.co.nz (Jim Pye) Date: Fri, 10 Feb 2006 01:11:19 +1300 Subject: Icons showing up everywhere but in the status map In-Reply-To: <43EAFFF8.3080901@id.ethz.ch> References: <5EA1C2411752D711826C00B0D049CD8306A86D77@ntcr1104.apacteleservices.com> <43EAFFF8.3080901@id.ethz.ch> Message-ID: <1139487079.18647.111.camel@jimsx220.pyenet.co.nz> My first post of this did not seem to get through here it is again... >From what I understand the way that the status map works is the gd2 files are "compiled" together to make the graphic of the map. If you try to display the status map graphic, in its own page, you will see that it is just one graphic and not made up of multiple icons etc. The gd2 file format is not designed to be rendered directly but is a format that makes composition of multiple files into one graphic quick and easy. Check out http://www.boutell.com/gd/ for more details. I am still puzzling over why my system does not want to display the icons properly but several things can be show stoppers. One was the permissions on the gd2 files. I found that they had to be world readable. Not just user or group. The graphics format for the png needed to be 8 bpp. Anything with more colour depth did not display correctly. The pngtogd2 conversion seems to loose colours. HTH Jim On Thu, 2006-02-09 at 09:40 +0100, Matteo Corti wrote: > Garringer, Mark wrote: > > Hmmmm. Well, sadly that takes me through the limits of my experience w/ the > > gd2 problem I had. > > > > For additional testing, I did also copy some of the gd2 files to the > > documentroot of my webserver to see if they would display. Before recreation > > they would display as a text string, after recreation they displayed > > correctly. > > Dear Mark, > > I am a little bit confused. Are the gd2 images supposed to be rendered > by the browser? > > If I look in the Apache log files I have no indication that they are > requested when the status map is loaded: > > $> wget https://teo.ethz.ch/nagios/cgi-bin//statusmap.cgi?host=all > > There is no reference to any gd2 file in the downloaded file nor any in > the Apache log files. > > Matteo > -- Jim Pye PyeNet Universal email: jim.pye at pyenet.co.nz | Phone: +64 4 527 8284 | Fax: +64 4 528 9693 web site: http://www.pyenet.co.nz ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From Philipp.Sand at sycor.de Thu Feb 9 13:15:36 2006 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Thu, 9 Feb 2006 13:15:36 +0100 Subject: AW: Scheduling downtime for all services in a host? Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E02090624@SYGOMAIL.GOE.AD.SYCOR.DE> When you want to schedule a downtime for all services on a host, even when the host won't go down, the easiest way is to schedule a *fixed* downtime. When you schedule a flexible downtime for the host, the downtime starts when the hostcheck turns critical, *not* when a servicecheck on the host goes critical! Try out, it should work with fixed downtimes. ________________________________________ Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von karl.kornel at mindspeed.com Gesendet: Mittwoch, 8. Februar 2006 03:30 An: nagios-users at lists.sourceforge.net Betreff: RE: [Nagios-users] Scheduling downtime for all services in a host? I also thought that was the case, so I decided to try it. I declared a host with 2 services, PING and SSH, and I waited until Nagios ran its first checks to make sure that everything was up. ?Then I declared an hour of flexible downtime on the host, scheduled to start 5 minutes ago and to last for one hour. ?I did this using the CGIs. Once my command had been received, I turned off SSH (just SSH). ?I would expect that, since I had declared downtime, I would not be notified about the SSH failure. ?However, 10 minutes later I got an email telling me that SSH on the host was down. So it looks to me like scheduling downtime just for the host will not automatically schedule downtime for the services on the host, and I can not assume that the host and its services will be going down at the same time. -- A. Karl Kornel Mindspeed Technologies, Inc. karl.kornel at mindspeed.com (949) 579-3503 "Andrew Xenides" wrote on 01/07/2003 05:02:13 AM: > I think if a host is down it assumes that the services wont be up either. > ? > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of karl.kornel at mindspeed.com > Sent: Wednesday, February 08, 2006 12:00 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Scheduling downtime for all services in a host? > ? > > Dear fellow Nagios users, > > ? ? ? ? Is there a way for me to schedule downtime automatically for > all services on a host? ?For reference, I'm using version 2.0rc2. > > ? ? ? ? When I look at the commands that I can run for a host > containing 2+ services, I see a link to schedule downtime for a > host, but not for all of the services associated with that host. ? > However, if I look at the commands for a hostgroup or a > servicegroup, I see that I can schedule downtime for all hosts or > services in a hostgroup/servicegroup. ?However, I do not want to > schedule downtime for all hosts in a hostgroup, just one host. ?And > I do not have any service groups. > > ? ? ? ? I did some searching of previous posts, and I have not been > able to find anything helpful. ?At this point it looks like the only > way for me to declare downtime for all services by executing one > command would be to create one servicegroup for each host in my configuration. > > ? ? ? ? Does anyone have any more information on this? ?Thanks in advance! > > -- A. Karl Kornel > Mindspeed Technologies, Inc. > karl.kornel at mindspeed.com > (949) 579-3503 ************************************************ sycor plastics - die neue Branchenloesung fuer die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdruecklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From amateo at um.es Thu Feb 9 13:30:32 2006 From: amateo at um.es (Angel L. Mateo) Date: Thu, 09 Feb 2006 13:30:32 +0100 Subject: Nagios 2 and MySQL/PostgreSQL Message-ID: <1139488232.19267.36.camel@joshua.atica.um.es> Hello, I have running a nagios system, version 1.3. By the moment, I configure it using the text files. But now we want to integrate it into a web management system we are developing (adapted to our needs). This management system does more tasks than monitor, for this purpose we want to use nagios. In order to integrate everything easily, we want to use database (preferably mysql) in which to store information. With nagios 1.3 I could use MySQL or PostgreSQL, but we are considering to use nagios 2 to this new management host. The problem I have is that it seems that database support has been dropped in nagios 2. I am trying to find a patch or contribution to nagios that support databases, but I haven't found anything yet. But I have found projects that talks about nagios 2 and mysql (for example, nag2web). Is there any way to use nagios with a database? -- Angel L. Mateo Mart?nez Secci?n de Telem?tica ?rea de Tecnolog?as de la Informaci?n _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica _(___V Tfo: 968367590 Fax: 968398337 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From matteo.corti at id.ethz.ch Thu Feb 9 14:27:02 2006 From: matteo.corti at id.ethz.ch (Matteo Corti) Date: Thu, 09 Feb 2006 14:27:02 +0100 Subject: Icons showing up everywhere but in the status map In-Reply-To: <1139487079.18647.111.camel@jimsx220.pyenet.co.nz> References: <5EA1C2411752D711826C00B0D049CD8306A86D77@ntcr1104.apacteleservices.com> <43EAFFF8.3080901@id.ethz.ch> <1139487079.18647.111.camel@jimsx220.pyenet.co.nz> Message-ID: <43EB4326.8080002@id.ethz.ch> Jim Pye wrote: > My first post of this did not seem to get through here it is again... > >>From what I understand the way that the status map works is the gd2 > files are "compiled" together to make the graphic of the map. Ok now I get the idea > If you try to display the status map graphic, in its own page, you will > see that it is just one graphic and not made up of multiple icons etc. > > The gd2 file format is not designed to be rendered directly but is a > format that makes composition of multiple files into one graphic quick > and easy. > > Check out http://www.boutell.com/gd/ for more details. > > I am still puzzling over why my system does not want to display the > icons properly but several things can be show stoppers. > > One was the permissions on the gd2 files. I found that they had to be > world readable. Not just user or group. The files are world readable > The graphics format for the png needed to be 8 bpp. Anything with more > colour depth did not display correctly. The pngtogd2 conversion seems to > loose colours. Ok I'll try again to convert them. Thanks, Matteo -- Matteo Corti ETH Zurich Informatikdienste / Basisdienste matteo.corti at id.ethz.ch +41 44 6327944 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From shoktai at gmail.com Thu Feb 9 15:11:43 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Thu, 9 Feb 2006 15:11:43 +0100 Subject: nrpe issue Message-ID: <619cf3c0602090611r690965e0g@mail.gmail.com> Hi all, i have installed nrpe service on remote host a win2003 server, the service just runs fine and i want to start monitorinfg free space on servers. I have downloaded chec_disk on nagiosexchange and defined the services in nrpe.cfg as follows: command[check_disk_c]=cscript.exe //NoLogo //T:10 c:\nrpe\bin\check_disk.wsf /drive:"c:\" /w:300 /c:100 command[check_disk_d]=cscript.exe //NoLogo //T:10 c:\nrpe\bin\check_disk.wsf /drive:"d:\" /w:300 /c:100 when i run the check_nrpe on the nagios server from command line all is good : ../libexec/check_nrpe -H 10.8.1.3 -c check_disk_c Drive C:\ - Total: 11.72 GB - Free: 3.94 GB (34%) - Used: 7.78 GB (66%) ../libexec/check_nrpe -H 10.8.1.3 -c check_disk_d Drive D:\ Data - Total: 56.08 GB - Free: 25.25 GB (45%) - Used: 30.83 GB (55%) I did define nrpe in checkcommands.cfg as follows: define command{ command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } and run it this way in services.cfg check_command check_nrpe!check_disk_c but when i run it from Nagios, all i get is a CRITICAL state with ouput 'Connection refused by host'. Actually i started working with nrpe because i had the same problem with nsclient. Besides the log are empty concerning this critical state. All checks on disks are refused. Any ideas. Cheers -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From matteo.corti at id.ethz.ch Thu Feb 9 15:43:57 2006 From: matteo.corti at id.ethz.ch (Matteo Corti) Date: Thu, 09 Feb 2006 15:43:57 +0100 Subject: Icons showing up everywhere but in the status map In-Reply-To: <43EB4326.8080002@id.ethz.ch> References: <5EA1C2411752D711826C00B0D049CD8306A86D77@ntcr1104.apacteleservices.com> <43EAFFF8.3080901@id.ethz.ch> <1139487079.18647.111.camel@jimsx220.pyenet.co.nz> <43EB4326.8080002@id.ethz.ch> Message-ID: <43EB552D.8050302@id.ethz.ch> Hi, I finally got it: I had a type in physical_html_path in cgi.cfg. It was not so obvious to see it since everything else was OK. Anyway: many thanks to everybody. Matteo Matteo Corti wrote: > Jim Pye wrote: >> My first post of this did not seem to get through here it is again... >> >> >From what I understand the way that the status map works is the gd2 >> files are "compiled" together to make the graphic of the map. > > Ok now I get the idea > >> If you try to display the status map graphic, in its own page, you will >> see that it is just one graphic and not made up of multiple icons etc. >> >> The gd2 file format is not designed to be rendered directly but is a >> format that makes composition of multiple files into one graphic quick >> and easy. >> >> Check out http://www.boutell.com/gd/ for more details. >> >> I am still puzzling over why my system does not want to display the >> icons properly but several things can be show stoppers. >> >> One was the permissions on the gd2 files. I found that they had to be >> world readable. Not just user or group. > > The files are world readable > >> The graphics format for the png needed to be 8 bpp. Anything with more >> colour depth did not display correctly. The pngtogd2 conversion seems to >> loose colours. > > Ok I'll try again to convert them. > > Thanks, > > Matteo > -- Matteo Corti ETH Zurich Informatikdienste / Basisdienste matteo.corti at id.ethz.ch +41 44 6327944 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From foranor at gmail.com Thu Feb 9 15:50:58 2006 From: foranor at gmail.com (Kai Reese) Date: Thu, 9 Feb 2006 15:50:58 +0100 Subject: nrpe issue In-Reply-To: <619cf3c0602090611r690965e0g@mail.gmail.com> References: <619cf3c0602090611r690965e0g@mail.gmail.com> Message-ID: <640e25ca0602090650w1505c227m368f8ed0337dd4b9@mail.gmail.com> You might want to check the port nrpe (or nsclient for that matter) use. For nsclient, it's set in the registry, I seem to remember HKLM->Software->nsclient I solved my connection issues by setting that to 5666 instead of the default whatever it was. Kai On 2/9/06, Toto Capuccino wrote: > Hi all, > > i have installed nrpe service on remote host a win2003 server, the service > just runs fine and i want to start monitorinfg free space on servers. > I have downloaded chec_disk on nagiosexchange and defined the services in > nrpe.cfg as follows: > > command[check_disk_c]=cscript.exe //NoLogo //T:10 c:\nrpe\bin\check_disk.wsf > /drive:"c:\" /w:300 /c:100 > command[check_disk_d]=cscript.exe //NoLogo //T:10 c:\nrpe\bin\check_disk.wsf > /drive:"d:\" /w:300 /c:100 > > when i run the check_nrpe on the nagios server from command line all is good > : > > ../libexec/check_nrpe -H 10.8.1.3 -c check_disk_c > Drive C:\ - Total: 11.72 GB - Free: 3.94 GB (34%) - Used: 7.78 GB (66%) > > ../libexec/check_nrpe -H 10.8.1.3 -c check_disk_d > Drive D:\ Data - Total: 56.08 GB - Free: 25.25 GB (45%) - Used: 30.83 GB > (55%) > > I did define nrpe in checkcommands.cfg as follows: > define command{ > command_name check_nrpe > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ > } > > and run it this way in services.cfg > check_command check_nrpe!check_disk_c > > but when i run it from Nagios, all i get is a CRITICAL state with ouput > 'Connection refused by host'. Actually i started working with nrpe because i > had the same problem with nsclient. Besides the log are empty concerning > this critical state. All checks on disks are refused. > > Any ideas. > > Cheers > -- > Le bon sens est la chose du monde la mieux partag?e. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From marc at ena.com Thu Feb 9 16:31:48 2006 From: marc at ena.com (Marc Powell) Date: Thu, 9 Feb 2006 09:31:48 -0600 Subject: Nagios 2 and MySQL/PostgreSQL Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Angel L. Mateo > Sent: Thursday, February 09, 2006 6:31 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios 2 and MySQL/PostgreSQL > [chop] > In order to integrate everything easily, we want to use database > (preferably mysql) in which to store information. With nagios 1.3 I > could use MySQL or PostgreSQL, but we are considering to use nagios 2 to > this new management host. > > The problem I have is that it seems that database support has been > dropped in nagios 2. I am trying to find a patch or contribution to > nagios that support databases, but I haven't found anything yet. But I > have found projects that talks about nagios 2 and mysql (for example, > nag2web). > > Is there any way to use nagios with a database? Ethan is writing the NDOUtils NEB module - http://sourceforge.net/project/showfiles.php?group_id=26589&package_id=1 73832&release_id=384333 Third party NEB module - Nagios-db -- http://sourceforge.net/projects/nagios-db Write your own NEB module - The API is undocumented at this time but you can troll the archives for further information and/or look at the example NEB module included with the Nagios source. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From shoktai at gmail.com Thu Feb 9 16:11:14 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Thu, 9 Feb 2006 16:11:14 +0100 Subject: nrpe issue In-Reply-To: <640e25ca0602090650w1505c227m368f8ed0337dd4b9@mail.gmail.com> References: <619cf3c0602090611r690965e0g@mail.gmail.com> <640e25ca0602090650w1505c227m368f8ed0337dd4b9@mail.gmail.com> Message-ID: <619cf3c0602090711o44a6cb16s@mail.gmail.com> well, the strange thing is that on that host i monitor the memory and some processes already with nsclient and it works fine it just fails for the check_disk and more surprising it fails also with nrpe. So i dont think that changing the port will help in anyway. Thanks 2006/2/9, Kai Reese : > > You might want to check the port nrpe (or nsclient for that matter) use. > For nsclient, it's set in the registry, I seem to remember > HKLM->Software->nsclient > > I solved my connection issues by setting that to 5666 instead of the > default whatever it was. > > Kai > > On 2/9/06, Toto Capuccino wrote: > > Hi all, > > > > i have installed nrpe service on remote host a win2003 server, the > service > > just runs fine and i want to start monitorinfg free space on servers. > > I have downloaded chec_disk on nagiosexchange and defined the services > in > > nrpe.cfg as follows: > > > > command[check_disk_c]=cscript.exe //NoLogo //T:10 > c:\nrpe\bin\check_disk.wsf > > /drive:"c:\" /w:300 /c:100 > > command[check_disk_d]=cscript.exe //NoLogo //T:10 > c:\nrpe\bin\check_disk.wsf > > /drive:"d:\" /w:300 /c:100 > > > > when i run the check_nrpe on the nagios server from command line all is > good > > : > > > > ../libexec/check_nrpe -H 10.8.1.3 -c check_disk_c > > Drive C:\ - Total: 11.72 GB - Free: 3.94 GB (34%) - Used: 7.78 GB (66%) > > > > ../libexec/check_nrpe -H 10.8.1.3 -c check_disk_d > > Drive D:\ Data - Total: 56.08 GB - Free: 25.25 GB (45%) - Used: 30.83 GB > > (55%) > > > > I did define nrpe in checkcommands.cfg as follows: > > define command{ > > command_name check_nrpe > > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ > > } > > > > and run it this way in services.cfg > > check_command check_nrpe!check_disk_c > > > > but when i run it from Nagios, all i get is a CRITICAL state with ouput > > 'Connection refused by host'. Actually i started working with nrpe > because i > > had the same problem with nsclient. Besides the log are empty concerning > > this critical state. All checks on disks are refused. > > > > Any ideas. > > > > Cheers > > -- > > Le bon sens est la chose du monde la mieux partag?e. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642 > _______________________________________________ > 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 > -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Thu Feb 9 16:44:03 2006 From: marc at ena.com (Marc Powell) Date: Thu, 9 Feb 2006 09:44:03 -0600 Subject: Distributed notifications Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Brady Maxwell > Sent: Wednesday, February 08, 2006 8:58 PM > To: Nagios users > Subject: [Nagios-users] Distributed notifications > > I have three distributed servers that are using send_nsca to a central > server. the central server is receiving the check results or at least it > appears to be. I have except passive host and service checks enabled on > the central server. However none of the cgis update the list all > services and hosts as pending. > In netstat I can see the connections from the distributed servers on > both the central and distributed servers. > > I have definded all hosts, check commands and service checks in the > central servers config files. > In the past I have had only post checks report in the cgis but now hosts > just show pending along with all service checks. > > Also I have execute service checks disabled on the central server. I am > pretty certain that they should be disabled on the central server but I > enabled them for a bit and all service checks went critical so I turned > it back off. > > In nsca.dump I see lots of host checks from only one of the distributed > servers. nagios.cmd does not appear to get data written to it. > > I run nsca and nagios as user nagios. I am wondering if there maybe a > ownership or permissions issue keeping either the nsca deamon or nagios > from writing to or reading from the nagios.cmd file. I made both the > nagios.cmd and nsca.dump rw by ug and o so I would this that would have > solved any potential read write permissions problems. You'd have to show us directory listings and group associations otherwise how would we know? You should not have to change permissions on nagios.cmd as it will be created by nagios with the correct ownership and permissions if you've followed the documentation at http://nagios.sourceforge.net/docs/1_0/extcommands.html and http://nagios.sourceforge.net/docs/1_0/commandfile.html. The named pipe is also removed and re-created at each nagios restart so any changes you made would be transient anyway. > Anyone have any suggestions? Turn on nsca debug and watch your messages file. Enable 'log_passive_service_checks' in nagios.cfg and watch for them in nagios.log. Look for errors in nagios.log. Make sure you have check_external_commands enabled with a reasonable command_check_interval. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From mkoponick at redhawk.info Thu Feb 9 16:50:17 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Thu, 9 Feb 2006 07:50:17 -0800 Subject: Services - Hostgroups? Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109BCB@raptor.redhawk.info> Hello, I was wondering how one would define a hostgroup_name in a service? I didn't see anything in the doc's (http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service) And I noticed that it is a MUST to have a host_name. For some reason I thought I saw where you could use a hostgroup_name, rather than host_name's, which seems to make sense to me. I tried adding the hostgroup_name rather than just the host_name, and it seems to work OK. (At least from a preflight check perspective) Is this a documentation issue? Thanks! Mike ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From marc at ena.com Thu Feb 9 17:00:29 2006 From: marc at ena.com (Marc Powell) Date: Thu, 9 Feb 2006 10:00:29 -0600 Subject: Services - Hostgroups? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mike Koponick > Sent: Thursday, February 09, 2006 9:50 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Services - Hostgroups? > > Hello, > > I was wondering how one would define a hostgroup_name in a service? I > didn't see anything in the doc's > (http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service) > > And I noticed that it is a MUST to have a host_name. For some reason I > thought I saw where you could use a hostgroup_name, rather than > host_name's, which seems to make sense to me. > > I tried adding the hostgroup_name rather than just the host_name, and it > seems to work OK. (At least from a preflight check perspective) Is this > a documentation issue? Here's where you saw it -- http://nagios.sourceforge.net/docs/2_0/templatetricks.html#service -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From mkoponick at redhawk.info Thu Feb 9 17:22:29 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Thu, 9 Feb 2006 08:22:29 -0800 Subject: Services - Hostgroups? Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109BCC@raptor.redhawk.info> Very cool. Personally, I think it would be good idea to reference this section in the services/hosts section. I could help if needed, please let me know. Thanks! Mike -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Thursday, February 09, 2006 8:00 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Services - Hostgroups? > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mike Koponick > Sent: Thursday, February 09, 2006 9:50 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Services - Hostgroups? > > Hello, > > I was wondering how one would define a hostgroup_name in a service? I > didn't see anything in the doc's > (http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service) > > And I noticed that it is a MUST to have a host_name. For some reason I > thought I saw where you could use a hostgroup_name, rather than > host_name's, which seems to make sense to me. > > I tried adding the hostgroup_name rather than just the host_name, and it > seems to work OK. (At least from a preflight check perspective) Is this > a documentation issue? Here's where you saw it -- http://nagios.sourceforge.net/docs/2_0/templatetricks.html#service -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 _______________________________________________ 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From greg.cope at e-dba.net Thu Feb 9 17:46:27 2006 From: greg.cope at e-dba.net (Greg Cope) Date: Thu, 09 Feb 2006 16:46:27 +0000 Subject: nsca checks Message-ID: <1139503587.2372.26.camel@dl.e-dba.net> Hi all, I cannot seem to find any simple NSCA docs. I have lots of hosts behind firewalls that I do not have direct access to that need monitoring. Do most people run checks/plugins via cron piping into send_nsca? Or is there a better way of doing it? I do not want to run a full/distributed nagios server on these servers. Greg ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From Roberto.Raffo at enterpriseda.com Thu Feb 9 17:50:30 2006 From: Roberto.Raffo at enterpriseda.com (Roberto Raffo) Date: Thu, 9 Feb 2006 17:50:30 +0100 Subject: NRPE: Unable to read output Message-ID: I'm running NRPE 2.3 and Nagios 2.0rc2. I read a lot of post in many forum and also a lot of messages in many many mailing list and newsgroup. I tried with all the solution concerning files permission. The output of my syslog is: Feb 9 13:14:59 LinuxSAM nrpe[12623]: Connection from 10.28.3.63 port 63362 Feb 9 13:14:59 LinuxSAM nrpe[12623]: Handling the connection... Feb 9 13:14:59 LinuxSAM nrpe[12623]: Host is asking for command 'check_users' to be run... Feb 9 13:14:59 LinuxSAM nrpe[12623]: Running command: /usr/local/nagios/libexec/check_users -w 5 -c 10 Feb 9 13:14:59 LinuxSAM nrpe[12623]: Command completed with return code 3 and output: Feb 9 13:14:59 LinuxSAM nrpe[12623]: Return Code: 3, Output: NRPE: Unable to read output Feb 9 13:14:59 LinuxSAM nrpe[12623]: Connection from X????u_? closed. Any ideas? ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From Roberto.Raffo at enterpriseda.com Thu Feb 9 18:20:06 2006 From: Roberto.Raffo at enterpriseda.com (Roberto Raffo) Date: Thu, 9 Feb 2006 18:20:06 +0100 Subject: Nagios 2 with MySql support Message-ID: Hi all. In this version of Nagios 2 on the documentation is written: *********************************************************** Native DB Support Dropped - Native support for storing various types of data (status, retention, comment, downtime, etc.) in MySQL and PostgreSQL has been dropped. Stop whining. I expect someone will develop an alternative using the new event broker sometime in the near future. Besides, DB support was not well implemented and dropping native DB support will make things easier for newbies to understand (one less thing to figure out). *********************************************************** I'm quite new to Nagios but I know that in the last version (1.x) the integration with MySql was quite easy. Have someone an idea to integrate MySql with Nagios 2.x? Have someone a good doc? I found only: http://sourceforge.net/projects/nagios-db Any other ideas? Thanks a lot... -------------- next part -------------- An HTML attachment was scrubbed... URL: From mkoponick at redhawk.info Thu Feb 9 18:31:26 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Thu, 9 Feb 2006 09:31:26 -0800 Subject: Nagios 2 with MySql support Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109BCE@raptor.redhawk.info> Roberto, I have been using the NDOUTILS that is posted on the Nagios site. It works well, although some of the tables (columns) are incomplete. What I did for configuration is used my own tables (for now) and I use the NDO tables for the status/performance data. We use our own PHP interface so it works rather well. As soon as thing firm up in Nagios 3.0, I plan to migrate my system to the new tables for consistency reasons. I did a quick GOOGLE search and found NDOUTILS here: http://sourceforge.net/project/showfiles.php?group_id=26589 Thanks! Mike -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Roberto Raffo Sent: Thursday, February 09, 2006 9:20 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios 2 with MySql support Hi all. In this version of Nagios 2 on the documentation is written: *********************************************************** Native DB Support Dropped - Native support for storing various types of data (status, retention, comment, downtime, etc.) in MySQL and PostgreSQL has been dropped. Stop whining. I expect someone will develop an alternative using the new event broker sometime in the near future. Besides, DB support was not well implemented and dropping native DB support will make things easier for newbies to understand (one less thing to figure out). *********************************************************** I'm quite new to Nagios but I know that in the last version (1.x) the integration with MySql was quite easy. Have someone an idea to integrate MySql with Nagios 2.x? Have someone a good doc? I found only: http://sourceforge.net/projects/nagios-db Any other ideas? Thanks a lot... -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Thu Feb 9 18:34:28 2006 From: marc at ena.com (Marc Powell) Date: Thu, 9 Feb 2006 11:34:28 -0600 Subject: Nagios 2 with MySql support Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Roberto Raffo > Sent: Thursday, February 09, 2006 11:20 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios 2 with MySql support > > Hi all. > > In this version of Nagios 2 on the documentation is written: > *********************************************************** > Native DB Support Dropped - Native support for storing various types of > data (status, retention, > comment, downtime, etc.) in MySQL and PostgreSQL has been dropped. Stop > whining. I expect > someone will develop an alternative using the new event broker sometime in > the near future. > Besides, DB support was not well implemented and dropping native DB > support will make things > easier for newbies to understand (one less thing to figure out). > *********************************************************** > > I'm quite new to Nagios but I know that in the last version (1.x) the > integration with MySql was quite easy. > > Have someone an idea to integrate MySql with Nagios 2.x? > Have someone a good doc? I would recommend searching the archives (http://news.gmane.org/gmane.network.nagios.user). I responded less than 2 hours ago to this list with a subject line of 'RE: [Nagios-users] Nagios 2 and MySQL/PostgreSQL' with the most viable options currently available (that I am aware of). There are few options at this early stage of the 2.0 release. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From krzys at perfekt.net Thu Feb 9 19:29:10 2006 From: krzys at perfekt.net (Krzys) Date: Thu, 9 Feb 2006 13:29:10 -0500 (EST) Subject: nagios web interface accessing via BlackBerry Message-ID: Since pages are using frames I cant realy view them using my BlackBerry device, is there any way for me to get webinterface on my BlackBerry? I am new to this group and I was just wondering since I did not see much regarding that... Thanks for help or any pointers. Chris ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From philip.donaghy at gmail.com Thu Feb 9 18:29:33 2006 From: philip.donaghy at gmail.com (Philip Mark Donaghy) Date: Thu, 9 Feb 2006 18:29:33 +0100 Subject: Successful installation of nagios on Fedora core 4 Message-ID: My first mail was reject and the mailing list confirmation has not confirmed by subscription. So I am trying to send this again. I have researched some different ways of installing nagios on fedora core 4. I saw that the rpm repository has stuff in the extras fedora 4. The file nagios-2.0-0.2.rc2.fc4.i386.rpm is in this directory. http://mirror.linux.duke.edu/pub/fedora/linux/extras/4/i386/ We can install this using "yum install nagios" if yum is setup correctly. I see that Dag Wiers has some packages but is yet supporting fedora core 4. http://dag.wieers.com/packages/nagios/ nagios-2.0-2.1.fc3.rf.i386.rpm seems to be the latest version and I am guessing that this will work on fc4. I tried this using "rpm -vi nagios-2.0-2.1.fc3.rf.i386.rpm" it requires some other packages libgd and libltdl. I got it to work using "yum localinstall nagios-2.0-2.1.fc3.rf.i386.rpm". Yum resolved the dependencies. This method only works if you can shut of pgp verification. It also depends on the apache server so, 'yum -y groupinstall "Web Server"' is also required. -- Philip Donaghy donaghy.blogspot.com del.icio.us/donaghy/philip Skype: philipmarkdonaghy Office: +33 5 56 60 88 02 Mobile: +33 6 20 83 22 62 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From jperrin at gmail.com Thu Feb 9 20:07:02 2006 From: jperrin at gmail.com (Jim Perrin) Date: Thu, 9 Feb 2006 14:07:02 -0500 Subject: nagios web interface accessing via BlackBerry In-Reply-To: References: Message-ID: <302ce8b50602091107u3f01f311y56d22f9256733602@mail.gmail.com> http://www.nagios.org/faqs/viewfaq.php?faq_id=45&expand=false&showdesc=false for wap enabled cellphones. Not sure if it would help for a blackberry or not. On 2/9/06, Krzys wrote: > Since pages are using frames I cant realy view them using my BlackBerry > device, is there any way for me to get webinterface on my BlackBerry? I am > new to this group and I was just wondering since I did not see much > regarding that... > > Thanks for help or any pointers. > > Chris > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From mkoponick at redhawk.info Fri Feb 10 00:44:51 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Thu, 9 Feb 2006 15:44:51 -0800 Subject: Send_NSCA - Segmentation Fault Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109BD5@raptor.redhawk.info> I looked around (and maybe I missed it) for the following issue: 1) I have configured NSCA for XINETD on my central server without encryption. 2) I have configured SEND_NSCA on my remote sensor also, without encryption. All of this works without a hitch. Luckily, all of the equipment is in a lab environment. I'm ready to deploy a server to a real remote site so I wanted to encrypt the traffic, so I configured BOTH the NSCA server and Send_NSCA for 3DES encryption. I restarted XINETD on the server. Now, when I send data from the remote server I see a "Segmentation Fault" and of course no data is sent through. All applications compiled without any warnings and appear to be executing fine with the exception of the encryption portion. Any ideas? Thanks in advance, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From mkoponick at redhawk.info Fri Feb 10 00:46:49 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Thu, 9 Feb 2006 15:46:49 -0800 Subject: Send_NSCA - Segmentation Fault Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109BD6@raptor.redhawk.info> I failed to mention that I'm using NSCA 2.5. Thanks! Mike -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mike Koponick Sent: Thursday, February 09, 2006 3:45 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Send_NSCA - Segmentation Fault I looked around (and maybe I missed it) for the following issue: 1) I have configured NSCA for XINETD on my central server without encryption. 2) I have configured SEND_NSCA on my remote sensor also, without encryption. All of this works without a hitch. Luckily, all of the equipment is in a lab environment. I'm ready to deploy a server to a real remote site so I wanted to encrypt the traffic, so I configured BOTH the NSCA server and Send_NSCA for 3DES encryption. I restarted XINETD on the server. Now, when I send data from the remote server I see a "Segmentation Fault" and of course no data is sent through. All applications compiled without any warnings and appear to be executing fine with the exception of the encryption portion. Any ideas? Thanks in advance, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From holger at CIS.FU-Berlin.DE Fri Feb 10 01:03:08 2006 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Fri, 10 Feb 2006 01:03:08 +0100 Subject: Send_NSCA - Segmentation Fault In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD4109BD5@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD4109BD5@raptor.redhawk.info> Message-ID: <20060210000308.GA7431735@CIS.FU-Berlin.DE> * Mike Koponick [2006-02-09 15:44]: > All of this works without a hitch. Luckily, all of the equipment is in a > lab environment. I'm ready to deploy a server to a real remote site so I > wanted to encrypt the traffic, so I configured BOTH the NSCA server and > Send_NSCA for 3DES encryption. I restarted XINETD on the server. Now, > when I send data from the remote server I see a "Segmentation Fault" and > of course no data is sent through. This is a known bug in the NSCA 2.5 release[*], it's fixed in CVS: http://nagios.sourceforge.net/download/cvs/nsca-cvs.tar.gz Holger [*] http://thread.gmane.org/gmane.network.nagios.devel/2412 -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From mkoponick at redhawk.info Fri Feb 10 01:10:17 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Thu, 9 Feb 2006 16:10:17 -0800 Subject: Send_NSCA - Segmentation Fault Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109BD7@raptor.redhawk.info> Das arbeitete gro?! Danke sehr viel! Mike -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Holger Weiss Sent: Thursday, February 09, 2006 4:03 PM To: Nagios Users Subject: Re: [Nagios-users] Send_NSCA - Segmentation Fault * Mike Koponick [2006-02-09 15:44]: > All of this works without a hitch. Luckily, all of the equipment is in a > lab environment. I'm ready to deploy a server to a real remote site so I > wanted to encrypt the traffic, so I configured BOTH the NSCA server and > Send_NSCA for 3DES encryption. I restarted XINETD on the server. Now, > when I send data from the remote server I see a "Segmentation Fault" and > of course no data is sent through. This is a known bug in the NSCA 2.5 release[*], it's fixed in CVS: http://nagios.sourceforge.net/download/cvs/nsca-cvs.tar.gz Holger [*] http://thread.gmane.org/gmane.network.nagios.devel/2412 -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From jnosc at hotmail.com Fri Feb 10 06:51:57 2006 From: jnosc at hotmail.com (Jody Noscov) Date: Fri, 10 Feb 2006 15:51:57 +1000 Subject: Running the configure Script Message-ID: I keep getting an error: ./configure: No such file or directory when i run the following script: ./configure --prefix=prefix --with-cgiurl=cgiurl --with-htmurl=htmurl --with-nagios-user=someuser --with-nagios-group=somegroup --with-command-group=cmdgroup Obviously I have replaced the neccessaries accordingly. I am executing it in both the /tmp folder I had extracted the nagios file to and also tried in the /usr/local/nagios directory too. Could someone please tell me what i am doing wrong. I am a new user to Nagios. Kind Regards J _________________________________________________________________ Make your dream car a reality http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fcarpoint%2Eninemsn%2Ecom%2Eau&_t=12345&_r=emailtagline&_m=EXT ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From ank at cs.ucy.ac.cy Fri Feb 10 08:08:55 2006 From: ank at cs.ucy.ac.cy (Andreas Kasenides) Date: Fri, 10 Feb 2006 09:08:55 +0200 Subject: Nagios 2 with MySql support In-Reply-To: References: Message-ID: <43EC3C07.8070107@cs.ucy.ac.cy> Marc Powell wrote: > > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Roberto Raffo >>Sent: Thursday, February 09, 2006 11:20 AM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] Nagios 2 with MySql support >> >>Hi all. >> >>In this version of Nagios 2 on the documentation is written: >>*********************************************************** >>Native DB Support Dropped - Native support for storing various types >> >> >of > > >>data (status, retention, >>comment, downtime, etc.) in MySQL and PostgreSQL has been dropped. >> >> >Stop > > >>whining. I expect >>someone will develop an alternative using the new event broker >> >> >sometime in > > >>the near future. >>Besides, DB support was not well implemented and dropping native DB >>support will make things >>easier for newbies to understand (one less thing to figure out). >>*********************************************************** >> >>I'm quite new to Nagios but I know that in the last version (1.x) the >>integration with MySql was quite easy. >> >>Have someone an idea to integrate MySql with Nagios 2.x? >>Have someone a good doc? >> >> > >I would recommend searching the archives >(http://news.gmane.org/gmane.network.nagios.user). I responded less than >2 hours ago to this list with a subject line of 'RE: [Nagios-users] >Nagios 2 and MySQL/PostgreSQL' with the most viable options currently >available (that I am aware of). There are few options at this early >stage of the 2.0 release. > >-- >Marc > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 >_______________________________________________ >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 > > > > SO indeed it shows that dropping support for DBs was not the best thing do, either as an add on or whatever!! -- Andreas ---------------------------------------------------------------------- Andreas Kasenides Tel: +357 - 22892714 e-mail: Andreas.Kasenides%at%cs.ucy.ac.cy (replace the %at% above with @) -------------- next part -------------- An HTML attachment was scrubbed... URL: From mh+nagios-users at zugschlus.de Fri Feb 10 08:35:30 2006 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Fri, 10 Feb 2006 08:35:30 +0100 Subject: Two questions about outage processing Message-ID: <20060210073530.GA4604@torres.l21.ma.zugschlus.de> Hi, I do not have too much Experience with Nagios, and my Netsaint experience is like three years unused. I have the following issues: (1) When hostA is parent host of hostB, hostA is down, and that outage is acknowledged - why does hostsB show up as "Unreachable, Unhandled Problem" in the tactical overview? I'd expect the acknowledgement to ACK the unreachable host as well. Otherwise, one would be with a _lot_ of unhandled problems in case of big outages which could mask out more important outages somewhere else. (2) When I see a service in CRITICAL soft state (thus, no notification has gone out yet), I cannot ACK that state (even if I know that the service is going to stay CRITICAL for a while and the problem is already being worked on). IMO, it would be good to be able to ACK even SOFT states. Am I missing something? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From ml at mherrn.de Fri Feb 10 11:06:34 2006 From: ml at mherrn.de (Marco Herrn) Date: Fri, 10 Feb 2006 11:06:34 +0100 Subject: nagios does its checks, but doesn't notify Message-ID: <20060210100634.GF8296@kodozian.sourcepark.net> Hi there, I have nagios (1.3) running on server to monitor two other servers. On one of these 2 server is the nagios nrpe-server running to allow some additional checks. These checks seem to be executed correctly, as the nrpe-server is regularly logging those: ----/---- Feb 8 16:47:32 dsxx-xxx-xxx-xx nrpe[15233]: Connection from xxx.xxx.xxx.xxx port 53758 Feb 8 16:47:32 dsxx-xxx-xxx-xx nrpe[15233]: Host address checks out ok Feb 8 16:47:32 dsxx-xxx-xxx-xx nrpe[15233]: Handling the connection... Feb 8 16:47:32 dsxx-xxx-xxx-xx nrpe[15233]: Host is asking for command ?heck_mysql' to be run... Feb 8 16:47:32 dsxx-xxx-xxx-xx nrpe[15233]: Running command: /usr/lib/nagios/plugins/check_mysql --check-slave Feb 8 16:47:32 dsxx-xxx-xxx-xx nrpe[15233]: Command completed with return code 2 and output: Access denied for user: 'nagios at localhost' (Using password: NO) Feb 8 16:47:32 dsxx-xxx-xxx-xx nrpe[15233]: Return Code: 2, Output: Access denied for user: 'nagios at localhost' (Using password: NO) Feb 8 16:47:32 dsxx-xxx-xxx-xx nrpe[15233]: Connection from xxx.xxx.xxx.xxx closed. ----/---- But on the actual nagios host, nearly nothing gets logged: ----/---- [1139409698] Nagios 1.3 starting... (PID=31188) ----/---- And no notifications are sent. Even if a service is not available. There were times where the nagios host logged the following: ----/---- [1139402923] SERVICE ALERT: myhost;total_procs;CRITICAL;SOFT;2;PROCS CRITICAL: 209 processes [1139402983] SERVICE ALERT: myhost;total_procs;CRITICAL;SOFT;3;PROCS CRITICAL: 204 processes [1139403043] SERVICE ALERT: myhost;total_procs;CRITICAL;HARD;4;PROCS CRITICAL: 206 processes [1139403253] SERVICE ALERT: myhost;http;CRITICAL;SOFT;1;CRITICAL - Socket timeout after 10 seconds [1139403313] SERVICE ALERT: myhost;http;CRITICAL;SOFT;2;CRITICAL - Socket timeout after 10 seconds [1139403343] SERVICE ALERT: myhost;total_procs;WARNING;HARD;4;PROCS WARNING: 185 processes [1139403373] SERVICE ALERT: myhost;http;CRITICAL;SOFT;3;CRITICAL - Socket timeout after 10 seconds [1139403433] SERVICE ALERT: myhost;http;CRITICAL;HARD;4;CRITICAL - Socket timeout after 10 seconds ----/---- These logs didn't appear regularly! I see no pattern when these got logged. Also in these cases no notifications were sent. Now, how can I find out what is going wrong here? Is there a debug option for nagios to get more verbose logging? Or any other ideas? Regards Marco ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From lkk at interfree.it Fri Feb 10 11:44:26 2006 From: lkk at interfree.it (lkk at interfree.it) Date: 10 Feb 2006 10:44:26 -0000 Subject: Additional Info in email notification Message-ID: <20060210104426.1521.qmail@community24.interfree.it> Hi, there I would to include additional info into email notification! What can I do? This is the email that nagios sends me. ------------------------------------------------------------------------ **** Nagios ***** Notification Type: PROBLEM Service: Ping Host: myhost Address: IP State: CRITICAL Date/Time: Fri Feb 10 11:14:20 CET 2006 Additional Info: $ ------------------------------------------------------------------------ Ths ------------------------------------------------------------ Sei stanco di girare a vuoto? Con il nuovo motore di ricerca Interfree trovi di tutto. Vieni a trovarci: http://search.interfree.it/ Lo Staff di Interfree ------------------------------------------------------------ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From Roberto.Raffo at enterpriseda.com Fri Feb 10 12:17:47 2006 From: Roberto.Raffo at enterpriseda.com (Roberto Raffo) Date: Fri, 10 Feb 2006 12:17:47 +0100 Subject: NsClient vs. NRPE_nt Message-ID: What is the best way to monitor a windows 2003 server (cpu, disk, memory, users, event log,....) with Nagios? NsClient? What is the last version? Where I can find it? or NRPE_nt? What is the last version? Where I can find it? Any idea? -------------- next part -------------- An HTML attachment was scrubbed... URL: From askarali at beaconet.net Fri Feb 10 12:28:03 2006 From: askarali at beaconet.net (Askar Ali) Date: Fri, 10 Feb 2006 16:28:03 +0500 Subject: NsClient vs. NRPE_nt In-Reply-To: References: Message-ID: <43EC78C3.2050005@beaconet.net> Roberto Raffo wrote: > > What is the best way to monitor a windows 2003 server (cpu, disk, > memory, users, event log,....) with Nagios? > > NsClient? What is the last version? Where I can find it? > Yeo nsclient is cool for monitoring the above services on M$, you can download it from http://nsclient.ready2run.nl/ Or wget http://nsclient.ready2run.nl/download/Distrib-1.06.2.zip > > or > > NRPE_nt? What is the last version? Where I can find it? > > Any idea? > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shoktai at gmail.com Fri Feb 10 12:30:30 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Fri, 10 Feb 2006 12:30:30 +0100 Subject: Additional Info in email notification In-Reply-To: <20060210104426.1521.qmail@community24.interfree.it> References: <20060210104426.1521.qmail@community24.interfree.it> Message-ID: <619cf3c0602100330v67520f4v@mail.gmail.com> Hi, try to put something like this in your miscommands.cfg file that should contact the email notification command : define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nAdditional Info: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /usr/bin/sendmail "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } 10 Feb 2006 10:44:26 -0000, lkk at interfree.it : > > > Hi, there > > I would to include additional info into email notification! > What can I do? > > This is the email that nagios sends me. > > > > ------------------------------------------------------------------------ > **** Nagios ***** > > Notification Type: PROBLEM > > Service: Ping > Host: myhost > Address: IP > State: CRITICAL > > Date/Time: Fri Feb 10 11:14:20 CET 2006 > > Additional Info: > > $ > ------------------------------------------------------------------------ > > > Ths > > ------------------------------------------------------------ > Sei stanco di girare a vuoto? > Con il nuovo motore di ricerca Interfree trovi di tutto. > Vieni a trovarci: http://search.interfree.it/ > > Lo Staff di Interfree > ------------------------------------------------------------ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From prandal at herefordshire.gov.uk Fri Feb 10 13:16:10 2006 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Fri, 10 Feb 2006 12:16:10 -0000 Subject: NsClient vs. NRPE_nt Message-ID: <86144ED6CE5B004DA23E1EAC0B569B580B0D3F5C@isabella.herefordshire.gov.uk> Try NSClient++ from http://nscplus.medin.name/index.php/Main_Page Depending on your needs and environment you might be able to use just this and not need nrpe_nt (from http://www.miwi-dv.com/nrpent/ Cheers, Phil ---- Phil Randal Network Engineer Herefordshire Council Hereford, UK _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Roberto Raffo Sent: 10 February 2006 11:18 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NsClient vs. NRPE_nt What is the best way to monitor a windows 2003 server (cpu, disk, memory, users, event log,....) with Nagios? NsClient? What is the last version? Where I can find it? or NRPE_nt? What is the last version? Where I can find it? Any idea? -------------- next part -------------- An HTML attachment was scrubbed... URL: From Roberto.Raffo at enterpriseda.com Fri Feb 10 15:10:03 2006 From: Roberto.Raffo at enterpriseda.com (Roberto Raffo) Date: Fri, 10 Feb 2006 15:10:03 +0100 Subject: NsClient vs. NRPE_nt Message-ID: Yes, tks. But there are many plugins fot NRPE on http://www.nagiosexchange.org/NRPE_Plugins.66.0.html and I think that I could use them to do many controls. But I could use also NRPE with NSClient++ and I have for free many controls.... But, What are the differences? Which is the best, more secure, more reliable, more performing way to monitor a win2000/2003 environment? -----Original Message----- From: Randal, Phil [mailto:prandal at herefordshire.gov.uk] Sent: venerd? 10 febbraio 2006 13.16 To: Roberto Raffo; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NsClient vs. NRPE_nt Try NSClient++ from http://nscplus.medin.name/index.php/Main_Page Depending on your needs and environment you might be able to use just this and not need nrpe_nt (from http://www.miwi-dv.com/nrpent/ Cheers, Phil ---- Phil Randal Network Engineer Herefordshire Council Hereford, UK _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Roberto Raffo Sent: 10 February 2006 11:18 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NsClient vs. NRPE_nt What is the best way to monitor a windows 2003 server (cpu, disk, memory, users, event log,....) with Nagios? NsClient? What is the last version? Where I can find it? or NRPE_nt? What is the last version? Where I can find it? Any idea? -------------- next part -------------- An HTML attachment was scrubbed... URL: From lkk at interfree.it Fri Feb 10 17:08:27 2006 From: lkk at interfree.it (lkk at interfree.it) Date: 10 Feb 2006 16:08:27 -0000 Subject: Additional Info in email notification Message-ID: <20060210160827.10462.qmail@community22.interfree.it> >You don't have access to the $OUTPUT$ variable in the host notification >(I don't even know if it actually exists). You should use $HOSTOUTPUT$ >instead (and $SERVICEOUTPUT$ for your service-notify-by-email command) >See http://nagios.sourceforge.net/docs/2_0/macros.html Now! It's working! But I have a problem with the Windows Servers! I recieve this email... ------------------------------------------------------------ **** Nagios v2.0b4 ***** Notification Type: PROBLEM Service: Used Disk D: Host: Windows Server 2003 Address: IP State: CRITICAL Date/Time: Fri Feb 10 16:31:38 CET 2006 Additional Info: D: ------------------------------------------------------------- I see only D: I want to see the message like in the browser: i.e. D:\ - total: 63.80 Gb - used: 61.72 Gb (97%) - free 2.08 Gb (3%) Is this pissible? Ths! ------------------------------------------------------------ Sei stanco di girare a vuoto? Con il nuovo motore di ricerca Interfree trovi di tutto. Vieni a trovarci: http://search.interfree.it/ Lo Staff di Interfree ------------------------------------------------------------ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From shoktai at gmail.com Fri Feb 10 16:08:53 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Fri, 10 Feb 2006 16:08:53 +0100 Subject: Additional Info in email notification In-Reply-To: References: Message-ID: <619cf3c0602100708w12bdcd86h@mail.gmail.com> $OUTPUT$ works for nagios 1.3 actually. 2006/2/10, Deborah Martin : > > try the following : essentially instead of using $OUTPUT$, replace with > $SERVICEOUTPUT$ > This works fine for me. > > > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional > Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert > - > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > } > > > regards, > deborah > -----Original Message----- > From: lkk at interfree.it [mailto:lkk at interfree.it] > Sent: 10 February 2006 14:43 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Additional Info in email notification > > > > I have already tried this but I don't to receive Additional Info. > > What can I do now? > > Ths > > >Hi, > >try to put something like this in your miscommands.cfg file that should > >contact the email notification command : > >define command{ > > command_name host-notify-by-email > > command_line /usr/bin/printf "%b" "***** Nagios > >*****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > >$HOSTSTATE$\nAddress: $HOSTADDRESS$\nAdditional Info: > $OUTPUT$\n\nDate/Time: > >$DATETIME$\n" | /usr/bin/sendmail "Host $HOSTSTATE$ alert for > $HOSTNAME$!" > >$CONTACTEMAIL$ > > } > > > >10 Feb 2006 10:44:26 -0000, lkk at interfree.it : > > > > ------------------------------------------------------------ > Sei stanco di girare a vuoto? > Con il nuovo motore di ricerca Interfree trovi di tutto. > Vieni a trovarci: http://search.interfree.it/ > > Lo Staff di Interfree > ------------------------------------------------------------ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > > ************************************************************************ > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. Any unauthorised distribution or copying is strictly > prohibited. > > Whilst Kognitio Limited takes steps to prevent the transmission of > viruses via e-mail, we can not guarantee that any email or > attachment is free from computer viruses and you are strongly > advised to undertake your own anti-virus precautions. > > Kognitio grants no warranties regarding performance, > use or quality of any e-mail or attachment and undertakes no > liability for loss or damage, howsoever caused. > *********************************************************************** > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tgenessay at aliadis.fr Fri Feb 10 17:15:26 2006 From: tgenessay at aliadis.fr (Thibault Genessay) Date: Fri, 10 Feb 2006 17:15:26 +0100 Subject: Additional Info in email notification In-Reply-To: <20060210160827.10462.qmail@community22.interfree.it> References: <20060210160827.10462.qmail@community22.interfree.it> Message-ID: <43ECBC1E.40703@aliadis.fr> lkk at interfree.it wrote: >>You don't have access to the $OUTPUT$ variable in the host notification >>(I don't even know if it actually exists). You should use $HOSTOUTPUT$ >>instead (and $SERVICEOUTPUT$ for your service-notify-by-email command) >>See http://nagios.sourceforge.net/docs/2_0/macros.html >> >> > >Now! It's working! >But I have a problem with the Windows Servers! > > For once, it's not poor Windows' fault >I see only D: >I want to see the message like in the browser: > >i.e. D:\ - total: 63.80 Gb - used: 61.72 Gb (97%) - free 2.08 Gb (3%) > > Use quotes , i.e. command_line /usr/bin/sendmail [...] "$HOSTOUTPUT$" Dealing with quotes and escaping is part of the joys of the configuration of Nagios :) -- Thibault ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From ank at cs.ucy.ac.cy Fri Feb 10 16:34:14 2006 From: ank at cs.ucy.ac.cy (Andreas Kasenides) Date: Fri, 10 Feb 2006 17:34:14 +0200 Subject: Nagios 2 with MySql support In-Reply-To: References: Message-ID: <43ECB276.9080606@cs.ucy.ac.cy> Marc Powell wrote: > > >>-----Original Message----- >>From: Andreas Kasenides [mailto:ank at cs.ucy.ac.cy] >>Sent: Friday, February 10, 2006 1:09 AM >>To: Marc Powell >>Cc: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] Nagios 2 with MySql support >> >>Marc Powell wrote: >> >> >> >[chop] > > > >> Have someone an idea to integrate MySql with Nagios 2.x? >> Have someone a good doc? >> >> >> >> I would recommend searching the archives >> (http://news.gmane.org/gmane.network.nagios.user). I responded >> >> >less > > >>than >> 2 hours ago to this list with a subject line of 'RE: >> >> >[Nagios-users] > > >> Nagios 2 and MySQL/PostgreSQL' with the most viable options >>currently >> available (that I am aware of). There are few options at this >> >> >early > > >> stage of the 2.0 release. >> >> -- >> Marc >> >> > > > > >>SO indeed it shows that dropping support for DBs was not the best >> >> >thing > > >>do, either >>as an add on or whatever!! >> >> > >In your opinion. The event broker is The Better Way in mine and many >others. This has been debated over and over and continues to be brought >up by those who haven't been around long enough. It's a dead horse. It's >not coming back. Use the Event Broker to do it either through modules >already written or write your own and share your better way with the >world if you so choose. > > > I did not say anything different!! But NDOutils is sort of shaky (as all other DB interfaces I tried) so previous functionality was lost. This does not help in developing further modules that like (or is easier) to use DBs (ex. PHP interfaces). What I am saying this is a very desirable feature. And while I think I can go around PHP and MySQL quite well I am lousy when it comes to C!!! Andreas >-- >Marc > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 >_______________________________________________ >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 > > > > -- ---------------------------------------------------------------------- Andreas Kasenides Tel: +357 - 22892714 e-mail: Andreas.Kasenides%at%cs.ucy.ac.cy (replace the %at% above with @) -------------- next part -------------- An HTML attachment was scrubbed... URL: From wgking at shaw.ca Fri Feb 10 17:18:13 2006 From: wgking at shaw.ca (Greg King) Date: Fri, 10 Feb 2006 09:18:13 -0700 Subject: RE nrpe issue Message-ID: <1f0ed661f15493.1f154931f0ed66@shaw.ca> > Message: 9 > Date: Thu, 9 Feb 2006 15:11:43 +0100 > From: Toto Capuccino > To: Nagios > Subject: [Nagios-users] nrpe issue > > ------=_Part_5090_29725220.1139494303850 > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: quoted-printable > Content-Disposition: inline > > Hi all, > > i have installed nrpe service on remote host a win2003 server, the service > just runs fine and i want to start monitorinfg free space on servers. > I have downloaded chec_disk on nagiosexchange and defined the services in > nrpe.cfg as follows: > > command[check_disk_c]=3Dcscript.exe //NoLogo //T:10 > c:\nrpe\bin\check_disk.= > wsf > /drive:"c:\" /w:300 /c:100 > command[check_disk_d]=3Dcscript.exe //NoLogo //T:10 > c:\nrpe\bin\check_disk.= > wsf > /drive:"d:\" /w:300 /c:100 > > when i run the check_nrpe on the nagios server from command line all is > goo= > d > : > > ../libexec/check_nrpe -H 10.8.1.3 -c check_disk_c > Drive C:\ - Total: 11.72 GB - Free: 3.94 GB (34%) - Used: 7.78 GB (66%) > > ../libexec/check_nrpe -H 10.8.1.3 -c check_disk_d > Drive D:\ Data - Total: 56.08 GB - Free: 25.25 GB (45%) - Used: 30.83 GB > (55%) > > I did define nrpe in checkcommands.cfg as follows: > define command{ > command_name check_nrpe > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ > } > > and run it this way in services.cfg > check_command check_nrpe!check_disk_c > > but when i run it from Nagios, all i get is a CRITICAL state with ouput > 'Connection refused by host'. Actually i started working with nrpe because > = > i > had the same problem with nsclient. Besides the log are empty concerning > this critical state. All checks on disks are refused. > > Any ideas. > > Cheers > -- > Le bon sens est la chose du monde la mieux partag=E9e. > I suspect you have incorrect permissions on one of the scripts, and you are testing as root. try the following: su - cd /usr/local/nagios/libexec ./check_nrpe ... Sometimes the errors returned to the Nagios web interface can be masked by underlying issues. Ensure the scripts and executables have rx permissions for the nagios user. Regards, Greg -------------- next part -------------- An embedded message was scrubbed... From: nagios-users-request at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #3036 - 19 msgs Date: Fri, 10 Feb 2006 07:35:06 -0800 Size: 90856 URL: From lkk at interfree.it Fri Feb 10 15:43:04 2006 From: lkk at interfree.it (lkk at interfree.it) Date: 10 Feb 2006 14:43:04 -0000 Subject: Additional Info in email notification Message-ID: <20060210144304.974.qmail@community1.interfree.it> I have already tried this but I don't to receive Additional Info. What can I do now? Ths >Hi, >try to put something like this in your miscommands.cfg file that should >contact the email notification command : >define command{ > command_name host-notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios >*****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: >$HOSTSTATE$\nAddress: $HOSTADDRESS$\nAdditional Info: $OUTPUT$\n\nDate/Time: >$DATETIME$\n" | /usr/bin/sendmail "Host $HOSTSTATE$ alert for $HOSTNAME$!" >$CONTACTEMAIL$ > } > >10 Feb 2006 10:44:26 -0000, lkk at interfree.it : > ------------------------------------------------------------ Sei stanco di girare a vuoto? Con il nuovo motore di ricerca Interfree trovi di tutto. Vieni a trovarci: http://search.interfree.it/ Lo Staff di Interfree ------------------------------------------------------------ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From sedwards at digifonica.com Fri Feb 10 18:11:19 2006 From: sedwards at digifonica.com (Samantha Edwards) Date: Fri, 10 Feb 2006 09:11:19 -0800 Subject: Accepting HTTP 401? In-Reply-To: <619cf3c0602100841x524eafefy@mail.gmail.com> References: <619cf3c0602100839ve01cc09u@mail.gmail.com> <619cf3c0602100841x524eafefy@mail.gmail.com> Message-ID: <43ECC937.2040908@digifonica.com> Hello All First post so please bear with me. I am looking to see if there is anyway that I would be able to have nagios accept a HTTP 401 as a valid response from a server? I'm running Nagios version 2.0b3 and have only been sorting through - here's my command definition, which I believe is generic define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ } Any help would be greatly appreciated! Cheers, .s ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From marc at ena.com Fri Feb 10 18:39:27 2006 From: marc at ena.com (Marc Powell) Date: Fri, 10 Feb 2006 11:39:27 -0600 Subject: Accepting HTTP 401? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Samantha Edwards > Sent: Friday, February 10, 2006 11:11 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Accepting HTTP 401? > > Hello All > > First post so please bear with me. I am looking to see if there is > anyway that I would be able to have nagios accept a HTTP 401 as a valid > response from a server? I'm running Nagios version 2.0b3 and have only > been sorting through - here's my command definition, which I believe is > generic > > define command{ > command_name check_http > command_line $USER1$/check_http -H $HOSTADDRESS$ > } > > Any help would be greatly appreciated! You would need to modify check_http.c around line 987 -- /* client errors result in a warning state */ else if (http_status >= 400) die (STATE_WARNING, _("HTTP WARNING: %s\n"), status_line); Either comment out the else/die lines or modify them to specifically exclude the 401 response. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From shoktai at gmail.com Fri Feb 10 17:39:18 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Fri, 10 Feb 2006 17:39:18 +0100 Subject: Additional Info in email notification In-Reply-To: References: Message-ID: <619cf3c0602100839ve01cc09u@mail.gmail.com> i never say you didnt 2006/2/10, Deborah Martin : > > i never said it didn't! > > -----Original Message----- > *From:* Toto Capuccino [mailto:shoktai at gmail.com] > *Sent:* 10 February 2006 15:09 > *To:* Deborah Martin > *Cc:* lkk at interfree.it; nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Additional Info in email notification > > $OUTPUT$ works for nagios 1.3 actually. > > 2006/2/10, Deborah Martin : > > > > try the following : essentially instead of using $OUTPUT$, replace with > > $SERVICEOUTPUT$ > > This works fine for me. > > > > > > define command{ > > command_name notify-by-email > > command_line /usr/bin/printf "%b" "***** Nagios > > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > > $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional > > Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ > > alert - > > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > > } > > > > > > regards, > > deborah > > -----Original Message----- > > From: lkk at interfree.it [mailto: lkk at interfree.it] > > Sent: 10 February 2006 14:43 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Additional Info in email notification > > > > > > > > I have already tried this but I don't to receive Additional Info. > > > > What can I do now? > > > > Ths > > > > >Hi, > > >try to put something like this in your miscommands.cfg file that should > > >contact the email notification command : > > >define command{ > > > command_name host-notify-by-email > > > command_line /usr/bin/printf "%b" "***** Nagios > > >*****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: > > $HOSTNAME$\nState: > > >$HOSTSTATE$\nAddress: $HOSTADDRESS$\nAdditional Info: > > $OUTPUT$\n\nDate/Time: > > >$DATETIME$\n" | /usr/bin/sendmail "Host $HOSTSTATE$ alert for > > $HOSTNAME$!" > > >$CONTACTEMAIL$ > > > } > > > > > >10 Feb 2006 10:44:26 -0000, lkk at interfree.it : > > > > > > > ------------------------------------------------------------ > > Sei stanco di girare a vuoto? > > Con il nuovo motore di ricerca Interfree trovi di tutto. > > Vieni a trovarci: http://search.interfree.it/ > > > > Lo Staff di Interfree > > ------------------------------------------------------------ > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > > files > > for problems? Stop! Download the new AJAX search engine that makes > > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > > > > _______________________________________________ > > 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 > > > > ************************************************************************ > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they > > are addressed. Any unauthorised distribution or copying is strictly > > prohibited. > > > > Whilst Kognitio Limited takes steps to prevent the transmission of > > viruses via e-mail, we can not guarantee that any email or > > attachment is free from computer viruses and you are strongly > > advised to undertake your own anti-virus precautions. > > > > Kognitio grants no warranties regarding performance, > > use or quality of any e-mail or attachment and undertakes no > > liability for loss or damage, howsoever caused. > > *********************************************************************** > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > > files > > for problems? Stop! Download the new AJAX search engine that makes > > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > > _______________________________________________ > > 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 > > > > > > -- > Le bon sens est la chose du monde la mieux partag?e. > > -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jperrin at gmail.com Fri Feb 10 19:35:44 2006 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 10 Feb 2006 13:35:44 -0500 Subject: Additional Info in email notification In-Reply-To: <619cf3c0602100841x524eafefy@mail.gmail.com> References: <619cf3c0602100839ve01cc09u@mail.gmail.com> <619cf3c0602100841x524eafefy@mail.gmail.com> Message-ID: <302ce8b50602101035p6d85e197lbd8008255fba3c11@mail.gmail.com> On 2/10/06, Toto Capuccino wrote: > no i mean i never say you did say it didnt > **** CORE DUMP **** --Parse error on line #2 :-P -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From andre at netdynamite.de Fri Feb 10 19:38:08 2006 From: andre at netdynamite.de (Andre Heine) Date: Fri, 10 Feb 2006 19:38:08 +0100 Subject: Acknowledgement for host/service problems? Message-ID: <200602101938.08492.andre@netdynamite.de> Hello all, how can I enable "acknowledgements"? It's posible? Thanks && greetings Andre ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From agrajag at dragaera.net Fri Feb 10 19:51:08 2006 From: agrajag at dragaera.net (Sean Dilda) Date: Fri, 10 Feb 2006 13:51:08 -0500 Subject: Acknowledgement for host/service problems? In-Reply-To: <200602101938.08492.andre@netdynamite.de> References: <200602101938.08492.andre@netdynamite.de> Message-ID: <43ECE09C.2010702@dragaera.net> Andre Heine wrote: > Hello all, > > how can I enable "acknowledgements"? > > It's posible? > > All you have to do is enable external commands. That allows commands to be issued from the webpage. And that allows you to do acknowledgements if you click on the host or service that's having a problem. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From andre at netdynamite.de Fri Feb 10 20:03:40 2006 From: andre at netdynamite.de (Andre Heine) Date: Fri, 10 Feb 2006 20:03:40 +0100 Subject: Acknowledgement for host/service problems? In-Reply-To: <43ECE09C.2010702@dragaera.net> References: <200602101938.08492.andre@netdynamite.de> <43ECE09C.2010702@dragaera.net> Message-ID: <200602102003.40955.andre@netdynamite.de> Hi Sean, Am Freitag, 10. Februar 2006 19:51 schrieb Sean Dilda: > Andre Heine wrote: > > how can I enable "acknowledgements"? > > > > It's posible? > > All you have to do is enable external commands. That allows > commands to be issued from the webpage. And that allows you to > do acknowledgements if you click on the host or service that's > having a problem. Thanks, it works! Ciao Andre ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From cennis at smarttelecom.ie Fri Feb 10 20:27:11 2006 From: cennis at smarttelecom.ie (Colm Ennis) Date: Fri, 10 Feb 2006 19:27:11 -0000 Subject: notification_interval = 0 and retained state but still get notifications on restart Message-ID: <8202074cbb4703a28ae329b356fd569b43ece90e@SMARTTELECOM.IE> i use nagios 1.2. i have set: notification_interval = 0 for all hosts and services as we only want to be alerted once when a host/service goes down. i have many devices/services and so autoprovision nagios config updates nightly. in order to load these config changes i restart nagios. to reduce the impact of this we retain state across restarts using: retain_state_information=1 use_retained_program_state=1 however when nagios restarts it alerts for all hosts/services which are down despite haveing notification_interval = 0. is there a way to do either of the following: a) load new config without restarting nagios b) stop nagios alerting a host/service on restart if it has already done so and notification_interval = 0? does this happen in 2.0? should i upgrade? thanks for your help, colm ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From hvdkooij at vanderkooij.org Fri Feb 10 20:35:55 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 10 Feb 2006 20:35:55 +0100 (CET) Subject: Accepting HTTP 401? In-Reply-To: <43ECC937.2040908@digifonica.com> References: <619cf3c0602100839ve01cc09u@mail.gmail.com> <619cf3c0602100841x524eafefy@mail.gmail.com> <43ECC937.2040908@digifonica.com> Message-ID: On Fri, 10 Feb 2006, Samantha Edwards wrote: > First post so please bear with me. I am looking to see if there is > anyway that I would be able to have nagios accept a HTTP 401 as a valid > response from a server? I'm running Nagios version 2.0b3 and have only > been sorting through - here's my command definition, which I believe is > generic >From the Help page of thjis command: -e, --expect=STRING String to expect in first (status) line of server response (default: HTTP/1.) If specified skips all other status line logic (ex: 3xx, 4xx, 5xx processing) Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From ricky at musketordata.se Fri Feb 10 20:57:53 2006 From: ricky at musketordata.se (Ricky Schneberger) Date: Fri, 10 Feb 2006 20:57:53 +0100 Subject: Graphs won't update Message-ID: <1139601473.8259.6.camel@thinlinc.teknikservice.nu> I got an issue where my graphs stops updating. Last time it happened I disable the hosts (changes the IP to unreachabled IPs) and then chenged them back after an hour. Today I tried the same thinf, after an recommendation on this list, but I still got the error. Then I moced the whole Cacti to another place for an hour and then moved it back....nothing happen. It seems that cacti poll my hosts, but then nothing happens. The rrd-files will not be touched. This is not an new install. Br Ricky Schneberger ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From Ygao at soundbite.com Fri Feb 10 21:25:32 2006 From: Ygao at soundbite.com (Yunsong Gao) Date: Fri, 10 Feb 2006 15:25:32 -0500 Subject: Apc Pdu Monitoring Message-ID: <9303A9A4755F584187871678E54487B603486E2E@sbmail.soundbite.com> Can someone give a hand on check_snmp_apc_pdu? I got this error when I tried to run it: Use of uninitialized value in substitution (s///) at ./check_snmp_apc_pdu line 139. Use of uninitialized value in substitution (s///) at ./check_snmp_apc_pdu line 140. Use of uninitialized value in division (/) at ./check_snmp_apc_pdu line 141. Use of uninitialized value in numeric eq (==) at ./check_snmp_apc_pdu line 72. Use of uninitialized value in numeric eq (==) at ./check_snmp_apc_pdu line 72. Use of uninitialized value in numeric eq (==) at ./check_snmp_apc_pdu line 73. Use of uninitialized value in numeric eq (==) at ./check_snmp_apc_pdu line 73. Use of uninitialized value in numeric ge (>=) at ./check_snmp_apc_pdu line 76. Any idea? Thanks, Yunsong ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From marc at ena.com Fri Feb 10 21:36:00 2006 From: marc at ena.com (Marc Powell) Date: Fri, 10 Feb 2006 14:36:00 -0600 Subject: notification_interval = 0 and retained state but still get notifications on restart Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Colm Ennis > Sent: Friday, February 10, 2006 1:27 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notification_interval = 0 and retained state but > still get notifications on restart > > i use nagios 1.2. > > i have set: > notification_interval = 0 > for all hosts and services as we only want to be alerted once when a > host/service goes down. > > i have many devices/services and so autoprovision nagios config updates > nightly. > > in order to load these config changes i restart nagios. to reduce the > impact of this we retain state across restarts using: > retain_state_information=1 > use_retained_program_state=1 > > however when nagios restarts it alerts for all hosts/services which are > down despite haveing notification_interval = 0. I'm doing pretty much the same thing and I don't see this problem. It's a little bit different in that all my checks are passive but that shouldn't be a significant difference. Do you have the following directives in your host/service definitions or templates -- retain_status_information 0 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts In my case I don't retain_status_information, you will probably want to. Another difference is that I have a really high notification_interval as opposed to 0 but I don't expect that to be significant either -- notification_interval 10080 > > is there a way to do either of the following: > a) load new config without restarting nagios Send nagios a HUP signal. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From jperrin at gmail.com Sat Feb 11 00:55:45 2006 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 10 Feb 2006 18:55:45 -0500 Subject: Graphs won't update In-Reply-To: <1139601473.8259.6.camel@thinlinc.teknikservice.nu> References: <1139601473.8259.6.camel@thinlinc.teknikservice.nu> Message-ID: <302ce8b50602101555h56672a8fofc2867c343bd46b3@mail.gmail.com> On 2/10/06, Ricky Schneberger wrote: > I got an issue where my graphs stops updating. > > Last time it happened I disable the hosts (changes the IP to > unreachabled IPs) and then chenged them back after an hour. > > Today I tried the same thinf, after an recommendation on this list, but > I still got the error. Then I moced the whole Cacti to another place for > an hour and then moved it back....nothing happen. > > It seems that cacti poll my hosts, but then nothing happens. The > rrd-files will not be touched. > > This is not an new install. You know, I looked. I can't seem to find the word "nagios" anywhere in your email. There isn't even a HINT as to what setup you're using, what version we're talking about, or how you've crammed cacti into the situation. -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From sedwards at digifonica.com Fri Feb 10 18:49:33 2006 From: sedwards at digifonica.com (Samantha Edwards) Date: Fri, 10 Feb 2006 09:49:33 -0800 Subject: Accepting HTTP 401? In-Reply-To: References: Message-ID: <43ECD22D.4060705@digifonica.com> Hi All Thanks to Marc for your speedy response! Much appreciated. Best, .s Marc Powell wrote: > > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Samantha Edwards >>Sent: Friday, February 10, 2006 11:11 AM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] Accepting HTTP 401? >> >>Hello All >> >>First post so please bear with me. I am looking to see if there is >>anyway that I would be able to have nagios accept a HTTP 401 as a >> >> >valid > > >>response from a server? I'm running Nagios version 2.0b3 and have >> >> >only > > >>been sorting through - here's my command definition, which I believe >> >> >is > > >>generic >> >>define command{ >> command_name check_http >> command_line $USER1$/check_http -H $HOSTADDRESS$ >> } >> >>Any help would be greatly appreciated! >> >> > >You would need to modify check_http.c around line 987 -- > >/* client errors result in a warning state */ >else if (http_status >= 400) > die (STATE_WARNING, _("HTTP WARNING: %s\n"), status_line); > >Either comment out the else/die lines or modify them to specifically >exclude the 401 response. > >-- >Marc > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 >_______________________________________________ >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 > > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From Deborah.Martin at Kognitio.com Fri Feb 10 15:53:49 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Fri, 10 Feb 2006 14:53:49 -0000 Subject: Additional Info in email notification Message-ID: try the following : essentially instead of using $OUTPUT$, replace with $SERVICEOUTPUT$ This works fine for me. define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } regards, deborah -----Original Message----- From: lkk at interfree.it [mailto:lkk at interfree.it] Sent: 10 February 2006 14:43 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Additional Info in email notification I have already tried this but I don't to receive Additional Info. What can I do now? Ths >Hi, >try to put something like this in your miscommands.cfg file that should >contact the email notification command : >define command{ > command_name host-notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios >*****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: >$HOSTSTATE$\nAddress: $HOSTADDRESS$\nAdditional Info: $OUTPUT$\n\nDate/Time: >$DATETIME$\n" | /usr/bin/sendmail "Host $HOSTSTATE$ alert for $HOSTNAME$!" >$CONTACTEMAIL$ > } > >10 Feb 2006 10:44:26 -0000, lkk at interfree.it : > ------------------------------------------------------------ Sei stanco di girare a vuoto? Con il nuovo motore di ricerca Interfree trovi di tutto. Vieni a trovarci: http://search.interfree.it/ Lo Staff di Interfree ------------------------------------------------------------ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From shoktai at gmail.com Fri Feb 10 17:41:01 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Fri, 10 Feb 2006 17:41:01 +0100 Subject: Additional Info in email notification In-Reply-To: <619cf3c0602100839ve01cc09u@mail.gmail.com> References: <619cf3c0602100839ve01cc09u@mail.gmail.com> Message-ID: <619cf3c0602100841x524eafefy@mail.gmail.com> no i mean i never say you did say it didnt oh nevermind 2006/2/10, Toto Capuccino : > > i never say you didnt > > 2006/2/10, Deborah Martin : > > > > i never said it didn't! > > > > -----Original Message----- > > *From:* Toto Capuccino [mailto:shoktai at gmail.com] > > *Sent:* 10 February 2006 15:09 > > *To:* Deborah Martin > > *Cc:* lkk at interfree.it; nagios-users at lists.sourceforge.net > > *Subject:* Re: [Nagios-users] Additional Info in email notification > > > > $OUTPUT$ works for nagios 1.3 actually. > > > > 2006/2/10, Deborah Martin : > > > > > > try the following : essentially instead of using $OUTPUT$, replace > > > with > > > $SERVICEOUTPUT$ > > > This works fine for me. > > > > > > > > > define command{ > > > command_name notify-by-email > > > command_line /usr/bin/printf "%b" "***** Nagios > > > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > > > $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > > > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional > > > Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ > > > alert - > > > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > > > } > > > > > > > > > regards, > > > deborah > > > -----Original Message----- > > > From: lkk at interfree.it [mailto: lkk at interfree.it] > > > Sent: 10 February 2006 14:43 > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Additional Info in email notification > > > > > > > > > > > > I have already tried this but I don't to receive Additional Info. > > > > > > What can I do now? > > > > > > Ths > > > > > > >Hi, > > > >try to put something like this in your miscommands.cfg file that > > > should > > > >contact the email notification command : > > > >define command{ > > > > command_name host-notify-by-email > > > > command_line /usr/bin/printf "%b" "***** Nagios > > > >*****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: > > > $HOSTNAME$\nState: > > > >$HOSTSTATE$\nAddress: $HOSTADDRESS$\nAdditional Info: > > > $OUTPUT$\n\nDate/Time: > > > >$DATETIME$\n" | /usr/bin/sendmail "Host $HOSTSTATE$ alert for > > > $HOSTNAME$!" > > > >$CONTACTEMAIL$ > > > > } > > > > > > > >10 Feb 2006 10:44:26 -0000, lkk at interfree.it < lkk at interfree.it>: > > > > > > > > > > ------------------------------------------------------------ > > > Sei stanco di girare a vuoto? > > > Con il nuovo motore di ricerca Interfree trovi di tutto. > > > Vieni a trovarci: http://search.interfree.it/ > > > > > > Lo Staff di Interfree > > > ------------------------------------------------------------ > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > > > files > > > for problems? Stop! Download the new AJAX search engine that makes > > > searching your log files as easy as surfing the web. DOWNLOAD > > > SPLUNK! > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > > > > > > _______________________________________________ > > > 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 > > > > > > > > > > > > ************************************************************************ > > > This email and any files transmitted with it are confidential and > > > intended solely for the use of the individual or entity to whom they > > > are addressed. Any unauthorised distribution or copying is strictly > > > prohibited. > > > > > > Whilst Kognitio Limited takes steps to prevent the transmission of > > > viruses via e-mail, we can not guarantee that any email or > > > attachment is free from computer viruses and you are strongly > > > advised to undertake your own anti-virus precautions. > > > > > > Kognitio grants no warranties regarding performance, > > > use or quality of any e-mail or attachment and undertakes no > > > liability for loss or damage, howsoever caused. > > > > > > *********************************************************************** > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > > > files > > > for problems? Stop! Download the new AJAX search engine that makes > > > searching your log files as easy as surfing the web. DOWNLOAD > > > SPLUNK! > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > > > > > > _______________________________________________ > > > 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 > > > > > > > > > > > -- > > Le bon sens est la chose du monde la mieux partag?e. > > > > > > > -- > Le bon sens est la chose du monde la mieux partag?e. > -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Fri Feb 10 16:30:52 2006 From: marc at ena.com (Marc Powell) Date: Fri, 10 Feb 2006 09:30:52 -0600 Subject: Running the configure Script Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jody Noscov > Sent: Thursday, February 09, 2006 11:52 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Running the configure Script > > I keep getting an error: ./configure: No such file or directory when i run > the following script: > > ./configure --prefix=prefix --with-cgiurl=cgiurl --with-htmurl=htmurl > --with-nagios-user=someuser --with-nagios-group=somegroup > --with-command-group=cmdgroup > > Obviously I have replaced the neccessaries accordingly. > > I am executing it in both the /tmp folder I had extracted the nagios file > to > and also tried in the /usr/local/nagios directory too. > > Could someone please tell me what i am doing wrong. I am a new user to > Nagios. You need to be in the _extracted_ nagios directory. For example: cd /path/to/ #nagios-2.0.tar.gz file tar zxvf nagios-2.0.tar.gz cd nagios-2.0 ./configure --yada --yada -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From jhmartin at toger.us Fri Feb 10 17:29:10 2006 From: jhmartin at toger.us (Jason Martin) Date: Fri, 10 Feb 2006 08:29:10 -0800 Subject: Simulating DOWN Scenario In-Reply-To: <43E4A50D001B106C@mail19.bluewin.ch> References: <43E4A50D001B106C@mail19.bluewin.ch> Message-ID: <20060210162910.GB15321@mal.members.linode.com> On Fri, Feb 10, 2006 at 04:30:04PM +0100, Nick Weisser wrote: > What is the best or easiest way to test if my notifications for different > services and hosts are working without really shutting down the server to be You can submit passive check results via the GUI. Submit enough to put the service into alarm state and you'll get the notifications. -Jason Martin -- That must be wonderful! I don't understand it at all. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From tgenessay at aliadis.fr Fri Feb 10 15:48:44 2006 From: tgenessay at aliadis.fr (Thibault Genessay) Date: Fri, 10 Feb 2006 15:48:44 +0100 Subject: Additional Info in email notification In-Reply-To: <20060210144304.974.qmail@community1.interfree.it> References: <20060210144304.974.qmail@community1.interfree.it> Message-ID: <43ECA7CC.5010400@aliadis.fr> lkk at interfree.it wrote: >I have already tried this but I don't to receive Additional Info. > > > >>Hi, >>try to put something like this in your miscommands.cfg file that should >>contact the email notification command : >>define command{ >> command_name host-notify-by-email >> command_line /usr/bin/printf "%b" "***** Nagios >>*****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: >>$HOSTSTATE$\nAddress: $HOSTADDRESS$\nAdditional Info: $OUTPUT$\n\nDate/Time: >>$DATETIME$\n" | /usr/bin/sendmail "Host $HOSTSTATE$ alert for $HOSTNAME$!" >>$CONTACTEMAIL$ >> } >> >>10 Feb 2006 10:44:26 -0000, lkk at interfree.it : > >> >> > > >What can I do now? > > You don't have access to the $OUTPUT$ variable in the host notification (I don't even know if it actually exists). You should use $HOSTOUTPUT$ instead (and $SERVICEOUTPUT$ for your service-notify-by-email command) See http://nagios.sourceforge.net/docs/2_0/macros.html -- Thibault GENESSAY ALIADIS www.aliadis.fr Tel. 0870 723 724 Fax 04 72 13 90 40 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From Deborah.Martin at Kognitio.com Fri Feb 10 16:41:12 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Fri, 10 Feb 2006 15:41:12 -0000 Subject: Additional Info in email notification Message-ID: i never said it didn't! -----Original Message----- From: Toto Capuccino [mailto:shoktai at gmail.com] Sent: 10 February 2006 15:09 To: Deborah Martin Cc: lkk at interfree.it; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Additional Info in email notification $OUTPUT$ works for nagios 1.3 actually. 2006/2/10, Deborah Martin < Deborah.Martin at kognitio.com >: try the following : essentially instead of using $OUTPUT$, replace with $SERVICEOUTPUT$ This works fine for me. define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } regards, deborah -----Original Message----- From: lkk at interfree.it [mailto: lkk at interfree.it] Sent: 10 February 2006 14:43 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Additional Info in email notification I have already tried this but I don't to receive Additional Info. What can I do now? Ths >Hi, >try to put something like this in your miscommands.cfg file that should >contact the email notification command : >define command{ > command_name host-notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios >*****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: >$HOSTSTATE$\nAddress: $HOSTADDRESS$\nAdditional Info: $OUTPUT$\n\nDate/Time: >$DATETIME$\n" | /usr/bin/sendmail "Host $HOSTSTATE$ alert for $HOSTNAME$!" >$CONTACTEMAIL$ > } > >10 Feb 2006 10:44:26 -0000, lkk at interfree.it < lkk at interfree.it >: > ------------------------------------------------------------ Sei stanco di girare a vuoto? Con il nuovo motore di ricerca Interfree trovi di tutto. Vieni a trovarci: http://search.interfree.it/ Lo Staff di Interfree ------------------------------------------------------------ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk &kid=103432&bid=230486&dat=121642 _______________________________________________ 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 ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk &kid=103432&bid=230486&dat=121642 _______________________________________________ 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 -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Fri Feb 10 16:17:59 2006 From: marc at ena.com (Marc Powell) Date: Fri, 10 Feb 2006 09:17:59 -0600 Subject: Nagios 2 with MySql support Message-ID: > -----Original Message----- > From: Andreas Kasenides [mailto:ank at cs.ucy.ac.cy] > Sent: Friday, February 10, 2006 1:09 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios 2 with MySql support > > Marc Powell wrote: > [chop] > Have someone an idea to integrate MySql with Nagios 2.x? > Have someone a good doc? > > > > I would recommend searching the archives > (http://news.gmane.org/gmane.network.nagios.user). I responded less > than > 2 hours ago to this list with a subject line of 'RE: [Nagios-users] > Nagios 2 and MySQL/PostgreSQL' with the most viable options > currently > available (that I am aware of). There are few options at this early > stage of the 2.0 release. > > -- > Marc > SO indeed it shows that dropping support for DBs was not the best thing > do, either > as an add on or whatever!! In your opinion. The event broker is The Better Way in mine and many others. This has been debated over and over and continues to be brought up by those who haven't been around long enough. It's a dead horse. It's not coming back. Use the Event Broker to do it either through modules already written or write your own and share your better way with the world if you so choose. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From ank at cs.ucy.ac.cy Fri Feb 10 16:38:26 2006 From: ank at cs.ucy.ac.cy (Andreas Kasenides) Date: Fri, 10 Feb 2006 17:38:26 +0200 Subject: Successful installation of nagios on Fedora core 4 In-Reply-To: References: Message-ID: <43ECB372.405@cs.ucy.ac.cy> Philip Mark Donaghy wrote: >My first mail was reject and the mailing list confirmation has not >confirmed by subscription. So I am trying to send this again. > >I have researched some different ways of >installing nagios on fedora core 4. I saw that the rpm repository has >stuff in the extras fedora 4. The file nagios-2.0-0.2.rc2.fc4.i386.rpm >is in this directory. > >http://mirror.linux.duke.edu/pub/fedora/linux/extras/4/i386/ > >We can install this using "yum install nagios" if yum is setup correctly. > >I see that Dag Wiers has some packages but is yet supporting fedora core 4. > >http://dag.wieers.com/packages/nagios/ > >nagios-2.0-2.1.fc3.rf.i386.rpm seems to be the latest version and I am >guessing that this will work on fc4. I tried this using "rpm -vi >nagios-2.0-2.1.fc3.rf.i386.rpm" it requires some other packages libgd >and libltdl. I got it to work using "yum localinstall >nagios-2.0-2.1.fc3.rf.i386.rpm". Yum resolved the dependencies. This >method only works if you can shut of pgp verification. It also depends >on the apache server so, 'yum -y groupinstall "Web Server"' is also >required. > >-- >Philip Donaghy >donaghy.blogspot.com del.icio.us/donaghy/philip >Skype: philipmarkdonaghy >Office: +33 5 56 60 88 02 >Mobile: +33 6 20 83 22 62 > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 >_______________________________________________ >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 > > > > See also http://www.kasenides.org/nagios you may find some things for fc4 which I maintain mostly for my purposes but I put up for anyones use. Andreas -- ---------------------------------------------------------------------- Andreas Kasenides Tel: +357 - 22892714 e-mail: Andreas.Kasenides%at%cs.ucy.ac.cy (replace the %at% above with @) -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Fri Feb 10 16:47:30 2006 From: marc at ena.com (Marc Powell) Date: Fri, 10 Feb 2006 09:47:30 -0600 Subject: check_wins download Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Justin Shore > Sent: Friday, February 10, 2006 9:42 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_wins download > > Would someone please point me to the check_wins site? http://www.nagios.org/download/ check_wins.pl is included in the official plugins package (contrib). -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From justin.shore at sktbcs.com Fri Feb 10 16:41:44 2006 From: justin.shore at sktbcs.com (Justin Shore) Date: Fri, 10 Feb 2006 09:41:44 -0600 Subject: check_wins download Message-ID: Would someone please point me to the check_wins site? Thanks Justin -- Justin Shore, Network Engineer SKT Business Communication Solutions Office: (316) 265-9555 x3217 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From marc at ena.com Fri Feb 10 16:43:43 2006 From: marc at ena.com (Marc Powell) Date: Fri, 10 Feb 2006 09:43:43 -0600 Subject: Nagios 2 with MySql support Message-ID: > -----Original Message----- > From: Andreas Kasenides [mailto:ank at cs.ucy.ac.cy] > Sent: Friday, February 10, 2006 9:34 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios 2 with MySql support > > Marc Powell wrote: > > > I did not say anything different!! But NDOutils is sort of shaky (as all > other > DB interfaces I tried) so previous functionality was lost. This does not > help in > developing further modules that like (or is easier) to use DBs (ex. PHP > interfaces). > What I am saying this is a very desirable feature. And while I think I can > go around > PHP and MySQL quite well I am lousy when it comes to C!!! Remember that 2.0 was _just_ released. The event broker API isn't even documented yet. I don't expect any significant progress on event broker modules until that is done. Outside of NDOutils, the existing modules have been written by people just figuring it out from the examples and the source. Patience. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From dany.allard at aeso.ca Fri Feb 10 16:17:02 2006 From: dany.allard at aeso.ca (Dany Allard) Date: Fri, 10 Feb 2006 08:17:02 -0700 Subject: NsClient vs. NRPE_nt Message-ID: <76CF93775035B64589C218D2B034B71E01079E55@post1.aeso.ca> Roberto NSClient++ includes both NsClient and NRPE functionality. It listens on the NsClient port as well as on your NRPE port (so no change need to be made in nagios if you are already using one of these). The nice thing is that instead of running two services (nsclient and nrpe) you only need to run one service. All your NRPE commands/plugins will work with NSClient++. NSClient++ (or NRPE) will allow you to write local monitoring scripts, such as WMI scripts. This can be very useful if you are running nagios on a Linux box, as nagios on Linux cannot query WMI directly. Hope that helps Dany Allard ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Roberto Raffo Sent: Friday, February 10, 2006 7:10 AM To: Randal, Phil; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NsClient vs. NRPE_nt Yes, tks. But there are many plugins fot NRPE on http://www.nagiosexchange.org/NRPE_Plugins.66.0.html and I think that I could use them to do many controls. But I could use also NRPE with NSClient++ and I have for free many controls.... But, What are the differences? Which is the best, more secure, more reliable, more performing way to monitor a win2000/2003 environment? -----Original Message----- From: Randal, Phil [mailto:prandal at herefordshire.gov.uk] Sent: venerd? 10 febbraio 2006 13.16 To: Roberto Raffo; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NsClient vs. NRPE_nt Try NSClient++ from http://nscplus.medin.name/index.php/Main_Page Depending on your needs and environment you might be able to use just this and not need nrpe_nt (from http://www.miwi-dv.com/nrpent/ Cheers, Phil ---- Phil Randal Network Engineer Herefordshire Council Hereford, UK ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Roberto Raffo Sent: 10 February 2006 11:18 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NsClient vs. NRPE_nt What is the best way to monitor a windows 2003 server (cpu, disk, memory, users, event log,....) with Nagios? NsClient? What is the last version? Where I can find it? or NRPE_nt? What is the last version? Where I can find it? Any idea? This message is intended only for the addressee and may contain personal, privileged or confidential information. If you have received this message in error, please notify the sender immediately and delete or destroy this message without making copies or opening any attachments. Any further distribution, duplication or disclosure is prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nick at openstream.ch Fri Feb 10 16:30:04 2006 From: nick at openstream.ch (Nick Weisser) Date: Fri, 10 Feb 2006 16:30:04 +0100 Subject: Simulating DOWN Scenario Message-ID: <46453.5240237184$1139624898@news.gmane.org> Hi there, What is the best or easiest way to test if my notifications for different services and hosts are working without really shutting down the server to be monitored? Any suggestions or ideas are very much appreciated. Cheers, Nick ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From marc at ena.com Fri Feb 10 16:36:22 2006 From: marc at ena.com (Marc Powell) Date: Fri, 10 Feb 2006 09:36:22 -0600 Subject: Simulating DOWN Scenario Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Nick Weisser > Sent: Friday, February 10, 2006 9:30 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Simulating DOWN Scenario > > Hi there, > > What is the best or easiest way to test if my notifications for different > services and hosts are working without really shutting down the server to > be > monitored? > > Any suggestions or ideas are very much appreciated. Easiest IMHO is to make your check_command for the service and/or host something that will always return CRITICAL. 'check_command $USER1$/check_dummy 2' for example. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From jmarcus at mvalent.com Sat Feb 11 17:27:03 2006 From: jmarcus at mvalent.com (James R. Marcus) Date: Sat, 11 Feb 2006 11:27:03 -0500 Subject: Invalid object definition type hostextinfo Message-ID: <67FACD5BE963B0418D12365DD3C7E4CD03E277@exchanger.mvalent.local> I have been reading the list trying to figure out how to get hostextinfo working. I'm running 1.3 and I have read on the list that I need to load the file using: calpurnia nagios # grep hostext nagios.cfg xodtemplate_config_file=/etc/nagios/hostextinfo.cfg calpurnia nagios # cat hostextinfo.cfg define hostextinfo{ host_name harper notes_url https://harper.domain.com icon_image gentoo.png icon_image_alt Gentoo 2005.0 vrml_image gentoo.png statusmap_image gentoo.gd2 2d_coords 100,250 3d_coords 100.0,50.0,75.0 } calpurnia nagios # /usr/nagios/bin/nagios -v /etc/nagios/nagios.cfg Nagios 1.3 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org ) Last Modified: 11-17-2005 License: GPL Reading configuration data... Error: Invalid object definition type 'hostextinfo' in file '/etc/nagios/hostextinfo.cfg' on line 1. Any thoughts? Thanks, James P.S. If this doesn't come in plain text, I couldn't figure out how to set it in OWA ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From jmarcus at mvalent.com Sun Feb 12 05:16:57 2006 From: jmarcus at mvalent.com (James R. Marcus) Date: Sat, 11 Feb 2006 23:16:57 -0500 Subject: Invalid object definition type hostextinfo References: <67FACD5BE963B0418D12365DD3C7E4CD03E277@exchanger.mvalent.local> Message-ID: <67FACD5BE963B0418D12365DD3C7E4CD03E278@exchanger.mvalent.local> In order to get this to work I had to make two changes: I had used xodtemplate_config_file, I needed to use xedtempate_config_file. This configuration entry needed to be in cgi.cfg not in nagios.cfg. Thanks Allan. Hope this helps someone. James ________________________________ From: nagios-users-admin at lists.sourceforge.net on behalf of James R. Marcus Sent: Sat 2/11/2006 11:27 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Invalid object definition type hostextinfo I have been reading the list trying to figure out how to get hostextinfo working. I'm running 1.3 and I have read on the list that I need to load the file using: calpurnia nagios # grep hostext nagios.cfg xodtemplate_config_file=/etc/nagios/hostextinfo.cfg calpurnia nagios # cat hostextinfo.cfg define hostextinfo{ host_name harper notes_url https://harper.domain.com icon_image gentoo.png icon_image_alt Gentoo 2005.0 vrml_image gentoo.png statusmap_image gentoo.gd2 2d_coords 100,250 3d_coords 100.0,50.0,75.0 } calpurnia nagios # /usr/nagios/bin/nagios -v /etc/nagios/nagios.cfg Nagios 1.3 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org ) Last Modified: 11-17-2005 License: GPL Reading configuration data... Error: Invalid object definition type 'hostextinfo' in file '/etc/nagios/hostextinfo.cfg' on line 1. Any thoughts? Thanks, James P.S. If this doesn't come in plain text, I couldn't figure out how to set it in OWA ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 _______________________________________________ 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From s4nag at no-where.at Sun Feb 12 11:11:37 2006 From: s4nag at no-where.at (Peter Gritsch) Date: Sun, 12 Feb 2006 11:11:37 +0100 Subject: SNMP4Nagios Version 0.2 Released Message-ID: <200602121111.37408.s4nag@no-where.at> Hi all, today the second release of SNMP4Nagios was published. This is a bugfix release which addresses compatibility issues. Major changes are: - Automake/Autoconf based build process - (Limited) Support for RRDTool 1.2.x While preparing this release SNMP4Nagios was tested with different versions of RRDTool. Please visit http://snmp4nagios.sourceforge.net/requirements.html to find out more about which versions are expected to work. SNMP4Nagios is a package of Nagios plugins which use SNMP to query hosts. While some of the plugins use standard MIBs, most are designed for vendor specific agents. Unlike other Nagios plugins, they are able to scan hosts for objects which can be monitored. Additionally they can keep performance logs and draw plots of these using Tobias Oetiker's RRDTool. Currently devices by Brocade, Cisco, Compaq/HP and Network Appliance as well as computers running Microsoft Windows or Net-SNMP and uninterruptable power supplies are supported. Ciao, Peter -- Peter Gritsch mail: s4nag at no-where.at web: http://snmp4nagios.sourceforge.net/ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From matteo.corti at id.ethz.ch Mon Feb 13 09:29:40 2006 From: matteo.corti at id.ethz.ch (Matteo Corti) Date: Mon, 13 Feb 2006 09:29:40 +0100 Subject: Nagios cannot detect user Message-ID: <43F04374.4050503@id.ethz.ch> Hi, I access nagios (2.0) through Apache and SSL (see below for the configuration) As expected Apache asks me to authenticate when loading the page but nagios is not able to get my user name. In the tactical overview I see: Tactical Monitoring Overview Last Updated: Mon Feb 13 09:24:30 CET 2006 Updated every 90 seconds Nagios? - www.nagios.org Logged in as ? Since I am using authentication (use_authentication=1) I am not able to access all the information pages. If I set the default user everything works like a charm (i.e., the rest of the configuration seems OK). Many thanks for any hint. Matteo ================ httpd.conf # Force SSL RewriteEngine On RewriteLogLevel 0 RewriteCond %{HTTPS} "off" RewriteRule ^/nagios(.*) https://%{HTTP_HOST}/nagios$1 [L,R=permanent] # For SSL-servers ScriptAlias /nagios/cgi-bin /usr/lib/nagios/cgi Options ExecCGI SSLRequireSSL AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd Require valid-user Alias /nagios /usr/share/nagios/html Options FollowSymLinks SSLRequireSSL AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd Require valid-user -- Matteo Corti ETH Zurich Informatikdienste / Basisdienste matteo.corti at id.ethz.ch +41 44 6327944 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From getbacktome3 at hotmail.com Mon Feb 13 11:09:14 2006 From: getbacktome3 at hotmail.com (HP Geeza) Date: Mon, 13 Feb 2006 10:09:14 +0000 Subject: monitor directory size? Message-ID: Hi All, I was wondering whether it is possible to monitor the size of a directory (eg find out how big it is in in MB or GBs) and then send an alert when the size goes over a certain threshold? Any help would be great! _________________________________________________________________ The new MSN Search Toolbar now includes Desktop search! http://toolbar.msn.co.uk/ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From lkk at interfree.it Mon Feb 13 11:48:03 2006 From: lkk at interfree.it (lkk at interfree.it) Date: 13 Feb 2006 10:48:03 -0000 Subject: Additiona Info don't work with Win Server! Message-ID: <20060213104803.24300.qmail@community28.interfree.it> Thibault can you help me? This's my checkcommands.cfg: define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios v2.0b4 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios v2.0b4 *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nDate/Time: $LONGDATETIME$\nInfo: $HOSTOUTPUT$\n\n " | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } With Linux/Unix Servers work fine. I receive email with additional info. With Windows Servers don't work! Why? What can I do? Ths very much! ------------------------------------------------------------ Sei stanco di girare a vuoto? Con il nuovo motore di ricerca Interfree trovi di tutto. Vieni a trovarci: http://search.interfree.it/ Lo Staff di Interfree ------------------------------------------------------------ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From b00mer at gmx.net Mon Feb 13 12:44:00 2006 From: b00mer at gmx.net (Hendrik Baecker) Date: Mon, 13 Feb 2006 12:44:00 +0100 Subject: monitor directory size? In-Reply-To: References: Message-ID: <43F07100.1070003@gmx.net> Google for: "check_snmp_storage.pl" HP Geeza schrieb: > Hi All, > > I was wondering whether it is possible to monitor the size of a > directory (eg find out how big it is in in MB or GBs) and then send an > alert when the size goes over a certain threshold? > > Any help would be great! > > _________________________________________________________________ > The new MSN Search Toolbar now includes Desktop search! > http://toolbar.msn.co.uk/ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From getbacktome3 at hotmail.com Mon Feb 13 12:59:24 2006 From: getbacktome3 at hotmail.com (HP Geeza) Date: Mon, 13 Feb 2006 11:59:24 +0000 Subject: monitor directory size? In-Reply-To: <43F07100.1070003@gmx.net> References: <43F07100.1070003@gmx.net> Message-ID: >From what i can tell though check_snmp_storage.pl only allows you to check for particular kinds of storage settings....what i need to do is monitor the size of a directory on a remote windows server for example, d:\data i am using nsclient at the moment but can't monitor directory size (only disk space). Is there a way to monitor a directories size via snmp???? >From: Hendrik Baecker >To: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] monitor directory size? >Date: Mon, 13 Feb 2006 12:44:00 +0100 > >Google for: "check_snmp_storage.pl" > > >HP Geeza schrieb: > >>Hi All, >> >>I was wondering whether it is possible to monitor the size of a directory >>(eg find out how big it is in in MB or GBs) and then send an alert when >>the size goes over a certain threshold? >> >>Any help would be great! >> >>_________________________________________________________________ >>The new MSN Search Toolbar now includes Desktop search! >>http://toolbar.msn.co.uk/ >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: Splunk Inc. Do you grep through log >>files >>for problems? Stop! Download the new AJAX search engine that makes >>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >>_______________________________________________ >>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 >> >> > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log >files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >_______________________________________________ >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 _________________________________________________________________ Are you using the latest version of MSN Messenger? Download MSN Messenger 7.5 today! http://messenger.msn.co.uk ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From shoktai at gmail.com Mon Feb 13 15:18:10 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Mon, 13 Feb 2006 15:18:10 +0100 Subject: Nagios with SSL Message-ID: <619cf3c0602130618w726b619dt@mail.gmail.com> Hi, I am searching for howto about forcing ssl connection to nagios web interface, so it is a bit off topic but if you'd know an howto about how setting up a SSL virtual for nagios, or any like, i would greatly appreciate. Thanks -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jperrin at gmail.com Mon Feb 13 15:25:28 2006 From: jperrin at gmail.com (Jim Perrin) Date: Mon, 13 Feb 2006 09:25:28 -0500 Subject: Nagios with SSL In-Reply-To: <619cf3c0602130618w726b619dt@mail.gmail.com> References: <619cf3c0602130618w726b619dt@mail.gmail.com> Message-ID: <302ce8b50602130625n509958e5u1d4c607861f3b369@mail.gmail.com> > I am searching for howto about forcing ssl connection to nagios web > interface, so it is a bit off topic but if you'd know an howto about how > setting up a SSL virtual for nagios, or any like, i would greatly > appreciate. Apache's mod_rewrite is your friend. RewriteEngine On RewriteCond %{SERVER_PORT} ^80$ RewriteRule ^/nagios(.*) https://%{SERVER_NAME}/nagios$1 [R] -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From joao.paulo at orbitel.com.br Mon Feb 13 15:33:13 2006 From: joao.paulo at orbitel.com.br (=?iso-8859-1?Q?Jo=E3o_Paulo_Vaz?=) Date: Mon, 13 Feb 2006 11:33:13 -0300 Subject: I have a problem!!! Help Message-ID: Gentlemen are with the following problem: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root at localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. _____ Apache/2.0.53 (Fedora) Server at 200.252.90.27 Port 80 It will be that somebody could feel a help, because I already tried of everything and I don't get to solve. Jo?o Paulo Vaz da Silva Administrador de Rede Orbitel Telecomunica??es joao.paulo at orbitel.com.br www.orbitel.com.br +55 61 33414100 Ramal 133 -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.F.Wheeler at rl.ac.uk Mon Feb 13 15:35:41 2006 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Mon, 13 Feb 2006 14:35:41 -0000 Subject: Using check_nagios plugin Message-ID: I am running nagios version 2.0rc2 with nagios-plugins version 1.4.1. In the commands file I issue a local command on the server using the check_nagios plugin like this: $USER1$/check_nagios -F /var/log/nagios/status.log -e 5 -C /usr/bin/nagios >From the web interface I get the following message: Nagios problem: located 2 processes, status log updated 1139840775 seconds ago If I issue the command on the server, that is, as; /usr/lib/nagios/plugins/check_nagios -F /var/log/nagios/status.log -e 5 -C /usr/bin/nagios I get the message: Nagios problem: located 1 process, status log updated 1139840299 seconds ago >From this I have 3 questions: a) why the difference in the number of processes b) why does the log file use timestamps using the number of seconds since 1st Jan 1970 (I could not find a configuration option to control this) c) why the warning about the update of the status log file Many thanks in advance Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From mh+nagios-users at zugschlus.de Mon Feb 13 15:40:07 2006 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Mon, 13 Feb 2006 15:40:07 +0100 Subject: I have a problem!!! Help In-Reply-To: References: Message-ID: <20060213144007.GE3407@torres.l21.ma.zugschlus.de> On Mon, Feb 13, 2006 at 11:33:13AM -0300, Jo?o Paulo Vaz wrote: > Internal Server Error > > > The server encountered an internal error or misconfiguration and was unable > to complete your request. > > Please contact the server administrator, root at localhost and inform them of > the time the error occurred, and anything you might have done that may have > caused the error. > > More information about this error may be available in the server error log. > > _____ > > Apache/2.0.53 (Fedora) Server at 200.252.90.27 Port 80 > > > > > > It will be that somebody could feel a help, because I already tried of > everything and I don't get to solve. Well, I have a gut feeling that more information about this error might be available in the server error log. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From Thomas.Zimmer at oppenheim.de Mon Feb 13 15:39:58 2006 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Mon, 13 Feb 2006 15:39:58 +0100 Subject: AW: I have a problem!!! Help Message-ID: <9A834A8DCEC68648B20701E1CDE109250295ED05@OKWPMXS01.de.sal-opp.net> did you look here: "... More information about this error may be available in the server error log. ..." (//logs/error.log for normal..) Perhaps you could share your errors to solve them. Kind regards,Thomas Zimmer Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., Frankfurt a. Main Telefon: +49 69 7134 5192 Internet: http://www.oppenheim.de E-Mail: thomas.zimmer at oppenheim.de -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Jo?o Paulo Vaz Gesendet: Montag, 13. Februar 2006 15:33 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] I have a problem!!! Help Gentlemen are with the following problem: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root at localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. _____ Apache/2.0.53 (Fedora) Server at 200.252.90.27 Port 80 It will be that somebody could feel a help, because I already tried of everything and I don't get to solve. Jo?o Paulo Vaz da Silva Administrador de Rede Orbitel Telecomunica??es joao.paulo at orbitel.com.br www.orbitel.com.br +55 61 33414100 Ramal 133 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Zimmer, Thomas (Produktservices und Betrieb).vcf Type: application/octet-stream Size: 254 bytes Desc: not available URL: From joao.paulo at orbitel.com.br Mon Feb 13 15:49:21 2006 From: joao.paulo at orbitel.com.br (=?iso-8859-1?Q?Jo=E3o_Paulo_Vaz?=) Date: Mon, 13 Feb 2006 11:49:21 -0300 Subject: I have a problem!!! Help In-Reply-To: <20060213144007.GE3407@torres.l21.ma.zugschlus.de> References: <20060213144007.GE3407@torres.l21.ma.zugschlus.de> Message-ID: These are the mistakes found in the logs of the server. [Mon Feb 13 12:24:40 2006] [error] [client 200.252.90.21] (13)Permission denied: exec of '/usr/lib/nagios/cgi/extinfo.cgi' failed, referer: http://200.252.90.27/nagios/side.html[Mon Feb 13 12:24:40 2006] [error] [client 200.252.90.21] Premature end of script headers: extinfo.cgi, referer: http://200.252.90.27/nagios/side.html [Mon Feb 13 12:24:40 2006] [error] [client 200.252.90.21] File does not exist: /var/www/html/favicon.ico [Mon Feb 13 12:24:40 2006] [error] [client 200.252.90.21] script not found or unable to stat: /var/www/cgi-bin/missing_handler.pl[Mon Feb 13 12:24:42 2006] [error] [client 200.252.90.21] (13)Permission denied: exec of '/usr/lib/nagios/cgi/extinfo.cgi' failed, referer: http://200.252.90.27/nagios/side.html[Mon Feb 13 12:24:42 2006] [error] [client 200.252.90.21] Premature end of script headers: extinfo.cgi, referer: http://200.252.90.27/nagios/side.html[Mon Feb 13 12:24:42 2006] [error] [client 200.252.90.21] (13)Permission denied: exec of '/usr/lib/nagios/cgi/status.cgi' failed, referer: http://200.252.90.27/nagios/side.html[Mon Feb 13 12:24:42 2006] [error] [client 200.252.90.21] Premature end of script headers: status.cgi, referer: http://200.252.90.27/nagios/side.html [Mon Feb 13 12:24:43 2006] [error] [client 200.252.90.21] File does not exist: /var/www/html/favicon.ico [Mon Feb 13 12:24:43 2006] [error] [client 200.252.90.21] script not found or unable to stat: /var/www/cgi-bin/missing_handler.pl[Mon Feb 13 12:24:43 2006] [error] [client 200.252.90.21] (13)Permission denied: exec of '/usr/lib/nagios/cgi/tac.cgi' failed, referer: http://200.252.90.27/nagios/side.html[Mon Feb 13 12:24:43 2006] [error] [client 200.252.90.21] Premature end of script headers: tac.cgi, referer: http://200.252.90.27/nagios/side.html[Mon Feb 13 12:31:46 2006] [error] [client 200.252.90.21] (13)Permission denied: exec of '/usr/lib/nagios/cgi/tac.cgi' failed, referer: http://200.252.90.27/nagios/side.html[Mon Feb 13 12:31:46 2006] [error] [client 200.252.90.21] Premature end of script headers: tac.cgi, referer: http://200.252.90.27/nagios/side.html [Mon Feb 13 12:31:46 2006] [error] [client 200.252.90.21] File does not exist: /var/www/html/favicon.ico [Mon Feb 13 12:31:46 2006] [error] [client 200.252.90.21] script not found or unable to stat: /var/www/cgi-bin/missing_handler.pl[Mon Feb 13 12:31:47 2006] [error] [client 200.252.90.21] (13)Permission denied: exec of '/usr/lib/nagios/cgi/tac.cgi' failed, referer: http://200.252.90.27/nagios/side.html[Mon Feb 13 12:31:47 2006] [error] [client 200.252.90.21] Premature end of script headers: tac.cgi, referer: http://200.252.90.27/nagios/side.html [Mon Feb 13 12:31:47 2006] [error] [client 200.252.90.21] File does not exist: /var/www/html/favicon.ico [Mon Feb 13 12:31:47 2006] [error] [client 200.252.90.21] script not found or unable to stat: /var/www/cgi-bin/missing_handler.pl [Mon Feb 13 12:31:47 2006] [error] [client 200.252.90.21] File does not exist: /var/www/html/favicon.ico [Mon Feb 13 12:31:47 2006] [error] [client 200.252.90.21] script not found or unable to stat: /var/www/cgi-bin/missing_handler.pl [Mon Feb 13 12:33:27 2006] [error] [client 200.252.90.21] File does not exist: /var/www/html/favicon.ico [Mon Feb 13 12:33:27 2006] [error] [client 200.252.90.21] script not found or unable to stat: /var/www/cgi-bin/missing_handler.pl [Mon Feb 13 12:38:29 2006] [error] [client 200.252.90.21] File does not exist: /var/www/html/favicon.ico [Mon Feb 13 12:38:29 2006] [error] [client 200.252.90.21] script not found or unable to stat: /var/www/cgi-bin/missing_handler.pl [Mon Feb 13 12:43:07 2006] [error] [client 200.252.90.21] File does not exist: /var/www/html/favicon.ico[Mon Feb 13 12:43:07 2006] [error] [client 200.252.90.21] script not found or unable to stat: /var/www/cgi-bin/missing_handler.pl[Mon Feb 13 12:43:08 2006] [error] [client 200.252.90.21] (13)Permission denied: exec of '/usr/lib/nagios/cgi/tac.cgi' failed, referer: http://200.252.90.27/nagios/side.html[Mon Feb 13 12:43:08 2006] [error] [client 200.252.90.21] Premature end of script headers: tac.cgi, referer: http://200.252.90.27/nagios/side.html Jo?o Paulo Vaz -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Haber Sent: Monday, February 13, 2006 11:40 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] I have a problem!!! Help On Mon, Feb 13, 2006 at 11:33:13AM -0300, Jo?o Paulo Vaz wrote: > Internal Server Error > > > The server encountered an internal error or misconfiguration and was unable > to complete your request. > > Please contact the server administrator, root at localhost and inform them of > the time the error occurred, and anything you might have done that may have > caused the error. > > More information about this error may be available in the server error log. > > _____ > > Apache/2.0.53 (Fedora) Server at 200.252.90.27 Port 80 > > > > > > It will be that somebody could feel a help, because I already tried of > everything and I don't get to solve. Well, I have a gut feeling that more information about this error might be available in the server error log. Greetings Marc -- ---------------------------------------------------------------------------- - Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From mh+nagios-users at zugschlus.de Mon Feb 13 15:52:22 2006 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Mon, 13 Feb 2006 15:52:22 +0100 Subject: I have a problem!!! Help In-Reply-To: References: <20060213144007.GE3407@torres.l21.ma.zugschlus.de> Message-ID: <20060213145222.GF3407@torres.l21.ma.zugschlus.de> On Mon, Feb 13, 2006 at 11:49:21AM -0300, Jo?o Paulo Vaz wrote: > [Mon Feb 13 12:24:40 2006] [error] [client 200.252.90.21] (13)Permission > denied: exec of '/usr/lib/nagios/cgi/extinfo.cgi' failed, referer: > http://200.252.90.27/nagios/side.html[Mon Feb 13 12:24:40 2006] [error] Looks like a permission problem on /usr/lib/nagios/cgi/extinfo.cgi. Sheesh. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From jeremy.ashton at bell.ca Mon Feb 13 15:58:21 2006 From: jeremy.ashton at bell.ca (jeremy.ashton at bell.ca) Date: Mon, 13 Feb 2006 09:58:21 -0500 Subject: I have a problem!!! Help Message-ID: <4D0A3E3121A0504EAEF0FBA7B9576C260614275F@toroondc914.bell.corp.bce.ca> Could you show us what your apache configuration file looks like as well. What does the ScriptAlias section look like for your Nagios install? > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Marc Haber > Sent: February 13, 2006 9:52 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] I have a problem!!! Help > > On Mon, Feb 13, 2006 at 11:49:21AM -0300, Jo?o Paulo Vaz wrote: > > [Mon Feb 13 12:24:40 2006] [error] [client 200.252.90.21] > > (13)Permission > > denied: exec of '/usr/lib/nagios/cgi/extinfo.cgi' failed, referer: > > http://200.252.90.27/nagios/side.html[Mon Feb 13 12:24:40 2006] > > [error] > > Looks like a permission problem on /usr/lib/nagios/cgi/extinfo.cgi. > > Sheesh. > > Greetings > Marc > > -- > -------------------------------------------------------------- > --------------- > Marc Haber | "I don't trust Computers. They | > Mailadresse im Header > Mannheim, Germany | lose things." Winona Ryder | Fon: > *49 621 72739834 > Nordisch by Nature | How to make an American Quilt | Fax: > *49 621 72739835 > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep > through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. > DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486& dat=121642 > _______________________________________________ > 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 > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From joao.paulo at orbitel.com.br Mon Feb 13 16:00:59 2006 From: joao.paulo at orbitel.com.br (=?iso-8859-1?Q?Jo=E3o_Paulo_Vaz?=) Date: Mon, 13 Feb 2006 12:00:59 -0300 Subject: I have a problem!!! Help In-Reply-To: <20060213145222.GF3407@torres.l21.ma.zugschlus.de> References: <20060213145222.GF3407@torres.l21.ma.zugschlus.de> Message-ID: Same yours I to place the maximum permission (chmod 777 for that file) still yes I continue with the same problem, that not and the first time that I install NAGIOS, but it is the first time that I come across that mistake. Jo?o Paulo Vaz -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Haber Sent: Monday, February 13, 2006 11:52 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] I have a problem!!! Help On Mon, Feb 13, 2006 at 11:49:21AM -0300, Jo?o Paulo Vaz wrote: > [Mon Feb 13 12:24:40 2006] [error] [client 200.252.90.21] (13)Permission > denied: exec of '/usr/lib/nagios/cgi/extinfo.cgi' failed, referer: > http://200.252.90.27/nagios/side.html[Mon Feb 13 12:24:40 2006] [error] Looks like a permission problem on /usr/lib/nagios/cgi/extinfo.cgi. Sheesh. Greetings Marc -- ---------------------------------------------------------------------------- - Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From shoktai at gmail.com Mon Feb 13 16:04:28 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Mon, 13 Feb 2006 16:04:28 +0100 Subject: Nagios with SSL In-Reply-To: <302ce8b50602130625n509958e5u1d4c607861f3b369@mail.gmail.com> References: <619cf3c0602130618w726b619dt@mail.gmail.com> <302ce8b50602130625n509958e5u1d4c607861f3b369@mail.gmail.com> Message-ID: <619cf3c0602130704j70b9bbd7m@mail.gmail.com> Hi Jim, thanks very much for the tip but it doesnt work. I enable the mod_rewrite thing : a2enmod rewrite then restarted apache2 but the connections still happened in http. I have no useful logs to afford in apache's. 2006/2/13, Jim Perrin : > > > I am searching for howto about forcing ssl connection to nagios web > > interface, so it is a bit off topic but if you'd know an howto about how > > > setting up a SSL virtual for nagios, or any like, i would greatly > > appreciate. > > > Apache's mod_rewrite is your friend. > > RewriteEngine On > RewriteCond %{SERVER_PORT} ^80$ > RewriteRule ^/nagios(.*) https://%{SERVER_NAME}/nagios$1 [R] > > > > -- > "They that can give up essential liberty to obtain a little temporary > safety deserve neither liberty nor safety'' > Benjamin Franklin 1775 > -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From joao.paulo at orbitel.com.br Mon Feb 13 16:06:09 2006 From: joao.paulo at orbitel.com.br (=?iso-8859-1?Q?Jo=E3o_Paulo_Vaz?=) Date: Mon, 13 Feb 2006 12:06:09 -0300 Subject: I have a problem!!! Help In-Reply-To: <4D0A3E3121A0504EAEF0FBA7B9576C260614275F@toroondc914.bell.corp.bce.ca> References: <4D0A3E3121A0504EAEF0FBA7B9576C260614275F@toroondc914.bell.corp.bce.ca> Message-ID: This my configuration file: ScriptAlias /nagios/cgi-bin /usr/lib/nagios/cgi Options ExecCGI AllowOverride None Order allow,deny Allow from all Alias /nagios /usr/share/nagios Options None AllowOverride None Order allow,deny Allow from all Jo?o Paulo Vaz -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of jeremy.ashton at bell.ca Sent: Monday, February 13, 2006 11:58 AM To: mh+nagios-users at zugschlus.de; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] I have a problem!!! Help Could you show us what your apache configuration file looks like as well. What does the ScriptAlias section look like for your Nagios install? > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Marc Haber > Sent: February 13, 2006 9:52 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] I have a problem!!! Help > > On Mon, Feb 13, 2006 at 11:49:21AM -0300, Jo?o Paulo Vaz wrote: > > [Mon Feb 13 12:24:40 2006] [error] [client 200.252.90.21] > > (13)Permission > > denied: exec of '/usr/lib/nagios/cgi/extinfo.cgi' failed, referer: > > http://200.252.90.27/nagios/side.html[Mon Feb 13 12:24:40 2006] > > [error] > > Looks like a permission problem on /usr/lib/nagios/cgi/extinfo.cgi. > > Sheesh. > > Greetings > Marc > > -- > -------------------------------------------------------------- > --------------- > Marc Haber | "I don't trust Computers. They | > Mailadresse im Header > Mannheim, Germany | lose things." Winona Ryder | Fon: > *49 621 72739834 > Nordisch by Nature | How to make an American Quilt | Fax: > *49 621 72739835 > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep > through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. > DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486& dat=121642 > _______________________________________________ > 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 > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 _______________________________________________ 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From lkk at interfree.it Mon Feb 13 16:20:38 2006 From: lkk at interfree.it (lkk at interfree.it) Date: 13 Feb 2006 15:20:38 -0000 Subject: Additional info for Windows Server! Message-ID: <20060213152038.8295.qmail@community17.interfree.it> Hi there I have a great problem with Windows Server and Additional Info in email notification. I don't see the output of check in email like in the browser. This is only for the Windows Servers. I use this macros $SERVICEOUTPUT$ and $HOSTOUTPUT$ i.e. -------------------------------------------------------------- **** Nagios v2.0b4 ***** Notification Type: PROBLEM Service: Used Disk D: Host: myhost Address: ip State: CRITICAL Date/Time: Mon Feb 13 15:42:45 CET 2006 Additional Info: D: ------------------------------------------------------------------- with Linux/Unix Servers I see the output like in the browser. Help me!!! Which macro do I have to use? Ths! ------------------------------------------------------------ Sei stanco di girare a vuoto? Con il nuovo motore di ricerca Interfree trovi di tutto. Vieni a trovarci: http://search.interfree.it/ Lo Staff di Interfree ------------------------------------------------------------ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From Thomas.Zimmer at oppenheim.de Mon Feb 13 16:46:57 2006 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Mon, 13 Feb 2006 16:46:57 +0100 Subject: AW: I have a problem!!! Help Message-ID: <9A834A8DCEC68648B20701E1CDE109250295ED06@OKWPMXS01.de.sal-opp.net> Do your cgis live in this directory? (/usr/lib/nagios/cgi/) Does the apache user have full access to the directory (for test)? Are you running SE linux? Thomas Zimmer Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., Frankfurt a. Main Telefon: +49 69 7134 5192 Internet: http://www.oppenheim.de E-Mail: thomas.zimmer at oppenheim.de -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Jo?o Paulo Vaz Gesendet: Montag, 13. Februar 2006 16:06 An: nagios-users at lists.sourceforge.net Betreff: RE: [Nagios-users] I have a problem!!! Help This my configuration file: ScriptAlias /nagios/cgi-bin /usr/lib/nagios/cgi Options ExecCGI AllowOverride None Order allow,deny Allow from all Alias /nagios /usr/share/nagios Options None AllowOverride None Order allow,deny Allow from all Jo?o Paulo Vaz -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of jeremy.ashton at bell.ca Sent: Monday, February 13, 2006 11:58 AM To: mh+nagios-users at zugschlus.de; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] I have a problem!!! Help Could you show us what your apache configuration file looks like as well. What does the ScriptAlias section look like for your Nagios install? > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Marc Haber > Sent: February 13, 2006 9:52 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] I have a problem!!! Help > > On Mon, Feb 13, 2006 at 11:49:21AM -0300, Jo?o Paulo Vaz wrote: > > [Mon Feb 13 12:24:40 2006] [error] [client 200.252.90.21] > > (13)Permission > > denied: exec of '/usr/lib/nagios/cgi/extinfo.cgi' failed, referer: > > http://200.252.90.27/nagios/side.html[Mon Feb 13 12:24:40 2006] > > [error] > > Looks like a permission problem on /usr/lib/nagios/cgi/extinfo.cgi. > > Sheesh. > > Greetings > Marc > > -- > -------------------------------------------------------------- > --------------- > Marc Haber | "I don't trust Computers. They | > Mailadresse im Header > Mannheim, Germany | lose things." Winona Ryder | Fon: > *49 621 72739834 > Nordisch by Nature | How to make an American Quilt | Fax: > *49 621 72739835 > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep > through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. > DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486& dat=121642 > _______________________________________________ > 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 > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 _______________________________________________ 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: Zimmer, Thomas (Produktservices und Betrieb).vcf Type: application/octet-stream Size: 254 bytes Desc: not available URL: From marc at ena.com Mon Feb 13 17:33:49 2006 From: marc at ena.com (Marc Powell) Date: Mon, 13 Feb 2006 10:33:49 -0600 Subject: Nagios cannot detect user Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Matteo Corti > Sent: Monday, February 13, 2006 2:30 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios cannot detect user > > Hi, > > I access nagios (2.0) through Apache and SSL (see below for the > configuration) > As expected Apache asks me to authenticate when loading the page but > nagios is not able to get my user name. In the tactical overview I see: > > Tactical Monitoring Overview > Last Updated: Mon Feb 13 09:24:30 CET 2006 > Updated every 90 seconds > Nagios(r) - www.nagios.org > Logged in as ? > > Since I am using authentication (use_authentication=1) I am not able to > access all the information pages. > > If I set the default user everything works like a charm (i.e., the rest > of the configuration seems OK). > > Many thanks for any hint. > > Matteo > > ================ > httpd.conf > > # Force SSL > RewriteEngine On > RewriteLogLevel 0 > RewriteCond %{HTTPS} "off" > RewriteRule ^/nagios(.*) https://%{HTTP_HOST}/nagios$1 [L,R=permanent] > > # For SSL-servers > ScriptAlias /nagios/cgi-bin /usr/lib/nagios/cgi > > Options ExecCGI > SSLRequireSSL > AllowOverride None > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /etc/nagios/htpasswd > Require valid-user > I believe this is your problem. If the nagios cgi's truly live in /usr/lib/nagios/cgi, then the auth restrictions are not applied where they're needed. You're applying them to the wrong directory, /usr/lib/nagios/cgi-bin. You're being prompted to log in because the auth restrictions to the html directory _are_ working but that doesn't matter since the CGI's, that need to see the auth info, are in another directory. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From tgenessay at aliadis.fr Mon Feb 13 17:51:18 2006 From: tgenessay at aliadis.fr (Thibault Genessay) Date: Mon, 13 Feb 2006 17:51:18 +0100 Subject: Additiona Info don't work with Win Server! In-Reply-To: <20060213104803.24300.qmail@community28.interfree.it> References: <20060213104803.24300.qmail@community28.interfree.it> Message-ID: <43F0B906.5070205@aliadis.fr> lkk at interfree.it wrote: >Thibault can you help me? > > Glad you ask, but ... er ... not that much actually >With Linux/Unix Servers work fine. I receive email with additional info. >With Windows Servers don't work! Why? > > You probably don't use the same plugin for windows and linux so that's not directly related to the OS but rather to the plugin or, more probably, to the kind of output you get from your plugin. Let's put what is spread on 3 different mails all together so that other users have a maximum amount of info. You have the following service notification configuration: define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios v2.0b4 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } You use this as the notification command in your service definition, right ? So you should first start by naming it 'service-notify-by-email' for clarity's sake. Anyway you get the following mail ------------------------------ **** Nagios v2.0b4 ***** Notification Type: PROBLEM Service: Used Disk D: Host: myhost Address: ip State: CRITICAL Date/Time: Mon Feb 13 15:42:45 CET 2006 Additional Info: D: ------------------------------ Whereas the last line should be D:\ - total: 63.80 Gb - used: 61.72 Gb (97%) - free 2.08 Gb (3%) The problem obviously (imho at least) comes from this backslash. It does not look like a coincidence: one backslash and your output gets truncated just afterwards. It's very hard to figure out if and how backslashes get interpreted in the pipeline plugin > nagios > mail with bash popping in everywhere. I don't even know if you can rely on the fact that the command printf "%b" "D:\ - total: 63.80 Gb - used: 61.72 Gb (97%) - free 2.08 Gb (3%)\n" | mail -s "this is just a test" yourname at somewhere.com works on the command line. Ideas: Try to redirect the mail body to a file rather than sending it, i.e. /bin/printf [...] > /tmp/somefilenagioscanwriteto and examine its content. Try to get your plugin not output this backslash you don't care about after all (that's what mine does actually). Give us more info on you system, Nagios ver., service definition, check plugin, ... -- Thibault ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From frcaen at gmail.com Mon Feb 13 19:15:16 2006 From: frcaen at gmail.com (Francois Caen) Date: Mon, 13 Feb 2006 10:15:16 -0800 Subject: Nagios with SSL In-Reply-To: <619cf3c0602130618w726b619dt@mail.gmail.com> References: <619cf3c0602130618w726b619dt@mail.gmail.com> Message-ID: <58cfe2840602131015g265ab738uad330afefd3db2ab@mail.gmail.com> On 2/13/06, Toto Capuccino wrote: > I am searching for howto about forcing ssl connection to nagios web > interface I typically just use a permanent redirect to force browsers who connect on port 80 to go to the https site. Redirect permanent /nagios https://my.domain.com/nagios -- Francois Caen, RHCE, CCNA SpiderMaker, LLC ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From hvdkooij at vanderkooij.org Mon Feb 13 19:44:48 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 13 Feb 2006 19:44:48 +0100 (CET) Subject: I have a problem!!! Help In-Reply-To: References: Message-ID: On Mon, 13 Feb 2006, [iso-8859-1] Jo?o Paulo Vaz wrote: > Same yours I to place the maximum permission (chmod 777 for that file) still > yes I continue with the same problem, that not and the first time that I > install NAGIOS, but it is the first time that I come across that mistake. Maximum permissions in itself could be causing a failure as it violates the apache security. I suggest you pick up the apache documentation and verify the bit about CGI and permissions and securiring it. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From radkon at gmail.com Mon Feb 13 22:14:20 2006 From: radkon at gmail.com (Radkon) Date: Mon, 13 Feb 2006 13:14:20 -0800 Subject: Host notifications sent but not wanted Message-ID: <7400bb060602131314j549d9b42n96304f81991dbcb2@mail.gmail.com> I upgraded to nagios 2.0b4 and now whenever I get a service alert I also receive a "host up" alert. Even if i disable host notifications I still get a "host up" alert along with the service notification. Anyone know how to turn off this "feature" :-). Thank you very much. Conrad -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvdkooij at vanderkooij.org Mon Feb 13 23:35:23 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 13 Feb 2006 23:35:23 +0100 (CET) Subject: Host notifications sent but not wanted In-Reply-To: <7400bb060602131314j549d9b42n96304f81991dbcb2@mail.gmail.com> References: <7400bb060602131314j549d9b42n96304f81991dbcb2@mail.gmail.com> Message-ID: On Mon, 13 Feb 2006, Radkon wrote: > I upgraded to nagios 2.0b4 and now whenever I get a service alert I also > receive a "host up" alert. Even if i disable host notifications I still get > a "host up" alert along with the service notification. > > Anyone know how to turn off this "feature" :-). Thank you very much. I think 2.0b4 is rather old. The real 2.0 is out for some time now. But having run 2.0b4 for quite a while I am puzzled as I have never seen this. So can you show an example of your host and service definition(s)? Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From radkon at gmail.com Mon Feb 13 23:41:30 2006 From: radkon at gmail.com (Radkon) Date: Mon, 13 Feb 2006 14:41:30 -0800 Subject: Host notifications sent but not wanted In-Reply-To: References: <7400bb060602131314j549d9b42n96304f81991dbcb2@mail.gmail.com> Message-ID: <7400bb060602131441l39c75b10l182cfb29a52dda81@mail.gmail.com> Thanks for the response, this was my foolishness! I had "host-notify-by-email" set on the service_notifications for some reason. Conrad On 2/13/06, Hugo van der Kooij wrote: > > On Mon, 13 Feb 2006, Radkon wrote: > > > I upgraded to nagios 2.0b4 and now whenever I get a service alert I also > > receive a "host up" alert. Even if i disable host notifications I still > get > > a "host up" alert along with the service notification. > > > > Anyone know how to turn off this "feature" :-). Thank you very much. > > I think 2.0b4 is rather old. The real 2.0 is out for some time now. > > But having run 2.0b4 for quite a while I am puzzled as I have never seen > this. > > So can you show an example of your host and service definition(s)? > > Hugo. > > -- > I hate duplicates. Just reply to the relevant mailinglist. > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > Don't meddle in the affairs of magicians, > for they are subtle and quick to anger. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jgpark74 at gmail.com Tue Feb 14 06:21:31 2006 From: jgpark74 at gmail.com (Jong-Geun Park) Date: Tue, 14 Feb 2006 14:21:31 +0900 Subject: Subdirectories in Nagios installation dir. Message-ID: <79114cb50602132121v38c70a9bl@mail.gmail.com> Hi, I tried to install Nagios 2.0 on Fedora Core 4 according to the Nagios V. 2.0 documentation. All of commands and options are same with those in the document. But in the Nagios installation dirctory (/usr/local/nagios), there is no "etc" subdirectory. What did I do some wrong? -- Park, Jong-Geun ================================================ Engineer Server Platform Research Team Internet Server Technology Group Digital Home Research Division ETRI (Electronics & Telecommunications Research Institite) Office : +82-42-860-1796 Fax : +82-42-860-6699 Mobile : +82-50-2474-2474 E-mail : jgpark74 at gmail.com MSN : jgpark74 at hotmail.com Homepage : www.cyberlation.net ================================================ -------------- next part -------------- An HTML attachment was scrubbed... URL: From shoktai at gmail.com Tue Feb 14 07:38:24 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Tue, 14 Feb 2006 07:38:24 +0100 Subject: Subdirectories in Nagios installation dir. In-Reply-To: <79114cb50602132121v38c70a9bl@mail.gmail.com> References: <79114cb50602132121v38c70a9bl@mail.gmail.com> Message-ID: <619cf3c0602132238h409d1a9dg@mail.gmail.com> 2006/2/14, Jong-Geun Park : > > Hi, Hi It depends on how you run ./configure. What options do you put ? Do you compile with make all & makeinstall? -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvdkooij at vanderkooij.org Tue Feb 14 07:52:41 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 14 Feb 2006 07:52:41 +0100 (CET) Subject: Subdirectories in Nagios installation dir. In-Reply-To: <79114cb50602132121v38c70a9bl@mail.gmail.com> References: <79114cb50602132121v38c70a9bl@mail.gmail.com> Message-ID: On Tue, 14 Feb 2006, Jong-Geun Park wrote: > I tried to install Nagios 2.0 on Fedora Core 4 according to the Nagios V. > 2.0 documentation. Have you tried to install with `yum install nagios`? That is the fast lane and your config files live in /etc/nagios Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From martin.schwarz at mscsoftware.com Tue Feb 14 07:55:37 2006 From: martin.schwarz at mscsoftware.com (Martin Schwarz) Date: Tue, 14 Feb 2006 07:55:37 +0100 Subject: out of office Message-ID: I will be out of the office starting 14.02.2006 and will not return until 15.02.2006. I will have no access to my mail. In urgent cases call me on my mobile ( +491728491717 ) or contact Armin in munich ( -172 ) ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From matteo.corti at id.ethz.ch Tue Feb 14 08:42:09 2006 From: matteo.corti at id.ethz.ch (Matteo Corti) Date: Tue, 14 Feb 2006 08:42:09 +0100 Subject: Nagios cannot detect user In-Reply-To: References: Message-ID: <43F189D1.7000909@id.ethz.ch> Dear Marc, [...] >> ScriptAlias /nagios/cgi-bin /usr/lib/nagios/cgi >> >> Options ExecCGI [...] > > I believe this is your problem. If the nagios cgi's truly live in > /usr/lib/nagios/cgi, then the auth restrictions are not applied where > they're needed. You're applying them to the wrong directory, > /usr/lib/nagios/cgi-bin. > > You're being prompted to log in because the auth restrictions to the > html directory _are_ working but that doesn't matter since the CGI's, > that need to see the auth info, are in another directory. Many thanks, whis was indeed the problem. I really didn't notice looking at the config files since, without thinking too much, both /usr/lib/nagios/cgi and /usr/lib/nagios/cgi-bin seemed reasonable. Thanks again, Matteo -- Matteo Corti ETH Zurich Informatikdienste / Basisdienste matteo.corti at id.ethz.ch +41 44 6327944 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From smalhotra at dataarmor.net Tue Feb 14 08:46:18 2006 From: smalhotra at dataarmor.net (Sumit Malhotra) Date: Tue, 14 Feb 2006 13:16:18 +0530 Subject: ndosutil Message-ID: <1444.13311139903509.mail2.dataarmor.net@MHS> Guys, Where can I find the ndosutil for Nagios -2.0 stable? Also, Can somebody, tell me Pros and cons of using ndosutils over nagios2db? Thanks Sumit -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.borsani at it.net Tue Feb 14 09:07:23 2006 From: m.borsani at it.net (Marco Borsani) Date: Tue, 14 Feb 2006 09:07:23 +0100 Subject: Plugins 1.4 Message-ID: <006901c6313d$b2446270$0900d40a@intranet.it.net> Hi folks! I am testing nagios plugins ver. 1.4 on my HP-UX 11.0 server, but none of them seem working fine. I tried to use them on a Nagios 1.1, Nagios 1.3 and a Nagios 2.0, but always receive answers like: check_TCP: Invalid hostname/address - 10.1.1.1 Same commands, using 1.3.1 plugins working fine. Any idea? Regards Marco Borsani Unix & Monitoring System Administrator Technical Operation Tel. +39 010 4310115 Fax +39 010 4327454 E-mail: m.borsani at IT.net ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni S.p.A. Internet Service Provider Sede legale: Via C.G.Viola, 48 - 00148 Roma Dir. Centrale e Amministrativa: Via Pacinotti, 39 16151 Genova (Italy) http://www.it.net mailto:info at IT.net _______________________________________________________________ Altre sedi ITnet: MILANO tel.: +39 02 30114900 info-milano at IT.net ROMA tel.: +39 06 83116707 info-roma at IT.net _______________________________________________________________ ITnet is associated to CIX (Commercial IP eXchange) and RIPE ITnet is associated to AIIP (Associazione Italiana Internet Providers) ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From engelenh at gmail.com Tue Feb 14 10:24:24 2006 From: engelenh at gmail.com (Hans Engelen) Date: Tue, 14 Feb 2006 10:24:24 +0100 Subject: I have a problem!!! Help In-Reply-To: <9A834A8DCEC68648B20701E1CDE109250295ED06@OKWPMXS01.de.sal-opp.net> References: <9A834A8DCEC68648B20701E1CDE109250295ED06@OKWPMXS01.de.sal-opp.net> Message-ID: <5383c62b0602140124t68f37ddbqfb68e4b5acfb5185@mail.gmail.com> I have to go with Thomas here, my money is on SElinux. I had the worst time with that on my RHEL4 setup. The premature end of headers error had me fooled for ages back then. My suggestion is, at least so you can verify and test, to turn off SElinux temporarily and see what that gives. I am almost convinced you will find that has solved the issue. If you want to check if SELinux is enabled run 'getenforce'. This will tell you if it is. To set it to permissive (to disable it completely you need to modify /etc/grub.conf or /etc/selinux/config) temporarily use 'setenforce 0'. Please note however this is only temporary and will not survive a reboot. If memory serves there is an audit log for SELinux somewhere too but since I do not use SELinux I must admit I am not sure where exactly that lives. I believe the tool 'seaudit' allows you to examine the log too and even gives you a peek on the policy enforced. My apologies if my explanation is not more descriptive. I decided long ago that SELinux was not something I was willing to endure on my systems since they are used too extensivly for testing purposes and SELinux slowed me down way too much. Hope it helps, Cheers. On 2/13/06, Thomas.Zimmer at oppenheim.de wrote: > > Do your cgis live in this directory? (/usr/lib/nagios/cgi/) > Does the apache user have full access to the directory (for test)? > Are you running SE linux? > > Thomas Zimmer > Produktservice & Betrieb > Betrieb & Support > Sal. Oppenheim jr. & Cie., Frankfurt a. Main > Telefon: +49 69 7134 5192 > Internet: http://www.oppenheim.de > E-Mail: thomas.zimmer at oppenheim.de > > > > -----Urspr?ngliche Nachricht----- > Von: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Jo?o > Paulo > Vaz > Gesendet: Montag, 13. Februar 2006 16:06 > An: nagios-users at lists.sourceforge.net > Betreff: RE: [Nagios-users] I have a problem!!! Help > > > This my configuration file: > > ScriptAlias /nagios/cgi-bin /usr/lib/nagios/cgi > > > Options ExecCGI > AllowOverride None > Order allow,deny > Allow from all > > > Alias /nagios /usr/share/nagios > > > Options None > AllowOverride None > Order allow,deny > Allow from all > > > Jo?o Paulo Vaz > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > jeremy.ashton at bell.ca > Sent: Monday, February 13, 2006 11:58 AM > To: mh+nagios-users at zugschlus.de; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] I have a problem!!! Help > > Could you show us what your apache configuration file looks like as well. > What does the ScriptAlias section look like for your Nagios install? > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > Of Marc Haber > > Sent: February 13, 2006 9:52 AM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] I have a problem!!! Help > > > > On Mon, Feb 13, 2006 at 11:49:21AM -0300, Jo?o Paulo Vaz wrote: > > > [Mon Feb 13 12:24:40 2006] [error] [client 200.252.90.21] > > > (13)Permission > > > denied: exec of '/usr/lib/nagios/cgi/extinfo.cgi' failed, referer: > > > http://200.252.90.27/nagios/side.html[Mon Feb 13 12:24:40 2006] > > > [error] > > > > Looks like a permission problem on /usr/lib/nagios/cgi/extinfo.cgi. > > > > Sheesh. > > > > Greetings > > Marc > > > > -- > > -------------------------------------------------------------- > > --------------- > > Marc Haber | "I don't trust Computers. They | > > Mailadresse im Header > > Mannheim, Germany | lose things." Winona Ryder | Fon: > > *49 621 72739834 > > Nordisch by Nature | How to make an American Quilt | Fax: > > *49 621 72739835 > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep > > through log files > > for problems? Stop! Download the new AJAX search engine that makes > > searching your log files as easy as surfing the web. > > DOWNLOAD SPLUNK! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486& > dat=121642 > > _______________________________________________ > > 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 > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 > _______________________________________________ > 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 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From CMies at gne.de Tue Feb 14 13:32:13 2006 From: CMies at gne.de (Christian Mies) Date: Tue, 14 Feb 2006 13:32:13 +0100 Subject: Antw: ndosutil In-Reply-To: <1444.13311139903509.mail2.dataarmor.net@MHS> References: <1444.13311139903509.mail2.dataarmor.net@MHS> Message-ID: <43F1DBDD.387F.00C6.3@gne.de> AFAIK: Nagios2db ist not supported in Nagios 2.0 >>> "Sumit Malhotra" 14.02.2006 08:46:18 >>> Guys, Where can I find the ndosutil for Nagios -2.0 stable? Also, Can somebody, tell me Pros and cons of using ndosutils over nagios2db? Thanks Sumit -------------- next part -------------- An HTML attachment was scrubbed... URL: From smalhotra at dataarmor.net Tue Feb 14 13:33:42 2006 From: smalhotra at dataarmor.net (Sumit Malhotra) Date: Tue, 14 Feb 2006 18:03:42 +0530 Subject: Antw: ndosutil In-Reply-To: <43F1DBDD.387F.00C6.3@gne.de> References: <43F1DBDD.387F.00C6.3@gne.de> Message-ID: <1444.13421139920754.mail2.dataarmor.net@MHS> Nope Adds database support to Nagios 2, and replaces the existing CGIs with new ones written in any language you prefer (currently PHP). Check http://sourceforge.net/projects/nagios-db/ Thanks. _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Christian Mies Sent: Tuesday, February 14, 2006 6:02 PM To: nagios-users at lists.sourceforge.net Subject: Antw: [Nagios-users] ndosutil AFAIK: Nagios2db ist not supported in Nagios 2.0 >>> "Sumit Malhotra" 14.02.2006 08:46:18 >>> Guys, Where can I find the ndosutil for Nagios -2.0 stable? Also, Can somebody, tell me Pros and cons of using ndosutils over nagios2db? Thanks Sumit -------------- next part -------------- An HTML attachment was scrubbed... URL: From Toby_Kraft at KSAinc.com Tue Feb 14 15:18:49 2006 From: Toby_Kraft at KSAinc.com (Toby Kraft) Date: Tue, 14 Feb 2006 08:18:49 -0600 Subject: Subdirectories in Nagios installation dir. In-Reply-To: References: Message-ID: Which repository has the latest build for FC4? Dag Wiers is only doing FC3. If you want to install the FC3 rpm on FC4 using YUM - I found that I needed to configure my repos.d file for DAG specifying a specific version, otherwise yum doesn't find it. like this: [dag] name=Dag RPM Repository for Fedora Core baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag gpgcheck=1 enabled=1 Replace the "$releasever" with "3" Is there a better way? thx Toby nagios-users-admin at lists.sourceforge.net wrote on 02/14/2006 12:52:41 AM: > On Tue, 14 Feb 2006, Jong-Geun Park wrote: > > > I tried to install Nagios 2.0 on Fedora Core 4 according to the Nagios V. > > 2.0 documentation. > > Have you tried to install with `yum install nagios`? > > That is the fast lane and your config files live in /etc/nagios > > Hugo. > > -- > I hate duplicates. Just reply to the relevant mailinglist. > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > Don't meddle in the affairs of magicians, > for they are subtle and quick to anger. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From basile.mathieu at siris.sorbonne.fr Tue Feb 14 15:28:56 2006 From: basile.mathieu at siris.sorbonne.fr (basile au siris) Date: Tue, 14 Feb 2006 15:28:56 +0100 Subject: problem with nsca Message-ID: <43F1E928.7050109@siris.sorbonne.fr> i install nagios and nsca on Fedora core 4 after a short time i have many process nsca and it seems it never decrease idea ? thanks basile ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From marc at ena.com Tue Feb 14 16:12:40 2006 From: marc at ena.com (Marc Powell) Date: Tue, 14 Feb 2006 09:12:40 -0600 Subject: problem with nsca Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of basile au siris > Sent: Tuesday, February 14, 2006 8:29 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] problem with nsca > > i install nagios and nsca on Fedora core 4 > after a short time i have many process nsca and it seems it never decrease > idea ? Make sure you have proper permissions on the external command file (per the documentation on External Commands). Make sure that Nagios is set to check for external commands frequently enough (command_check_interval). Try turning on NSCA debug and watch your messages log file for interesting output. If you have SELinux enabled, make sure that it's not interfering with NSCA's ability to write to the external command file; look for 'avc denied' messages related to the command file in /var/log/messages. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From marc at ena.com Tue Feb 14 16:14:26 2006 From: marc at ena.com (Marc Powell) Date: Tue, 14 Feb 2006 09:14:26 -0600 Subject: ndosutil Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Sumit Malhotra > Sent: Tuesday, February 14, 2006 1:46 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] ndosutil > > Guys, > > > > Where can I find the ndosutil for Nagios -2.0 stable? http://sourceforge.net/project/showfiles.php?group_id=26589 > > Also, Can somebody, tell me Pros and cons of using ndosutils over > nagios2db? I can't. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From marc at ena.com Tue Feb 14 16:18:37 2006 From: marc at ena.com (Marc Powell) Date: Tue, 14 Feb 2006 09:18:37 -0600 Subject: Subdirectories in Nagios installation dir. Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jong-Geun Park > Sent: Monday, February 13, 2006 11:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Subdirectories in Nagios installation dir. > > Hi, > > I tried to install Nagios 2.0 on Fedora Core 4 according to the Nagios V. > 2.0 documentation. > > All of commands and options are same with those in the document. > > But in the Nagios installation dirctory (/usr/local/nagios), there is no > "etc" subdirectory. > > What did I do some wrong? You didn't run 'make install-config' after compiling. That will install _sample_ configuration files in ~nagios/etc. Other targets include -- *** Compile finished *** If the main program and CGIs compiled without any errors, you can continue with installing Nagios as follows (type 'make' without any arguments for a list of all possible options): make install - This installs the main program, CGIs, and HTML files make install-init - This installs the init script in /etc/rc.d/init.d make install-commandmode - This installs and configures permissions on the directory for holding the external command file make install-config - This installs *SAMPLE* config files in /usr/local/nagios/etc You'll have to modify these sample files before you can use Nagios. Read the HTML documentation for more info on doing this. Pay particular attention to the docs on object configuration files, as they determine what/how things get monitored! -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From jperrin at gmail.com Tue Feb 14 16:59:29 2006 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 14 Feb 2006 10:59:29 -0500 Subject: Subdirectories in Nagios installation dir. In-Reply-To: References: Message-ID: <302ce8b50602140759n5051eb08s64494e95bab3e5ef@mail.gmail.com> On 2/14/06, Toby Kraft wrote: > Which repository has the latest build for FC4? Dag Wiers is only doing > FC3. > It's in the Extras repository for FC4. > If you want to install the FC3 rpm on FC4 using YUM - I found that I > needed to configure my repos.d file for DAG specifying a specific version, > otherwise yum doesn't find it. > like this: > [dag] > name=Dag RPM Repository for Fedora Core > baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag > gpgcheck=1 > enabled=1 > > Replace the "$releasever" with "3" > That's an amazingly bad idea. > Is there a better way? > Yes. Install from the Extras repository. -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From ryanp at hhsys.org Tue Feb 14 17:18:56 2006 From: ryanp at hhsys.org (ryanp at hhsys.org) Date: Tue, 14 Feb 2006 10:18:56 -0600 (CST) Subject: multiple contact notifications for one host Message-ID: <41126.10.0.119.33.1139933936.squirrel@default> This is what I want to accomplish: One host's disk space to be monitored, named HostA Have HostA in two different hostgroups GroupA and GroupB GroupA contact group is defined with email1 GroupB contact group is defined with email2 GroupA has a bunch of other hosts that email2 shouldnt receive so thats why I'm trying to put it into a different group. **All the hosts are on passive checking.** So when the disk space gets to a WARNING OR CRITICAL for nagios to email GroupA and GroupB. But it looks like in the services.cfg is where you actually setup the notification functionality. Since checking disk is needed on all hosts, it looks like I cant separate the notifications for 2 separate emails that are both responsibilty for only one box and not all. I would imagine there is a way to do what I'm attempting but I'm going in the wrong direction. I need some other clear minds to point in me in the right direction. Thanks.! ;-) ------------------------------------------------------------- Note: This email is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. Contact the sender if received in error. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From johan.corsini at guest.minfin.fed.be Tue Feb 14 17:31:05 2006 From: johan.corsini at guest.minfin.fed.be (Johan Corsini) Date: Tue, 14 Feb 2006 17:31:05 +0100 Subject: multiple contact notifications for one host In-Reply-To: <41126.10.0.119.33.1139933936.squirrel@default> References: <41126.10.0.119.33.1139933936.squirrel@default> Message-ID: <200602141731.05240.johan.corsini@guest.minfin.fed.be> If I understand well, you want your check_disk on HostA to be send to the 2 mailing lists, while all the other check_disk being only send to one of the mailing list? If I am true, then you could create a new service, "check_disk_A", doing exactly the same things than the regular check_disk, but with other notification options. Sorry if I did not understand well the question. Johan Le Mardi 14 F?vrier 2006 17:18, ryanp at hhsys.org a ?crit?: > This is what I want to accomplish: > > > One host's disk space to be monitored, named HostA > > > > Have HostA in two different hostgroups GroupA and GroupB > > > GroupA contact group is defined with email1 > GroupB contact group is defined with email2 > > > GroupA has a bunch of other hosts that email2 shouldnt receive so thats > why I'm trying to put it into a different group. > > > **All the hosts are on passive checking.** > So when the disk space gets to a WARNING OR CRITICAL for nagios to email > GroupA and GroupB. But it looks like in the services.cfg is where you > actually setup the notification functionality. Since checking disk is > needed on all hosts, it looks like I cant separate the notifications for 2 > separate emails that are both responsibilty for only one box and not all. > > > I would imagine there is a way to do what I'm attempting but I'm going in > the wrong direction. I need some other clear minds to point in me in the > right direction. Thanks.! ;-) > > ------------------------------------------------------------- > > Note: This email is for the sole use of the intended > recipient(s) and may contain confidential information. Any > unauthorized review, use, disclosure or distribution is > prohibited. Contact the sender if received in error. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From Toby_Kraft at KSAinc.com Tue Feb 14 17:55:47 2006 From: Toby_Kraft at KSAinc.com (Toby Kraft) Date: Tue, 14 Feb 2006 10:55:47 -0600 Subject: Subdirectories in Nagios installation dir. In-Reply-To: <302ce8b50602140759n5051eb08s64494e95bab3e5ef@mail.gmail.com> References: <302ce8b50602140759n5051eb08s64494e95bab3e5ef@mail.gmail.com> Message-ID: Jim Perrin wrote: > On 2/14/06, Toby Kraft wrote: > > Which repository has the latest build for FC4? Dag Wiers is only doing > > FC3. > > > > It's in the Extras repository for FC4. Amazing to me that in all the months I've been lurking in this list there was no mention of this tidbit until 2/9/06. http://thread.gmane.org/gmane.network.nagios.user/37418 Didn't recall that post when I was replying. Also amazing that this is not mentioned on the nagios.org download page. But the plugins are not included in Extras so if you want to install them via RPM you search pbone.net and find the Dries RPM repository and luckily he has a FC4 RPM posted there for plugins-1.4.1, not the latest but usable. Related question - why does rpmfind.net and pbone.not NOT include the Extras repository? I guess what I'm thinking is that we need a wiki so we can all contribute what we've learned and organize it in a way that's helpful to new and longtime users alike. > > > If you want to install the FC3 rpm on FC4 using YUM - I found that I > > needed to configure my repos.d file for DAG specifying a specific version, > > otherwise yum doesn't find it. > > like this: > > [dag] > > name=Dag RPM Repository for Fedora Core > > baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag > > gpgcheck=1 > > enabled=1 > > > > Replace the "$releasever" with "3" > > > > That's an amazingly bad idea. > Yes it is - only suggested as a temporary workaround to install a package when you can't find the package in a repo for the release you're running. Definitely not recommended to leave it set that way. Thanks, Toby ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From ryanp at hhsys.org Tue Feb 14 18:26:43 2006 From: ryanp at hhsys.org (ryanp at hhsys.org) Date: Tue, 14 Feb 2006 11:26:43 -0600 (CST) Subject: multiple contact notifications for one host In-Reply-To: <200602141731.05240.johan.corsini@guest.minfin.fed.be> References: <41126.10.0.119.33.1139933936.squirrel@default> <200602141731.05240.johan.corsini@guest.minfin.fed.be> Message-ID: <53532.10.0.119.33.1139938003.squirrel@default> That worked for PING (an active check) but its not working for passive checks, which all the hosts I have monitored are configured by. I have a DISK for all-hosts but I made a second definition in services.cfg called DISK_WEB but since the info is a passive check its not working. ./check_disk sends the text DISK at the beginning of its output so I think nagios is parsing that as DISK in which it already has another DISK definition that it is checking. **** send_passive_checks file on a particular host. **** cd /usr/nagios/libexec # load average check ./submit_check_result_via_nsca LOAD `./check_load -w 1,1,1 -c 3,3,3` # disk check ./submit_check_result_via_nsca `./check_disk -w20% -c10%` ./submit_check_result_via_nsca DISK_WEB `./check_disk -w20% -c10%` ./submit_check_result_via_nsca `./check_kernel` # why do they look different? ask nagios why some commands include the service name and others don't. Because of this, i had to add the "LOAD" to the load avg line. *** portion of my services.cfg *** define service{ use generic-service ; Name of service template to use # hostgroup_name load-disk hostgroup_name webmail-servers,web-servers,firewalls,all-real-servers,devboxes service_description DISK is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 active_checks_enabled 0 passive_checks_enabled 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_freshness 1 freshness_threshold 600 check_command check_disk } define service{ use generic-service hostgroup_name webteam service_description DISK_WEB is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 active_checks_enabled 0 passive_checks_enabled 1 contact_groups webteam notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_freshness 1 freshness_threshold 600 check_command check_disk } For the particular host I tried to setup up a passive check for DISK_WEB nagios just says the status UNKNOWN. Warning threshold must be integer or percentage! Johan Corsini said: > If I understand well, you want your check_disk on HostA to be send to the > 2 > mailing lists, while all the other check_disk being only send to one of > the > mailing list? > > If I am true, then you could create a new service, "check_disk_A", doing > exactly the same things than the regular check_disk, but with other > notification options. > > Sorry if I did not understand well the question. > > Johan > > > > Le Mardi 14 F?vrier 2006 17:18, ryanp at hhsys.org a ?crit : >> This is what I want to accomplish: >> >> >> One host's disk space to be monitored, named HostA >> >> >> >> Have HostA in two different hostgroups GroupA and GroupB >> >> >> GroupA contact group is defined with email1 >> GroupB contact group is defined with email2 >> >> >> GroupA has a bunch of other hosts that email2 shouldnt receive so thats >> why I'm trying to put it into a different group. >> >> >> **All the hosts are on passive checking.** >> So when the disk space gets to a WARNING OR CRITICAL for nagios to email >> GroupA and GroupB. But it looks like in the services.cfg is where you >> actually setup the notification functionality. Since checking disk is >> needed on all hosts, it looks like I cant separate the notifications for >> 2 >> separate emails that are both responsibilty for only one box and not >> all. >> >> >> I would imagine there is a way to do what I'm attempting but I'm going >> in >> the wrong direction. I need some other clear minds to point in me in >> the >> right direction. Thanks.! ;-) >> >> ------------------------------------------------------------- >> >> Note: This email is for the sole use of the intended >> recipient(s) and may contain confidential information. Any >> unauthorized review, use, disclosure or distribution is >> prohibited. Contact the sender if received in error. >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep through log >> files for problems? Stop! Download the new AJAX search engine that >> makes >> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >> _______________________________________________ >> 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 > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 > _______________________________________________ > 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 > ------------------------------------------------------------- Note: This email is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. Contact the sender if received in error. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From mis-netadmin at dept.fuller.edu Tue Feb 14 18:46:57 2006 From: mis-netadmin at dept.fuller.edu (Network Administrator) Date: Tue, 14 Feb 2006 09:46:57 -0800 Subject: services config for http Message-ID: <43F21791.8050206@dept.fuller.edu> Is there an option to have check_http command check for http service on non-standard ports (i.e. 80,1741,2002)? Nagios 1.3 RHFedoraCore 3 /usr/local/nagios/etc/services.cfg define service{ use generic-service host_name someserver service_description HTTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_http } -- Irwin Dulan II Network Administrator Fuller Theological Seminary ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From todd_barbera at wgbh.org Tue Feb 14 18:52:28 2006 From: todd_barbera at wgbh.org (Todd Barbera) Date: Tue, 14 Feb 2006 12:52:28 -0500 Subject: services config for http In-Reply-To: <43F21791.8050206@dept.fuller.edu> References: <43F21791.8050206@dept.fuller.edu> Message-ID: <001a01c6318f$6c111120$620a010a@GRAPEAPE> Did you run "check_http --help"? If you do, you'll see an option to pass a port number. You'll need to make sure your checkcommands.cfg is setup properly to allow for the passing of the port within your services.cfg. Todd > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Network Administrator > Sent: Tuesday, February 14, 2006 12:47 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] services config for http > > Is there an option to have check_http command check for http service on > non-standard ports (i.e. 80,1741,2002)? > > Nagios 1.3 RHFedoraCore 3 > /usr/local/nagios/etc/services.cfg > define service{ > use generic-service > host_name someserver > service_description HTTP > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_http > } > -- > Irwin Dulan II > Network Administrator > Fuller Theological Seminary > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From spatuality at yahoo.ca Tue Feb 14 18:52:58 2006 From: spatuality at yahoo.ca (Brian) Date: Tue, 14 Feb 2006 12:52:58 -0500 (EST) Subject: 2.0 note Message-ID: <20060214175258.5973.qmail@web31801.mail.mud.yahoo.com> Hi list, Thanks to the developers for getting 2.0 released! We have almost 2000 service checks running on a Nagios monitoring system and performance in 2.0 is noticably improved. We were noticing after about 2 weeks of uptime with b2, Nagios would baloon past 1.3GB ram usage and bring the machine to a crawl. Hopefully the update will keep things runinng longer. Brian __________________________________________________________ Find your next car at http://autos.yahoo.ca ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From joseph.petrucci at wachovia.com Tue Feb 14 18:55:21 2006 From: joseph.petrucci at wachovia.com (joseph.petrucci at wachovia.com) Date: Tue, 14 Feb 2006 12:55:21 -0500 Subject: services config for http In-Reply-To: <43F21791.8050206@dept.fuller.edu> References: <43F21791.8050206@dept.fuller.edu> Message-ID: ./check_http --help will show you that you can specify the port you may have to change definition in the commands configurration file. I created a second definition check_http_443 to go against port 443. Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 Network Administrator Sent by: nagios-users-admin at lists.sourceforge.net 02/14/2006 12:46 PM To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] services config for http Is there an option to have check_http command check for http service on non-standard ports (i.e. 80,1741,2002)? Nagios 1.3 RHFedoraCore 3 /usr/local/nagios/etc/services.cfg define service{ use generic-service host_name someserver service_description HTTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_http } -- Irwin Dulan II Network Administrator Fuller Theological Seminary ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 ForwardSourceID:NT00009E6E -------------- next part -------------- An HTML attachment was scrubbed... URL: From ron at rongage.org Tue Feb 14 19:55:45 2006 From: ron at rongage.org (Ron Gage) Date: Tue, 14 Feb 2006 13:55:45 -0500 Subject: Question: is there any interest in a WMI client for Linux? Message-ID: <20060214135545.gy173z83lvb44o00@webmail.rongage.org> Hi everyone: I am thinking about writing a WMI (Windows Management Instrumentation) client for Linux. This would basically be a command line way to perform various performance queries to a Windows box - with absolutely no agent software anywhere. All that would be required on the Windows side of things is a service account. This would not be for allowing Windows computers to query Linux - at least not immediately. Allowing a Windows computer to query a Linux computer is downstream from this. What can WMI provide? For example, hardware inventory, performance counters, various disk stats (per logical disk), and so on. Would there be any interest in such a program? -- Ron Gage (LPIC1 MCP A+ Net+) Westland, Michigan ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From engelenh at gmail.com Tue Feb 14 19:53:23 2006 From: engelenh at gmail.com (Hans Engelen) Date: Tue, 14 Feb 2006 19:53:23 +0100 Subject: Subdirectories in Nagios installation dir. In-Reply-To: <302ce8b50602140759n5051eb08s64494e95bab3e5ef@mail.gmail.com> References: <302ce8b50602140759n5051eb08s64494e95bab3e5ef@mail.gmail.com> Message-ID: <5383c62b0602141053q79ac2833p7cef00ff2bbbafe7@mail.gmail.com> On 2/14/06, Jim Perrin wrote: > > On 2/14/06, Toby Kraft wrote: > > Replace the "$releasever" with "3" So is working in the IT sector right now (at least in Europe) yet .. Have had to do the same thing too on a number of occasions. Beats me why though. Cheers. -------------- next part -------------- An HTML attachment was scrubbed... URL: From engelenh at gmail.com Tue Feb 14 19:57:36 2006 From: engelenh at gmail.com (Hans Engelen) Date: Tue, 14 Feb 2006 19:57:36 +0100 Subject: Question: is there any interest in a WMI client for Linux? In-Reply-To: <20060214135545.gy173z83lvb44o00@webmail.rongage.org> References: <20060214135545.gy173z83lvb44o00@webmail.rongage.org> Message-ID: <5383c62b0602141057y50d61727w3590c9c3e7785a56@mail.gmail.com> Is that a trick question :-) ? Short answer : Oooooooooooh yeah. Cheers. On 2/14/06, Ron Gage wrote: > > Hi everyone: > > I am thinking about writing a WMI (Windows Management Instrumentation) > client > for Linux. > Would there be any interest in such a program? > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tinzauro at ha-solutions.net Tue Feb 14 19:57:22 2006 From: tinzauro at ha-solutions.net (Terry L. Inzauro) Date: Tue, 14 Feb 2006 12:57:22 -0600 Subject: Question: is there any interest in a WMI client for Linux? In-Reply-To: <20060214135545.gy173z83lvb44o00@webmail.rongage.org> References: <20060214135545.gy173z83lvb44o00@webmail.rongage.org> Message-ID: <43F22812.90504@ha-solutions.net> Ron Gage wrote: > Hi everyone: > > I am thinking about writing a WMI (Windows Management Instrumentation) client > for Linux. This would basically be a command line way to perform various > performance queries to a Windows box - with absolutely no agent software > anywhere. All that would be required on the Windows side of things is a > service account. > > This would not be for allowing Windows computers to query Linux - at least not > immediately. Allowing a Windows computer to query a Linux computer is > downstream from this. > > What can WMI provide? For example, hardware inventory, performance counters, > various disk stats (per logical disk), and so on. > > Would there be any interest in such a program? > sure. being able to gather info from w1nd0z3 boxen without any other client software would be nice ;) ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From jperrin at gmail.com Tue Feb 14 20:03:16 2006 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 14 Feb 2006 14:03:16 -0500 Subject: Question: is there any interest in a WMI client for Linux? In-Reply-To: <20060214135545.gy173z83lvb44o00@webmail.rongage.org> References: <20060214135545.gy173z83lvb44o00@webmail.rongage.org> Message-ID: <302ce8b50602141103n4dd190e9l253df45447e52921@mail.gmail.com> > What can WMI provide? For example, hardware inventory, performance counters, > various disk stats (per logical disk), and so on. > > Would there be any interest in such a program? I think the appropriate words are "HELL YES". Something like this would be amazingly helpful. -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From ron at rongage.org Tue Feb 14 20:14:23 2006 From: ron at rongage.org (Ron Gage) Date: Tue, 14 Feb 2006 14:14:23 -0500 Subject: Question: is there any interest in a WMI client for Linux? In-Reply-To: <5383c62b0602141057y50d61727w3590c9c3e7785a56@mail.gmail.com> References: <20060214135545.gy173z83lvb44o00@webmail.rongage.org> <5383c62b0602141057y50d61727w3590c9c3e7785a56@mail.gmail.com> Message-ID: <20060214141423.ayz5njntdeskk408@webmail.rongage.org> Hans: Quoting Hans Engelen : > Is that a trick question :-) ? > Just want to make sure that I'm not going to be wasting my time in something that people aren't interested in! :) > Short answer : Oooooooooooh yeah. > > Cheers. > > On 2/14/06, Ron Gage wrote: >> >> Hi everyone: >> >> I am thinking about writing a WMI (Windows Management Instrumentation) >> client >> for Linux. >> Would there be any interest in such a program? >> >> > -- Ron Gage (LPIC1 MCP A+ Net+) Westland, Michigan ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From dveldhuisen at bartlesville.oilfield.slb.com Tue Feb 14 20:09:18 2006 From: dveldhuisen at bartlesville.oilfield.slb.com (Doug Veldhuisen) Date: Tue, 14 Feb 2006 13:09:18 -0600 Subject: Question: is there any interest in a WMI client for Linux? In-Reply-To: <20060214135545.gy173z83lvb44o00@webmail.rongage.org> References: <20060214135545.gy173z83lvb44o00@webmail.rongage.org> Message-ID: <6.2.1.2.2.20060214130825.02e7de78@pop.nam.slb.com> Ron: Let me add my 3cents worth....yes, yes, that would be great! Need a tester when you get it written? Doug At 12:55 PM 2/14/2006, Ron Gage wrote: >Hi everyone: > >I am thinking about writing a WMI (Windows Management Instrumentation) client >for Linux. This would basically be a command line way to perform various >performance queries to a Windows box - with absolutely no agent software >anywhere. All that would be required on the Windows side of things is a >service account. > >This would not be for allowing Windows computers to query Linux - at least not >immediately. Allowing a Windows computer to query a Linux computer is >downstream from this. > >What can WMI provide? For example, hardware inventory, performance counters, >various disk stats (per logical disk), and so on. > >Would there be any interest in such a program? > >-- >Ron Gage >(LPIC1 MCP A+ Net+) >Westland, Michigan > >---------------------------------------------------------------- >This message was sent using IMP, the Internet Messaging Program. > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >_______________________________________________ >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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwilcox at mobitrac.com Tue Feb 14 20:11:50 2006 From: rwilcox at mobitrac.com (Ryan Wilcox) Date: Tue, 14 Feb 2006 13:11:50 -0600 Subject: Question: is there any interest in a WMI client for Linux? Message-ID: i 6th, 7th and 8th that vote... would be super helpful! [quote] Is that a trick question :-) ? Short answer : Oooooooooooh yeah. Cheers. On 2/14/06, Ron Gage wrote: Hi everyone: I am thinking about writing a WMI (Windows Management Instrumentation) client for Linux. Would there be any interest in such a program? [/quote] -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwilcox at mobitrac.com Tue Feb 14 20:25:19 2006 From: rwilcox at mobitrac.com (Ryan Wilcox) Date: Tue, 14 Feb 2006 13:25:19 -0600 Subject: Question: is there any interest in a WMI client for Linux? Message-ID: >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >> admin at lists.sourceforge.net] On Behalf Of Ron Gage >> Sent: Tuesday, February 14, 2006 12:56 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Question: is there any interest in a WMI client >> for Linux? >> >> Hi everyone: >> >> I am thinking about writing a WMI (Windows Management Instrumentation) >> client >> for Linux. This would basically be a command line way to perform various >> performance queries to a Windows box - with absolutely no agent software >> anywhere. All that would be required on the Windows side of things is a >> service account. >> >> This would not be for allowing Windows computers to query Linux - at >> least not >> immediately. Allowing a Windows computer to query a Linux computer is >> downstream from this. >> >> What can WMI provide? For example, hardware inventory, performance >> counters, >> various disk stats (per logical disk), and so on. >> >> Would there be any interest in such a program? >> >> -- >> Ron Gage >> (LPIC1 MCP A+ Net+) ron... it is understood that WMI would give users the ability to go way above and beyond the 'check_nt' command... what other capability are you interested in building in that 'check_nt' doesn't provide? ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From ron at rongage.org Tue Feb 14 20:43:50 2006 From: ron at rongage.org (Ron Gage) Date: Tue, 14 Feb 2006 14:43:50 -0500 Subject: Question: is there any interest in a WMI client for Linux? In-Reply-To: References: Message-ID: <20060214144350.vul4iycaaq88co8k@webmail.rongage.org> Quoting Ryan Wilcox : > ron... it is understood that WMI would give users the ability to go way > above and beyond the 'check_nt' command... what other capability are you > interested in building in that 'check_nt' doesn't provide? From a monitoring perspective, what more would you need than WMI? You get direct access to the perfmon counters and hardware enumeration. You can even enumerate services and their state via WMI (the Win32_BaseService object). Beyond that, Nagios itself covers the rest of the need, monitoring wise. I am open to suggestions though! -- Ron Gage (LPIC1 MCP A+ Net+) Westland, Michigan ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From dirk.schulz at kinzesberg.de Tue Feb 14 20:48:48 2006 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Tue, 14 Feb 2006 20:48:48 +0100 Subject: monitor directory size? In-Reply-To: References: Message-ID: <43F23420.4040500@kinzesberg.de> Hi HP, HP Geeza schrieb: > From what i can tell though check_snmp_storage.pl only allows you to > check for particular kinds of storage settings....what i need to do is > monitor the size of a directory on a remote windows server for > example, d:\data > > i am using nsclient at the moment but can't monitor directory size > (only disk space). Is there a way to monitor a directories size via > snmp???? As far as I understand SNMP it is quite easy to tell: If there is an object for that in the MIB of the SNMP client on this windows machine, then it should be fairly easy to rewrite check_snmp_storage.pl (or write your own script) to query that object. So have a look at the MIB of your SNMP service on the winX box. Dirk > > >> From: Hendrik Baecker >> To: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] monitor directory size? >> Date: Mon, 13 Feb 2006 12:44:00 +0100 >> >> Google for: "check_snmp_storage.pl" >> >> >> HP Geeza schrieb: >> >>> Hi All, >>> >>> I was wondering whether it is possible to monitor the size of a >>> directory (eg find out how big it is in in MB or GBs) and then send >>> an alert when the size goes over a certain threshold? >>> >>> Any help would be great! >>> >>> _________________________________________________________________ >>> The new MSN Search Toolbar now includes Desktop search! >>> http://toolbar.msn.co.uk/ >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.net email is sponsored by: Splunk Inc. Do you grep through >>> log files >>> for problems? Stop! Download the new AJAX search engine that makes >>> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >>> >>> _______________________________________________ >>> 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 >>> >>> >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep through >> log files >> for problems? Stop! Download the new AJAX search engine that makes >> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >> _______________________________________________ >> 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 > > > _________________________________________________________________ > Are you using the latest version of MSN Messenger? Download MSN > Messenger 7.5 today! http://messenger.msn.co.uk > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From marc at ena.com Tue Feb 14 21:58:54 2006 From: marc at ena.com (Marc Powell) Date: Tue, 14 Feb 2006 14:58:54 -0600 Subject: Subdirectories in Nagios installation dir. Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Toby Kraft > Sent: Tuesday, February 14, 2006 10:56 AM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Subdirectories in Nagios installation dir. > > Jim Perrin wrote: > > On 2/14/06, Toby Kraft wrote: > > > Which repository has the latest build for FC4? Dag Wiers is only > doing > > > FC3. > > > > > > > It's in the Extras repository for FC4. > > Amazing to me that in all the months I've been lurking in this list there > was no mention of this tidbit until 2/9/06. > http://thread.gmane.org/gmane.network.nagios.user/37418 > Didn't recall that post when I was replying. > > Also amazing that this is not mentioned on the nagios.org download page. Ethan just directs you to a third party repository. Why would he need to track or care how it's organized? I'm personally surprised he's chosen to link to a specific repository in the first place. [chop] > I guess what I'm thinking is that we need a wiki so we can all contribute > what we've learned and organize it in a way that's helpful to new and > longtime users alike. It seems that http://www.nagiosexchange.org is evolving into role. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From Toby_Kraft at KSAinc.com Tue Feb 14 22:11:05 2006 From: Toby_Kraft at KSAinc.com (Toby Kraft) Date: Tue, 14 Feb 2006 15:11:05 -0600 Subject: Subdirectories in Nagios installation dir. In-Reply-To: References: Message-ID: > > Also amazing that this is not mentioned on the nagios.org download > page. > > Ethan just directs you to a third party repository. Why would he need to > track or care how it's organized? I'm personally surprised he's chosen > to link to a specific repository in the first place. > You're right, not his job. > > I guess what I'm thinking is that we need a wiki so we can all > contribute > > what we've learned and organize it in a way that's helpful to new and > > longtime users alike. > > It seems that http://www.nagiosexchange.org is evolving into role. > I remembered that also and created a new section in the wiki for Installation and posted the instructions for installing from Extras using yum. Toby ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From mkoponick at redhawk.info Tue Feb 14 23:59:39 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Tue, 14 Feb 2006 14:59:39 -0800 Subject: Network Mapping Software Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109BF3@raptor.redhawk.info> Sorry if this a little off topic... I was wondering if anyone knew of a network mapping tool. OpenSource is best, of course. I would like to integrate this into a MySQL/PHP/Nagios environment. Thanks in advance, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From estair at ilm.com Wed Feb 15 00:09:25 2006 From: estair at ilm.com (Eli Stair) Date: Tue, 14 Feb 2006 15:09:25 -0800 Subject: Network Mapping Software In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD4109BF3@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD4109BF3@raptor.redhawk.info> Message-ID: <43F26325.1060303@ilm.com> For "mapping == graphical" Whatever the equivalent of Visio is on Linux (GPL of course). "mapping == device discovery" Netdisco netdi opennms cacti plugin (mac?) intermapper The first two items are OSS network management tools, for maintaining and controlling device configs. They have integrated discovery (SNMP, CDP, FDP, etc). The third is another device/service monitoring of a similar vein to Nagios. There's a cacti plugin that is slowly coming to maturity that integrates device discovery with polling into the interface. Doesn't support Foundry gear yet, so I haven't looked at it. *intermapper - A $commercial$ tool that tries to integrate auto-discovery with monitoring, and a "pertifying" map drawing tool. Works well for scanning networks via SNMP and outputting the results to a file, IMO. /eli Mike Koponick wrote: > Sorry if this a little off topic? > > > > I was wondering if anyone knew of a network mapping tool. OpenSource is > best, of course. I would like to integrate this into a MySQL/PHP/Nagios > environment. > > > > Thanks in advance, > > > > Mike > > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From plathrop at squaretrade.com Wed Feb 15 00:14:43 2006 From: plathrop at squaretrade.com (Paul Lathrop) Date: Tue, 14 Feb 2006 15:14:43 -0800 Subject: Network Mapping Software In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD4109BF3@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD4109BF3@raptor.redhawk.info> Message-ID: <43F26463.4020103@squaretrade.com> Try nmap - http://www.insecure.org/nmap/ Mike Koponick wrote: > Sorry if this a little off topic... > > > > I was wondering if anyone knew of a network mapping tool. OpenSource is > best, of course. I would like to integrate this into a MySQL/PHP/Nagios > environment. > > > > Thanks in advance, > > > > Mike > > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 256 bytes Desc: OpenPGP digital signature URL: From dustin.berube at gmail.com Wed Feb 15 02:33:23 2006 From: dustin.berube at gmail.com (Dustin Berube) Date: Tue, 14 Feb 2006 20:33:23 -0500 Subject: Question: is there any interest in a WMI client for Linux? In-Reply-To: <20060214135545.gy173z83lvb44o00@webmail.rongage.org> References: <20060214135545.gy173z83lvb44o00@webmail.rongage.org> Message-ID: <43F284E3.7040506@gmail.com> Ron Gage wrote: > Hi everyone: > > I am thinking about writing a WMI (Windows Management Instrumentation) client > for Linux. This would basically be a command line way to perform various > performance queries to a Windows box - with absolutely no agent software > anywhere. All that would be required on the Windows side of things is a > service account. > > This would not be for allowing Windows computers to query Linux - at least not > immediately. Allowing a Windows computer to query a Linux computer is > downstream from this. > > What can WMI provide? For example, hardware inventory, performance counters, > various disk stats (per logical disk), and so on. > > Would there be any interest in such a program? > I also second this idea. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From lennart.kvam at softronic.se Wed Feb 15 09:22:21 2006 From: lennart.kvam at softronic.se (lennart.kvam at softronic.se) Date: Wed, 15 Feb 2006 09:22:21 +0100 Subject: number of notifications? Message-ID: <308D3417BAD2104895AE72D879B815B6018EF0D7@stsstomail01.softronic.se> Hi all Where do i set the number of email-notifications when a service is critical? I keep getting one email every second minute!? Heres some of my config! minimal.cfg define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define service{ name generic-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 1 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define host{ use generic-host ; Name of host template to use host_name arnwin0136 alias arnwin0136 address 192.168.103.10 check_command check-host-alive max_check_attempts 10 notification_interval 960 notification_period 24x7 notification_options d,u,r, notifications_enabled 1 contact_groups admins } define service { use generic-service ; check_disk_smb host_name arnwin0136 service_description C-Disk is_volatile 1 max_check_attempts 5 normal_check_interval 2 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 parallelize_check 1 obsess_over_service 1 check_freshness 1 freshness_threshold 420 event_handler_enabled 1 low_flap_threshold 0 high_flap_threshold 0 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 0 contact_groups admins,jour notification_interval 960 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 register 1 check_command check_disk_smb!nagios!$USER10$!$USER11$ } Thanks Lennart ********************************** Lennart Kvam Softronic AB, Ringv?gen 100, 118 60 Stockholm Tel: 0708-813279 Vx:08-51909000 lennart.kvam at softronic.se ********************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From lennart.kvam at softronic.se Wed Feb 15 09:46:11 2006 From: lennart.kvam at softronic.se (lennart.kvam at softronic.se) Date: Wed, 15 Feb 2006 09:46:11 +0100 Subject: =?iso-8859-1?Q?=C5terkalla_meddelande=3A_number_of_notifications=3F?= Message-ID: <308D3417BAD2104895AE72D879B815B6018EF0D8@stsstomail01.softronic.se> Kvam Lennart skulle vilja ?terkalla meddelandet, number of notifications?. -------------- next part -------------- An HTML attachment was scrubbed... URL: From VINAY_SHARMA at advanex.co.jp Wed Feb 15 09:48:18 2006 From: VINAY_SHARMA at advanex.co.jp (VINAY_SHARMA at advanex.co.jp) Date: Wed, 15 Feb 2006 17:48:18 +0900 Subject: [Nagios-users] =?iso-8859-1?Q?=C5terkalla_meddelande=3A_number_of_notifications=3F?= Message-ID: What is this?? Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions-Associates Advanex Inc (www.advanex.co.jp) Fon : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp ?????????: ??????: nagios-users-admin at lists.sour cc: ceforge.net ??????: [Nagios-users] ??terkalla meddelande: number of notifications? 2006/02/15 17:46 Kvam Lennart skulle vilja ??terkalla meddelandet, number of notifications?. N?HY?????X???'???u???[??????? ???k??!???W?~?????zk??C? ???m????@^????^??z?Z?f?z?j?!?x2????????????,???? a{? ??,?H??4?m?????Z??jY?w????rg From thomas.edwards at accredohealth.com Wed Feb 15 09:49:18 2006 From: thomas.edwards at accredohealth.com (thomas.edwards at accredohealth.com) Date: Wed, 15 Feb 2006 02:49:18 -0600 Subject: Important Message from the Accredo Health Email Gateway Message-ID: <6FEC34842AK754746-01@EMF__accredohealth.com_> In order to protect our employees, patients, partners and computer systems, Accredo Health, Inc. places restrictions on email passing between our network and the Internet. In compliance with that policy, a message addressed to you has been automatically blocked by the gateway due to decomposition errors. The message details are as follows: From: To: Subject: [Nagios-users] Re: [Nagios-users] ?terkalla meddelande: number of notifications? Date: 02/15/06, 02:49:18 The message is currently being held in a quarantine area, and may be released for delivery provided there is a legitimate business need. In order to ensure that the message is appropriate for delivery, the Email Gateway admin staff will need to open and manually inspect the message and any associated attachments. To request that the message be released, please reply to this message, include this notice, and explain why you need the email to be released to you. Please send any questions or comments to ServiceDesk at AccredoHealth.com ----------------------------------------------------------- Message ID: 6FEC348022W3229662-01 ----------------------------------------------------------- From xagonzalezm at gmail.com Wed Feb 15 09:59:05 2006 From: xagonzalezm at gmail.com (Alberto) Date: Wed, 15 Feb 2006 09:59:05 +0100 Subject: Plugins 1.4 In-Reply-To: <006901c6313d$b2446270$0900d40a@intranet.it.net> References: <006901c6313d$b2446270$0900d40a@intranet.it.net> Message-ID: <7fa4b410602150059jc997d62ie923fd18a6098dd1@mail.gmail.com> Is there any depot or tar of plugings 1.4.2 bin for hp-ux 11 ( itanium and parisc) .Where can I download them? On 2/14/06, Marco Borsani wrote: > > Hi folks! > > I am testing nagios plugins ver. 1.4 on my HP-UX 11.0 server, but none of > them seem working fine. > > I tried to use them on a Nagios 1.1, Nagios 1.3 and a Nagios 2.0, but > always > receive answers like: > check_TCP: Invalid hostname/address - 10.1.1.1 > > Same commands, using 1.3.1 plugins working fine. > > Any idea? > > Regards > Marco Borsani > Unix & Monitoring System Administrator > Technical Operation > Tel. +39 010 4310115 > Fax +39 010 4327454 > E-mail: m.borsani at IT.net > > ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni S.p.A. > Internet Service Provider > Sede legale: Via C.G.Viola, 48 - 00148 Roma > Dir. Centrale e Amministrativa: Via Pacinotti, 39 > 16151 Genova (Italy) > > http://www.it.net > mailto:info at IT.net > _______________________________________________________________ > Altre sedi ITnet: > MILANO tel.: +39 02 30114900 info-milano at IT.net > ROMA tel.: +39 06 83116707 info-roma at IT.net > _______________________________________________________________ > ITnet is associated to CIX (Commercial IP eXchange) and RIPE > ITnet is associated to AIIP (Associazione Italiana Internet Providers) > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shoktai at gmail.com Wed Feb 15 10:08:06 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Wed, 15 Feb 2006 10:08:06 +0100 Subject: pop up windows in status map Message-ID: <619cf3c0602150108t2b72a6ebw@mail.gmail.com> Hi, I found it easy to get ip addresses of my hosts looking in the statusmap inside the popups. But my map get kind of busy and when i move the mouse upon it, it sorts of flaps, blink,....so quickly that i can't read anything. Would it possible to arrange map display ? -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From engelenh at gmail.com Wed Feb 15 10:30:39 2006 From: engelenh at gmail.com (Hans Engelen) Date: Wed, 15 Feb 2006 10:30:39 +0100 Subject: Question: is there any interest in a WMI client for Linux? In-Reply-To: <20060214144350.vul4iycaaq88co8k@webmail.rongage.org> References: <20060214144350.vul4iycaaq88co8k@webmail.rongage.org> Message-ID: <5383c62b0602150130q32212090g96dad3ca8badc572@mail.gmail.com> Well in terms of need, I have (and I am sure there are others, seen messages to that effect pass the mailing lists on a regular basis) a defenite need to also monitor more then WMI provides and for that matter check_nt does not have either. I am sure there are many such things but these are high on my list right now : - Monitor file sizes (got a couple of processes that dare write transaction logs that sometimes go up to 2 GB in a matter of days at which point the 2 GB filesize problem on Windows causes the application to die a horrible death) - Monitor Directory Sizes (not so much for me but saw that pass by on the list a few days ago) - File Age (nc_net has this) to detect hanging processes for example. - Log parser with a read-mark (so it only reads new lines since last check). Mind you not clear on how to work this into Nagios. I mean, I would want to have nagios monitor a log file for say an error like 'ORA-xxxxx no active database connection' (or whatever the exact error is) and raise an alert at that point. What I am not sure about is how to then let Nagios know the error has been fixed. I suppose I coul parse the whole log every time and archive logs when I restart the process at which point the ORA-xxxxx would no longer be present in the log but the problem is these logs are huge and would probably constitute a huge performance hit if read completely on a regular basis. It's a tricky one. Either way unless I am mistaken these things are not easily done in WMI if they are even possible at all. But there is no denying that WMI gives you access to a wealth of information. It will be interesting to see how you do it though. Securitywise it seems like a challenge for sure. And performance wise it is not easy either. Count me in though if you want it tested. Cheers. Hans On 2/14/06, Ron Gage wrote: > > Quoting Ryan Wilcox : > > > > > ron... it is understood that WMI would give users the ability to go way > > above and beyond the 'check_nt' command... what other capability are you > > interested in building in that 'check_nt' doesn't provide? > > From a monitoring perspective, what more would you need than WMI? You get > direct access to the perfmon counters and hardware enumeration. You can > even > enumerate services and their state via WMI (the Win32_BaseService object). > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shoktai at gmail.com Wed Feb 15 10:56:45 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Wed, 15 Feb 2006 10:56:45 +0100 Subject: number of notifications? In-Reply-To: <308D3417BAD2104895AE72D879B815B6018EF0D7@stsstomail01.softronic.se> References: <308D3417BAD2104895AE72D879B815B6018EF0D7@stsstomail01.softronic.se> Message-ID: <619cf3c0602150156y4d66a345r@mail.gmail.com> Hello, the period is defined by notification_interval 960, you can try to put 0 if you want to be alert only one time. I used to not get notifications for Warning so i have notification_options u,c,r instead of notification_options w,u,c,r2006/2/15, lennart.kvam at softronic.se : > > Hi all > > Where do i set the number of email-notifications when a service is > critical? I keep getting one email every second minute!? > > Heres some of my config! > > minimal.cfg > > define host{ > name generic-host ; The name of this > host template > notifications_enabled 1 ; Host notifications are > enabled > event_handler_enabled 1 ; Host event handler is > enabled > flap_detection_enabled 1 ; Flap detection is > enabled > failure_prediction_enabled 1 ; Failure prediction is > enabled > process_perf_data 1 ; Process performance data > retain_status_information 1 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! > } > > > define service{ > name generic-service ; The 'name' of this > service template > active_checks_enabled 1 ; Active service checks > are enabled > passive_checks_enabled 1 ; Passive service checks > are enabled/accepted > parallelize_check 1 ; Active service checks > should be parallelized (disabling this can lead to major performance > problems) > obsess_over_service 1 ; We should obsess over > this service (if necessary) > check_freshness 1 ; Default is to NOT check > service 'freshness' > notifications_enabled 1 ; Service notifications > are enabled > event_handler_enabled 1 ; Service event handler is > enabled > flap_detection_enabled 1 ; Flap detection is > enabled > failure_prediction_enabled 1 ; Failure prediction is > enabled > process_perf_data 1 ; Process performance data > retain_status_information 1 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > } > > define host{ > use generic-host ; Name of host > template to use > host_name arnwin0136 > alias arnwin0136 > address 192.168.103.10 > check_command check-host-alive > max_check_attempts 10 > notification_interval 960 > notification_period 24x7 > notification_options d,u,r, > notifications_enabled 1 > contact_groups admins > } > > > define service { > use generic-service ; > check_disk_smb > host_name arnwin0136 > service_description C-Disk > is_volatile 1 > max_check_attempts 5 > normal_check_interval 2 > retry_check_interval 1 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period 24x7 > parallelize_check 1 > obsess_over_service 1 > check_freshness 1 > freshness_threshold 420 > event_handler_enabled 1 > low_flap_threshold 0 > high_flap_threshold 0 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 0 > contact_groups admins,jour > notification_interval 960 > notification_period 24x7 > notification_options w,u,c,r > notifications_enabled 1 > register 1 > check_command check_disk_smb!nagios!$USER10$!$USER11$ > } > > Thanks > > Lennart > > ************************************ > * Lennart Kvam* > Softronic AB, Ringv?gen 100, 118 60 Stockholm > Tel: 0708-813279 Vx:08-51909000 > lennart.kvam at softronic.se > *********************************** * > > -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From johan.corsini at guest.minfin.fed.be Wed Feb 15 13:14:39 2006 From: johan.corsini at guest.minfin.fed.be (Johan Corsini) Date: Wed, 15 Feb 2006 13:14:39 +0100 Subject: Cgi configuration : possible to set "authorized_for_..." to all but one user? In-Reply-To: <619cf3c0602150156y4d66a345r@mail.gmail.com> References: <308D3417BAD2104895AE72D879B815B6018EF0D7@stsstomail01.softronic.se> <619cf3c0602150156y4d66a345r@mail.gmail.com> Message-ID: <200602151314.39117.johan.corsini@guest.minfin.fed.be> Hello everyone, Up to now, everyone who had an access to my nagios webpages could execute commands. So, the cgi.cfg file had things like : authorized_for_all_service_commands=* I would like to add a new user who can only see the informations, but could not execute any command. I tried the following : authorized_for_all_service_commands=*,!new_username But it did not work. Do any of you know if there is a way to do this? I would like to avoid replacing the "all" by a list of all my allowed users... Johan ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From getbacktome3 at hotmail.com Wed Feb 15 13:35:48 2006 From: getbacktome3 at hotmail.com (HP Geeza) Date: Wed, 15 Feb 2006 12:35:48 +0000 Subject: monitor directory size? In-Reply-To: <3c9a5bae0602140830t7a51533bkc9e283bb21b21c56@mail.gmail.com> References: <3c9a5bae0602140830t7a51533bkc9e283bb21b21c56@mail.gmail.com> Message-ID: Hi All, I am having some difficulty with using nclient++ and was wondering if somebody could help?? I have download nslicnet++ (from http://nscplus.medin.name/index.php/Main_Page) and installed it on a remote windows server. I then modified the NSC.ini file and added a line: command[check_cmd]=D:\hello.cmd I then created a simple .cmd file called hello.cmd which contained the following: @echo off echo hello world exit 1 MY QUESTION IS: what do i need to do/run on the nagios server inorder to run a check against hello.cmd for example? >From: Bill Jacqmein >To: HP Geeza >Subject: Re: [Nagios-users] monitor directory size? >Date: Tue, 14 Feb 2006 11:30:52 -0500 > >in NSC.ini > >in the NRPE handlers section > >mycheck=c:\somecheck.bat > > >For coding the batch file >useful - http://nagiosplug.sourceforge.net/developer-guidelines.html >The main part is the return codes > >Numeric Value > >Service Status > >Status Description > >0 > >OK > >The plugin was able to check the service and it appeared to be functioning >properly > >1 > >Warning > >The plugin was able to check the service, but it appeared to be above some >"warning" threshold or did not appear to be working properly > >2 > >Critical > >The plugin detected that either the service was not running or it was above >some "critical" threshold > >3 > >Unknown > >Invalid command line arguments were supplied to the plugin or low-level >failures internal to the plugin (such as unable to fork, or open a tcp >socket) that prevent it from performing the specified operation. >Higher-level errors (such as name resolution errors, socket timeouts, etc) >are outside of the control of plugins and should generally NOT be reported >as UNKNOWN states. > >Hopeful this was enough get you closer to a solution. If not I have to >write >one in the near future so I will send how I went about creating the check. > >Thanks, > > Bill > >On 2/14/06, HP Geeza wrote: > > > > Hi Bill, > > > > Im affraid im having some trouble with nsclient++ and running a batch > > files > > via check_nrep. Could you please help me with the syntax that i need to > > use > > to setup the check on both the nagios server and remote windows server. > > > > any help would be great! > > > > > > >From: Bill Jacqmein > > >To: HP Geeza > > >Subject: Re: [Nagios-users] monitor directory size? > > >Date: Mon, 13 Feb 2006 14:44:40 -0500 > > > > > >nsclient++ has the ability to run batch files via check_nrep. Might be >an > > >option to do a dir and parse the filesize out of that. > > > > > >On 2/13/06, HP Geeza wrote: > > > > > > > > From what i can tell though check_snmp_storage.pl only allows you to > > >check > > > > for particular kinds of storage settings....what i need to do is > > monitor > > > > the > > > > size of a directory on a remote windows server for example, d:\data > > > > > > > > i am using nsclient at the moment but can't monitor directory size > > (only > > > > disk space). Is there a way to monitor a directories size via > > snmp???? > > > > > > > > > > > > >From: Hendrik Baecker > > > > >To: nagios-users at lists.sourceforge.net > > > > >Subject: Re: [Nagios-users] monitor directory size? > > > > >Date: Mon, 13 Feb 2006 12:44:00 +0100 > > > > > > > > > >Google for: "check_snmp_storage.pl" > > > > > > > > > > > > > > >HP Geeza schrieb: > > > > > > > > > >>Hi All, > > > > >> > > > > >>I was wondering whether it is possible to monitor the size of a > > > > directory > > > > >>(eg find out how big it is in in MB or GBs) and then send an alert > > >when > > > > >>the size goes over a certain threshold? > > > > >> > > > > >>Any help would be great! > > > > >> > > > > >>_________________________________________________________________ > > > > >>The new MSN Search Toolbar now includes Desktop search! > > > > >>http://toolbar.msn.co.uk/ > > > > >> > > > > >> > > > > >> > > > > >>------------------------------------------------------- > > > > >>This SF.net email is sponsored by: Splunk Inc. Do you grep through > > log > > > > >>files > > > > >>for problems? Stop! Download the new AJAX search engine that >makes > > > > >>searching your log files as easy as surfing the web. DOWNLOAD > > >SPLUNK! > > > > > > > >> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > > > > >>_______________________________________________ > > > > >>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 > > > > >> > > > > >> > > > > > > > > > > > > > > > > > > > >------------------------------------------------------- > > > > >This SF.net email is sponsored by: Splunk Inc. Do you grep through > > log > > > > >files > > > > >for problems? Stop! Download the new AJAX search engine that >makes > > > > >searching your log files as easy as surfing the web. DOWNLOAD > > SPLUNK! > > > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > > > > >_______________________________________________ > > > > >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 > > > > > > > > _________________________________________________________________ > > > > Are you using the latest version of MSN Messenger? Download MSN > > >Messenger > > > > 7.5 today! http://messenger.msn.co.uk > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: Splunk Inc. Do you grep through >log > > > > files > > > > for problems? Stop! Download the new AJAX search engine that makes > > > > searching your log files as easy as surfing the web. DOWNLOAD > > SPLUNK! > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > > > > _______________________________________________ > > > > 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 > > > > > > > > _________________________________________________________________ > > The new MSN Search Toolbar now includes Desktop search! > > http://toolbar.msn.co.uk/ > > > > _________________________________________________________________ Are you using the latest version of MSN Messenger? Download MSN Messenger 7.5 today! http://messenger.msn.co.uk ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From shoktai at gmail.com Wed Feb 15 13:54:21 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Wed, 15 Feb 2006 13:54:21 +0100 Subject: monitor directory size? In-Reply-To: References: <3c9a5bae0602140830t7a51533bkc9e283bb21b21c56@mail.gmail.com> Message-ID: <619cf3c0602150454wdaa4daer@mail.gmail.com> Hi Everything is so well documented in nsclient++ doc that i wonder why you prefer asking here. Anyway you should have first the check_nrpe plugin. Then you just have to define command in checkcommands using ./check_nrpe -H hostname -c check_cmd define command { command_name Hello command_line check_nrpe -H $HOSTADDRESS$ -c check_cmd } Please run check_nrpe -h to get the help of the plugin. cheers 2006/2/15, HP Geeza : > > Hi All, > > I am having some difficulty with using nclient++ and was wondering if > somebody could help?? > > I have download nslicnet++ (from > http://nscplus.medin.name/index.php/Main_Page) and installed it on a > remote > windows server. I then modified the NSC.ini file and added a line: > > command[check_cmd]=D:\hello.cmd > > I then created a simple .cmd file called hello.cmd which contained the > following: > > @echo off > echo hello world > exit 1 > > MY QUESTION IS: > what do i need to do/run on the nagios server inorder to run a check > against > hello.cmd for example? > > > >From: Bill Jacqmein > >To: HP Geeza > >Subject: Re: [Nagios-users] monitor directory size? > >Date: Tue, 14 Feb 2006 11:30:52 -0500 > > > >in NSC.ini > > > >in the NRPE handlers section > > > >mycheck=c:\somecheck.bat > > > > > >For coding the batch file > >useful - http://nagiosplug.sourceforge.net/developer-guidelines.html > >The main part is the return codes > > > >Numeric Value > > > >Service Status > > > >Status Description > > > >0 > > > >OK > > > >The plugin was able to check the service and it appeared to be > functioning > >properly > > > >1 > > > >Warning > > > >The plugin was able to check the service, but it appeared to be above > some > >"warning" threshold or did not appear to be working properly > > > >2 > > > >Critical > > > >The plugin detected that either the service was not running or it was > above > >some "critical" threshold > > > >3 > > > >Unknown > > > >Invalid command line arguments were supplied to the plugin or low-level > >failures internal to the plugin (such as unable to fork, or open a tcp > >socket) that prevent it from performing the specified operation. > >Higher-level errors (such as name resolution errors, socket timeouts, > etc) > >are outside of the control of plugins and should generally NOT be > reported > >as UNKNOWN states. > > > >Hopeful this was enough get you closer to a solution. If not I have to > >write > >one in the near future so I will send how I went about creating the > check. > > > >Thanks, > > > > Bill > > > >On 2/14/06, HP Geeza wrote: > > > > > > Hi Bill, > > > > > > Im affraid im having some trouble with nsclient++ and running a batch > > > files > > > via check_nrep. Could you please help me with the syntax that i need > to > > > use > > > to setup the check on both the nagios server and remote windows > server. > > > > > > any help would be great! > > > > > > > > > >From: Bill Jacqmein > > > >To: HP Geeza > > > >Subject: Re: [Nagios-users] monitor directory size? > > > >Date: Mon, 13 Feb 2006 14:44:40 -0500 > > > > > > > >nsclient++ has the ability to run batch files via check_nrep. Might > be > >an > > > >option to do a dir and parse the filesize out of that. > > > > > > > >On 2/13/06, HP Geeza wrote: > > > > > > > > > > From what i can tell though check_snmp_storage.pl only allows you > to > > > >check > > > > > for particular kinds of storage settings....what i need to do is > > > monitor > > > > > the > > > > > size of a directory on a remote windows server for example, > d:\data > > > > > > > > > > i am using nsclient at the moment but can't monitor directory size > > > (only > > > > > disk space). Is there a way to monitor a directories size via > > > snmp???? > > > > > > > > > > > > > > > >From: Hendrik Baecker > > > > > >To: nagios-users at lists.sourceforge.net > > > > > >Subject: Re: [Nagios-users] monitor directory size? > > > > > >Date: Mon, 13 Feb 2006 12:44:00 +0100 > > > > > > > > > > > >Google for: "check_snmp_storage.pl" > > > > > > > > > > > > > > > > > >HP Geeza schrieb: > > > > > > > > > > > >>Hi All, > > > > > >> > > > > > >>I was wondering whether it is possible to monitor the size of a > > > > > directory > > > > > >>(eg find out how big it is in in MB or GBs) and then send an > alert > > > >when > > > > > >>the size goes over a certain threshold? > > > > > >> > > > > > >>Any help would be great! > > > > > >> > > > > > > >>_________________________________________________________________ > > > > > >>The new MSN Search Toolbar now includes Desktop search! > > > > > >>http://toolbar.msn.co.uk/ > > > > > >> > > > > > >> > > > > > >> > > > > > >>------------------------------------------------------- > > > > > >>This SF.net email is sponsored by: Splunk Inc. Do you grep > through > > > log > > > > > >>files > > > > > >>for problems? Stop! Download the new AJAX search engine that > >makes > > > > > >>searching your log files as easy as surfing the web. DOWNLOAD > > > >SPLUNK! > > > > > > > > > >> > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > > > > > >>_______________________________________________ > > > > > >>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 > > > > > >> > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > >------------------------------------------------------- > > > > > >This SF.net email is sponsored by: Splunk Inc. Do you grep > through > > > log > > > > > >files > > > > > >for problems? Stop! Download the new AJAX search engine that > >makes > > > > > >searching your log files as easy as surfing the web. DOWNLOAD > > > SPLUNK! > > > > > > > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > > > > > >_______________________________________________ > > > > > >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 > > > > > > > > > > _________________________________________________________________ > > > > > Are you using the latest version of MSN Messenger? Download MSN > > > >Messenger > > > > > 7.5 today! http://messenger.msn.co.uk > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.net email is sponsored by: Splunk Inc. Do you grep through > >log > > > > > files > > > > > for problems? Stop! Download the new AJAX search engine that > makes > > > > > searching your log files as easy as surfing the web. DOWNLOAD > > > SPLUNK! > > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > > > > > _______________________________________________ > > > > > 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 > > > > > > > > > > > _________________________________________________________________ > > > The new MSN Search Toolbar now includes Desktop search! > > > http://toolbar.msn.co.uk/ > > > > > > > > _________________________________________________________________ > Are you using the latest version of MSN Messenger? Download MSN Messenger > 7.5 today! http://messenger.msn.co.uk > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > 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 > -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From john.matijevic at gmail.com Wed Feb 15 14:17:29 2006 From: john.matijevic at gmail.com (john matijevic) Date: Wed, 15 Feb 2006 08:17:29 -0500 Subject: install of nagios Message-ID: <92b811a0602150517m49ac9946v51c312a5740866d4@mail.gmail.com> Hello Team, I am having trouble with installation of Nagios, I get to the point in the beginning after the install it is supposed to install 5 directories, I am only seeing 4 directories, I am installing as Root so its not a permission issue. Please advise. Sincerely, John -- John Matijevic, CCIE #13254 U.S. Installation Group Senior Network Engineer 954-969-7160 ext. 1147 (office) 305-321-6232 (cell) -------------- next part -------------- An HTML attachment was scrubbed... URL: From shoktai at gmail.com Wed Feb 15 14:29:29 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Wed, 15 Feb 2006 14:29:29 +0100 Subject: install of nagios In-Reply-To: <92b811a0602150517m49ac9946v51c312a5740866d4@mail.gmail.com> References: <92b811a0602150517m49ac9946v51c312a5740866d4@mail.gmail.com> Message-ID: <619cf3c0602150529u75590d6cy@mail.gmail.com> would be too much asking to let us now wich directories you got or which one you should ? 2006/2/15, john matijevic : > > Hello Team, > I am having trouble with installation of Nagios, I get to the point in the > beginning after the install it is supposed to install 5 directories, I am > only seeing 4 directories, I am installing as Root so its not a permission > issue. Please advise. > > Sincerely, > John > > -- > John Matijevic, CCIE #13254 > U.S. Installation Group > Senior Network Engineer > 954-969-7160 ext. 1147 (office) > 305-321-6232 (cell) > -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jperrin at gmail.com Wed Feb 15 14:31:21 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 15 Feb 2006 08:31:21 -0500 Subject: install of nagios In-Reply-To: <92b811a0602150517m49ac9946v51c312a5740866d4@mail.gmail.com> References: <92b811a0602150517m49ac9946v51c312a5740866d4@mail.gmail.com> Message-ID: <302ce8b50602150531k7b28f761y53b2e8a75bbb9513@mail.gmail.com> On 2/15/06, john matijevic wrote: > Hello Team, > I am having trouble with installation of Nagios, I get to the point in the > beginning after the install it is supposed to install 5 directories, I am > only seeing 4 directories, I am installing as Root so its not a permission > issue. Please advise. Provide more detail. What OS, which version of nagios, what errors do you get etc. Your original post is lacking quite a few things we need to be able to help. -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From Jorg.Schulz at systeam.se Wed Feb 15 14:43:09 2006 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Wed, 15 Feb 2006 14:43:09 +0100 Subject: Nagios 2.X Stable - CHMOD problem Message-ID: Hi Folks After upgrade from 2.04b to 2,x Stable of Nagios i have the same problem as usual, after /etc/init.d/nagios stop and then /etc/init.d/nagios start i always have to go to the nagios.cmd file and chmod it to 777 :) prw-rw---- 1 nagios nagiocmd 0 Feb 15 07:00 /usr/local/nagios/var/rw/nagios.cmd Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions. An error occurred while attempting to commit your command for processing. nagios:~ # ps aux | grep nagios nagios 3207 0.1 1.7 27868 8952 ? Ssl Feb13 4:59 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg Maybe this is a stupid question but it is irritates me Best regards /j?rg J?rg SYSteam Communication AB -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonathan.w.miner at baesystems.com Wed Feb 15 14:46:33 2006 From: jonathan.w.miner at baesystems.com (Miner, Jonathan W (CSC) (US SSA)) Date: Wed, 15 Feb 2006 08:46:33 -0500 Subject: Nagios 2.X Stable - CHMOD problem References: Message-ID: <7FCB0E206880084DB3D57CBAA2119F1202366933@blums0010> Is your Apache user (apache?) in the UNIX "nagiocmd" group? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net on behalf of Jorg.Schulz at systeam.se Sent: Wed 02/15/2006 08:43 AM To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] Nagios 2.X Stable - CHMOD problem Hi Folks After upgrade from 2.04b to 2,x Stable of Nagios i have the same problem as usual, after /etc/init.d/nagios stop and then /etc/init.d/nagios start i always have to go to the nagios.cmd file and chmod it to 777 :) prw-rw---- 1 nagios nagiocmd 0 Feb 15 07:00 /usr/local/nagios/var/rw/nagios.cmd Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions. An error occurred while attempting to commit your command for processing. nagios:~ # ps aux | grep nagios nagios 3207 0.1 1.7 27868 8952 ? Ssl Feb13 4:59 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg Maybe this is a stupid question but it is irritates me Best regards /j?rg J?rg SYSteam Communication AB ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From getbacktome3 at hotmail.com Wed Feb 15 14:56:12 2006 From: getbacktome3 at hotmail.com (HP Geeza) Date: Wed, 15 Feb 2006 13:56:12 +0000 Subject: monitor directory size? In-Reply-To: <3c9a5bae0602140830t7a51533bkc9e283bb21b21c56@mail.gmail.com> References: <3c9a5bae0602140830t7a51533bkc9e283bb21b21c56@mail.gmail.com> Message-ID: Appologies for the numerous emails!! I noticed that nsclient++ has a checkDisk.dll which you can use to check the size of one of more files or directories. So this sounds like what i need to use.....but i still dont know how to check this from the nagios server - is there another plugin that i need to run on the nagios server....what to have in the config files??? >From: Bill Jacqmein >To: HP Geeza >Subject: Re: [Nagios-users] monitor directory size? >Date: Tue, 14 Feb 2006 11:30:52 -0500 > >in NSC.ini > >in the NRPE handlers section > >mycheck=c:\somecheck.bat > > >For coding the batch file >useful - http://nagiosplug.sourceforge.net/developer-guidelines.html >The main part is the return codes > >Numeric Value > >Service Status > >Status Description > >0 > >OK > >The plugin was able to check the service and it appeared to be functioning >properly > >1 > >Warning > >The plugin was able to check the service, but it appeared to be above some >"warning" threshold or did not appear to be working properly > >2 > >Critical > >The plugin detected that either the service was not running or it was above >some "critical" threshold > >3 > >Unknown > >Invalid command line arguments were supplied to the plugin or low-level >failures internal to the plugin (such as unable to fork, or open a tcp >socket) that prevent it from performing the specified operation. >Higher-level errors (such as name resolution errors, socket timeouts, etc) >are outside of the control of plugins and should generally NOT be reported >as UNKNOWN states. > >Hopeful this was enough get you closer to a solution. If not I have to >write >one in the near future so I will send how I went about creating the check. > >Thanks, > > Bill > >On 2/14/06, HP Geeza wrote: > > > > Hi Bill, > > > > Im affraid im having some trouble with nsclient++ and running a batch > > files > > via check_nrep. Could you please help me with the syntax that i need to > > use > > to setup the check on both the nagios server and remote windows server. > > > > any help would be great! > > > > > > >From: Bill Jacqmein > > >To: HP Geeza > > >Subject: Re: [Nagios-users] monitor directory size? > > >Date: Mon, 13 Feb 2006 14:44:40 -0500 > > > > > >nsclient++ has the ability to run batch files via check_nrep. Might be >an > > >option to do a dir and parse the filesize out of that. > > > > > >On 2/13/06, HP Geeza wrote: > > > > > > > > From what i can tell though check_snmp_storage.pl only allows you to > > >check > > > > for particular kinds of storage settings....what i need to do is > > monitor > > > > the > > > > size of a directory on a remote windows server for example, d:\data > > > > > > > > i am using nsclient at the moment but can't monitor directory size > > (only > > > > disk space). Is there a way to monitor a directories size via > > snmp???? > > > > > > > > > > > > >From: Hendrik Baecker > > > > >To: nagios-users at lists.sourceforge.net > > > > >Subject: Re: [Nagios-users] monitor directory size? > > > > >Date: Mon, 13 Feb 2006 12:44:00 +0100 > > > > > > > > > >Google for: "check_snmp_storage.pl" > > > > > > > > > > > > > > >HP Geeza schrieb: > > > > > > > > > >>Hi All, > > > > >> > > > > >>I was wondering whether it is possible to monitor the size of a > > > > directory > > > > >>(eg find out how big it is in in MB or GBs) and then send an alert > > >when > > > > >>the size goes over a certain threshold? > > > > >> > > > > >>Any help would be great! > > > > >> > > > > >>_________________________________________________________________ > > > > >>The new MSN Search Toolbar now includes Desktop search! > > > > >>http://toolbar.msn.co.uk/ > > > > >> > > > > >> > > > > >> > > > > >>------------------------------------------------------- > > > > >>This SF.net email is sponsored by: Splunk Inc. Do you grep through > > log > > > > >>files > > > > >>for problems? Stop! Download the new AJAX search engine that >makes > > > > >>searching your log files as easy as surfing the web. DOWNLOAD > > >SPLUNK! > > > > > > > >> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > > > > >>_______________________________________________ > > > > >>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 > > > > >> > > > > >> > > > > > > > > > > > > > > > > > > > >------------------------------------------------------- > > > > >This SF.net email is sponsored by: Splunk Inc. Do you grep through > > log > > > > >files > > > > >for problems? Stop! Download the new AJAX search engine that >makes > > > > >searching your log files as easy as surfing the web. DOWNLOAD > > SPLUNK! > > > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > > > > >_______________________________________________ > > > > >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 > > > > > > > > _________________________________________________________________ > > > > Are you using the latest version of MSN Messenger? Download MSN > > >Messenger > > > > 7.5 today! http://messenger.msn.co.uk > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: Splunk Inc. Do you grep through >log > > > > files > > > > for problems? Stop! Download the new AJAX search engine that makes > > > > searching your log files as easy as surfing the web. DOWNLOAD > > SPLUNK! > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > > > > _______________________________________________ > > > > 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 > > > > > > > > _________________________________________________________________ > > The new MSN Search Toolbar now includes Desktop search! > > http://toolbar.msn.co.uk/ > > > > _________________________________________________________________ Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From assaf at m-wise.com Wed Feb 15 14:57:29 2006 From: assaf at m-wise.com (Assaf Flatto) Date: Wed, 15 Feb 2006 15:57:29 +0200 Subject: number of notifications? In-Reply-To: <308D3417BAD2104895AE72D879B815B6018EF0D7@stsstomail01.softronic.se> References: <308D3417BAD2104895AE72D879B815B6018EF0D7@stsstomail01.softronic.se> Message-ID: <43F33349.80104@m-wise.com> The configuration you need to look in is in the escalations.cfg file define serviceescalation{ host_name foo.bar service_description check_http * first_notification 1 ** last_notification 60 notification_interval 10 contact_groups Myself escalation_period 24x7 escalation_options w,u,c,r } * tells the system when to start sending you notifications - this one says - send after the first test cycle . ** this tell the system to keep sending notifications until it reaches this number of notifications/test cycles on that host/service Assaf lennart.kvam at softronic.se wrote: > Hi all > > Where do i set the number of email-notifications when a service is > critical? I keep getting one email every second minute!? > > Heres some of my config! > > minimal.cfg > > define host{ > name generic-host ; The name of > this host template > notifications_enabled 1 ; Host notifications are > enabled > event_handler_enabled 1 ; Host event handler is > enabled > flap_detection_enabled 1 ; Flap detection is enabled > failure_prediction_enabled 1 ; Failure prediction is > enabled > process_perf_data 1 ; Process performance data > retain_status_information 1 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! > } > > > define service{ > name generic-service ; The 'name' of this > service template > active_checks_enabled 1 ; Active service checks > are enabled > passive_checks_enabled 1 ; Passive service checks > are enabled/accepted > parallelize_check 1 ; Active service checks > should be parallelized (disabling this can lead to major performance > problems) > obsess_over_service 1 ; We should obsess over > this service (if necessary) > check_freshness 1 ; Default is to NOT > check service 'freshness' > notifications_enabled 1 ; Service notifications > are enabled > event_handler_enabled 1 ; Service event handler > is enabled > flap_detection_enabled 1 ; Flap detection is enabled > failure_prediction_enabled 1 ; Failure prediction is > enabled > process_perf_data 1 ; Process performance data > retain_status_information 1 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > } > > define host{ > use generic-host ; Name of host > template to use > host_name arnwin0136 > alias arnwin0136 > address 192.168.103.10 > check_command check-host-alive > max_check_attempts 10 > notification_interval 960 > notification_period 24x7 > notification_options d,u,r, > notifications_enabled 1 > contact_groups admins > } > > > define service { > use generic-service ; check_disk_smb > host_name arnwin0136 > service_description C-Disk > is_volatile 1 > max_check_attempts 5 > normal_check_interval 2 > retry_check_interval 1 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period 24x7 > parallelize_check 1 > obsess_over_service 1 > check_freshness 1 > freshness_threshold 420 > event_handler_enabled 1 > low_flap_threshold 0 > high_flap_threshold 0 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 0 > contact_groups admins,jour > notification_interval 960 > notification_period 24x7 > notification_options w,u,c,r > notifications_enabled 1 > register 1 > check_command check_disk_smb!nagios!$USER10$!$USER11$ > } > > Thanks > > Lennart > > ************************************ > *Lennart Kvam* > Softronic AB, Ringv?gen 100, 118 60 Stockholm > Tel: 0708-813279 Vx:08-51909000 > lennart.kvam at softronic.se > ************************************ > -- Assaf Flatto m-Wise Operations Cellular: +972-54-5679230 e-mail: assaf at m-wise.com MSN : firedrake_3 at hotmail.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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 From basile.mathieu at siris.sorbonne.fr Wed Feb 15 15:29:22 2006 From: basile.mathieu at siris.sorbonne.fr (basile au siris) Date: Wed, 15 Feb 2006 15:29:22 +0100 Subject: problem with nsca In-Reply-To: References: Message-ID: <43F33AC2.8070309@siris.sorbonne.fr> Marc Powell wrote: > > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of basile au siris >>Sent: Tuesday, February 14, 2006 8:29 AM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] problem with nsca >> >>i install nagios and nsca on Fedora core 4 >>after a short time i have many process nsca and it seems it never >> >> >decrease > > >>idea ? >> >> > >Make sure you have proper permissions on the external command file (per >the documentation on External Commands) > Yes >. Make sure that Nagios is set to >check for external commands frequently enough (command_check_interval). > > every 15 s >Try turning on NSCA debug and watch your messages log file for >interesting output. > just have nsca logs from checks and nsca : handling connection > If you have SELinux enabled, make sure that it's not >interfering with NSCA's ability to write to the external command file; >look for 'avc denied' messages related to the command file in >/var/log/messages. > > selinux is disable and in one hour i have 600 nsca process what can i do thanks basile >-- >Marc > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://sel.as-us.falkag.net/sel?cmd_______________________________________________ >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 > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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 From getbacktome3 at hotmail.com Wed Feb 15 15:41:55 2006 From: getbacktome3 at hotmail.com (HP Geeza) Date: Wed, 15 Feb 2006 14:41:55 +0000 Subject: monitor directory size? In-Reply-To: <619cf3c0602150454wdaa4daer@mail.gmail.com> References: <619cf3c0602150454wdaa4daer@mail.gmail.com> Message-ID: Hi, thanks for your relpy! - i have read the documentation but im affraid im still having trouble with a particular check. I have compiled and installed the check_nrpe plugin on my nagios box...i then edited the following config files: ive got a host setup.... checkcommands.cfg define command{ command_name check_directory_size command_line check_nrpe -H $HOSTADDRESS$ -c CheckFileSize } services.cfg define service{ use generic-service ; Name of service template to use host_name testServer service_description Directory Size check_command check_directory_size } NOW i have read the CheckDisk documentation for the nsclient++. However i dont quiet understand how i setup the check in the NSC.ini file. There is an example in the CheckDisk documentation section which has the following (this is what i almost need). EXAMPLE 1:- Check the size of the windows directory and