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 make sure it stays below 1 gigabyte: CheckFileSize ShowAll MaxWarn=1024M MaxCrit=4096M File:WIN=c:\WINDOWS\*.* WARNING: WIN: 2G (2325339822B)|WIN=2325339822;1073741824;4294967296 define command { command_name CheckFileSize command_line check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckFileSize -a ShowAll MaxWarn=$ARG1$ MaxCrit=$ARG2$ File:$ARG4$=$ARG5$ } check_command CheckFileSize!1024M!4096M!WIN!c:\WINDOWS\*.* I am abit puzzled on what i need to enter in the NSC.ini file. I have a directory on the 'd' drive called ghost....i would like to monitor the size of this directory and raise an alert when it reaches say 200GB. Could you please help me edit the NSC.ini file and perform this check??? your help will be much appreciated!!!! >From: Toto Capuccino >To: HP Geeza >CC: nagios-users at lists.sourceforge.net, b00mer at gmx.net >Subject: Re: [Nagios-users] monitor directory size? >Date: Wed, 15 Feb 2006 13:54:21 +0100 > >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. _________________________________________________________________ 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 marc at ena.com Wed Feb 15 16:06:55 2006 From: marc at ena.com (Marc Powell) Date: Wed, 15 Feb 2006 09:06:55 -0600 Subject: install of nagios Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of john matijevic > Sent: Wednesday, February 15, 2006 7:17 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] install of nagios > > 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. Examine the install targets that are displayed after compile finishes and use the one you're lacking. A totally arbitrary guess would be 'make install-config'. As others have indicated, you need to provide specific information about your problem if you expect specific answers. -- 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 15 16:10:06 2006 From: marc at ena.com (Marc Powell) Date: Wed, 15 Feb 2006 09:10:06 -0600 Subject: Nagios 2.X Stable - CHMOD problem Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jorg.Schulz at systeam.se > Sent: Wednesday, February 15, 2006 7:43 AM > To: nagios-users at lists.sourceforge.net > 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 You shouldn't have to do this if you've followed the documentation on 'how to setup proper permissions'. http://www.nagios.org/faqs/viewfaq.php?faq_id=58 which points to http://nagios.sourceforge.net/docs/2_0/commandfile.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 mkoponick at redhawk.info Wed Feb 15 17:10:28 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Wed, 15 Feb 2006 08:10:28 -0800 Subject: Nagios Hang? Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109BFF@raptor.redhawk.info> I'm running Nagios 2.0 (Stable) on Redhat 9.0, in a distributed environment. I'm utilizing NSCA for checks and all appears to be working properly. I'm running into several issues that seemed to have "started all of a sudden". 1) On my distributed server, I don't see syslog messages any longer, with the exception of "INITIAL SERVICE STATE" messages. Syslog is working, and in the nagios.cfg file, "nagios.cfg:use_syslog=1" I used to see all the check messages, etc. Nothing in the configuration has changed to the best of my knowledge. 2) Nagios appears to "hang" on the remote sensor. Once I receive notifications that network devices are down, I never see a recovery of the network devices, even though they are recovered. The work around is to restart nagios with "service nagios restart". Sometimes, this takes multiple tries. 3) When I have a massive network outage, I receive the appropriate alerts but I receive multiple "PROBLEM" notifications. I'm only using service checks (I'm only using check_ping currently) and the notification_interval set to "0", which according to the documentation should limit the amount of messages I'm receiving to "1", unless I'm using the service escalations, which I am not at this time. I am not receiving multiple notifications for "OK" messages, which is what I would expect. Sorry about the novel but these have frustrated me into drinking lots of beer. Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From mkoponick at redhawk.info Wed Feb 15 17:13:30 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Wed, 15 Feb 2006 08:13:30 -0800 Subject: Nagios Hang? Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109C00@raptor.redhawk.info> I thought of something else, something that HAS changed. I'm now using NSCA across a firewall. Could this be the problem for #2? 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: Wednesday, February 15, 2006 8:10 AM To: Nagios Users Subject: [Nagios-users] Nagios Hang? I'm running Nagios 2.0 (Stable) on Redhat 9.0, in a distributed environment. I'm utilizing NSCA for checks and all appears to be working properly. I'm running into several issues that seemed to have "started all of a sudden". 1) On my distributed server, I don't see syslog messages any longer, with the exception of "INITIAL SERVICE STATE" messages. Syslog is working, and in the nagios.cfg file, "nagios.cfg:use_syslog=1" I used to see all the check messages, etc. Nothing in the configuration has changed to the best of my knowledge. 2) Nagios appears to "hang" on the remote sensor. Once I receive notifications that network devices are down, I never see a recovery of the network devices, even though they are recovered. The work around is to restart nagios with "service nagios restart". Sometimes, this takes multiple tries. 3) When I have a massive network outage, I receive the appropriate alerts but I receive multiple "PROBLEM" notifications. I'm only using service checks (I'm only using check_ping currently) and the notification_interval set to "0", which according to the documentation should limit the amount of messages I'm receiving to "1", unless I'm using the service escalations, which I am not at this time. I am not receiving multiple notifications for "OK" messages, which is what I would expect. Sorry about the novel but these have frustrated me into drinking lots of beer. Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Feb 15 17:20:50 2006 From: marc at ena.com (Marc Powell) Date: Wed, 15 Feb 2006 10:20:50 -0600 Subject: Nagios Hang? 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 15, 2006 10:10 AM > To: Nagios Users > Subject: [Nagios-users] Nagios Hang? > > > > I'm running Nagios 2.0 (Stable) on Redhat 9.0, in a distributed > environment. I'm utilizing NSCA for checks and all appears to be working > properly. > > > > I'm running into several issues that seemed to have "started all of a > sudden". > > > > 1) On my distributed server, I don't see syslog messages any longer, > with the exception of "INITIAL SERVICE STATE" messages. Syslog is working, > and in the nagios.cfg file, "nagios.cfg:use_syslog=1" I used to see all > the check messages, etc. Nothing in the configuration has changed to the > best of my knowledge. > Make sure you haven't run out of disk space. Verify your log_ settings in nagios.cfg. > > 2) Nagios appears to "hang" on the remote sensor. Once I receive > notifications that network devices are down, I never see a recovery of the > network devices, even though they are recovered. The work around is to > restart nagios with "service nagios restart". Sometimes, this takes > multiple tries. Could be related to multiple nagios processes as below. One daemon sees the down and another sees the up. What have you verified so far? I'd check disk space, use strace to see what the daemon is doing, turn up logging as much as possible for both nagios and nsca and watch the logs. > 3) When I have a massive network outage, I receive the appropriate > alerts but I receive multiple "PROBLEM" notifications. I'm only using > service checks (I'm only using check_ping currently) and the > notification_interval set to "0", which according to the documentation > should limit the amount of messages I'm receiving to "1", unless I'm using > the service escalations, which I am not at this time. I am not receiving > multiple notifications for "OK" messages, which is what I would expect. Without seeing any example host and service config information this sounds very much like you might have multiple nagios daemons running at the same time. Stop nagios, make sure they're _all_ stopped and restart nagios. -- 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 m.borsani at it.net Wed Feb 15 17:24:25 2006 From: m.borsani at it.net (Marco Borsani) Date: Wed, 15 Feb 2006 17:24:25 +0100 Subject: I: NSClient++ configuration problems Message-ID: <00f401c6324c$49baccc0$0900d40a@intranet.it.net> Hi folks ! I am testing NSClient++ on my XP. Nagios servers are 1.1 and 2.0, with 1.3.1 plugins. I try to perform a simple: ./check_nt -H 10.x.x.x -v CLIENTVERSION but I receive a : Socket timeout after 10 seconds I attach NSC.ini file. 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) -------------- next part -------------- A non-text attachment was scrubbed... Name: NSC.ini Type: application/octet-stream Size: 4249 bytes Desc: not available URL: From mkoponick at redhawk.info Wed Feb 15 17:32:35 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Wed, 15 Feb 2006 08:32:35 -0800 Subject: Nagios Hang? Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109C01@raptor.redhawk.info> Marc, I doubled check the disk space last night thinking that might be the issue, but I have plenty of space: Filesystem Size Used Avail Use% Mounted on /dev/hda3 109G 70G 33G 68% / /dev/hda1 99M 28M 66M 30% /boot As for the processes, I also thought of that scenario. All were killed prior to restarting. I'm going to build a version of nagios with debugging turned on this morning and run it. Thanks! Mike Here are a couple of samples of my hosts/services from the sensor: ######################################################################## #### define host { host_name Switch-35 alias Switch-35 address 10.xx.xx.xx hostgroups Company_Switches max_check_attempts 10 check_interval 1 active_checks_enabled 0 passive_checks_enabled 1 check_period 24x7 obsess_over_host 1 check_freshness 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 1 contact_groups Support notification_interval 2 notification_period 24x7 notification_options d,u,r notifications_enabled 0 register 1 } ######################################################################## #### ######################################################################## #### define service { hostgroup_name Company_Switches service_description check_ping is_volatile 1 check_command check_ping!150.0,20%!200.0,60% max_check_attempts 2 normal_check_interval 1 retry_check_interval 1 passive_checks_enabled 0 active_checks_enabled 1 check_period 24x7 parallelize_check 0 obsess_over_service 1 check_freshness 0 event_handler_enabled 0 flap_detection_enabled 1 process_perf_data 1 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 } ######################################################################## #### Hosts/Services from the Central Server: ######################################################################## #### define host { host_name Switch-35 alias Switch-35 address 10.xx.xx.xx hostgroups Company_Switches max_check_attempts 1 check_interval 1 active_checks_enabled 0 passive_checks_enabled 1 check_period 24x7 obsess_over_host 1 check_freshness 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 1 contact_groups Support notification_interval 1 notification_period 24x7 notification_options d,u,r notifications_enabled 1 register 1 } ######################################################################## #### ######################################################################## #### define service { hostgroup_name Company_Switches service_description check_ping is_volatile 1 check_command check_stale 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 2 freshness_threshold 660 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 } ######################################################################## #### -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Wednesday, February 15, 2006 8:21 AM To: Nagios Users Subject: RE: [Nagios-users] Nagios Hang? > -----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 15, 2006 10:10 AM > To: Nagios Users > Subject: [Nagios-users] Nagios Hang? > > > > I'm running Nagios 2.0 (Stable) on Redhat 9.0, in a distributed > environment. I'm utilizing NSCA for checks and all appears to be working > properly. > > > > I'm running into several issues that seemed to have "started all of a > sudden". > > > > 1) On my distributed server, I don't see syslog messages any longer, > with the exception of "INITIAL SERVICE STATE" messages. Syslog is working, > and in the nagios.cfg file, "nagios.cfg:use_syslog=1" I used to see all > the check messages, etc. Nothing in the configuration has changed to the > best of my knowledge. > Make sure you haven't run out of disk space. Verify your log_ settings in nagios.cfg. > > 2) Nagios appears to "hang" on the remote sensor. Once I receive > notifications that network devices are down, I never see a recovery of the > network devices, even though they are recovered. The work around is to > restart nagios with "service nagios restart". Sometimes, this takes > multiple tries. Could be related to multiple nagios processes as below. One daemon sees the down and another sees the up. What have you verified so far? I'd check disk space, use strace to see what the daemon is doing, turn up logging as much as possible for both nagios and nsca and watch the logs. > 3) When I have a massive network outage, I receive the appropriate > alerts but I receive multiple "PROBLEM" notifications. I'm only using > service checks (I'm only using check_ping currently) and the > notification_interval set to "0", which according to the documentation > should limit the amount of messages I'm receiving to "1", unless I'm using > the service escalations, which I am not at this time. I am not receiving > multiple notifications for "OK" messages, which is what I would expect. Without seeing any example host and service config information this sounds very much like you might have multiple nagios daemons running at the same time. Stop nagios, make sure they're _all_ stopped and restart nagios. -- 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 marc at ena.com Wed Feb 15 17:50:31 2006 From: marc at ena.com (Marc Powell) Date: Wed, 15 Feb 2006 10:50:31 -0600 Subject: Nagios Hang? Message-ID: > -----Original Message----- > From: Mike Koponick [mailto:mkoponick at redhawk.info] > Sent: Wednesday, February 15, 2006 10:33 AM > To: Marc Powell; Nagios Users > Subject: RE: [Nagios-users] Nagios Hang? > [chop] > Here are a couple of samples of my hosts/services from the sensor: > [chop] > define service { > hostgroup_name Company_Switches > service_description check_ping > is_volatile 1 > check_command check_ping!150.0,20%!200.0,60% [chop] > > ######################################################################## > #### > > > Hosts/Services from the Central Server: [chop] > > define service { > hostgroup_name Company_Switches > service_description check_ping > is_volatile 1 > check_command check_stale [chop] You normally do not want to use 'is_volatile' for passive service checks. They should only be used for services that automatically reset themselves to an OK state after being checked and you wish to be notified _every_ time they're checked and not OK. This would account for your multiple notifications. http://nagios.sourceforge.net/docs/2_0/volatileservices.html Volatile services differ from "normal" services in three important ways. Each time they are checked when they are in a hard non-OK state, and the check returns a non-OK state (i.e. no state change has occurred)... * the non-OK service state is logged * contacts are notified about the problem (if that's what should be done) * the event handler for the service is run (if one has been defined) These events normally only occur for services when they are in a non-OK state and a hard state change has just occurred. In other words, they only happen the first time that a service goes into a non-OK state. If future checks of the service result in the same non-OK state, no hard state change occurs and none of the events mentioned take place again. -- 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 ahh at inbodan.dk Wed Feb 15 17:35:17 2006 From: ahh at inbodan.dk (Allan Holdt Hansen INBODAN) Date: Wed, 15 Feb 2006 17:35:17 +0100 Subject: SV: I: NSClient++ configuration problems Message-ID: Windows firewall ?!? /Allan -----Oprindelig meddelelse----- Fra: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] P? vegne af Marco Borsani Sendt: 15. februar 2006 17:24 Til: NAGIOS Emne: [Nagios-users] I: NSClient++ configuration problems Prioritet: H?j Hi folks ! I am testing NSClient++ on my XP. Nagios servers are 1.1 and 2.0, with 1.3.1 plugins. I try to perform a simple: ./check_nt -H 10.x.x.x -v CLIENTVERSION but I receive a : Socket timeout after 10 seconds I attach NSC.ini file. 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&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 18:03:09 2006 From: getbacktome3 at hotmail.com (HP Geeza) Date: Wed, 15 Feb 2006 17:03:09 +0000 Subject: monitor directory size? In-Reply-To: <619cf3c0602150454wdaa4daer@mail.gmail.com> References: <619cf3c0602150454wdaa4daer@mail.gmail.com> Message-ID: HI Toto, I've even tried what you suggested.....but when i run: ./check_nrpe -H -c check_cmd i get a connection refused :-( i'm even running the nsclient++ on the remote windows server as a local admin! here's a sample of the important bits out of my NSC.ini file: FileLogger.dll ;CheckSystem.dll CheckDisk.dll NSClientListener.dll NRPEListener.dll ;SysTray.dll ;CheckEventLog.dll ;CheckHelpers.dll ;# ALLOWED HOST ADDRESSES allowed_hosts= [NSClient] ;# NSCLIENT PORT NUMBER ; This is the port the NSClientListener.dll will listen to. port=12489 [NRPE] ;# NRPE PORT NUMBER ; This is the port the NRPEListener.dll will listen to. port=5666 [NRPE Handlers] command[check_cmd]=D:\hello.cmd any suggestions on what im doing wrong??? >From: Toto Capuccino >To: HP Geeza >CC: nagios-users at lists.sourceforge.net, b00mer at gmx.net >Subject: Re: [Nagios-users] monitor directory size? >Date: Wed, 15 Feb 2006 13:54:21 +0100 > >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. _________________________________________________________________ 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 shoktai at gmail.com Wed Feb 15 18:28:25 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Wed, 15 Feb 2006 18:28:25 +0100 Subject: monitor directory size? In-Reply-To: References: <619cf3c0602150454wdaa4daer@mail.gmail.com> Message-ID: <619cf3c0602150928g1ddbe018y@mail.gmail.com> Not sure, did you check firewall from both side. Is nsclient installed as a service, take a look also at windows logs to see errors. 2006/2/15, HP Geeza : > > HI Toto, > > I've even tried what you suggested.....but when i run: ./check_nrpe -H > -c check_cmd > > i get a connection refused :-( > > i'm even running the nsclient++ on the remote windows server as a local > admin! > > here's a sample of the important bits out of my NSC.ini file: > > FileLogger.dll > ;CheckSystem.dll > CheckDisk.dll > NSClientListener.dll > NRPEListener.dll > ;SysTray.dll > ;CheckEventLog.dll > ;CheckHelpers.dll > > ;# ALLOWED HOST ADDRESSES > allowed_hosts= > > [NSClient] > ;# NSCLIENT PORT NUMBER > ; This is the port the NSClientListener.dll will listen to. > port=12489 > > [NRPE] > ;# NRPE PORT NUMBER > ; This is the port the NRPEListener.dll will listen to. > port=5666 > > [NRPE Handlers] > command[check_cmd]=D:\hello.cmd > > > any suggestions on what im doing wrong??? > > > >From: Toto Capuccino > >To: HP Geeza > >CC: nagios-users at lists.sourceforge.net, b00mer at gmx.net > >Subject: Re: [Nagios-users] monitor directory size? > >Date: Wed, 15 Feb 2006 13:54:21 +0100 > > > >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. > > _________________________________________________________________ > 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 > -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mkoponick at redhawk.info Wed Feb 15 18:52:51 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Wed, 15 Feb 2006 09:52:51 -0800 Subject: Nagios Hang? Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109C02@raptor.redhawk.info> Marc, Thanks for the "is_volatile" tip. As for the NSCA, I found further information: Feb 15 08:01:26 cmi-console nagios: Warning: OCSP command '/usr/local/nagios/libexec/submit_check_result PHM.2950.110.5 'check_ping' 'OK' 'PING OK - Packet loss = 0%, RTA = 6.81 ms' ''' for service 'check_ping' on host 'PHM.2950.110.5' timed out after 5 seconds Feb 15 08:10:09 cmi-console nagios: Warning: OCSP command '/usr/local/nagios/libexec/submit_check_result 2950-135 'check_ping' 'OK' 'PING OK - Packet loss = 0%, RTA = 3.43 ms' ''' for service 'check_ping' on host '2950-135' timed out after 5 seconds Feb 15 08:12:36 cmi-console nagios: Warning: OCSP command '/usr/local/nagios/libexec/submit_check_result 2950-34 'check_ping' 'OK' 'PING OK - Packet loss = 0%, RTA = 1.50 ms' ''' for service 'check_ping' on host '2950-34' timed out after 5 seconds This has the appearance that send_nsca is getting timed out. I don't see the connection ending up on the remote side. I wonder if this some type of weird NAT issue going on between the two firewalls. Although, I do see other NSCA traffic working just fine from the same server. 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: Wednesday, February 15, 2006 8:51 AM To: Nagios Users Subject: RE: [Nagios-users] Nagios Hang? > -----Original Message----- > From: Mike Koponick [mailto:mkoponick at redhawk.info] > Sent: Wednesday, February 15, 2006 10:33 AM > To: Marc Powell; Nagios Users > Subject: RE: [Nagios-users] Nagios Hang? > [chop] > Here are a couple of samples of my hosts/services from the sensor: > [chop] > define service { > hostgroup_name Company_Switches > service_description check_ping > is_volatile 1 > check_command check_ping!150.0,20%!200.0,60% [chop] > > ######################################################################## > #### > > > Hosts/Services from the Central Server: [chop] > > define service { > hostgroup_name Company_Switches > service_description check_ping > is_volatile 1 > check_command check_stale [chop] You normally do not want to use 'is_volatile' for passive service checks. They should only be used for services that automatically reset themselves to an OK state after being checked and you wish to be notified _every_ time they're checked and not OK. This would account for your multiple notifications. http://nagios.sourceforge.net/docs/2_0/volatileservices.html Volatile services differ from "normal" services in three important ways. Each time they are checked when they are in a hard non-OK state, and the check returns a non-OK state (i.e. no state change has occurred)... * the non-OK service state is logged * contacts are notified about the problem (if that's what should be done) * the event handler for the service is run (if one has been defined) These events normally only occur for services when they are in a non-OK state and a hard state change has just occurred. In other words, they only happen the first time that a service goes into a non-OK state. If future checks of the service result in the same non-OK state, no hard state change occurs and none of the events mentioned take place again. -- 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 getbacktome3 at hotmail.com Wed Feb 15 18:54:59 2006 From: getbacktome3 at hotmail.com (HP Geeza) Date: Wed, 15 Feb 2006 17:54:59 +0000 Subject: monitor directory size? In-Reply-To: <619cf3c0602150928g1ddbe018y@mail.gmail.com> References: <619cf3c0602150928g1ddbe018y@mail.gmail.com> Message-ID: nope no firewall getting in the way :-( is there anything else i can try to fix this problem???? >From: Toto Capuccino >To: HP Geeza >CC: nagios-users at lists.sourceforge.net, b00mer at gmx.net >Subject: Re: [Nagios-users] monitor directory size? >Date: Wed, 15 Feb 2006 18:28:25 +0100 > >Not sure, did you check firewall from both side. >Is nsclient installed as a service, take a look also at windows logs to see >errors. >2006/2/15, HP Geeza : > > > > HI Toto, > > > > I've even tried what you suggested.....but when i run: ./check_nrpe -H > > -c check_cmd > > > > i get a connection refused :-( > > > > i'm even running the nsclient++ on the remote windows server as a local > > admin! > > > > here's a sample of the important bits out of my NSC.ini file: > > > > FileLogger.dll > > ;CheckSystem.dll > > CheckDisk.dll > > NSClientListener.dll > > NRPEListener.dll > > ;SysTray.dll > > ;CheckEventLog.dll > > ;CheckHelpers.dll > > > > ;# ALLOWED HOST ADDRESSES > > allowed_hosts= > > > > [NSClient] > > ;# NSCLIENT PORT NUMBER > > ; This is the port the NSClientListener.dll will listen to. > > port=12489 > > > > [NRPE] > > ;# NRPE PORT NUMBER > > ; This is the port the NRPEListener.dll will listen to. > > port=5666 > > > > [NRPE Handlers] > > command[check_cmd]=D:\hello.cmd > > > > > > any suggestions on what im doing wrong??? > > > > > > >From: Toto Capuccino > > >To: HP Geeza > > >CC: nagios-users at lists.sourceforge.net, b00mer at gmx.net > > >Subject: Re: [Nagios-users] monitor directory size? > > >Date: Wed, 15 Feb 2006 13:54:21 +0100 > > > > > >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. > > > > _________________________________________________________________ > > 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 > > > > > >-- >Le bon sens est la chose du monde la mieux partag??e. _________________________________________________________________ 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 jdehnert at caymas.com Wed Feb 15 19:53:29 2006 From: jdehnert at caymas.com (Dehnert James Sr) Date: Wed, 15 Feb 2006 10:53:29 -0800 Subject: Passive Monitoring Issue Message-ID: <81508FE0-628A-4DCB-9BD3-859A35FBDC3E@caymas.com> I recently converted both of my Nagios systems to Nagios 2.0 and changed my configuration to use distributed monitoring. My remote system send status vis ncsa to my local system, and my local system monitors the remote hosts with passive checks. All of this works fine, except for one host. This host is only monitored via the standard check-host-alive. The hosts bounces between "OK" and "CRITICAL - Plugin timed out after 10 seconds", but even when the status is listed as critical, the ping sometimes shows as OK. None of the other passive checks exhibit this behavior, and if I look at the remote Nagios system (it still is running it's web interface for now) this host always listed as up and available. Has anyone seen this kind of behavior before? Is so, what hoops do I need to jump through to resolve this? Thanks, Zeke -- mailto:jdehnert at caymas.com James "Zeke" Dehnert Phone: 707 283 5042 Fax: 707 283 5001 -= Eschew Obfuscation =- "Life is racing, everything else is just waiting" Arrested Development ==>> http://www.the-op.com -------------- next part -------------- A non-text attachment was scrubbed... Name: caymas-sig2.gif Type: image/gif Size: 11727 bytes Desc: not available URL: -------------- next part -------------- From jlin at myvest.com Wed Feb 15 19:54:23 2006 From: jlin at myvest.com (Julie S. Lin) Date: Wed, 15 Feb 2006 10:54:23 -0800 Subject: check_http problems Message-ID: <43F378DF.7090808@myvest.com> Hi i wish to enable check_http monitoring for my webmail server under nagios 1.2 but i get the following failure .. [1140027855] SERVICE ALERT: mail.myvest.com;HTTP;CRITICAL;SOFT;2;Connection refused by host [1140027915] SERVICE ALERT: mail.myvest.com;HTTP;CRITICAL;HARD;3;Connection refused by host here is my services.cfg entry define service{ use generic-service host_name ns1, mail.myvest.com service_description HTTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups admin notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_http } here is my checkcommands.cfg entry (pretty default) # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ } HOWEVER, here's the kicker, and why I'm asking for a little nudge in the right direction ..when I manually run the check it works! Any advice would be greatly appreciated. [root at nagios plugins]# ./check_http -H mail.myvest.com HTTP ok: HTTP/1.1 200 OK - 0.003 second response time |time= 0.003 i can do it as any user and it works. and the ns1 http check is working fine. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 20:43:56 2006 From: ladams at cloudmark.com (Lori Adams) Date: Wed, 15 Feb 2006 11:43:56 -0800 Subject: check_http problems Message-ID: <723504D812FBEF4F89F958B14D294EB2056F97@EXCH-C1.corp.cloudmark.com> Check your host config for mail.myvest.com. Also when you do check_http -H $HOSTADDRESS$ it's expecting the IP Address of the host that you gave in the host config. -Lori > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Julie S. Lin > Sent: Wednesday, February 15, 2006 10:54 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_http problems > > Hi > > i wish to enable check_http monitoring for my webmail server under > nagios 1.2 but > i get the following failure .. > [1140027855] SERVICE ALERT: > mail.myvest.com;HTTP;CRITICAL;SOFT;2;Connection refused by host > [1140027915] SERVICE ALERT: > mail.myvest.com;HTTP;CRITICAL;HARD;3;Connection refused by host > > > here is my services.cfg entry > define service{ > use generic-service > host_name ns1, mail.myvest.com > service_description HTTP > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > contact_groups admin > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_http > } > > here is my checkcommands.cfg entry (pretty default) > # 'check_http' command definition > define command{ > command_name check_http > command_line $USER1$/check_http -H $HOSTADDRESS$ > } > > > HOWEVER, here's the kicker, and why I'm asking for a little nudge in the > right direction ..when I manually run the check it works! Any advice > would be > greatly appreciated. > > [root at nagios plugins]# ./check_http -H mail.myvest.com > HTTP ok: HTTP/1.1 200 OK - 0.003 second response time |time= 0.003 > > i can do it as any user and it works. and the ns1 http check is working > fine. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 mis-netadmin at dept.fuller.edu Wed Feb 15 20:50:01 2006 From: mis-netadmin at dept.fuller.edu (Network Administrator) Date: Wed, 15 Feb 2006 11:50:01 -0800 Subject: Nagios 2.0 RPM In-Reply-To: <7400bb060602131441l39c75b10l182cfb29a52dda81@mail.gmail.com> References: <7400bb060602131314j549d9b42n96304f81991dbcb2@mail.gmail.com> <7400bb060602131441l39c75b10l182cfb29a52dda81@mail.gmail.com> Message-ID: <43F385E9.7020603@dept.fuller.edu> I noticed that 2.0 stable is out. Is it safe to do a "rpm -Uvh nagios-2.....rpm" to upgrade the v1.3 installation? If not, what would be the recommended way to upgrade the installation? Thanks. 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 marc at ena.com Wed Feb 15 20:54:02 2006 From: marc at ena.com (Marc Powell) Date: Wed, 15 Feb 2006 13:54:02 -0600 Subject: Nagios Hang? Message-ID: > -----Original Message----- > From: Mike Koponick [mailto:mkoponick at redhawk.info] > Sent: Wednesday, February 15, 2006 11:53 AM > To: Marc Powell; Nagios Users > Subject: RE: [Nagios-users] Nagios Hang? > > Marc, > > Thanks for the "is_volatile" tip. > > As for the NSCA, I found further information: > > Feb 15 08:01:26 cmi-console nagios: Warning: OCSP command > '/usr/local/nagios/libexec/submit_check_result PHM.2950.110.5 > 'check_ping' 'OK' 'PING OK - Packet loss = 0%, RTA = 6.81 ms' ''' for > service 'check_ping' on host 'PHM.2950.110.5' timed out after 5 seconds > > Feb 15 08:10:09 cmi-console nagios: Warning: OCSP command > '/usr/local/nagios/libexec/submit_check_result 2950-135 'check_ping' > 'OK' 'PING OK - Packet loss = 0%, RTA = 3.43 ms' ''' for service > 'check_ping' on host '2950-135' timed out after 5 seconds > > Feb 15 08:12:36 cmi-console nagios: Warning: OCSP command > '/usr/local/nagios/libexec/submit_check_result 2950-34 'check_ping' 'OK' > 'PING OK - Packet loss = 0%, RTA = 1.50 ms' ''' for service 'check_ping' > on host '2950-34' timed out after 5 seconds > > > This has the appearance that send_nsca is getting timed out. I don't see > the connection ending up on the remote side. Try running them by hand. Maybe they're just taking longer than 5 seconds to complete for some reason. > > I wonder if this some type of weird NAT issue going on between the two > firewalls. Although, I do see other NSCA traffic working just fine from > the same server. Only you would know or be able to tell ;) I would assume that if some work then all should work though. -- 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 boinger at tradingtechnologies.com Wed Feb 15 21:43:42 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 15 Feb 2006 14:43:42 -0600 Subject: =?ISO-8859-1?Q?=C5terkalla?= meddelande: number of notifications? In-Reply-To: <308D3417BAD2104895AE72D879B815B6018EF0D8@stsstomail01.softronic.se> References: <308D3417BAD2104895AE72D879B815B6018EF0D8@stsstomail01.softronic.se> Message-ID: <1140036222.27450.4.camel@chi100400> On Wed, 2006-02-15 at 09:46 +0100, lennart.kvam at softronic.se wrote: > Kvam Lennart skulle vilja ?terkalla meddelandet, number of > notifications?. Dies ist eine englische Mailingliste. Und wir moechten, dass es so bleibt. Vielen Dank fuer Ihr Verstaendnis. C'est une liste anglaise d'exp?dition. Et nous la pr?f?rons pour rester de cette fa?on. Merci de la compr?hension. Ci? ? una lista inglese spedire. E la preferiamo per rimanere quel senso. Grazie per capire. Esta ? uma lista cujo o idioma ingl?s ? obrigat?rio, e preferimos manter desta maneira. Grato pela vossa compreens?o. Esto es una lista inglesa el enviar. Y la preferimos para permanecer esa manera. Gracias por entender. ????????????????????????? ???????????????? ????????????? ???? ??? ?? ?? ?? ??. ??? ? ??? ?? ?? ??? ??? ??? ????. ??? ?? ?? ?? ????. ???????????????????????? ? ???? This is an English mailing list. And we prefer it to stay that way. Thank you for understanding. -------------- 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 mkoponick at redhawk.info Wed Feb 15 22:01:54 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Wed, 15 Feb 2006 13:01:54 -0800 Subject: Nagios Hang? Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109C07@raptor.redhawk.info> Marc, I would agree regarding the firewall. I have debug tracing running now to see if it's something strange. I was looking at the timeout and it was set to the default of 10 seconds. I went ahead and increased it to 15. It's been running for about 2 hours in debug mode without incident. We are rebooting a bunch of switches tomorrow morning at the same location so I want to see if I run into the same scenario. Thanks for your help. Time for another cup-o-coffee. 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: Wednesday, February 15, 2006 11:54 AM To: Nagios Users Subject: RE: [Nagios-users] Nagios Hang? > -----Original Message----- > From: Mike Koponick [mailto:mkoponick at redhawk.info] > Sent: Wednesday, February 15, 2006 11:53 AM > To: Marc Powell; Nagios Users > Subject: RE: [Nagios-users] Nagios Hang? > > Marc, > > Thanks for the "is_volatile" tip. > > As for the NSCA, I found further information: > > Feb 15 08:01:26 cmi-console nagios: Warning: OCSP command > '/usr/local/nagios/libexec/submit_check_result PHM.2950.110.5 > 'check_ping' 'OK' 'PING OK - Packet loss = 0%, RTA = 6.81 ms' ''' for > service 'check_ping' on host 'PHM.2950.110.5' timed out after 5 seconds > > Feb 15 08:10:09 cmi-console nagios: Warning: OCSP command > '/usr/local/nagios/libexec/submit_check_result 2950-135 'check_ping' > 'OK' 'PING OK - Packet loss = 0%, RTA = 3.43 ms' ''' for service > 'check_ping' on host '2950-135' timed out after 5 seconds > > Feb 15 08:12:36 cmi-console nagios: Warning: OCSP command > '/usr/local/nagios/libexec/submit_check_result 2950-34 'check_ping' 'OK' > 'PING OK - Packet loss = 0%, RTA = 1.50 ms' ''' for service 'check_ping' > on host '2950-34' timed out after 5 seconds > > > This has the appearance that send_nsca is getting timed out. I don't see > the connection ending up on the remote side. Try running them by hand. Maybe they're just taking longer than 5 seconds to complete for some reason. > > I wonder if this some type of weird NAT issue going on between the two > firewalls. Although, I do see other NSCA traffic working just fine from > the same server. Only you would know or be able to tell ;) I would assume that if some work then all should work though. -- 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 barry.maclean at shaw.ca Wed Feb 15 20:19:34 2006 From: barry.maclean at shaw.ca (Barry Maclean) Date: Wed, 15 Feb 2006 14:19:34 -0500 Subject: Netapp Scripts Message-ID: <43F37EC6.9020201@shaw.ca> Does anyone have scripts which would help me monitor netapp filters? Thanks Barry ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 22:27:07 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 15 Feb 2006 16:27:07 -0500 Subject: Nagios 2.0 RPM In-Reply-To: <43F385E9.7020603@dept.fuller.edu> References: <7400bb060602131314j549d9b42n96304f81991dbcb2@mail.gmail.com> <7400bb060602131441l39c75b10l182cfb29a52dda81@mail.gmail.com> <43F385E9.7020603@dept.fuller.edu> Message-ID: <302ce8b50602151327m1fa342e4gf2b51ad6edc76385@mail.gmail.com> On 2/15/06, Network Administrator wrote: > I noticed that 2.0 stable is out. Is it safe to do a "rpm -Uvh > nagios-2.....rpm" to upgrade the v1.3 installation? If not, what would > be the recommended way to upgrade the installation? No. The config options and macros have changed. You'll want to stand up a temporary nagios server/install to migrate configs to 2.0, and then change over. -- "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 wrjacqmein at gmail.com Wed Feb 15 23:56:46 2006 From: wrjacqmein at gmail.com (Bill Jacqmein) Date: Wed, 15 Feb 2006 17:56:46 -0500 Subject: monitor directory size? In-Reply-To: References: <3c9a5bae0602140830t7a51533bkc9e283bb21b21c56@mail.gmail.com> Message-ID: <3c9a5bae0602151456s719b3172s3d619abad52845b4@mail.gmail.com> HP, Lets take the easier route. nsclient++ ( http://sourceforge.net/project/showfiles.php?group_id=131326) added checks for Filesize since this thread started. checkout http://nscplus.medin.name/index.php/CheckFileSize Hope this is helpful, Bill On 2/14/06, HP Geeza wrote: > > Hi Bill, > > Im still confused as to what i need to do/run on the nagios server....and > then how that in turn can send an alert if the value returned by the .bat > file is over say 500MB? > > I've installed nsclient++ on the remote windows server....and in NSC.iniive > got: > command[check_cmd]=D:\hello.cmd > > hello.cmd contains: > @echo off > echo hello world. > exit 1 > > now using this as an example im wondering what i need to do/run from the > nagios server inorder to check if the value returned by hello.cmd is > "hellow > world" and if so have a status of ok. > > sorry to bother you...but i i could really do with the help! > > >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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mdash at juniper.net Thu Feb 16 06:32:21 2006 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Thu, 16 Feb 2006 11:02:21 +0530 Subject: Adding hosts and services to nagios Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3A95C6EC@gaugeboson.jnpr.net> Hi All, I have just installed the nagios 2.0b5 with plugin 1.4.2. It looks like it has been configured correctly as because I am able to see some information regarding the localhost. I am very new to nagios, I am not aware of the steps to add the hosts and services. Now I just want to monitor few servers. I would appreciate if any body could help me out to get my purpose solved. Basically I want the information, how the hosts and services can be added to nagios for monitoring the required services of servers? Thank you very much in advance. Regards, Mrutyunjaya Dash -------------- next part -------------- An HTML attachment was scrubbed... URL: From VINAY_SHARMA at advanex.co.jp Thu Feb 16 06:35:58 2006 From: VINAY_SHARMA at advanex.co.jp (VINAY_SHARMA at advanex.co.jp) Date: Thu, 16 Feb 2006 14:35:58 +0900 Subject: Adding hosts and services to nagios Message-ID: hi, check sample comfiguration of minimal.conf. you can configure host and services like that.and you have to make many lines as comments. and try on varify with nagios -v command. 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 "Mrutyunjaya Dash" ??: ???: cc: nagios-users-admin at lists.sour ??: [Nagios-users] Adding hosts and services to nagios ceforge.net 2006/02/16 14:32 Hi All, I have just installed the nagios 2.0b5 with plugin 1.4.2. It looks like it has been configured correctly as because I am able to see some information regarding the localhost. I am very new to nagios, I am not aware of the steps to add the hosts and services. Now I just want to monitor few servers. I would appreciate if any body could help me out to get my purpose solved. Basically I want the information, how the hosts and services can be added to nagios for monitoring the required services of servers? Thank you very much in advance. Regards, Mrutyunjaya Dash ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mdash at juniper.net Thu Feb 16 06:42:02 2006 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Thu, 16 Feb 2006 11:12:02 +0530 Subject: Adding hosts and services to nagios Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3A95C6F1@gaugeboson.jnpr.net> Hi, Do I need to create a separate file and make entry in that file or I have to just make entry in minimal.conf file. Regards, Mrutyunjaya Dash -----Original Message----- From: VINAY_SHARMA at advanex.co.jp [mailto:VINAY_SHARMA at advanex.co.jp] Sent: Thursday, February 16, 2006 11:06 AM To: Mrutyunjaya Dash Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Subject: Re: [Nagios-users] Adding hosts and services to nagios hi, check sample comfiguration of minimal.conf. you can configure host and services like that.and you have to make many lines as comments. and try on varify with nagios -v command. 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 "Mrutyunjaya Dash" ??: ???: cc: nagios-users-admin at lists.sour ??: [Nagios-users] Adding hosts and services to nagios ceforge.net 2006/02/16 14:32 Hi All, I have just installed the nagios 2.0b5 with plugin 1.4.2. It looks like it has been configured correctly as because I am able to see some information regarding the localhost. I am very new to nagios, I am not aware of the steps to add the hosts and services. Now I just want to monitor few servers. I would appreciate if any body could help me out to get my purpose solved. Basically I want the information, how the hosts and services can be added to nagios for monitoring the required services of servers? Thank you very much in advance. Regards, Mrutyunjaya Dash From thomas.edwards at accredohealth.com Thu Feb 16 06:43:15 2006 From: thomas.edwards at accredohealth.com (thomas.edwards at accredohealth.com) Date: Wed, 15 Feb 2006 23:43:15 -0600 Subject: Important Message from the Accredo Health Email Gateway Message-ID: <6FEACF7925W11611-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: "Mrutyunjaya Dash" To: Subject: RE: [Nagios-users] Adding hosts and services to nagios Date: 02/15/06, 23:43:15 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: 6FEACF6122W3486253-01 ----------------------------------------------------------- From VINAY_SHARMA at advanex.co.jp Thu Feb 16 06:50:49 2006 From: VINAY_SHARMA at advanex.co.jp (VINAY_SHARMA at advanex.co.jp) Date: Thu, 16 Feb 2006 14:50:49 +0900 Subject: Adding hosts and services to nagios Message-ID: you can use same file or just comment sample lines and create new lines as per your requirment.like host/services. 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 "Mrutyunjaya Dash" ??: t> ??: RE: [Nagios-users] Adding hosts and services to nagios 2006/02/16 14:42 Hi, Do I need to create a separate file and make entry in that file or I have to just make entry in minimal.conf file. Regards, Mrutyunjaya Dash -----Original Message----- From: VINAY_SHARMA at advanex.co.jp [mailto:VINAY_SHARMA at advanex.co.jp] Sent: Thursday, February 16, 2006 11:06 AM To: Mrutyunjaya Dash Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Subject: Re: [Nagios-users] Adding hosts and services to nagios hi, check sample comfiguration of minimal.conf. you can configure host and services like that.and you have to make many lines as comments. and try on varify with nagios -v command. 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 "Mrutyunjaya Dash" ??: ???: cc: nagios-users-admin at lists.sour ??: [Nagios-users] Adding hosts and services to nagios ceforge.net 2006/02/16 14:32 Hi All, I have just installed the nagios 2.0b5 with plugin 1.4.2. It looks like it has been configured correctly as because I am able to see some information regarding the localhost. I am very new to nagios, I am not aware of the steps to add the hosts and services. Now I just want to monitor few servers. I would appreciate if any body could help me out to get my purpose solved. Basically I want the information, how the hosts and services can be added to nagios for monitoring the required services of servers? Thank you very much in advance. Regards, Mrutyunjaya Dash ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Feb 16 09:36:28 2006 From: m.borsani at it.net (Marco Borsani) Date: Thu, 16 Feb 2006 09:36:28 +0100 Subject: R: I: NSClient++ configuration problems In-Reply-To: References: Message-ID: <003a01c632d4$14b32c60$0900d40a@intranet.it.net> Yes , there is a firewall but the ports 1248 e 5666 are open . Actually I am monitoring other windows system with old NSClient agent. Marco -}-----Messaggio originale----- -}Da: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto -}di Allan Holdt Hansen INBODAN -}Inviato: mercoled? 15 febbraio 2006 17.35 -}A: NAGIOS -}Oggetto: SV: [Nagios-users] I: NSClient++ configuration problems -} -} -}Windows firewall ?!? -} -}/Allan -} -}-----Oprindelig meddelelse----- -}Fra: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net] P? vegne af -}Marco Borsani -}Sendt: 15. februar 2006 17:24 -}Til: NAGIOS -}Emne: [Nagios-users] I: NSClient++ configuration problems -}Prioritet: H?j -} -} -}Hi folks ! -} -}I am testing NSClient++ on my XP. -}Nagios servers are 1.1 and 2.0, with 1.3.1 plugins. -} -}I try to perform a simple: -}./check_nt -H 10.x.x.x -v CLIENTVERSION -}but I receive a : -}Socket timeout after 10 seconds -} -}I attach NSC.ini file. -}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=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 eohimor at ipnxnigeria.net Thu Feb 16 09:38:19 2006 From: eohimor at ipnxnigeria.net (Efe Ohimor) Date: Thu, 16 Feb 2006 09:38:19 +0100 Subject: Graph links on Nagios 2.0 web interface In-Reply-To: <20060215212204.673F08992C@sc8-sf-spam1.sourceforge.net> References: <20060215212204.673F08992C@sc8-sf-spam1.sourceforge.net> Message-ID: Hello All, I am currently running Nagios version 2.0 with the plugin version 1.4. I try to create a link on my nagios web interface. I have tried it before on version 1.2 and the links were created but I guess version 2.0 has a different code. Or has anyone done it on version 2.0 before. Because I have been to the Apan site and most people there have used it for version 1.2 and someone too complained about not being able to use it with version 2.0. Please help. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 10:28:35 2006 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Thu, 16 Feb 2006 10:28:35 +0100 Subject: monitor temperature - snmp Message-ID: <1140082115.7544.27.camel@localhost.localdomain> Hi, sorry for maybe OT, but I'm fighting with snmp /Mibs. I have to monitor the temperature of our UPS via a snmp card (NetManPlus - http://www.ups-technet.com/netmanplus.htm ). An snmpget show me an integer '0' (OID is from www.mibdepot.com/ which is the same as the one from the Mibs from CD) [...] snmpget -v1 -c .1.3.6.1.2.1.33.1.2.7.0 SNMPv2-SMI::mib-2.33.1.2.7.0 = INTEGER: 0 [...] The Webinterface shows me the right temperature (?C) [...] http://our.ups.com/NominalData.htm? TEMPERATURE 23 ?C [...] Monitor the BatteryCapacity or/and the In-OutputVoltage, ... works fine. With our old snmp Card (Netman 101-102 - http://www.ups-technet.com/NetMan.htm ) everything works fine (Temperature/Voltage/SecondsOnBattery) Does anyone as the same snmp control card and could make it work, or is there the right OID available ? 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&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 m.borsani at it.net Thu Feb 16 11:11:03 2006 From: m.borsani at it.net (Marco Borsani) Date: Thu, 16 Feb 2006 11:11:03 +0100 Subject: R: R: I: NSClient++ configuration problems In-Reply-To: <43F44998.6080702@medin.name> References: <43F44998.6080702@medin.name> Message-ID: <001201c632e1$4d7c4ce0$0900d40a@intranet.it.net> I set 1248 (NSClient) and 5666 (NRPE) ports on NCS.INI file. I see both ports open (but associated to local IP 0.0.0.0), NSClient++ is running, but neither a check_nt, a check_nrpe or a check_tcp run correctly. Marco ------------------------------- -}-----Messaggio originale----- -}Da: Michael Medin [mailto:michael at medin.name] -}Inviato: gioved? 16 febbraio 2006 10.45 -}A: Marco Borsani -}Oggetto: Re: R: [Nagios-users] I: NSClient++ configuration problems -} -}Marco Borsani wrote: -}> Yes , there is a firewall but the ports 1248 e 5666 are open . -}> -}Hi, -} -}NSClient++ uses a different port (default, so you can change it if you -}want) for NSClient connectivity (as the 1248 port is used by -}exchange and has caused problems before). -}Dont know if this is applicable though. Check the port you -}are using in the .INI file and use the "port" option for check_nt. -} -} -}// MIckeM -}> Actually I am monitoring other windows system with old -}NSClient agent. -}> -}> Marco -}> -}> -}-----Messaggio originale----- -}> -}Da: nagios-users-admin at lists.sourceforge.net -}> -}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto -}di -}> Allan Holdt Hansen INBODAN -}> -}Inviato: mercoled? 15 febbraio 2006 17.35 -}> -}A: NAGIOS -}> -}Oggetto: SV: [Nagios-users] I: NSClient++ configuration -}problems -} -}> -} -}Windows firewall ?!? -}> -} -}> -}/Allan -}> -} -}> -}-----Oprindelig meddelelse----- -}> -}Fra: nagios-users-admin at lists.sourceforge.net -}> -}[mailto:nagios-users-admin at lists.sourceforge.net] P? vegne af -}> -}Marco Borsani -}> -}Sendt: 15. februar 2006 17:24 -}> -}Til: NAGIOS -}> -}Emne: [Nagios-users] I: NSClient++ configuration problems -}> -}Prioritet: H?j -}> -} -}> -} -}> -}Hi folks ! -}> -} -}> -}I am testing NSClient++ on my XP. -}> -}Nagios servers are 1.1 and 2.0, with 1.3.1 plugins. -}> -} -}> -}I try to perform a simple: -}> -}./check_nt -H 10.x.x.x -v CLIENTVERSION -}but I receive a : -}> -}Socket timeout after 10 seconds -}> -} -}> -}I attach NSC.ini file. -}> -}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=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=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 radhiilu at yahoo.com Thu Feb 16 11:28:08 2006 From: radhiilu at yahoo.com (Radhika) Date: Thu, 16 Feb 2006 02:28:08 -0800 (PST) Subject: network traffic monitoring plugin or bandwidth pluin for nagios Message-ID: <20060216102808.8079.qmail@web60715.mail.yahoo.com> Hi Guys, Presently we have different broadband users customers with different speeds like 512k,2m,5m,10m lines.I want to know is there any plugin for nagios to send the alerts when it reaches the bandwidth capacity 70% or 80 %.This plun in should have the option of choosing speed limits so that i can monitor different clients. Can some one help me on this. Thanks for your time --------------------------------- Yahoo! Mail Use Photomail to share photos without annoying attachments. -------------- next part -------------- An HTML attachment was scrubbed... URL: From al at its-lehmann.de Thu Feb 16 12:47:14 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Thu, 16 Feb 2006 12:47:14 +0100 Subject: network traffic monitoring plugin or bandwidth pluin for nagios In-Reply-To: <20060216102808.8079.qmail@web60715.mail.yahoo.com> References: <20060216102808.8079.qmail@web60715.mail.yahoo.com> Message-ID: <43F46642.7010205@its-lehmann.de> Hello, On 2/16/2006 11:28 AM, Radhika wrote: > Hi Guys, > > Presently we have different broadband users customers with different > speeds like 512k,2m,5m,10m lines.I want to know is there any plugin for > nagios to send the alerts when it reaches the bandwidth capacity 70% or > 80 %.This plun in should have the option of choosing speed limits so > that i can monitor different clients. > > Can some one help me on this. look for check_iftraffic.pl at nagiosexchange.org - this plugin uses snmp to measure traffic and calculates data rates locally. You can set limits, but (IMO) the plugin as distributes could need improvements which I did not finish yet: - use 10-based values, not 2-based ones for throughput calculation (this is a simple modification) - allow asymmetric spped settings, which would better suit ADSL users. - support the funny interface names windows uses. I implemented this using REs, IIRC. Perhaps I will publish my modified version some day... Arno > Thanks for your time > > Yahoo! Mail > Use Photomail > > to share photos without annoying attachments. -- 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 smalhotra at dataarmor.net Thu Feb 16 12:27:40 2006 From: smalhotra at dataarmor.net (Sumit Malhotra) Date: Thu, 16 Feb 2006 16:57:40 +0530 Subject: network traffic monitoring plugin or bandwidth pluin for nagios In-Reply-To: <20060216102808.8079.qmail@web60715.mail.yahoo.com> References: <20060216102808.8079.qmail@web60715.mail.yahoo.com> Message-ID: <1444.14841140089594.mail2.dataarmor.net@MHS> # check_mrtgtraf --help check_mrtgtraf (nagios-plugins 1.4.1) 1.24 Copyright (c) 1999 Ethan Galstad Copyright (c) 1999-2004 Nagios Plugin Development Team This plugin will check the incoming/outgoing transfer rates of a router, switch, etc recorded in an MRTG log. If the newest log entry is older than , a WARNING status is returned. If either the incoming or outgoing rates exceed the or thresholds (in Bytes/sec), a CRITICAL status results. If either of the rates exceed the or thresholds (in Bytes/sec), a WARNING status results. Usage: check_mrtgtraf -F -a -v -w -c [-e expire_minutes] [-t timeout] [-v] Options: -h, --help Print detailed help screen -V, --version Print version information -F, --filename=STRING File to read log from -e, --expires=INTEGER Minutes after which log expires -a, --aggregation=(AVG|MAX) Test average or maximum -w, --warning Warning threshold pair "," -c, --critical Critical threshold pair "," Notes: - MRTG stands for Multi Router Traffic Grapher. It can be downloaded from http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html - While MRTG can monitor things other than traffic rates, this plugin probably won't work with much else without modification. - The calculated i/o rates are a little off from what MRTG actually reports. I'm not sure why this is right now, but will look into it for future enhancements of this plugin. Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Radhika Sent: Thursday, February 16, 2006 3:58 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] network traffic monitoring plugin or bandwidth pluin for nagios Hi Guys, Presently we have different broadband users customers with different speeds like 512k,2m,5m,10m lines.I want to know is there any plugin for nagios to send the alerts when it reaches the bandwidth capacity 70% or 80 %.This plun in should have the option of choosing speed limits so that i can monitor different clients. Can some one help me on this. Thanks for your time _____ Yahoo! Mail Use Photomail to share photos without annoying attachments. -------------- next part -------------- An HTML attachment was scrubbed... URL: From john.matijevic at gmail.com Thu Feb 16 14:12:09 2006 From: john.matijevic at gmail.com (john matijevic) Date: Thu, 16 Feb 2006 08:12:09 -0500 Subject: install of nagios In-Reply-To: References: Message-ID: <92b811a0602160512x4593fd25ncf3bfb4fb83f458d@mail.gmail.com> Hello Team, Thanks again for all of your assistance, as it's been a while and I am not as experienced in Linux. Again the issue is after I go to run the configure command and the make all, make install and make install-config, according to the documentation I should see 5 different subdirectories, the directories I see are bin, sbin, share, and var and var/archives. The directories I am missing is VAR/RW and ETC. Thanks again for all of your help. When I did the installation I was logged in with root. Sincerely, John On 2/15/06, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of john matijevic > > Sent: Wednesday, February 15, 2006 7:17 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] install of nagios > > > > 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. > > Examine the install targets that are displayed after compile finishes > and use the one you're lacking. A totally arbitrary guess would be 'make > install-config'. As others have indicated, you need to provide specific > information about your problem if you expect specific answers. > > -- > 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?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 > -- 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 naveen_joshi at intersolutions.stpn.soft.net Thu Feb 16 14:40:59 2006 From: naveen_joshi at intersolutions.stpn.soft.net (Naveen C Joshi) Date: Thu, 16 Feb 2006 19:10:59 +0530 Subject: Nagios and NRPE daemon for monitoring Message-ID: <01d001c632fe$ad699e60$b603a8c0@naveen> Hi, I want to use Nagios to monitor public and private resources with given below network. Please provide me guidance to accomplish this task. Centralise monitoring Nagios Host = 192.xxx.xxx.xx1 (Nagios 2.x version Installed, NRPE plugin 2.5) We have a pool of remote servers with following installation and ip. client Remote server #1 = 10.xxx.xxx.xx1 (NRPE Daemon, Nagios) client Remote server #2 = 10.xxx.xxx.xx2 client Remote server #3 = 10.xxx.xxx.xx3 Here I have confusion about Remote server#2 and 3. Do we need to install NRPE daemon for these two machines also? Is there any method to monitor these 3 machine's private and public resources without any installation on remote server#2 and 3? Please provide me help to monitor these all machines. The main objective is that we do not want to install any nagios/third party tool on all the remote servers while we have installed in one of the remote server (Remote server#1), is it possible? if yes please let me know. Thanks in advance. Naveen -------------- next part -------------- An HTML attachment was scrubbed... URL: From mdash at juniper.net Thu Feb 16 14:47:43 2006 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Thu, 16 Feb 2006 19:17:43 +0530 Subject: check_command issue Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3A95C7CF@gaugeboson.jnpr.net> Hi All, We got the installation of nagios 2.0b5 with plugin 1.4.2. I have installed and configured nagios very recently. Now I have just added few servers for monitoring certain srevices. But for all the servers I am seeing the same information on the nagios screen. Below is the information of one particular server. bng-admin1 Current Load OK 02-16-2006 19:55:39 0d 0h 25m 41s 1/4 OK - load average: 0.00, 0.00, 0.00 Current Users OK 02-16-2006 19:56:54 0d 0h 22m 6s 1/4 USERS OK - 2 users currently logged in PING OK 02-16-2006 19:51:58 0d 0h 20m 51s 1/4 PING OK - Packet loss = 0%, RTA = 0.21 ms Root Partition OK 02-16-2006 19:53:13 0d 0h 19m 36s 1/4 DISK OK - free space: / 9098 MB (92%): I am getting same information for all the servers. Where as if I check physically particular service of server, the value for the service is different. I believe the check_commands are not working properly. Can somebody help me to figure out the problem? Thank you very much for all your inputs in advance. Regards, Mrutyunjaya Dash IT Engineer Juniper Networks Pvt Ltd. Bangalore -------------- next part -------------- An HTML attachment was scrubbed... URL: From mdash at juniper.net Thu Feb 16 15:30:31 2006 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Thu, 16 Feb 2006 20:00:31 +0530 Subject: check_command issue Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3A95C7E2@gaugeboson.jnpr.net> Hi All, We got the installation of nagios 2.0b5 with plugin 1.4.2. I have installed and configured nagios very recently. Now I have just added few servers for monitoring certain srevices. But for all the servers I am seeing the same information on the nagios screen. Below is the information of one particular server. bng-admin1 Current Load OK 02-16-2006 19:55:39 0d 0h 25m 41s 1/4 OK - load average: 0.00, 0.00, 0.00 Current Users OK 02-16-2006 19:56:54 0d 0h 22m 6s 1/4 USERS OK - 2 users currently logged in PING OK 02-16-2006 19:51:58 0d 0h 20m 51s 1/4 PING OK - Packet loss = 0%, RTA = 0.21 ms Root Partition OK 02-16-2006 19:53:13 0d 0h 19m 36s 1/4 DISK OK - free space: / 9098 MB (92%): I am getting same information for all the servers. Where as if I check physically particular service of server, the value for the service is different. I believe the check_commands are not working properly. Can somebody help me to figure out the problem? Thank you very much for all your inputs in advance. Regards, Mrutyunjaya Dash IT Engineer Juniper Networks Pvt Ltd. Bangalore -------------- next part -------------- An HTML attachment was scrubbed... URL: From tgenessay at aliadis.fr Thu Feb 16 15:35:26 2006 From: tgenessay at aliadis.fr (Thibault Genessay) Date: Thu, 16 Feb 2006 15:35:26 +0100 Subject: check_command issue In-Reply-To: <0DB0FFEA6887E349861A3F6B40D71C3A95C7E2@gaugeboson.jnpr.net> References: <0DB0FFEA6887E349861A3F6B40D71C3A95C7E2@gaugeboson.jnpr.net> Message-ID: <43F48DAE.5040705@aliadis.fr> Mrutyunjaya Dash wrote: > Hi All, > > > > We got the installation of nagios 2.0b5 with plugin 1.4.2. I have > installed and configured nagios very recently. Now I have just added > few servers for monitoring certain srevices. But for all the servers > I am seeing the same information on the nagios screen. Below is the > information of one particular server. > > Hi Your are misinterpreting the way your checks work. Those check_local_load, check_local_disk, check_local_xxx check are performed on the *local* machine only. Thus you are seeing the results for your Nagios server, not the host you supposed you were monitoring. You can use NRPE and NSCA to work around this issue. Have a look at the distributed monitoring stuff in the documentation. Regards -- 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 mdash at juniper.net Thu Feb 16 15:50:09 2006 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Thu, 16 Feb 2006 20:20:09 +0530 Subject: check_command issue Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3A95C7E5@gaugeboson.jnpr.net> Hi, For this NSCA and NRPE to work, do I need to do something on the server side or client (the machine which will be monitored through nagios) side? Regards, Dash -----Original Message----- From: Thibault Genessay [mailto:tgenessay at aliadis.fr] Sent: Thursday, February 16, 2006 8:05 PM To: Mrutyunjaya Dash Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_command issue Mrutyunjaya Dash wrote: > Hi All, > > > > We got the installation of nagios 2.0b5 with plugin 1.4.2. I have > installed and configured nagios very recently. Now I have just added > few servers for monitoring certain srevices. But for all the servers > I am seeing the same information on the nagios screen. Below is the > information of one particular server. > > Hi Your are misinterpreting the way your checks work. Those check_local_load, check_local_disk, check_local_xxx check are performed on the *local* machine only. Thus you are seeing the results for your Nagios server, not the host you supposed you were monitoring. You can use NRPE and NSCA to work around this issue. Have a look at the distributed monitoring stuff in the documentation. Regards -- 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&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 nagiosadmin at snef.fr Thu Feb 16 15:53:52 2006 From: nagiosadmin at snef.fr (Davy Gaussen) Date: Thu, 16 Feb 2006 15:53:52 +0100 Subject: check_command issue In-Reply-To: <0DB0FFEA6887E349861A3F6B40D71C3A95C7E5@gaugeboson.jnpr.net> References: <0DB0FFEA6887E349861A3F6B40D71C3A95C7E5@gaugeboson.jnpr.net> Message-ID: <004001c63308$cde91f80$c26710ac@sneftech.local> Hi, You have to run the nrpe daemon on each server you want to monitor. For NSCA, you have to use the send_nsca command with the nsc daemon running on you nagios host. 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 Mrutyunjaya Dash Envoy??: jeudi 16 f?vrier 2006 15:50 ??: Thibault Genessay Cc?: nagios-users at lists.sourceforge.net Objet?: RE: [Nagios-users] check_command issue Hi, For this NSCA and NRPE to work, do I need to do something on the server side or client (the machine which will be monitored through nagios) side? Regards, Dash -----Original Message----- From: Thibault Genessay [mailto:tgenessay at aliadis.fr] Sent: Thursday, February 16, 2006 8:05 PM To: Mrutyunjaya Dash Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_command issue Mrutyunjaya Dash wrote: > Hi All, > > > > We got the installation of nagios 2.0b5 with plugin 1.4.2. I have > installed and configured nagios very recently. Now I have just added > few servers for monitoring certain srevices. But for all the servers > I am seeing the same information on the nagios screen. Below is the > information of one particular server. > > Hi Your are misinterpreting the way your checks work. Those check_local_load, check_local_disk, check_local_xxx check are performed on the *local* machine only. Thus you are seeing the results for your Nagios server, not the host you supposed you were monitoring. You can use NRPE and NSCA to work around this issue. Have a look at the distributed monitoring stuff in the documentation. Regards -- 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=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 shoktai at gmail.com Thu Feb 16 15:59:17 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Thu, 16 Feb 2006 15:59:17 +0100 Subject: Nagios and NRPE daemon for monitoring In-Reply-To: <01d001c632fe$ad699e60$b603a8c0@naveen> References: <01d001c632fe$ad699e60$b603a8c0@naveen> Message-ID: <619cf3c0602160659g5555ff36g@mail.gmail.com> Hoi, yes you will need to install nrpe on the two other machines. If snmp service isnt a third part tool for you, you can already perform a number of checks with it. Also, you'd better search the list as a project is running for WMI stuff that would allow checks without any software installed on servers. But you should be patient as it started like two days ago. 2006/2/16, Naveen C Joshi : > > Hi, > I want to use Nagios to monitor public and private resources with given > below network. Please provide me guidance to accomplish this task. > > Centralise monitoring Nagios Host = 192.xxx.xxx.xx1 (Nagios 2.x version > Installed, NRPE plugin 2.5) > > We have a pool of remote servers with following installation and ip. > > client Remote server #1 = 10.xxx.xxx.xx1 (NRPE Daemon, Nagios) > client Remote server #2 = 10.xxx.xxx.xx2 > client Remote server #3 = 10.xxx.xxx.xx3 > > Here I have confusion about Remote server#2 and 3. Do we need to install > NRPE daemon for these two machines also? Is there any method to monitor > these 3 machine's private and public resources without any installation on > remote server#2 and 3? > > Please provide me help to monitor these all machines. > > The main objective is that we do not want to install any nagios/third > party tool on all the remote servers while we have installed in one of the > remote server (Remote server#1), is it possible? if yes please let me know. > > Thanks in advance. > Naveen > > -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mdash at juniper.net Thu Feb 16 16:04:18 2006 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Thu, 16 Feb 2006 20:34:18 +0530 Subject: check_command issue Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3A95C7ED@gaugeboson.jnpr.net> Hi, To get the servers monitored through the nagios, should both of the daemons be running on both nagios host and the servers? Regards, Dash -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Davy Gaussen Sent: Thursday, February 16, 2006 8:24 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_command issue Hi, You have to run the nrpe daemon on each server you want to monitor. For NSCA, you have to use the send_nsca command with the nsc daemon running on you nagios host. 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 Mrutyunjaya Dash Envoy??: jeudi 16 f?vrier 2006 15:50 ??: Thibault Genessay Cc?: nagios-users at lists.sourceforge.net Objet?: RE: [Nagios-users] check_command issue Hi, For this NSCA and NRPE to work, do I need to do something on the server side or client (the machine which will be monitored through nagios) side? Regards, Dash -----Original Message----- From: Thibault Genessay [mailto:tgenessay at aliadis.fr] Sent: Thursday, February 16, 2006 8:05 PM To: Mrutyunjaya Dash Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_command issue Mrutyunjaya Dash wrote: > Hi All, > > > > We got the installation of nagios 2.0b5 with plugin 1.4.2. I have > installed and configured nagios very recently. Now I have just added > few servers for monitoring certain srevices. But for all the servers > I am seeing the same information on the nagios screen. Below is the > information of one particular server. > > Hi Your are misinterpreting the way your checks work. Those check_local_load, check_local_disk, check_local_xxx check are performed on the *local* machine only. Thus you are seeing the results for your Nagios server, not the host you supposed you were monitoring. You can use NRPE and NSCA to work around this issue. Have a look at the distributed monitoring stuff in the documentation. Regards -- 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=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=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 nagiosadmin at snef.fr Thu Feb 16 16:07:53 2006 From: nagiosadmin at snef.fr (Davy Gaussen) Date: Thu, 16 Feb 2006 16:07:53 +0100 Subject: check_command issue In-Reply-To: <0DB0FFEA6887E349861A3F6B40D71C3A95C7ED@gaugeboson.jnpr.net> References: <0DB0FFEA6887E349861A3F6B40D71C3A95C7ED@gaugeboson.jnpr.net> Message-ID: <004401c6330a$c2996480$c26710ac@sneftech.local> Hi, For NRPE : daemon to be run on the monitored hosts, to execute plugins remotely For NSCA : daemon to be run on the MONITORING host (nagios) to accept passive check results, from the monitored server you have to submit the results through the send_nsca command For windows monitored hosts : NC_NET agent (http://www.shatterit.com/nc_net/files/readme.html) -----Message d'origine----- De?: Mrutyunjaya Dash [mailto:mdash at juniper.net] Envoy??: jeudi 16 f?vrier 2006 16:04 ??: Davy Gaussen Cc?: nagios-users at lists.sourceforge.net Objet?: RE: [Nagios-users] check_command issue Hi, To get the servers monitored through the nagios, should both of the daemons be running on both nagios host and the servers? Regards, Dash -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Davy Gaussen Sent: Thursday, February 16, 2006 8:24 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_command issue Hi, You have to run the nrpe daemon on each server you want to monitor. For NSCA, you have to use the send_nsca command with the nsc daemon running on you nagios host. 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 Mrutyunjaya Dash Envoy??: jeudi 16 f?vrier 2006 15:50 ??: Thibault Genessay Cc?: nagios-users at lists.sourceforge.net Objet?: RE: [Nagios-users] check_command issue Hi, For this NSCA and NRPE to work, do I need to do something on the server side or client (the machine which will be monitored through nagios) side? Regards, Dash -----Original Message----- From: Thibault Genessay [mailto:tgenessay at aliadis.fr] Sent: Thursday, February 16, 2006 8:05 PM To: Mrutyunjaya Dash Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_command issue Mrutyunjaya Dash wrote: > Hi All, > > > > We got the installation of nagios 2.0b5 with plugin 1.4.2. I have > installed and configured nagios very recently. Now I have just added > few servers for monitoring certain srevices. But for all the servers > I am seeing the same information on the nagios screen. Below is the > information of one particular server. > > Hi Your are misinterpreting the way your checks work. Those check_local_load, check_local_disk, check_local_xxx check are performed on the *local* machine only. Thus you are seeing the results for your Nagios server, not the host you supposed you were monitoring. You can use NRPE and NSCA to work around this issue. Have a look at the distributed monitoring stuff in the documentation. Regards -- 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=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=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 marc at ena.com Thu Feb 16 16:34:27 2006 From: marc at ena.com (Marc Powell) Date: Thu, 16 Feb 2006 09:34:27 -0600 Subject: install of nagios Message-ID: The documentation is _slightly_ deficient and presumes that your ran all the make targets below. *** 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/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! As you can see, you want to run 'make install-commandmode' and 'make install-config'. You indicate your ran' make install-config' below. Did you run it from the same -compiled- nagios source as your original install? That would be the only reason I can think that the ~nagios/etc directory wouldn't be created when you run that target. If you continue to have problems, post the output of your run of 'make install-config'. -- Marc > -----Original Message----- > From: john matijevic [mailto:john.matijevic at gmail.com] > Sent: Thursday, February 16, 2006 7:12 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] install of nagios > > Hello Team, > Thanks again for all of your assistance, as it's been a while and I am not > as experienced in Linux. Again the issue is after I go to run the > configure command and the make all, make install and make install-config, > according to the documentation I should see 5 different subdirectories, > the directories I see are bin, sbin, share, and var and var/archives. The > directories I am missing is VAR/RW and ETC. Thanks again for all of your > help. When I did the installation I was logged in with root. > > Sincerely, > John > > > On 2/15/06, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net users-admin at lists.sourceforge.net> [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of john matijevic > > Sent: Wednesday, February 15, 2006 7:17 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] install of nagios > > > > 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. > > Examine the install targets that are displayed after compile > finishes > and use the one you're lacking. A totally arbitrary guess would be > 'make > install-config'. As others have indicated, you need to provide > specific > information about your problem if you expect specific answers. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search 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 Thu Feb 16 16:36:36 2006 From: kylet at panix.com (Kyle Tucker) Date: Thu, 16 Feb 2006 10:36:36 -0500 (EST) Subject: check_snmp quoting issue Message-ID: <200602161536.k1GFaat27443@panix3.panix.com> Hi, I'm trying to use the new extend directive in Net-SNMP and the symbolic OIDs literally contain a quote. I can't get check_snmp to be satisfied with the quotes I need to pass. I need to be able to pass nsExtendResult."extt2" to snmpd. Any suggestions? Thanks. /usr/local/nagios/libexec/check_snmp -t 3 -P 3 -H 192.168.16.11 -w 1 -c 5 -L authPriv -U XXXXXXXX -a MD5 -A XXXXXXXX -X XXXXXXXX -o nsExtendResult."extt2" Could not open pipe: /usr/local/bin/snmpget -t 3 -r 5 -m ALL -v 3 -l authPriv -a MD5 -u XXXXXXXX -A XXXXXXXX -x DES -X XXXXXXXX 192.168.16.11:161 nsExtendResult."extt2" /usr/local/nagios/libexec/check_snmp -t 3 -P 3 -H 192.168.16.11 -w 1 -c 5 -L authPriv -U XXXXXXXX -a MD5 -A XXXXXXXX -X XXXXXXXX -o nsExtendResult.\"extt2\" Could not open pipe: /usr/local/bin/snmpget -t 3 -r 5 -m ALL -v 3 -l authPriv -a MD5 -u XXXXXXXX -A XXXXXXXX -x DES -X XXXXXXXX 192.168.16.11:161 nsExtendResult.\"extt2\" -- - 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 shoktai at gmail.com Thu Feb 16 16:37:29 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Thu, 16 Feb 2006 16:37:29 +0100 Subject: install of nagios In-Reply-To: <92b811a0602160512x4593fd25ncf3bfb4fb83f458d@mail.gmail.com> References: <92b811a0602160512x4593fd25ncf3bfb4fb83f458d@mail.gmail.com> Message-ID: <619cf3c0602160737h2eb71434h@mail.gmail.com> Which nagios package version are you trying to install ? Did you try to give configure options to see the difference ? * ./configure --prefix=prefix --with-cgiurl=cgiurl --with-htmurl=htmurl--with-nagios-user= someuser --with-nagios-grp=somegroup* 2006/2/16, john matijevic : > > Hello Team, > Thanks again for all of your assistance, as it's been a while and I am not > as experienced in Linux. Again the issue is after I go to run the configure > command and the make all, make install and make install-config, according to > the documentation I should see 5 different subdirectories, the directories I > see are bin, sbin, share, and var and var/archives. The directories I am > missing is VAR/RW and ETC. Thanks again for all of your help. When I did the > installation I was logged in with root. > > Sincerely, > John > > > On 2/15/06, Marc Powell wrote: > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > > admin at lists.sourceforge.net] On Behalf Of john matijevic > > > Sent: Wednesday, February 15, 2006 7:17 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] install of nagios > > > > > > 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. > > > > Examine the install targets that are displayed after compile finishes > > and use the one you're lacking. A totally arbitrary guess would be 'make > > install-config'. As others have indicated, you need to provide specific > > information about your problem if you expect specific answers. > > > > -- > > 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?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 > > > > > > -- > 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 marc at ena.com Thu Feb 16 16:41:09 2006 From: marc at ena.com (Marc Powell) Date: Thu, 16 Feb 2006 09:41:09 -0600 Subject: Netapp Scripts Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Barry Maclean > Sent: Wednesday, February 15, 2006 1:20 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Netapp Scripts > > Does anyone have scripts which would help me monitor netapp filters? A 'check_netapp.pl' is included in the contrib. directory of the standard plugins -- # checks for overtemperature, fans, psu, and nfs operations/second on # Network Appliance Filers. # Returns: # OK if temp, fans, psu OK and Ops/Sec below warning and critical # Thresholds (default is warning=3500, critical=5000) # ** Note: See the specifications for your Filer model for # the thresholds ! # Returns Warning if NFS Ops/Sec is above warning threshold # (default 3500, or specified by -o command line option) # Returns Critical if NFS Ops/Sec is above critical threshold # ( -m option, or default 5000), or if overtem, psufault, or # fanfault detected. -- 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 Thu Feb 16 16:42:16 2006 From: marc at ena.com (Marc Powell) Date: Thu, 16 Feb 2006 09:42:16 -0600 Subject: install of nagios Message-ID: Configure options are irrelevant in this case. -- Marc > -----Original Message----- > From: Toto Capuccino [mailto:shoktai at gmail.com] > Sent: Thursday, February 16, 2006 9:37 AM > To: john matijevic > Cc: Marc Powell; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] install of nagios > > Which nagios package version are you trying to install ? > > Did you try to give configure options to see the difference ? > ./configure --prefix=prefix --with-cgiurl=cgiurl --with-htmurl=htmurl -- > with-nagios-user=someuser --with-nagios-grp=somegroup > > > 2006/2/16, john matijevic < john.matijevic at gmail.com>: > > Hello Team, > Thanks again for all of your assistance, as it's been a while and I > am not as experienced in Linux. Again the issue is after I go to run the > configure command and the make all, make install and make install-config, > according to the documentation I should see 5 different subdirectories, > the directories I see are bin, sbin, share, and var and var/archives. The > directories I am missing is VAR/RW and ETC. Thanks again for all of your > help. When I did the installation I was logged in with root. > > Sincerely, > John > > > On 2/15/06, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users- > > admin at lists.sourceforge.net > ] On Behalf Of john matijevic > > Sent: Wednesday, February 15, 2006 7:17 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] install of nagios > > > > 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. > > Examine the install targets that are displayed after compile > finishes > and use the one you're lacking. A totally arbitrary guess > would be 'make > install-config'. As others have indicated, you need to provide > specific > information about your problem if you expect specific answers. > > -- > 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?cmdlnk&kid3432&bid#0486&dat1642 us.falkag.net/sel?cmdlnk&kid%103432&bid#0486&dat%121642> > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to > /dev/null > > > > > > -- > 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. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search 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 16 16:46:25 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Thu, 16 Feb 2006 16:46:25 +0100 Subject: check_snmp quoting issue In-Reply-To: <200602161536.k1GFaat27443@panix3.panix.com> References: <200602161536.k1GFaat27443@panix3.panix.com> Message-ID: <619cf3c0602160746ob2b6f18i@mail.gmail.com> did you try /check_snmp -t 3 -P 3 -H 192.168.16.11 -w 1 -c 5 -L authPriv -U XXXXXXXX -a > MD5 -A XXXXXXXX -X XXXXXXXX -o nsExtendResult.'"extt2"' > 2006/2/16, Kyle Tucker : Hi, > I'm trying to use the new extend directive > in Net-SNMP and the symbolic OIDs literally contain > a quote. I can't get check_snmp to be satisfied with > the quotes I need to pass. I need to be able to pass > nsExtendResult."extt2" to snmpd. Any suggestions? > > Thanks. > > /usr/local/nagios/libexec/check_snmp -t 3 -P 3 -H 192.168.16.11 -w 1 -c 5 > -L authPriv -U XXXXXXXX -a MD5 -A XXXXXXXX -X XXXXXXXX -o > nsExtendResult."extt2" > Could not open pipe: /usr/local/bin/snmpget -t 3 -r 5 -m ALL -v 3 -l > authPriv -a MD5 -u XXXXXXXX -A XXXXXXXX -x DES -X XXXXXXXX > 192.168.16.11:161 nsExtendResult."extt2" > > /usr/local/nagios/libexec/check_snmp -t 3 -P 3 -H 192.168.16.11 -w 1 -c 5 > -L authPriv -U XXXXXXXX -a MD5 -A XXXXXXXX -X XXXXXXXX -o > nsExtendResult.\"extt2\" > Could not open pipe: /usr/local/bin/snmpget -t 3 -r 5 -m ALL -v 3 -l > authPriv -a MD5 -u XXXXXXXX -A XXXXXXXX -x DES -X XXXXXXXX > 192.168.16.11:161 nsExtendResult.\"extt2\" > > > -- > - 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 > -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From radhiilu at yahoo.com Thu Feb 16 16:52:44 2006 From: radhiilu at yahoo.com (Radhika) Date: Thu, 16 Feb 2006 07:52:44 -0800 (PST) Subject: network traffic monitoring plugin or bandwidth pluin for nagios In-Reply-To: <43F46642.7010205@its-lehmann.de> References: <43F46642.7010205@its-lehmann.de> Message-ID: <20060216155244.78951.qmail@web60714.mail.yahoo.com> Hi Arno, i am trying you plugin but this is not working may be because you have menctioned the reasons.I need to monitor all my customers traffic is there any other way to monitor network traffic on cisco roter interfaces. Thnaks for your help Arno Lehmann wrote: Hello, On 2/16/2006 11:28 AM, Radhika wrote: > Hi Guys, > > Presently we have different broadband users customers with different > speeds like 512k,2m,5m,10m lines.I want to know is there any plugin for > nagios to send the alerts when it reaches the bandwidth capacity 70% or > 80 %.This plun in should have the option of choosing speed limits so > that i can monitor different clients. > > Can some one help me on this. look for check_iftraffic.pl at nagiosexchange.org - this plugin uses snmp to measure traffic and calculates data rates locally. You can set limits, but (IMO) the plugin as distributes could need improvements which I did not finish yet: - use 10-based values, not 2-based ones for throughput calculation (this is a simple modification) - allow asymmetric spped settings, which would better suit ADSL users. - support the funny interface names windows uses. I implemented this using REs, IIRC. Perhaps I will publish my modified version some day... Arno > Thanks for your time > > Yahoo! Mail > Use Photomail > > to share photos without annoying attachments. -- 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 --------------------------------- Yahoo! Mail Use Photomail to share photos without annoying attachments. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark.eisenblaetter at gmail.com Thu Feb 16 16:48:07 2006 From: mark.eisenblaetter at gmail.com (Mark Eisenblaetter) Date: Thu, 16 Feb 2006 16:48:07 +0100 Subject: check_command issue In-Reply-To: <0DB0FFEA6887E349861A3F6B40D71C3A95C7CF@gaugeboson.jnpr.net> References: <0DB0FFEA6887E349861A3F6B40D71C3A95C7CF@gaugeboson.jnpr.net> Message-ID: <288245630602160748p5f62f115y7e98706e5e6a5693@mail.gmail.com> Hi, or for UnixServer you can use check_by_ssh Mark On 2/16/06, Mrutyunjaya Dash wrote: > > > Hi All, > > We got the installation of nagios 2.0b5 with plugin 1.4.2. I have installed > and configured nagios very recently. Now I have just added few servers for > monitoring certain srevices. But for all the servers I am seeing the same > information on the nagios screen. Below is the information of one particular > server. > > bng-admin1 > > > > > > > Current Load > > > > > > > OK 02-16-2006 19:55:39 0d 0h 25m 41s 1/4 OK - load > average: 0.00, 0.00, 0.00 > Current Users > > > > > > > OK 02-16-2006 19:56:54 0d 0h 22m 6s 1/4 USERS OK - 2 > users currently logged in > PING > > > > > > > OK 02-16-2006 19:51:58 0d 0h 20m 51s 1/4 PING OK - > Packet loss = 0%, RTA = 0.21 ms > Root Partition > > > > > > > OK 02-16-2006 19:53:13 0d 0h 19m 36s 1/4 DISK OK - > free space: / 9098 MB (92%): > > > I am getting same information for all the servers. Where as if I check > physically particular service of server, the value for the service is > different. > > I believe the check_commands are not working properly. Can somebody help me > to figure out the problem? > > Thank you very much for all your inputs in advance. > > Regards, > > Mrutyunjaya Dash > > IT Engineer > > Juniper Networks Pvt Ltd. > > Bangalore > > -- Mark Eisenbl?tter GFF GmbH - streaming division www.streaming-division.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 kylet at panix.com Thu Feb 16 16:56:26 2006 From: kylet at panix.com (Kyle Tucker) Date: Thu, 16 Feb 2006 10:56:26 -0500 (EST) Subject: check_snmp quoting issue In-Reply-To: <619cf3c0602160746ob2b6f18i@mail.gmail.com> References: <619cf3c0602160746ob2b6f18i@mail.gmail.com> Message-ID: <200602161556.k1GFuQ626978@panix3.panix.com> > > did you try > > /check_snmp -t 3 -P 3 -H 192.168.16.11 -w 1 -c 5 -L authPriv -U XXXXXXXX -a > > MD5 -A XXXXXXXX -X XXXXXXXX -o nsExtendResult.'"extt2"' Yes, I tried all kinds of combinations. I should add this exits with exit code 3. /usr/local/nagios/libexec/check_snmp -t 3 -P 3 -H 192.168.16.11 \ -L authPriv -U XXXXXXXX -a MD5 -A XXXXXXXX -X XXXXXXXX -o nsExtendResult.'"extt2"' Could not open pipe: /usr/local/bin/snmpget -t 3 -r 5 -m ALL -v 3 -l authPriv -a MD5 -u XXXXXXXX -A XXXXXXXX -x DES -X XXXXXXXX 192.168.16.11:161 nsExtendResult."extt2" If I call snmpget directly, the quoting is passed on correctly, thus my suspicion it's check_snmp getting confused. /usr/local/bin/snmpget -t 3 -r 5 -m ALL -v 3 -l authPriv -a MD5 -u XXXXXXXX -A XXXXXXXX -x DES -X XXXXXXXX 192.168.16.11:161 nsExtendResult.\"extt2\" NET-SNMP-EXTEND-MIB::nsExtendResult."extt2" = INTEGER: 2 > 2006/2/16, Kyle Tucker : > > Hi, > > I'm trying to use the new extend directive > > in Net-SNMP and the symbolic OIDs literally contain > > a quote. I can't get check_snmp to be satisfied with > > the quotes I need to pass. I need to be able to pass > > nsExtendResult."extt2" to snmpd. Any suggestions? > > > > Thanks. > > > > /usr/local/nagios/libexec/check_snmp -t 3 -P 3 -H 192.168.16.11 -w 1 -c 5 > > -L authPriv -U XXXXXXXX -a MD5 -A XXXXXXXX -X XXXXXXXX -o > > nsExtendResult."extt2" > > Could not open pipe: /usr/local/bin/snmpget -t 3 -r 5 -m ALL -v 3 -l > > authPriv -a MD5 -u XXXXXXXX -A XXXXXXXX -x DES -X XXXXXXXX > > 192.168.16.11:161 nsExtendResult."extt2" > > > > /usr/local/nagios/libexec/check_snmp -t 3 -P 3 -H 192.168.16.11 -w 1 -c 5 > > -L authPriv -U XXXXXXXX -a MD5 -A XXXXXXXX -X XXXXXXXX -o > > nsExtendResult.\"extt2\" > > Could not open pipe: /usr/local/bin/snmpget -t 3 -r 5 -m ALL -v 3 -l > > authPriv -a MD5 -u XXXXXXXX -A XXXXXXXX -x DES -X XXXXXXXX > > 192.168.16.11:161 nsExtendResult.\"extt2\" > > > > > > -- > > - 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=3Dlnk&kid=3D103432&bid=3D230486&dat= > =3D121642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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=E9e. > > ------=_Part_6625_25257703.1140104785346 > Content-Type: text/html; charset=ISO-8859-1 > Content-Transfer-Encoding: quoted-printable > Content-Disposition: inline > > did you try

1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex= > ;">/check_snmp -t 3 -P 3 -H 192.168.16.11<= > /a> > -w > 1 -c 5 -L authPriv -U XXXXXXXX -a MD5 -A XXXXXXXX -X XXXXXXXX -o > nsExtendResult.'"extt2&q= > uot;'

ft: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: = > 1ex;"> > 2006/2/16, Kyle Tucker <kylet at panix.c= > om>:
class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); = > margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> > Hi,
        I'm trying to use th= > e new extend directive
in Net-SNMP and the symbolic OIDs literally conta= > in
a quote. I can't get check_snmp to be satisfied with
the quotes I = > need to pass. I need to be able to pass >
nsExtendResult."extt2" to snmpd. Any suggestions?

Than= > ks.

/usr/local/nagios/libexec/check_snmp -t 3 -P 3 -H p://192.168.16.11">192.168.16.11 -w 1 -c 5 -L authPriv -U XXXXXXXX -a M= > D5 -A XXXXXXXX -X XXXXXXXX -o nsExtendResult."extt2" >
Could not open pipe: /usr/local/bin/snmpget -t 3 -r 5 -m ALL -v 3 -l au= > thPriv -a MD5 -u XXXXXXXX -A XXXXXXXX -x DES -X XXXXXXXX   =3D"http://192.168.16.11:161">192.168.16.11:161  nsExtendResu= > lt."extt2" >

/usr/local/nagios/libexec/check_snmp -t 3 -P 3 -H /192.168.16.11">192.168.16.11 -w 1 -c 5 -L authPriv -U XXXXXXXX -a MD5 = > -A XXXXXXXX -X XXXXXXXX -o nsExtendResult.\"extt2\"
Could not = > open pipe: /usr/local/bin/snmpget -t 3 -r 5 -m ALL -v 3 -l authPriv -a MD5 = > -u XXXXXXXX -A XXXXXXXX -x DES -X XXXXXXXX   > 192.168.16.11:161  nsExt= > endResult.\"extt2\"


--
- Kyle
------------------= > ---------------------------
kylet at pan= > ix.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 &= > nbsp;web.  DOWNLOAD SPLUNK!
.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=3D121642"> > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486= > &dat=3D121642
_______________________________________________ >Nagios-users mailing list
rge.net"> > Nagios-users at lists.sourceforge.net
rge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/li= > stinfo/nagios-users
::: Please include Nagios version, plugin versio= > n (-v) and OS when reporting any issue. >
::: Messages without supporting info will risk being sent to /dev/null<= > br>



--
Le bon sens est la c= > hose du monde la mieux partag=E9e. > > ------=_Part_6625_25257703.1140104785346-- > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 rader at ginseng.hep.wisc.edu Thu Feb 16 16:58:59 2006 From: rader at ginseng.hep.wisc.edu (rader at ginseng.hep.wisc.edu) Date: Thu, 16 Feb 2006 09:58:59 -0600 Subject: network traffic monitoring plugin or bandwidth pluin for nagios In-Reply-To: <20060216155244.78951.qmail@web60714.mail.yahoo.com> References: <20060216155244.78951.qmail@web60714.mail.yahoo.com> Message-ID: <200602161558.k1GFwxv8011986@ginseng.hep.wisc.edu> > i am trying you plugin but this is not working may be because you have > menctioned the reasons.I need to monitor all my customers traffic is there > any other way to monitor network traffic on cisco roter interfaces. There's check_iftraffic-like plugins (umm, that work) available at... ftp://noc.hep.wisc.edu/pub/src/nagios/ (check_traffic and check_ifHighSpeed_traffic) steve - - - systems & network manager high energy physics university of wisconsin ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.matijevic at gmail.com Thu Feb 16 17:00:49 2006 From: john.matijevic at gmail.com (john matijevic) Date: Thu, 16 Feb 2006 11:00:49 -0500 Subject: install of nagios In-Reply-To: References: Message-ID: <92b811a0602160800t33cebd70x29ab3d4113d9b05b@mail.gmail.com> Did you run it from the same -compiled- nagios source as your original install? That would be the only reason I can think that the ~nagios/etc directory wouldn't be created when you run that target. If you continue to have problems, post the output of your run of 'make install-config'. Answer: Yes Marc, I ran it from the same directory where I downloaded the nagios where the ./configure command was, basically the documentation did not ask me to change to the directory. Also, I downloaded and extracted to a tmp directory on my linux server, again this is on fedora Core 4. So after I ran the configure command I received no errors, and the directories were created except for the ones I had mentioned before. Do I need to change to directories before I run the commands? and if so which directory do I change to? than i just prepend where the configure command is for example if I am at the usr/local/nagios directory than I would run /tmp/nagios ./configure? thanks again for assistance. I am following documentation step by step. Sincerely, On 2/16/06, Marc Powell wrote: > > Configure options are irrelevant in this case. > > -- > Marc > > > -----Original Message----- > > From: Toto Capuccino [mailto:shoktai at gmail.com] > > Sent: Thursday, February 16, 2006 9:37 AM > > To: john matijevic > > Cc: Marc Powell; nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] install of nagios > > > > Which nagios package version are you trying to install ? > > > > Did you try to give configure options to see the difference ? > > ./configure --prefix=prefix --with-cgiurl=cgiurl --with-htmurl=htmurl -- > > with-nagios-user=someuser --with-nagios-grp=somegroup > > > > > > 2006/2/16, john matijevic < john.matijevic at gmail.com>: > > > > Hello Team, > > Thanks again for all of your assistance, as it's been a while and > I > > am not as experienced in Linux. Again the issue is after I go to run the > > configure command and the make all, make install and make > install-config, > > according to the documentation I should see 5 different subdirectories, > > the directories I see are bin, sbin, share, and var and var/archives. > The > > directories I am missing is VAR/RW and ETC. Thanks again for all of your > > help. When I did the installation I was logged in with root. > > > > Sincerely, > > John > > > > > > On 2/15/06, Marc Powell wrote: > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users- > > > admin at lists.sourceforge.net > > ] On Behalf Of john matijevic > > > Sent: Wednesday, February 15, 2006 7:17 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] install of nagios > > > > > > 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. > > > > Examine the install targets that are displayed after > compile > > finishes > > and use the one you're lacking. A totally arbitrary guess > > would be 'make > > install-config'. As others have indicated, you need to > provide > > specific > > information about your problem if you expect specific > answers. > > > > -- > > 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?cmdlnk&kid3432&bid#0486&dat1642 > us.falkag.net/sel?cmdlnk&kid%103432&bid#0486&dat%121642> > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and > OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent > to > > /dev/null > > > > > > > > > > > > -- > > 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. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new 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 > -- 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 mis-netadmin at dept.fuller.edu Thu Feb 16 17:05:07 2006 From: mis-netadmin at dept.fuller.edu (Network Administrator) Date: Thu, 16 Feb 2006 08:05:07 -0800 Subject: Status Map icons issue In-Reply-To: References: Message-ID: <43F4A2B3.5040005@dept.fuller.edu> After creating a hostextinfo.cfg file when I hover over hosts on the status map, the manufacturer icons correctly display in the popup, however, I still see question mark icons on the status map for each host. If anyone knows why this is so and how to correct it I would be much obliged. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 17:16:57 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Thu, 16 Feb 2006 17:16:57 +0100 Subject: Status Map icons issue In-Reply-To: <43F4A2B3.5040005@dept.fuller.edu> References: <43F4A2B3.5040005@dept.fuller.edu> Message-ID: <619cf3c0602160816m48781b78r@mail.gmail.com> It can be a permission issue, persosnnaly i use mostly .png icons or .gd But i think you cant use .jpg nor .gif for statusmap 2006/2/16, Network Administrator : > > After creating a hostextinfo.cfg file when I hover over hosts on the > status map, the manufacturer icons correctly display in the popup, > however, I still see question mark icons on the status map for each host. > > If anyone knows why this is so and how to correct it I would be much > obliged. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 tom.brown at goodtechnology.com Thu Feb 16 17:28:28 2006 From: tom.brown at goodtechnology.com (Tom Brown) Date: Thu, 16 Feb 2006 16:28:28 +0000 Subject: Nagios 2.0 - x86_64 - POSIX-guaranteed warning Message-ID: <43F4A82C.2050700@goodtechnology.com> Hi Just installed and run up my first 2.0 installation and this was compiled and run on a x86_64 box running CentOS 4.2 - things seem to be OK but running the pre-flight check i get this Size of service_message struct (528 bytes) is > POSIX-guaranteed atomic write size (512 bytes). Service checks results may get lost or mangled! Is this something to be worried about?? 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 matteo.corti at id.ethz.ch Thu Feb 16 17:30:49 2006 From: matteo.corti at id.ethz.ch (Matteo Corti) Date: Thu, 16 Feb 2006 17:30:49 +0100 Subject: Status Map icons issue In-Reply-To: <619cf3c0602160816m48781b78r@mail.gmail.com> References: <43F4A2B3.5040005@dept.fuller.edu> <619cf3c0602160816m48781b78r@mail.gmail.com> Message-ID: <43F4A8B9.8010207@id.ethz.ch> Toto Capuccino wrote: > It can be a permission issue, persosnnaly i use mostly .png icons or .gd > But i think you cant use .jpg nor .gif for statusmap It could also be (as in my case :-) a wrong physical_html_path in cgi.cfg. Matteo > > 2006/2/16, Network Administrator < mis-netadmin at dept.fuller.edu > >: > > After creating a hostextinfo.cfg file when I hover over hosts on the > status map, the manufacturer icons correctly display in the popup, > however, I still see question mark icons on the status map for each > host. > > If anyone knows why this is so and how to correct it I would be much > obliged. > -- 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 jonathan.w.miner at baesystems.com Thu Feb 16 18:10:30 2006 From: jonathan.w.miner at baesystems.com (Miner, Jonathan W (CSC) (US SSA)) Date: Thu, 16 Feb 2006 12:10:30 -0500 Subject: Status Map icons issue References: <43F4A2B3.5040005@dept.fuller.edu> <7FCB0E206880084DB3D57CBAA2119F120236694C@blums0010> <43F4AE37.9030106@dept.fuller.edu> Message-ID: <7FCB0E206880084DB3D57CBAA2119F120236694F@blums0010> Irwin - Could you post your hostextinfo definition? Thanks -----Original Message----- From: Network Administrator [mailto:mis-netadmin at dept.fuller.edu] Sent: Thu 02/16/2006 11:54 AM To: Miner, Jonathan W (CSC) (US SSA) Cc: Subject: Re: [Nagios-users] Status Map icons issue Thank Jonathan! I only had the icon_image populated. Hmmmmm, after adding the statusmap_image field, saving, then reloading and restarting nagios the status map still shows question marks. Irwin Dulan II Network Administrator Fuller Theological Seminary Miner, Jonathan W (CSC) (US SSA) wrote: > Did you populate both "icon_image" and "statusmap_image" ? > > define hostextinfo{ > host_name mysunserver > icon_image sun40.png > icon_image_alt Solaris > statusmap_image sun40.gd2 > } > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net on behalf of Network Administrator > Sent: Thu 02/16/2006 11:05 AM > To: nagios-users at lists.sourceforge.net > Cc: > Subject: [Nagios-users] Status Map icons issue > > After creating a hostextinfo.cfg file when I hover over hosts on the > status map, the manufacturer icons correctly display in the popup, > however, I still see question mark icons on the status map for each host. > > If anyone knows why this is so and how to correct it I would be much > obliged. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 mkoponick at redhawk.info Thu Feb 16 18:17:35 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Thu, 16 Feb 2006 09:17:35 -0800 Subject: Check_snmp_int.pl Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109C0A@raptor.redhawk.info> I'm using check_snmp_int.pl to check on interfaces on switches/routers, but can't seem to have it look at a single interface. I think this is a "/" issue, but am not sure. When use the command: ./check_snmp_int -H 10.xx.xx.xx -C -n GigabitEthernet0/1 I receive the following: GigabitEthernet0/1:UP, GigabitEthernet0/12:DOWN, GigabitEthernet0/10:UP, GigabitEthernet0/11:DOWN: 2 int NOK : CRITICA I only wish to see one interface, rather than all of them as some are not in use and *should* be down. Thoughts? Maybe it's time for more coffee? Thanks! Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhopp at GOCSC.com Thu Feb 16 18:32:56 2006 From: dhopp at GOCSC.com (Dennis Hopp) Date: Thu, 16 Feb 2006 11:32:56 -0600 Subject: Check_snmp_int.pl Message-ID: <395D09D0C949AF40B9DDFEE9C93A47FF05ECE690@hudson.gocsc.com> Try: ./check_snmp_int -H 10.xx.xx.xx -C -n GigabitEthernet0/1$ --Dennis ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mike Koponick Sent: Thursday, February 16, 2006 11:18 AM To: Nagios Users Subject: [Nagios-users] Check_snmp_int.pl I'm using check_snmp_int.pl to check on interfaces on switches/routers, but can't seem to have it look at a single interface. I think this is a "/" issue, but am not sure. When use the command: ./check_snmp_int -H 10.xx.xx.xx -C -n GigabitEthernet0/1 I receive the following: GigabitEthernet0/1:UP, GigabitEthernet0/12:DOWN, GigabitEthernet0/10:UP, GigabitEthernet0/11:DOWN: 2 int NOK : CRITICA I only wish to see one interface, rather than all of them as some are not in use and *should* be down. Thoughts? Maybe it's time for more coffee? Thanks! Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From mis-netadmin at dept.fuller.edu Thu Feb 16 18:36:30 2006 From: mis-netadmin at dept.fuller.edu (Network Administrator) Date: Thu, 16 Feb 2006 09:36:30 -0800 Subject: Status Map icons issue In-Reply-To: <7FCB0E206880084DB3D57CBAA2119F120236694F@blums0010> References: <43F4A2B3.5040005@dept.fuller.edu> <7FCB0E206880084DB3D57CBAA2119F120236694C@blums0010> <43F4AE37.9030106@dept.fuller.edu> <7FCB0E206880084DB3D57CBAA2119F120236694F@blums0010> Message-ID: <43F4B81E.1040802@dept.fuller.edu> define hostextinfo{ host_name col-gateway icon_image cisco_icon.gif statusmap_image cisco_icon.gif name cisco_icon } define hostextinfo{ host_name menp-gateway use cisco_icon } [snip] Irwin Dulan II Network Administrator Fuller Theological Seminary Miner, Jonathan W (CSC) (US SSA) wrote: > Irwin - > > Could you post your hostextinfo definition? Thanks > > > -----Original Message----- > From: Network Administrator [mailto:mis-netadmin at dept.fuller.edu] > Sent: Thu 02/16/2006 11:54 AM > To: Miner, Jonathan W (CSC) (US SSA) > Cc: > Subject: Re: [Nagios-users] Status Map icons issue > > Thank Jonathan! > > I only had the icon_image populated. Hmmmmm, after adding the > statusmap_image field, saving, then reloading and restarting nagios the > status map still shows question marks. > > Irwin Dulan II > Network Administrator > Fuller Theological Seminary > > > Miner, Jonathan W (CSC) (US SSA) wrote: >> Did you populate both "icon_image" and "statusmap_image" ? >> >> define hostextinfo{ >> host_name mysunserver >> icon_image sun40.png >> icon_image_alt Solaris >> statusmap_image sun40.gd2 >> } >> >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net on behalf of Network Administrator >> Sent: Thu 02/16/2006 11:05 AM >> To: nagios-users at lists.sourceforge.net >> Cc: >> Subject: [Nagios-users] Status Map icons issue >> >> After creating a hostextinfo.cfg file when I hover over hosts on the >> status map, the manufacturer icons correctly display in the popup, >> however, I still see question mark icons on the status map for each host. >> >> If anyone knows why this is so and how to correct it I would be much >> obliged. >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >> for problems? Stop! Download the new AJAX search engine that makes >> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 From mkoponick at redhawk.info Thu Feb 16 18:37:49 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Thu, 16 Feb 2006 09:37:49 -0800 Subject: Check_snmp_int.pl Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109C0B@raptor.redhawk.info> Dennis, Thanks for the tip. That worked! I suppose it's time to dive into Perl ;-) Thanks! Mike -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Dennis Hopp Sent: Thursday, February 16, 2006 9:33 AM To: Mike Koponick; Nagios Users Subject: RE: [Nagios-users] Check_snmp_int.pl Try: ./check_snmp_int -H 10.xx.xx.xx -C -n GigabitEthernet0/1$ --Dennis ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mike Koponick Sent: Thursday, February 16, 2006 11:18 AM To: Nagios Users Subject: [Nagios-users] Check_snmp_int.pl I'm using check_snmp_int.pl to check on interfaces on switches/routers, but can't seem to have it look at a single interface. I think this is a "/" issue, but am not sure. When use the command: ./check_snmp_int -H 10.xx.xx.xx -C -n GigabitEthernet0/1 I receive the following: GigabitEthernet0/1:UP, GigabitEthernet0/12:DOWN, GigabitEthernet0/10:UP, GigabitEthernet0/11:DOWN: 2 int NOK : CRITICA I only wish to see one interface, rather than all of them as some are not in use and *should* be down. Thoughts? Maybe it's time for more coffee? Thanks! Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhopp at GOCSC.com Thu Feb 16 18:39:26 2006 From: dhopp at GOCSC.com (Dennis Hopp) Date: Thu, 16 Feb 2006 11:39:26 -0600 Subject: Check_snmp_int.pl Message-ID: <395D09D0C949AF40B9DDFEE9C93A47FF05ECE6ED@hudson.gocsc.com> That's not really perl, that's just regular expressions. If you need help with regular expressions check out "The Regex Coach". It's a free program that will help you figure out the regular expression you need to match a given phrase. --Dennis ________________________________ From: Mike Koponick [mailto:mkoponick at redhawk.info] Sent: Thursday, February 16, 2006 11:38 AM To: Dennis Hopp; Nagios Users Subject: RE: [Nagios-users] Check_snmp_int.pl Dennis, Thanks for the tip. That worked! I suppose it's time to dive into Perl ;-) Thanks! Mike -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Dennis Hopp Sent: Thursday, February 16, 2006 9:33 AM To: Mike Koponick; Nagios Users Subject: RE: [Nagios-users] Check_snmp_int.pl Try: ./check_snmp_int -H 10.xx.xx.xx -C -n GigabitEthernet0/1$ --Dennis ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mike Koponick Sent: Thursday, February 16, 2006 11:18 AM To: Nagios Users Subject: [Nagios-users] Check_snmp_int.pl I'm using check_snmp_int.pl to check on interfaces on switches/routers, but can't seem to have it look at a single interface. I think this is a "/" issue, but am not sure. When use the command: ./check_snmp_int -H 10.xx.xx.xx -C -n GigabitEthernet0/1 I receive the following: GigabitEthernet0/1:UP, GigabitEthernet0/12:DOWN, GigabitEthernet0/10:UP, GigabitEthernet0/11:DOWN: 2 int NOK : CRITICA I only wish to see one interface, rather than all of them as some are not in use and *should* be down. Thoughts? Maybe it's time for more coffee? Thanks! Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonathan.w.miner at baesystems.com Thu Feb 16 18:40:12 2006 From: jonathan.w.miner at baesystems.com (Miner, Jonathan W (CSC) (US SSA)) Date: Thu, 16 Feb 2006 12:40:12 -0500 Subject: Status Map icons issue References: <43F4A2B3.5040005@dept.fuller.edu> <7FCB0E206880084DB3D57CBAA2119F120236694C@blums0010> <43F4AE37.9030106@dept.fuller.edu> <7FCB0E206880084DB3D57CBAA2119F120236694F@blums0010> <43F4B81E.1040802@dept.fuller.edu> Message-ID: <7FCB0E206880084DB3D57CBAA2119F1202366952@blums0010> The statusmap_image has to be a "gd2" file. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net on behalf of Network Administrator Sent: Thu 02/16/2006 12:36 PM To: nagios-users at lists.sourceforge.net Cc: Subject: Re: [Nagios-users] Status Map icons issue define hostextinfo{ host_name col-gateway icon_image cisco_icon.gif statusmap_image cisco_icon.gif name cisco_icon } define hostextinfo{ host_name menp-gateway use cisco_icon } [snip] Irwin Dulan II Network Administrator Fuller Theological Seminary Miner, Jonathan W (CSC) (US SSA) wrote: > Irwin - > > Could you post your hostextinfo definition? Thanks > > > -----Original Message----- > From: Network Administrator [mailto:mis-netadmin at dept.fuller.edu] > Sent: Thu 02/16/2006 11:54 AM > To: Miner, Jonathan W (CSC) (US SSA) > Cc: > Subject: Re: [Nagios-users] Status Map icons issue > > Thank Jonathan! > > I only had the icon_image populated. Hmmmmm, after adding the > statusmap_image field, saving, then reloading and restarting nagios the > status map still shows question marks. > > Irwin Dulan II > Network Administrator > Fuller Theological Seminary > > > Miner, Jonathan W (CSC) (US SSA) wrote: >> Did you populate both "icon_image" and "statusmap_image" ? >> >> define hostextinfo{ >> host_name mysunserver >> icon_image sun40.png >> icon_image_alt Solaris >> statusmap_image sun40.gd2 >> } >> >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net on behalf of Network Administrator >> Sent: Thu 02/16/2006 11:05 AM >> To: nagios-users at lists.sourceforge.net >> Cc: >> Subject: [Nagios-users] Status Map icons issue >> >> After creating a hostextinfo.cfg file when I hover over hosts on the >> status map, the manufacturer icons correctly display in the popup, >> however, I still see question mark icons on the status map for each host. >> >> If anyone knows why this is so and how to correct it I would be much >> obliged. >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >> for problems? Stop! Download the new AJAX search engine that makes >> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search 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 Thu Feb 16 18:59:43 2006 From: estair at ilm.com (Eli Stair) Date: Thu, 16 Feb 2006 09:59:43 -0800 Subject: Nagios 2.0 - x86_64 - POSIX-guaranteed warning In-Reply-To: <43F4A82C.2050700@goodtechnology.com> References: <43F4A82C.2050700@goodtechnology.com> Message-ID: <43F4BD8F.1090406@ilm.com> I've attached an email I saved a while back in relation to this. I see the same issue when compiling 64-bit on any x86* platform & distro. Haven't had a chance to patch and test (or even read it...) this yet, let us know if it resolves the issue. /eli Tom Brown wrote: > Hi > > Just installed and run up my first 2.0 installation and this was > compiled and run on a x86_64 box running CentOS 4.2 - things seem to be > OK but running the pre-flight check i get this > > Size of service_message struct (528 bytes) is > POSIX-guaranteed atomic > write size (512 bytes). Service checks results may get lost or mangled! > > Is this something to be worried about?? > > 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 > It turns out that struct timeval is different 8-bytes verses 16-bytes. What if the value of MAX_PLUGINOUTPUT_LENGTH was calculated at compile time, based on the overall size of the service_message structure? Of course, I think this would mean that all of your Nagios machines have to be of the same architecture? I've recompiled with the two changes shown below... So far so good. *** objects.h.orig 2006-01-19 15:46:13.000000000 -0500 --- objects.h 2006-01-19 15:46:25.000000000 -0500 *************** *** 45,51 **** #define MAX_HOSTNAME_LENGTH 64 /* max. host name length */ #define MAX_SERVICEDESC_LENGTH 64 /* max. service description length */ - #define MAX_PLUGINOUTPUT_LENGTH 348 /* max. length of plugin output */ #define MAX_STATE_HISTORY_ENTRIES 21 /* max number of old states to keep track of for flap detection */ --- 45,50 ---- *** nagios.h.orig 2006-01-19 15:47:50.000000000 -0500 --- nagios.h 2006-01-19 15:47:26.000000000 -0500 *************** *** 389,394 **** --- 389,396 ---- }notification; + #define MAX_PLUGINOUTPUT_LENGTH 512-MAX_HOSTNAME_LENGTH-MAX_SERVICEDESC_LENGTH-5*sizeof(int)-2*sizeof(struct timeval) /* max. length of plugin output */ + /* SERVICE_MESSAGE structure */ typedef struct service_message_struct{ char host_name[MAX_HOSTNAME_LENGTH]; /* host name */ -----Original Message----- From: nagios-users-admin at lists.sourceforge.net on behalf of Chris Waters Sent: Thu 01/19/2006 03:19 PM To: nagios-users at lists.sourceforge.net Cc: Subject: RE: [Nagios-users] Nagios 2.0rc2 on FC4 x86_64 I have the same issue on Nagios 2.06b FC4 x86_64 although I have not seen an actualy problem arise from the warning yet that I can tell. Chris Waters WAN/LAN Technician JELD-WEN, Inc. Network Services Group =================== -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Miner, Jonathan W (CSC) (US SSA) Sent: Thursday, January 19, 2006 12:00 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios 2.0rc2 on FC4 x86_64 I didn't modify "objects.h", so it must be the compiler padding things differently for 64-bit. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net on behalf of Marc Powell Sent: Thu 01/19/2006 02:32 PM To: nagios-users at lists.sourceforge.net Cc: Subject: RE: [Nagios-users] Nagios 2.0rc2 on FC4 x86_64 >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >> admin at lists.sourceforge.net] On Behalf Of Miner, Jonathan W (CSC) (US SSA) >> Sent: Thursday, January 19, 2006 11:29 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Nagios 2.0rc2 on FC4 x86_64 >> >> Hi - >> >> I've noticed an interesting warning when running Nagios on a 64-bit >> machine: >> > >>> > Warning: Size of service_message struct (528 bytes) is > POSIX- > >> guaranteed > >>> > atomic write size (512 bytes). Service checks results may get lost or >>> > mangled! > >> The most probable reason for this is that you have modified the MAX_HOSTNAME_LENGTH (64), MAX_SERVICEDESC_LENGTH (64) or MAX_OLUGINOUTPUT_LENGTH (348) variables from their defaults in include/objects.h. They are set so that the entire service_message struct is < 512 bytes. If that's not the case then you may be seeing compiler oddities that cause other structs or types (int, timeval) to be larger than normal. >> How concerned should I be? Should I be looking for a 32-bit machine to >> host my production instance of Nagios? While I can't tell you all the possible problems that might result, one that I know is that if you are using passive checks, the results may get lost or mangled because they're larger than what can usually be written to a named pipe in one go. 32-bit vs 64-bit isn't a factor unless 64-bit allows for larger pipes. The hostname length + service description length + plugin output length would have to be > ~480 bytes to be worrisome. -- 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=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=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=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 dhopp at GOCSC.com Thu Feb 16 19:10:16 2006 From: dhopp at GOCSC.com (Dennis Hopp) Date: Thu, 16 Feb 2006 12:10:16 -0600 Subject: Nagios 2.0 RPM Message-ID: <395D09D0C949AF40B9DDFEE9C93A47FF05ECE8C0@hudson.gocsc.com> I'm going to guess no as there are configuration changes between 1.x and 2.x. I seem to recall a script somewhere that would try to take your 1.x config and make it 2.x compatible but I honestly don't remember where I saw it or if it was just talk about making one. --Dennis > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Network Administrator > Sent: Wednesday, February 15, 2006 1:50 PM > To: Nagios Users Mailinglist > Subject: [Nagios-users] Nagios 2.0 RPM > > I noticed that 2.0 stable is out. Is it safe to do a "rpm > -Uvh nagios-2.....rpm" to upgrade the v1.3 installation? If > not, what would be the recommended way to upgrade the installation? > > Thanks. > > 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&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 16 20:15:08 2006 From: marc at ena.com (Marc Powell) Date: Thu, 16 Feb 2006 13:15:08 -0600 Subject: Nagios 2.0 RPM Message-ID: http://oss.op5.se/nagios - courtesy of Andreas Ericsson. object_config_fix.php.gz and 12to20comments.php.gz They're unsupported and YMMV depending on how you've built your configs. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Dennis Hopp > Sent: Thursday, February 16, 2006 12:10 PM > To: Network Administrator; Nagios Users Mailinglist > Subject: RE: [Nagios-users] Nagios 2.0 RPM > > I'm going to guess no as there are configuration changes between 1.x and > 2.x. > > I seem to recall a script somewhere that would try to take your 1.x > config and make it 2.x compatible but I honestly don't remember where I > saw it or if it was just talk about making one. > > --Dennis > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > Of Network Administrator > > Sent: Wednesday, February 15, 2006 1:50 PM > > To: Nagios Users Mailinglist > > Subject: [Nagios-users] Nagios 2.0 RPM > > > > I noticed that 2.0 stable is out. Is it safe to do a "rpm > > -Uvh nagios-2.....rpm" to upgrade the v1.3 installation? If > > not, what would be the recommended way to upgrade the installation? ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search 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 16 20:20:51 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 16 Feb 2006 20:20:51 +0100 (CET) Subject: Graph links on Nagios 2.0 web interface In-Reply-To: References: Message-ID: On Thu, 16 Feb 2006, Efe Ohimor wrote: > I am currently running Nagios version 2.0 with the plugin version 1.4. I try > to create a link on my nagios web interface. I have tried it before on > version 1.2 and the links were created but I guess version 2.0 has a > different code. Or has anyone done it on version 2.0 before. > Because I have been to the Apan site and most people there have used it for > version 1.2 and someone too complained about not being able to use it with > version 2.0. What is wrong with using extended host/service info? Like: define hostextinfo{ host_name aragorn notes_url /nagios/cgi-bin/rrd-graph.cgi?host=aragorn&service=all icon_image base/redhat.png icon_image_alt Fedora Core 4 vrml_image base/redhat.png statusmap_image base/redhat.gd2 } Or: define serviceextinfo{ host_name aragorn icon_image dot.gif' border="0"> References: Message-ID: <200602161958.k1GJwWV26985@panix3.panix.com> Okay, We found the issue in popen.c that was just bailing if it found any double quote in the command string. Commenting out this bit of code allowed the quoted OIDs to work. /* This is not a shell, so we don't handle "???" */ if (strstr (cmdstring, "\"")) return 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 mkoponick at redhawk.info Thu Feb 16 23:39:46 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Thu, 16 Feb 2006 14:39:46 -0800 Subject: Check_snmp_int.pl Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109C0C@raptor.redhawk.info> Cool! Thanks! My Perl comment had little to do with the problem, but rather the fact that I need to start writing my own service checks. Thanks! Mike -----Original Message----- From: Dennis Hopp [mailto:dhopp at GOCSC.com] Sent: Thursday, February 16, 2006 9:39 AM To: Mike Koponick; Nagios Users Subject: RE: [Nagios-users] Check_snmp_int.pl That's not really perl, that's just regular expressions. If you need help with regular expressions check out "The Regex Coach". It's a free program that will help you figure out the regular expression you need to match a given phrase. --Dennis ________________________________ From: Mike Koponick [mailto:mkoponick at redhawk.info] Sent: Thursday, February 16, 2006 11:38 AM To: Dennis Hopp; Nagios Users Subject: RE: [Nagios-users] Check_snmp_int.pl Dennis, Thanks for the tip. That worked! I suppose it's time to dive into Perl ;-) Thanks! Mike -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Dennis Hopp Sent: Thursday, February 16, 2006 9:33 AM To: Mike Koponick; Nagios Users Subject: RE: [Nagios-users] Check_snmp_int.pl Try: ./check_snmp_int -H 10.xx.xx.xx -C -n GigabitEthernet0/1$ --Dennis ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mike Koponick Sent: Thursday, February 16, 2006 11:18 AM To: Nagios Users Subject: [Nagios-users] Check_snmp_int.pl I'm using check_snmp_int.pl to check on interfaces on switches/routers, but can't seem to have it look at a single interface. I think this is a "/" issue, but am not sure. When use the command: ./check_snmp_int -H 10.xx.xx.xx -C -n GigabitEthernet0/1 I receive the following: GigabitEthernet0/1:UP, GigabitEthernet0/12:DOWN, GigabitEthernet0/10:UP, GigabitEthernet0/11:DOWN: 2 int NOK : CRITICA I only wish to see one interface, rather than all of them as some are not in use and *should* be down. Thoughts? Maybe it's time for more coffee? Thanks! Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From hadmut-kdZ+H/N/Ve2ELgA04lAiVw at public.gmane.org Thu Feb 16 13:23:24 2006 From: hadmut-kdZ+H/N/Ve2ELgA04lAiVw at public.gmane.org (Hadmut Danisch) Date: Thu, 16 Feb 2006 13:23:24 +0100 Subject: check_procs and Linux? Message-ID: <20060216122324.GA336@danisch.de> Hi, I'm trying # /usr/lib/nagios/plugins/check_procs -c 2:10 -C tcsh PROCS CRITICAL: 0 processes with command name 'tcsh' although there are plenty of tcsh processes (tcsh used for testing, same problem occurs with all other processes. ps: % /bin/ps axwo "stat uid pid ppid vsz rss pcpu comm args" | egrep '(STAT|tcsh)' STAT UID PID PPID VSZ RSS %CPU COMMAND COMMAND S 1000 4968 4853 7644 2860 0.0 xterm xterm -sb -title tcsh -geometry 90x38+0+120 Ss 1000 4981 4968 5972 2188 0.0 tcsh -csh Ss+ 1000 4982 4967 5972 2128 0.0 tcsh -csh Ss 1000 5808 5807 6492 2672 0.0 tcsh -csh Ss 1000 5810 5809 6024 2196 0.0 tcsh -csh Is it possible that check_procs has a problem with parsing the output of ps? regards Hadmut ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________________ Nagios Plugin Development Mailing List Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From satish_lsurf at yahoo.com Fri Feb 17 11:06:24 2006 From: satish_lsurf at yahoo.com (satish kumar) Date: Fri, 17 Feb 2006 02:06:24 -0800 (PST) Subject: how to monitor CPU load in percentage utilization Message-ID: <20060217100624.14878.qmail@web53510.mail.yahoo.com> Hi, I have the requirement of monitoring CPU load in terms of percentage utilization instead of the 1,5,15 mins average.Please forward me a plugin if already developed by anyone in the list. Thanks, Satish --------------------------------- Relax. Yahoo! Mail virus scanning helps detect nasty viruses! -------------- next part -------------- An HTML attachment was scrubbed... URL: From mdash at juniper.net Fri Feb 17 11:40:29 2006 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Fri, 17 Feb 2006 16:10:29 +0530 Subject: check_command issue Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3A95C8EE@gaugeboson.jnpr.net> Hi, Now I am trying to use the nrpe to monitor the remote host. I have downloaded the plugin 1.4 version of nagios and nrpe 2.3. After the entire configuration according to the README file, I am getting the following error for the below command on the nagios host. ./check_nrpe -H bng-build1 -n -p 5666 -c check_disk CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages But where as, the plugin commands like check_disk, check_procs, etc are working fine on the remote host side. #/opt/nagios/libexec/check_disk -w 20 -c 10 -p /dev/da0s1a DISK OK - free space: / 877 MB (87%);| /=130MB;987;997;0;1007 Regards, Dash -----Original Message----- From: VINAY_SHARMA at advanex.co.jp [mailto:VINAY_SHARMA at advanex.co.jp] Sent: Friday, February 17, 2006 9:12 AM To: Mrutyunjaya Dash Subject: Re: [Nagios-users] check_command issue Hi, for unix boxes better use check_by_ssh commands.you can see many post in nagios forum. hope it will help you. 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 "Mrutyunjaya Dash" ??: ??: Re: [Nagios-users] check_command issue 2006/02/17 12:39 Hi Vinay, Thank you very much for your reply. But I have the requirement to monitor UNIX systems. For this do I need to install nsclient or nrpe? Regards, Mrutyunjaya Dash -------------------------- Sent from my BlackBerry Wireless Handheld -----Original Message----- From: VINAY_SHARMA at advanex.co.jp To: Mrutyunjaya Dash Sent: Thu Feb 16 16:47:10 2006 Subject: Re: [Nagios-users] check_command issue try to setup NSCLIENT on windows boxes which one you want to monitor.nsclient will perform cery good.and you will get good result. 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 "Mrutyunjaya Dash" ??: ???: cc: nagios-users-admin at lists.sour ??: [Nagios-users] check_command issue ceforge.net 2006/02/16 23:30 Hi All, We got the installation of nagios 2.0b5 with plugin 1.4.2. I have installed and configured nagios very recently. Now I have just added few servers for monitoring certain srevices. But for all the servers I am seeing the same information on the nagios screen. Below is the information of one particular server. O 02-16-2006 0d 0h 1 OK - load average: 0.00, K 19:55:39 25m 41s / 0.00, 0.00 4 bng-admi n1 Current Load O 02-16-2006 0d 0h 1 USERS OK - 2 users K 19:56:54 22m 6s / currently logged in 4 Current Users O 02-16-2006 0d 0h 1 PING OK - Packet loss = K 19:51:58 20m 51s / 0%, RTA = 0.21 ms 4 PING O 02-16-2006 0d 0h 1 DISK OK - free space: / K 19:53:13 19m 36s / 9098 MB (92%): 4 Root Partition I am getting same information for all the servers. Where as if I check physically particular service of server, the value for the service is different. I believe the check_commands are not working properly. Can somebody help me to figure out the problem? Thank you very much for all your inputs in advance. Regards, Mrutyunjaya Dash IT Engineer Juniper Networks Pvt Ltd. Bangalore -------------- next part -------------- An HTML attachment was scrubbed... URL: From naveen_joshi at intersolutions.stpn.soft.net Fri Feb 17 13:12:44 2006 From: naveen_joshi at intersolutions.stpn.soft.net (Naveen C Joshi) Date: Fri, 17 Feb 2006 17:42:44 +0530 Subject: Nagios and NRPE daemon for monitoring References: <01d001c632fe$ad699e60$b603a8c0@naveen> <619cf3c0602160659g5555ff36g@mail.gmail.com> Message-ID: <021b01c633bb$82243630$b603a8c0@naveen> Hi, Thanks for your response. With the help of SNMP we can monitor only the public resources, am I right? However I have one process (private resource) running over the remote server#3, is there any method to monitor this only with the help of SNMP? Thanks Naveen ----- Original Message ----- From: Toto Capuccino To: Naveen C Joshi Cc: nagios-users at lists.sourceforge.net Sent: Thursday, February 16, 2006 8:29 PM Subject: Re: [Nagios-users] Nagios and NRPE daemon for monitoring Hoi, yes you will need to install nrpe on the two other machines. If snmp service isnt a third part tool for you, you can already perform a number of checks with it. Also, you'd better search the list as a project is running for WMI stuff that would allow checks without any software installed on servers. But you should be patient as it started like two days ago. 2006/2/16, Naveen C Joshi : Hi, I want to use Nagios to monitor public and private resources with given below network. Please provide me guidance to accomplish this task. Centralise monitoring Nagios Host = 192.xxx.xxx.xx1 (Nagios 2.x version Installed, NRPE plugin 2.5) We have a pool of remote servers with following installation and ip. client Remote server #1 = 10.xxx.xxx.xx1 (NRPE Daemon, Nagios) client Remote server #2 = 10.xxx.xxx.xx2 client Remote server #3 = 10.xxx.xxx.xx3 Here I have confusion about Remote server#2 and 3. Do we need to install NRPE daemon for these two machines also? Is there any method to monitor these 3 machine's private and public resources without any installation on remote server#2 and 3? Please provide me help to monitor these all machines. The main objective is that we do not want to install any nagios/third party tool on all the remote servers while we have installed in one of the remote server (Remote server#1), is it possible? if yes please let me know. Thanks in advance. Naveen -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mdash at juniper.net Fri Feb 17 14:34:27 2006 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Fri, 17 Feb 2006 19:04:27 +0530 Subject: check_command issue Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3A95C933@gaugeboson.jnpr.net> Hi, Now I am trying to use the nrpe to monitor the remote host. I have downloaded the plugin 1.4 version of nagios and nrpe 2.3. After the entire configuration according to the README file, I am getting the following error for the below command on the nagios host. ./check_nrpe -H bng-build1 -n -p 5666 -c check_disk CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages In the /etc/nrpe.cfg file of remote host has the following entry for check_disk command[check_disk]=/opt/nagios/libexec/check_disk -w 20 -c 10 -p /dev/da0s1a But where as, the plugin commands like check_disk, check_procs, etc are working fine on the remote host side. #/opt/nagios/libexec/check_disk -w 20 -c 10 -p /dev/da0s1a DISK OK - free space: / 877 MB (87%);| /=130MB;987;997;0;1007 Regards, Mrutyunjaya Dash -----Original Message----- From: VINAY_SHARMA at advanex.co.jp [mailto:VINAY_SHARMA at advanex.co.jp] Sent: Friday, February 17, 2006 9:12 AM To: Mrutyunjaya Dash Subject: Re: [Nagios-users] check_command issue Hi, for unix boxes better use check_by_ssh commands.you can see many post in nagios forum. hope it will help you. 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 "Mrutyunjaya Dash" ??: ??: Re: [Nagios-users] check_command issue 2006/02/17 12:39 Hi Vinay, Thank you very much for your reply. But I have the requirement to monitor UNIX systems. For this do I need to install nsclient or nrpe? Regards, Mrutyunjaya Dash -------------------------- Sent from my BlackBerry Wireless Handheld -----Original Message----- From: VINAY_SHARMA at advanex.co.jp To: Mrutyunjaya Dash Sent: Thu Feb 16 16:47:10 2006 Subject: Re: [Nagios-users] check_command issue try to setup NSCLIENT on windows boxes which one you want to monitor.nsclient will perform cery good.and you will get good result. 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 "Mrutyunjaya Dash" ??: ???: cc: nagios-users-admin at lists.sour ??: [Nagios-users] check_command issue ceforge.net 2006/02/16 23:30 Hi All, We got the installation of nagios 2.0b5 with plugin 1.4.2. I have installed and configured nagios very recently. Now I have just added few servers for monitoring certain srevices. But for all the servers I am seeing the same information on the nagios screen. Below is the information of one particular server. O 02-16-2006 0d 0h 1 OK - load average: 0.00, K 19:55:39 25m 41s / 0.00, 0.00 4 bng-admi n1 Current Load O 02-16-2006 0d 0h 1 USERS OK - 2 users K 19:56:54 22m 6s / currently logged in 4 Current Users O 02-16-2006 0d 0h 1 PING OK - Packet loss = K 19:51:58 20m 51s / 0%, RTA = 0.21 ms 4 PING O 02-16-2006 0d 0h 1 DISK OK - free space: / K 19:53:13 19m 36s / 9098 MB (92%): 4 Root Partition I am getting same information for all the servers. Where as if I check physically particular service of server, the value for the service is different. I believe the check_commands are not working properly. Can somebody help me to figure out the problem? Thank you very much for all your inputs in advance. Regards, Mrutyunjaya Dash IT Engineer Juniper Networks Pvt Ltd. Bangalore -------------- next part -------------- An HTML attachment was scrubbed... URL: From werner.flamme at ufz.de Fri Feb 17 14:51:28 2006 From: werner.flamme at ufz.de (Werner Flamme) Date: Fri, 17 Feb 2006 14:51:28 +0100 Subject: check_command issue In-Reply-To: <0DB0FFEA6887E349861A3F6B40D71C3A95C933@gaugeboson.jnpr.net> References: <0DB0FFEA6887E349861A3F6B40D71C3A95C933@gaugeboson.jnpr.net> Message-ID: <43F5D4E0.3000002@ufz.de> Mrutyunjaya Dash schrieb am 17.02.2006 14:34: > Hi, > > > > Now I am trying to use the nrpe to monitor the remote host. I have downloaded the plugin 1.4 version of nagios and nrpe 2.3. After the entire configuration according to the README file, I am getting the following error for the below command on the nagios host. > > > > ./check_nrpe -H bng-build1 -n -p 5666 -c check_disk > > > > CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages > > > > In the /etc/nrpe.cfg file of remote host has the following entry for check_disk > > > > command[check_disk]=/opt/nagios/libexec/check_disk -w 20 -c 10 -p /dev/da0s1a > > > > But where as, the plugin commands like check_disk, check_procs, etc are working fine on the remote host side. > > > > #/opt/nagios/libexec/check_disk -w 20 -c 10 -p /dev/da0s1a > > DISK OK - free space: / 877 MB (87%);| /=130MB;987;997;0;1007 > > > > Regards, > > Mrutyunjaya Dash > > > > -----Original Message----- > From: VINAY_SHARMA at advanex.co.jp [mailto:VINAY_SHARMA at advanex.co.jp] > Sent: Friday, February 17, 2006 9:12 AM > To: Mrutyunjaya Dash > Subject: Re: [Nagios-users] check_command issue > > > > > > Hi, > > > > for unix boxes better use check_by_ssh commands.you can see many > > post in nagios forum. > > hope it will help you. > > > > > > 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 > > > > > > > > "Mrutyunjaya > > Dash" ??: > > > t> ??: Re: [Nagios-users] check_command issue > > > > 2006/02/17 12:39 > > > > > > > > > > > > > > Hi Vinay, > > > > Thank you very much for your reply. But I have the requirement to monitor > > UNIX systems. For this do I need to install nsclient or nrpe? > > > > Regards, > > Mrutyunjaya Dash > > > > -------------------------- > > Sent from my BlackBerry Wireless Handheld > > > > > > -----Original Message----- > > From: VINAY_SHARMA at advanex.co.jp > > To: Mrutyunjaya Dash > > Sent: Thu Feb 16 16:47:10 2006 > > Subject: Re: [Nagios-users] check_command issue > > > > > > try to setup NSCLIENT on windows boxes which one you want to > > monitor.nsclient will perform cery good.and you will get good result. > > > > > > > > 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 > > > > > > > > "Mrutyunjaya Dash" > > > > ??: > > > > > > ???: cc: > > > > nagios-users-admin at lists.sour ??: > > [Nagios-users] check_command issue > > > > ceforge.net > > > > > > > > 2006/02/16 23:30 > > > > > > > > > > > > > > > > Hi All, > > > > We got the installation of nagios 2.0b5 with plugin 1.4.2. I have installed > > and configured nagios very recently. Now I have just added few servers for > > monitoring certain srevices. But for all the servers I am seeing the same > > information on the nagios screen. Below is the information of one > > particular server. > > > > > > > > > > O 02-16-2006 0d 0h 1 OK - load average: 0.00, > > K 19:55:39 25m 41s / 0.00, 0.00 > > 4 > > > > bng-admi > > n1 Current > > Load > > > > > > > > > > > > > > > > > > O 02-16-2006 0d 0h 1 USERS OK - 2 users > > K 19:56:54 22m 6s / currently logged in > > 4 > > > > > > Current > > Users > > > > > > > > > > > > > > > > > > O 02-16-2006 0d 0h 1 PING OK - Packet loss = > > K 19:51:58 20m 51s / 0%, RTA = 0.21 ms > > 4 > > > > > > PING > > > > > > > > > > > > > > > > > > O 02-16-2006 0d 0h 1 DISK OK - free space: / > > K 19:53:13 19m 36s / 9098 MB (92%): > > 4 > > > > > > Root > > Partition > > > > > > > > > > > > > > > > > > > > > > > > I am getting same information for all the servers. Where as if I check > > physically particular service of server, the value for the service is > > different. > > > > I believe the check_commands are not working properly. Can somebody help me > > to figure out the problem? > > > > Thank you very much for all your inputs in advance. > > > > Regards, > > Mrutyunjaya Dash > > IT Engineer > > Juniper Networks Pvt Ltd. > > Bangalore > > Hi Mrutyunjaya, your first posting 3 hours ago was the same. check_nrpe tells you "Check the remote server logs for error messages". What did you find there? Maybe (x)inetd on the monitored host did not accept the call from your monitoring host? Maybe nrpe was not found there? I cannot see this here, so you should provide a bit more information. Regards, Werner -- Werner Flamme, Abt. WKDV UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr. 15 - 04318 Leipzig Tel.: (0341) 235-3921 - Fax (0341) 235-453921 http://www.ufz.de - eMail: werner.flamme at ufz.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 tom.brown at goodtechnology.com Fri Feb 17 15:44:37 2006 From: tom.brown at goodtechnology.com (Tom Brown) Date: Fri, 17 Feb 2006 14:44:37 +0000 Subject: check_mysql compile issue - x86_64 Message-ID: <43F5E155.6010803@goodtechnology.com> Hi I seems to be having an issue compiling the check_mysql plugin on a x86_64 box. I have MySQL installed and running and my compile line looks like... ./configure --prefix=/opt/nagios-2.0 --with-nagios-user=nagios --with-nagios-group=nagios --with-cgiurl=/cgi-bin --with-mysql=/opt/mysql however as you can see from the error below mysql libs are not found configure:9368: checking for mysql_init in -lmysqlclient configure:9398: gcc -o conftest -g -O2 -I/opt/mysql/include -L. conftest.c -lmysqlclient -L/opt/mysql/lib/mysql -lz >&5 /usr/bin/ld: cannot find -lmysqlclient | char mysql_init (); | mysql_init (); configure:9436: checking for mysql_close in -lmysqlclient configure:9466: gcc -o conftest -g -O2 -I/opt/mysql/include -L. conftest.c -lmysqlclient >&5 /usr/bin/ld: cannot find -lmysqlclient | char mysql_close (); | mysql_close (); configure:10217: WARNING: Skipping mysql plugin configure:10219: WARNING: install mysql client libs to compile this plugin (see REQUIREMENTS). ac_cv_lib_mysqlclient_mysql_close=no ac_cv_lib_mysqlclient_mysql_init=no however $ ls -l /opt/mysql/lib/ total 6160 -rw-rw-r-- 1 8972 8972 11790 Sep 2 23:55 libdbug.a -rw-r--r-- 1 8972 8972 57872 Feb 28 2005 libmygcc.a -rw-rw-r-- 1 8972 8972 312020 Sep 2 23:55 libmysqlclient.a -rw-rw-r-- 1 8972 8972 321234 Sep 2 23:54 libmysqlclient_r.a -rw-rw-r-- 1 8972 8972 5201886 Sep 3 00:05 libmysqld.a -rw-r--r-- 1 8972 8972 1685 Sep 2 23:38 libmysql.imp -rw-rw-r-- 1 8972 8972 112282 Sep 2 23:55 libmystrings.a -rw-rw-r-- 1 8972 8972 241102 Sep 2 23:55 libmysys.a any ideas?? this is using mysql 4.0.26 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.stankaitis at datawire.net Fri Feb 17 16:01:47 2006 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Fri, 17 Feb 2006 10:01:47 -0500 Subject: check_mysql compile issue - x86_64 In-Reply-To: <43F5E155.6010803@goodtechnology.com> References: <43F5E155.6010803@goodtechnology.com> Message-ID: <43F5E55B.8030007@datawire.net> It's not the *best* solution but a work around to this is to manually edit the configure file before doing your ./configure as the configure file has /usr/lib hard-coded and won't figure out /usr/lib64 without some help *note* all this is from a Red Hat point of view, may require some modification for your build find MYSQLLIBDIR=$MYSQL/lib chage it to MYSQLLIBDIR=$MYSQL/lib64 then use --with-mysql=/usr in the configure. That process worked for me.. --Chris Tom Brown wrote: > Hi > > I seems to be having an issue compiling the check_mysql plugin on a > x86_64 box. I have MySQL installed and running and my compile line looks > like... > > ./configure --prefix=/opt/nagios-2.0 --with-nagios-user=nagios > --with-nagios-group=nagios --with-cgiurl=/cgi-bin --with-mysql=/opt/mysql > > however as you can see from the error below mysql libs are not found > > configure:9368: checking for mysql_init in -lmysqlclient > configure:9398: gcc -o conftest -g -O2 -I/opt/mysql/include -L. > conftest.c -lmysqlclient -L/opt/mysql/lib/mysql -lz >&5 > /usr/bin/ld: cannot find -lmysqlclient > | char mysql_init (); > | mysql_init (); > configure:9436: checking for mysql_close in -lmysqlclient > configure:9466: gcc -o conftest -g -O2 -I/opt/mysql/include -L. > conftest.c -lmysqlclient >&5 > /usr/bin/ld: cannot find -lmysqlclient > | char mysql_close (); > | mysql_close (); > configure:10217: WARNING: Skipping mysql plugin > configure:10219: WARNING: install mysql client libs to compile this > plugin (see REQUIREMENTS). > ac_cv_lib_mysqlclient_mysql_close=no > ac_cv_lib_mysqlclient_mysql_init=no > > however > > $ ls -l /opt/mysql/lib/ > total 6160 > -rw-rw-r-- 1 8972 8972 11790 Sep 2 23:55 libdbug.a > -rw-r--r-- 1 8972 8972 57872 Feb 28 2005 libmygcc.a > -rw-rw-r-- 1 8972 8972 312020 Sep 2 23:55 libmysqlclient.a > -rw-rw-r-- 1 8972 8972 321234 Sep 2 23:54 libmysqlclient_r.a > -rw-rw-r-- 1 8972 8972 5201886 Sep 3 00:05 libmysqld.a > -rw-r--r-- 1 8972 8972 1685 Sep 2 23:38 libmysql.imp > -rw-rw-r-- 1 8972 8972 112282 Sep 2 23:55 libmystrings.a > -rw-rw-r-- 1 8972 8972 241102 Sep 2 23:55 libmysys.a > > any ideas?? > > this is using mysql 4.0.26 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 tom.brown at goodtechnology.com Fri Feb 17 16:09:41 2006 From: tom.brown at goodtechnology.com (Tom Brown) Date: Fri, 17 Feb 2006 15:09:41 +0000 Subject: check_mysql compile issue - x86_64 In-Reply-To: <43F5E55B.8030007@datawire.net> References: <43F5E155.6010803@goodtechnology.com> <43F5E55B.8030007@datawire.net> Message-ID: <43F5E735.5000305@goodtechnology.com> > It's not the *best* solution but a work around to this is to manually > edit the configure file before doing your ./configure as the configure > file has /usr/lib hard-coded and won't figure out /usr/lib64 without > some help > > *note* all this is from a Red Hat point of view, may require some > modification for your build > > find MYSQLLIBDIR=$MYSQL/lib > chage it to > > MYSQLLIBDIR=$MYSQL/lib64 hmmm mine looked a bit different but the process was similar - however it seems that now it is not happy about the version configure:9368: checking for mysql_init in -lmysqlclient configure:9398: gcc -o conftest -g -O2 -I/opt/mysql/include -L. conftest.c -lmysqlclient -L/opt/mysql/lib -lz >&5 /usr/bin/ld: skipping incompatible /opt/mysql/lib/libmysqlclient.a when searching for -lmysqlclient /usr/bin/ld: cannot find -lmysqlclient | char mysql_init (); | mysql_init (); configure:9436: checking for mysql_close in -lmysqlclient configure:9466: gcc -o conftest -g -O2 -I/opt/mysql/include -L. conftest.c -lmysqlclient >&5 /usr/bin/ld: cannot find -lmysqlclient | char mysql_close (); | mysql_close (); configure:10217: WARNING: Skipping mysql plugin this is on a CentOS 4.2 box (RHEL4) - it can now find the lib but any ideas on the version issue? 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 mdash at juniper.net Fri Feb 17 16:14:34 2006 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Fri, 17 Feb 2006 20:44:34 +0530 Subject: check_command issue Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3A95C957@gaugeboson.jnpr.net> Hi, I am not getting any information regarding check_by_ssh implementation, how can we use this check_by_shh to monitor remote host? Regards, Dash -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Werner Flamme Sent: Friday, February 17, 2006 7:21 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_command issue Mrutyunjaya Dash schrieb am 17.02.2006 14:34: > Hi, > > > > Now I am trying to use the nrpe to monitor the remote host. I have downloaded the plugin 1.4 version of nagios and nrpe 2.3. After the entire configuration according to the README file, I am getting the following error for the below command on the nagios host. > > > > ./check_nrpe -H bng-build1 -n -p 5666 -c check_disk > > > > CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages > > > > In the /etc/nrpe.cfg file of remote host has the following entry for check_disk > > > > command[check_disk]=/opt/nagios/libexec/check_disk -w 20 -c 10 -p /dev/da0s1a > > > > But where as, the plugin commands like check_disk, check_procs, etc are working fine on the remote host side. > > > > #/opt/nagios/libexec/check_disk -w 20 -c 10 -p /dev/da0s1a > > DISK OK - free space: / 877 MB (87%);| /=130MB;987;997;0;1007 > > > > Regards, > > Mrutyunjaya Dash > > > > -----Original Message----- > From: VINAY_SHARMA at advanex.co.jp [mailto:VINAY_SHARMA at advanex.co.jp] > Sent: Friday, February 17, 2006 9:12 AM > To: Mrutyunjaya Dash > Subject: Re: [Nagios-users] check_command issue > > > > > > Hi, > > > > for unix boxes better use check_by_ssh commands.you can see many > > post in nagios forum. > > hope it will help you. > > > > > > 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 > > > > > > > > "Mrutyunjaya > > Dash" ??????: > > > t> ??????: Re: [Nagios-users] check_command issue > > > > 2006/02/17 12:39 > > > > > > > > > > > > > > Hi Vinay, > > > > Thank you very much for your reply. But I have the requirement to monitor > > UNIX systems. For this do I need to install nsclient or nrpe? > > > > Regards, > > Mrutyunjaya Dash > > > > -------------------------- > > Sent from my BlackBerry Wireless Handheld > > > > > > -----Original Message----- > > From: VINAY_SHARMA at advanex.co.jp > > To: Mrutyunjaya Dash > > Sent: Thu Feb 16 16:47:10 2006 > > Subject: Re: [Nagios-users] check_command issue > > > > > > try to setup NSCLIENT on windows boxes which one you want to > > monitor.nsclient will perform cery good.and you will get good result. > > > > > > > > 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 > > > > > > > > "Mrutyunjaya Dash" > > > > ??????: > > > > > > ?????????: cc: > > > > nagios-users-admin at lists.sour ??????: > > [Nagios-users] check_command issue > > > > ceforge.net > > > > > > > > 2006/02/16 23:30 > > > > > > > > > > > > > > > > Hi All, > > > > We got the installation of nagios 2.0b5 with plugin 1.4.2. I have installed > > and configured nagios very recently. Now I have just added few servers for > > monitoring certain srevices. But for all the servers I am seeing the same > > information on the nagios screen. Below is the information of one > > particular server. > > > > > > > > > > O 02-16-2006 0d 0h 1 OK - load average: 0.00, > > K 19:55:39 25m 41s / 0.00, 0.00 > > 4 > > > > bng-admi > > n1 Current > > Load > > > > > > > > > > > > > > > > > > O 02-16-2006 0d 0h 1 USERS OK - 2 users > > K 19:56:54 22m 6s / currently logged in > > 4 > > > > > > Current > > Users > > > > > > > > > > > > > > > > > > O 02-16-2006 0d 0h 1 PING OK - Packet loss = > > K 19:51:58 20m 51s / 0%, RTA = 0.21 ms > > 4 > > > > > > PING > > > > > > > > > > > > > > > > > > O 02-16-2006 0d 0h 1 DISK OK - free space: / > > K 19:53:13 19m 36s / 9098 MB (92%): > > 4 > > > > > > Root > > Partition > > > > > > > > > > > > > > > > > > > > > > > > I am getting same information for all the servers. Where as if I check > > physically particular service of server, the value for the service is > > different. > > > > I believe the check_commands are not working properly. Can somebody help me > > to figure out the problem? > > > > Thank you very much for all your inputs in advance. > > > > Regards, > > Mrutyunjaya Dash > > IT Engineer > > Juniper Networks Pvt Ltd. > > Bangalore > > Hi Mrutyunjaya, your first posting 3 hours ago was the same. check_nrpe tells you "Check the remote server logs for error messages". What did you find there? Maybe (x)inetd on the monitored host did not accept the call from your monitoring host? Maybe nrpe was not found there? I cannot see this here, so you should provide a bit more information. Regards, Werner -- Werner Flamme, Abt. WKDV UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr. 15 - 04318 Leipzig Tel.: (0341) 235-3921 - Fax (0341) 235-453921 http://www.ufz.de - eMail: werner.flamme at ufz.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=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 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 Fri Feb 17 16:15:24 2006 From: thomas.edwards at accredohealth.com (thomas.edwards at accredohealth.com) Date: Fri, 17 Feb 2006 09:15:24 -0600 Subject: Important Message from the Accredo Health Email Gateway Message-ID: <6FEB370625W135831-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: "Mrutyunjaya Dash" To: Subject: RE: [Nagios-users] check_command issue Date: 02/17/06, 09:15:23 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: 6FEB370B2583878384-01 ----------------------------------------------------------- From jperrin at gmail.com Fri Feb 17 17:19:48 2006 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 17 Feb 2006 11:19:48 -0500 Subject: check_mysql compile issue - x86_64 In-Reply-To: <43F5E735.5000305@goodtechnology.com> References: <43F5E155.6010803@goodtechnology.com> <43F5E55B.8030007@datawire.net> <43F5E735.5000305@goodtechnology.com> Message-ID: <302ce8b50602170819p457266ebmcdc7228974598f43@mail.gmail.com> > this is on a CentOS 4.2 box (RHEL4) - it can now find the lib but any > ideas on the version issue? Slightly off topic but... Why are you building this from source? It's already been built and packaged in rpm form for use on RHEL/CentOS. I run these packages on centos regularly with no problem at all. http://dag.wieers.com/packages/nagios-plugins/ http://dag.wieers.com/packages/nagios/ If nothing else, take a look at the spec file to see how dag handles the builds for x86_64. -- "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 rafaelc at vegait.com.br Fri Feb 17 19:03:51 2006 From: rafaelc at vegait.com.br (Rafael Bandeira da Costa) Date: Fri, 17 Feb 2006 15:03:51 -0300 Subject: Status Map icons issue In-Reply-To: <7FCB0E206880084DB3D57CBAA2119F1202366952@blums0010> References: <43F4A2B3.5040005@dept.fuller.edu> <7FCB0E206880084DB3D57CBAA2119F120236694C@blums0010> <43F4AE37.9030106@dept.fuller.edu> <7FCB0E206880084DB3D57CBAA2119F120236694F@blums0010> <43F4B81E.1040802@dept.fuller.edu> <7FCB0E206880084DB3D57CBAA2119F1202366952@blums0010> Message-ID: <43F61007.8080300@vegait.com.br> Miner, Jonathan W (CSC) (US SSA) escreveu: >The statusmap_image has to be a "gd2" file. > > Not exactly. I use PNG files and it works perfectly on Nagios v2.0b4. -- Rafael Costa rafaelc at vegait.com.br Curitiba - PR - Brasil ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 17 19:07:42 2006 From: dany.allard at aeso.ca (Dany Allard) Date: Fri, 17 Feb 2006 11:07:42 -0700 Subject: nagios with tripwire Message-ID: <627D0C6CCD47B14BB08D77155E78D30101242E90@post1.aeso.ca> Hello everyone Has anyone used Nagios to monitor tripwire events? If someone has done this and could point me in the right direction, that would be great. Thank you for your time Dany Allard 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. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search 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 17 19:19:40 2006 From: dany.allard at aeso.ca (Dany Allard) Date: Fri, 17 Feb 2006 11:19:40 -0700 Subject: R: I: NSClient++ configuration problems Message-ID: <627D0C6CCD47B14BB08D77155E78D30101242E94@post1.aeso.ca> Marco A quick test to make sure that the port is open is to telnet to it. > telnet YourHostname 1248 If you don't get a connection failed message the port should be open. If it fails with "..Could not open connection to the host..." then the port is being blocked somewhere. Dany Allard -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marco Borsani Sent: Thursday, February 16, 2006 3:11 AM To: 'Michael Medin' Cc: 'NAGIOS' Subject: R: R: [Nagios-users] I: NSClient++ configuration problems I set 1248 (NSClient) and 5666 (NRPE) ports on NCS.INI file. I see both ports open (but associated to local IP 0.0.0.0), NSClient++ is running, but neither a check_nt, a check_nrpe or a check_tcp run correctly. Marco 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. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search 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 a.tillner at gmx.de Fri Feb 17 19:31:33 2006 From: a.tillner at gmx.de (Andreas Tillner) Date: Fri, 17 Feb 2006 19:31:33 +0100 (MET) Subject: NDOUtils 1.3.1: Compilation error Message-ID: <24551.1140201093@www001.gmx.net> Hallo, yesterday, I compiled NDOUtils 1.3.1 on a SUSE 10.0 (32Bit) Box and everything works fine. Today, I try the same on a 64Bit SUSE 10.0 Server and I got the following error. /tmp/ndoutils-1.3.1$ make cd ./src/; make ; cd .. make[1]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -g -O2 -DHAVE_CONFIG_H -c -o io.o io.c ... make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' make ndomod-2x.o make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndomod-2x.o ndomod.c io.o utils.o -shared -lnsl /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-su se-linux/bin/ld: io.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC io.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [ndomod-2x.o] Error 1 make[1]: *** [ndomod] Error 2 make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' Is there something I have to change on the 64Bit Box ? Regards, Andreas -- DSL-Aktion wegen gro?er Nachfrage bis 28.2.2006 verl?ngert: GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Feb 17 20:10:54 2006 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Fri, 17 Feb 2006 13:10:54 -0600 (CST) Subject: nagios with tripwire In-Reply-To: <627D0C6CCD47B14BB08D77155E78D30101242E90@post1.aeso.ca> References: <627D0C6CCD47B14BB08D77155E78D30101242E90@post1.aeso.ca> Message-ID: On Fri, 17 Feb 2006, Dany Allard wrote: > Hello everyone > > Has anyone used Nagios to monitor tripwire events? > > If someone has done this and could point me in the right direction, that > would be great. > Dany, It's been a while since I used tripwire but I don't recall it generating any events, per se. If you have tripwire setup, and you'd like to incorporate changes of summed files, you could certainly write a plugin to do so and represent a change of some file, say /etc/passwd, as a CRITICAL within Nagios. You could probably also hook up Nagios and send it passive service checks out of the cronjob running tripwire in verify mode. Let me know if this is what you had in mind. It sounds to me like it could be done but I'm unaware of any existing plugins in this space at the moment. 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 thyes at gmx.net Fri Feb 17 20:29:31 2006 From: thyes at gmx.net (Frank Thyes) Date: Fri, 17 Feb 2006 20:29:31 +0100 Subject: check_nrpe 2.0 and simple shell scripting Message-ID: <20060217192931.GA820@gator> Dear list, im expieriencing a strange behaviour with check_nrpe in conjunction with a simple shell script. The script does nothing exceptionally. The script should check the files which hang around in the postfic mailq. Sure for this purpose exists a special plugin called check_mailq, but this plugin just calls the program mailq. Supposed we have 20k mails in there the command needs a lot of time to comlete. Its faster to count the files in active and deferred to get the whole queue. Unfortunately each time i use something like the example among, the script just return exit code 3, unkonw... ACTIVE=`find /var/spool/postfix/active/ -type f | wc -l` .. if [ $AMOUNT -ge 0 ]; then .. Writing the output from find to a tmp file doesnt work too /usr/bin/find /var/spool/postfix/active/ -type f > /tmp/active ACTIVE=`cat /tmp/active| wc -l` The general functionality has been verified with statical values. Any ideas? Regards Frank -- religion kill humans! ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 17 20:37:54 2006 From: jhmartin at toger.us (Jason Martin) Date: Fri, 17 Feb 2006 11:37:54 -0800 Subject: nagios with tripwire In-Reply-To: References: <627D0C6CCD47B14BB08D77155E78D30101242E90@post1.aeso.ca> Message-ID: <20060217193754.GI9663@mal.toger.us> On Fri, Feb 17, 2006 at 01:10:54PM -0600, Demetri Mouratis wrote: > >Has anyone used Nagios to monitor tripwire events? Check_log could monitor tripwire's logfile for any alerts. -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 marc at ena.com Fri Feb 17 20:40:48 2006 From: marc at ena.com (Marc Powell) Date: Fri, 17 Feb 2006 13:40:48 -0600 Subject: check_nrpe 2.0 and simple shell scripting Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Frank Thyes > Sent: Friday, February 17, 2006 1:30 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_nrpe 2.0 and simple shell scripting > > > Dear list, > im expieriencing a strange behaviour with check_nrpe in conjunction > with a simple shell script. The script does nothing exceptionally. > The script should check the files which hang around in the > postfic mailq. Sure for this purpose exists a special plugin called > check_mailq, but this plugin just calls the program mailq. Supposed > we have 20k mails in there the command needs a lot of time to > comlete. Its faster to count the files in active and deferred to get > the whole queue. Unfortunately each time i use something like the > example among, the script just return exit code 3, unkonw... > > ACTIVE=`find /var/spool/postfix/active/ -type f | wc -l` > .. > if [ $AMOUNT -ge 0 ]; then > .. > > Writing the output from find to a tmp file doesnt work too > > /usr/bin/find /var/spool/postfix/active/ -type f > /tmp/active > ACTIVE=`cat /tmp/active| wc -l` > > The general functionality has been verified with statical values. > > Any ideas? Typically mail queues are only readable by root. Have you modified permissions on the queue directory, the script or are you using sudo to run it successfully as a non-root user? The mailq command typically has the required permissions and that's why it's used by check_mailq. Are you exiting with the proper output and exit code that nagios requires? See the Developer Guidelines at http://nagiosplug.sf.net if you haven't already. As to why your script always exits with code 3, we can't tell you since we didn't write the script and you didn't post enough of it to tell anything really useful. If that's not what it should be exiting with, then change the script to return the proper exit code. -- 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 thyes at gmx.net Fri Feb 17 21:16:36 2006 From: thyes at gmx.net (Frank Thyes) Date: Fri, 17 Feb 2006 21:16:36 +0100 Subject: check_nrpe 2.0 and simple shell scripting In-Reply-To: References: Message-ID: <20060217201636.GB820@gator> Hi Marc, +++ Marc Powell [Fri, Feb 17, 2006 at 08:40:48PM CET]: > > Typically mail queues are only readable by root. Have you modified > permissions on the queue directory, the script or are you using sudo to > run it successfully as a non-root user? The mailq command typically has > the required permissions and that's why it's used by check_mailq. Sorry i forgot to mention. Yes i have tried running the nrpe daemon as root and also setting the script suid even starting the daemon directly as root or from inetd. > Are you exiting with the proper output and exit code that nagios > requires? See the Developer Guidelines at http://nagiosplug.sf.net if > you haven't already. I know the site, the return codes are used as decribed. > As to why your script always exits with code 3, we can't tell you since My mistake the return code isnt 3 its 0 see the log... > we didn't write the script and you didn't post enough of it to tell > anything really useful. If that's not what it should be exiting with, > then change the script to return the proper exit code. Query from the monitoring host. Its not the first time that i am using nrpe, other scripts (perl and shell) works as expected. ./check_nrpe -H 10.0.33.180 -c mail CHECK_NRPE: Error receiving data from daemon. The nrpe.cfg on the client which should be checked contains the following line. command[mail]=/path/to/script/mail The script is executable and the daemon is started from inetd. Inetd.conf calls the deamon as root (testing only). The script runs fine if executed from the shell. Debugging enabled shows me: Feb 17 21:04:14 xxxxx nrpe[5777]: Added command[mail]=/path/to/script/mail Feb 17 21:04:14 xxxxx nrpe[5777]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Feb 17 21:04:14 xxxxx nrpe[5777]: Handling the connection... Feb 17 21:04:14 xxxxx nrpe[5777]: Host is asking for command 'mail' to be run... Feb 17 21:04:14 xxxxx nrpe[5777]: Running command: /path/to/script/mail Feb 17 21:04:15 xxxxx nrpe[5777]: Command completed with return code 0 and output: 0 The script looks like this one (its not the original script but the error can be reproduced with it) #!/bin/bash # 0=OK, 1=WARNING, 2=CRITICAL, 3=UNKNOWN ACTIVE=`find /var/spool/postfix/active/ -type f | wc -l` DEFERRED=`find /var/spool/postfix/active/ -type f | wc -l` AMOUNT=`expr $ACTIVE + $DEFERRED` THRESHOLD_WARNING=10000 THRESHOLD_CRITICAL=15000 if [ $AMOUNT -ge 0 ]; then if [ $AMOUNT -lt $THRESHOLD_WARNING ]; then echo $AMOUNT exit 0 fi fi if [ $AMOUNT -gt $THRESHOLD_WARNING ]; then if [ $AMOUNT -lt $THRESHOLD_CRITICAL ]; then echo $AMOUNT exit 1 fi fi if [ $AMOUNT -gt $THRESHOLD_CRITICAL ]; then echo $AMOUNT exit 2 fi echo unknown; exit 3 xxxxxx:# ./mail 9986 xxxxxx:# echo $? 0 Regards Frank -- We belong to here where no one cares and no one loves. No light and no air to live in a place called hate, the city of fear. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ray at prime.gushi.org Fri Feb 17 21:44:53 2006 From: ray at prime.gushi.org (Matthew Mosesohn) Date: Fri, 17 Feb 2006 15:44:53 -0500 (EST) Subject: NSCA 2.5 won't communicate Message-ID: <20060217153905.D6368@prime.gushi.org> I recently upgraded to nagios 2.0 (I preferred not to use any of the betas because it would involve upgrading multiple times). I upgraded to NSCA 2.5 also in this process, but my machine which is a firewall on a NAT uses send_nsca and it appears to be functioning properly. Also, my machine that runs nagios and does all the reporting is actually receiving the traffic, and can be observed on tcpdump. However, I am not getting any signs of life in log files /var/log/messages or /usr/local/nagios/var/nagios.log. NSCA is running on the machine, and the port is open. The rw directory of nagios is accessible to the NSCA user also. Matthew ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Sat Feb 18 12:50:58 2006 From: amontibello at gmail.com (Anthony Montibello) Date: Sat, 18 Feb 2006 06:50:58 -0500 Subject: NC_Net now on sourceforge Message-ID: Hi Everyone, I just crated a project page in Sourceforge for NC_Net. NC_net is a drop in replacement for pNS_Client that was writen in C# and uses the Dot Net Framework. I preforms all the checks of NS_Client without any modification to your nagios configuration as well as a host of other checks. It can be found at the following link: http://sourceforge.net/projects/nc-net All support for NC_net should be posted into the help forum: http://sourceforge.net/forum/forum.php?forum_id=540979 I just started porting NC_Net into Dot Net Framework 2.0 The inital build (NC_Net 3.0 ) is on the Dot net Framework 2.0 and is currently availible on sourceforge. NOTE: I do not recomend everyone to update to this version since the major change between this and 2.28 is just the Dot net version. however it is out there availible for downloading for new hosts or testing. As time permitts I will be updating the files sections with seperate downloads for documentaiton and tools. I have several planned upgrades, and I am sure there will be some unplanned as well. If anyone has any suggestions on WMI queries or Windows program service Checking (for example: Similar to the *Check Backup Exec Veritas Services *on NagiosExchange) please contribute it to the Open Discussion forum. http://sourceforge.net/forum/forum.php?forum_id=540978 -- Thank you for trying NC_Net. Tony -------------- next part -------------- An HTML attachment was scrubbed... URL: From nemir at hotmail.com Sat Feb 18 13:02:59 2006 From: nemir at hotmail.com (nemir nemiria) Date: Sat, 18 Feb 2006 12:02:59 +0000 Subject: how to monitor CPU load in percentage utilization In-Reply-To: <20060217100624.14878.qmail@web53510.mail.yahoo.com> References: <20060217100624.14878.qmail@web53510.mail.yahoo.com> Message-ID: Hi there. > I have the requirement of monitoring CPU load in terms of percentage >utilization instead of the 1,5,15 mins average.Please forward me a plugin >if already developed by anyone in the list. Nagios Exchange has many great plugins written by third parties. You can find a check_cpu plugin that meets your requirements. http://www.nagiosexchange.org/Linux.55.0.html?&tx_netnagext_pi1[p_view]=238 > Thanks, Satish HTH. :-) Nemir ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From juanlmera at gmail.com Sun Feb 19 20:33:45 2006 From: juanlmera at gmail.com (Juan Mera) Date: 19 Feb 2006 14:33:45 -0500 Subject: NAGIOS 2.0 and SuSE 10 Message-ID: <20060219T143345Z_BC52000B0000@gmail.com> Good Day, I follow Novell Service Monitoring Tool By Rainer Brunold. Install and configure are ok (Rainer forgot mention install GD Graphics Library). My problem is Step 19: Verify the nagios configuration and start it. Error: Command 'check-host-alive' has already been defined Error: Could not register command (config file '/opt/nagios/etc/minimal.cfg', starting on line 76) Line 76 of minimal.cfg # Command to check to see if a host is "alive" (up) by pinging it define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 99,99% -c 100,100% -p 1 } What it's wrong? Thanks for your time, Regards, Juan L. Mera ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search 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 M.Mazurek at netsync.pl Sun Feb 19 20:42:17 2006 From: M.Mazurek at netsync.pl (Marcin Mazurek) Date: Sun, 19 Feb 2006 20:42:17 +0100 Subject: NAGIOS 2.0 and SuSE 10 In-Reply-To: <20060219T143345Z_BC52000B0000@gmail.com> References: <20060219T143345Z_BC52000B0000@gmail.com> Message-ID: <20060219194216.GA28835@netsync.pl> Juan Mera (juanlmera at gmail.com) napisa?(a): > Error: Command 'check-host-alive' has already been defined > Error: Could not register command (config file > '/opt/nagios/etc/minimal.cfg', starting on line 76) > > Line 76 of minimal.cfg > # Command to check to see if a host is "alive" (up) by pinging it > > define command{ > command_name check-host-alive > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 99,99% -c > 100,100% -p 1 > } > > What it's wrong? You must have check-host-alive already defined somewhere. You might user grep to look for c-h-a in Your included config files. hth -- http://www.actus.org.pl/ - :::: - nic-hdl: MM3380-RIPE GnuPG 6687 E661 98B0 AEE6 DA8B 7F48 AEE4 776F 5688 DC89 http://www.poznan.linux.org.pl/ : http://www.netsync.pl/ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search 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 Sun Feb 19 23:19:52 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 20 Feb 2006 11:19:52 +1300 Subject: R: I: NSClient++ configuration problems In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B90ED72@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B90ED72@vxchange.vcr.auckland.ac.nz> Message-ID: <031701c635a2$9abb7b70$8ea8d882@438LG01sshi052> (Danny Allard) > A quick test to make sure that the port is open is to telnet to it. > > telnet YourHostname 1248 On www.nagiosexchange.org you can download my checkagent utility, which will probe a remote host for various agents (NRPE, NRPE/SSL, pNSclient (including NC_Net, NSClient++), BigBrother, NagEventLog, SNMP (support in beta)) and report on what it finds. Useful for testing for intervening firewalls and so on. Might be useful? 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 Sun Feb 19 23:21:28 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 20 Feb 2006 11:21:28 +1300 Subject: Nagios and NRPE daemon for monitoring In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B90ED67@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B90ED67@vxchange.vcr.auckland.ac.nz> Message-ID: <031801c635a2$d3f3eb70$8ea8d882@438LG01sshi052> If you are using the UCD SNMP daemon (the one shipped with Linux, but you can compile it for other UNIXes) then this allows you to monitor for instances of a process. Steve _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Naveen C Joshi Sent: Saturday, 18 February 2006 1:13 a.m. To: Toto Capuccino Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios and NRPE daemon for monitoring Hi, Thanks for your response. With the help of SNMP we can monitor only the public resources, am I right? However I have one process (private resource) running over the remote server#3, is there any method to monitor this only with the help of SNMP? Thanks Naveen -------------- next part -------------- An HTML attachment was scrubbed... URL: From naveen_joshi at intersolutions.stpn.soft.net Mon Feb 20 06:07:29 2006 From: naveen_joshi at intersolutions.stpn.soft.net (Naveen C Joshi) Date: Mon, 20 Feb 2006 10:37:29 +0530 Subject: Nagios and NRPE daemon for monitoring References: <031801c635a2$d3f3eb70$8ea8d882@438LG01sshi052> Message-ID: <000e01c635db$a4ead080$b603a8c0@naveen> Hi Steve, Please give me if any of the document is on the net for such configuration. I have one server pool A(host#1, host#2, host#3) and a centralize Nagios monitoring server with NRPE Plugin i.e. host#4. Server poolA is behind firewall from our centralize monitoring Nagios host#4. At server pool A, host#1 is having installed Nagios, NRPEplugin and NRPE daemon(for centralize Nagios host#4) and other two hosts (host#2 and host#3) is having NRPE daemon only. Now I want to configure host#2 and host#3 monitoring on host#1 (because this server has NRPE daemon/plugin installed with Nagios) and then Host#1 is monitored by host#4 which is our centralize Nagios monitoring server, Is this scenario possible. How the Host#1 will provide the information of Host#2 and #3 to the Host#4??? This is the Level1 and Level2 monitoring, is this possible? If yes please let me know which tools we need to install on it and if any document on the net. Thanks for the help. Naveen ----- Original Message ----- From: Steve Shipway To: 'Toto Capuccino' Cc: nagios-users at lists.sourceforge.net Sent: Monday, February 20, 2006 3:51 AM Subject: RE: [Nagios-users] Nagios and NRPE daemon for monitoring If you are using the UCD SNMP daemon (the one shipped with Linux, but you can compile it for other UNIXes) then this allows you to monitor for instances of a process. Steve ---------------------------------------------------------------------------- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Naveen C Joshi Sent: Saturday, 18 February 2006 1:13 a.m. To: Toto Capuccino Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios and NRPE daemon for monitoring Hi, Thanks for your response. With the help of SNMP we can monitor only the public resources, am I right? However I have one process (private resource) running over the remote server#3, is there any method to monitor this only with the help of SNMP? Thanks Naveen -------------- next part -------------- An HTML attachment was scrubbed... URL: From satish_lsurf at yahoo.com Mon Feb 20 12:13:46 2006 From: satish_lsurf at yahoo.com (satish kumar) Date: Mon, 20 Feb 2006 03:13:46 -0800 (PST) Subject: Graphs not seen in Trends report generation Message-ID: <20060220111346.883.qmail@web53510.mail.yahoo.com> Hi, I am not able to see the graphs even though the "suppress image map" is disabled.Please let me know what steps to be taken to enable graphs. Thanks, satish --------------------------------- Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars. -------------- next part -------------- An HTML attachment was scrubbed... URL: From satish_lsurf at yahoo.com Mon Feb 20 13:23:25 2006 From: satish_lsurf at yahoo.com (satish kumar) Date: Mon, 20 Feb 2006 04:23:25 -0800 (PST) Subject: Graphs not seen in Trends report generation In-Reply-To: <20060220111346.883.qmail@web53510.mail.yahoo.com> References: <20060220111346.883.qmail@web53510.mail.yahoo.com> Message-ID: <20060220122326.28789.qmail@web53505.mail.yahoo.com> For any server/service i am getting only the indeterminate state at 100% and remaining will be 0%. Please help me ASAP. Thanks, satish satish kumar wrote: Hi, I am not able to see the graphs even though the "suppress image map" is disabled.Please let me know what steps to be taken to enable graphs. Thanks, satish --------------------------------- Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars. --------------------------------- What are the most popular cars? Find out at Yahoo! Autos -------------- next part -------------- An HTML attachment was scrubbed... URL: From jperrin at gmail.com Mon Feb 20 14:35:49 2006 From: jperrin at gmail.com (Jim Perrin) Date: Mon, 20 Feb 2006 08:35:49 -0500 Subject: Graphs not seen in Trends report generation In-Reply-To: <20060220122326.28789.qmail@web53505.mail.yahoo.com> References: <20060220111346.883.qmail@web53510.mail.yahoo.com> <20060220122326.28789.qmail@web53505.mail.yahoo.com> Message-ID: <302ce8b50602200535x66023ae4r9bdf85293a89ec73@mail.gmail.com> On 2/20/06, satish kumar wrote: > For any server/service i am getting only the indeterminate state at 100% and > remaining will be 0%. Please help me ASAP. > > Thanks, satish > > > satish kumar wrote: > > > Hi, > > I am not able to see the graphs even though the "suppress image map" is > disabled.Please let me know what steps to be taken to enable graphs. You might get a better response if you posted useful information, like say your version of nagios, what services you're trying to graph, and the related configs..... Little things like that which would allow people to help instead of pulling answers out of a random orifice. -- "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 mdash at juniper.net Mon Feb 20 16:17:06 2006 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Mon, 20 Feb 2006 20:47:06 +0530 Subject: Setting threshold value for services to get alert Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3A95CB08@gaugeboson.jnpr.net> Hi List, I have configured few servers to get monitored through nagios 2.0b5 with plugin 1.4 and nrpe on the remote host. As far as nagios monitoring is concerned, I am able to monitor the servers through nagios web interface. But how can I configure nagios to send alert mail when the value for any of the services reaches to a threshold value or level like CRITICAL or WARNING? For example if the disk space utilization of reaches to 90% then I should get alert mail from nagios. I would be appreciating all your input to help me. Regards, Mrutyunjaya Dash IT Engineer Juniper Networks Pvt Ltd. Bangalore -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Mon Feb 20 16:27:41 2006 From: marc at ena.com (Marc Powell) Date: Mon, 20 Feb 2006 09:27:41 -0600 Subject: Setting threshold value for services to get alert Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mrutyunjaya Dash > Sent: Monday, February 20, 2006 9:17 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Setting threshold value for services to get alert > > Hi List, > > I have configured few servers to get monitored through nagios 2.0b5 with > plugin 1.4 and nrpe on the remote host. As far as nagios monitoring is > concerned, I am able to monitor the servers through nagios web interface. > But how can I configure nagios to send alert mail when the value for any > of the services reaches to a threshold value or level like CRITICAL or > WARNING? For example if the disk space utilization of reaches to 90% then > I should get alert mail from nagios. > > I would be appreciating all your input to help me. http://nagios.sourceforge.net/docs/2_0/notifications.html The basic process is that when a plugin is executed and returns a non-OK state up to max_check_attempts, the host or service_notification_commands are executed for each contact in that host or service's contact_group (after passing the filters mentioned in the notification documentation). The sample config files provide example host and service notification commands. -- 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 Roberto.Raffo at enterpriseda.com Mon Feb 20 16:52:42 2006 From: Roberto.Raffo at enterpriseda.com (Roberto Raffo) Date: Mon, 20 Feb 2006 16:52:42 +0100 Subject: Nagios pdf reports Message-ID: Hi all. Anyone known a plugin/add-on able to produce periodical (daily, weekly, montly) pdf report grouped by host groups? I found some tools that using a mysql db of Nagios. Someone know also a tool that doesn't use mysql? Thanks a lot. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shoktai at gmail.com Mon Feb 20 16:42:50 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Mon, 20 Feb 2006 16:42:50 +0100 Subject: mayday Message-ID: <619cf3c0602200742j4c2ab9f2w@mail.gmail.com> Hi, Does anyone tried the mayday addon for nagios. i have jsut tried to use it and it ruins my server. I think that it comes from the pm files in /usr/share/perl5. One is called Config.pm and must have overwritten an original name with the same name. Trying to run a dist-upgrade from my debian box iget : Global symbol "%Config" requires explicit package name at /usr/share/perl/5.8/File/Copy.pm line 83. -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Joerg.Berning at softwareag.com Mon Feb 20 18:44:38 2006 From: Joerg.Berning at softwareag.com (Berning, Joerg) Date: Mon, 20 Feb 2006 18:44:38 +0100 Subject: DEL_ALL_SVC_COMMENTS not always working? Message-ID: <4A56A7900065A44BB559A2C929597BB70119F346@DAEMSG03.eur.ad.sag> Your help in troubleshooting the following is really appreciated: Configuration is as follows: Nagios 2.0(02/07/2006) under Red Hat ES4(2.6.9-22.0.2.ELsmp) Trying to reproduce the problem under Nagios 1.3(AIX 5.2) did not work, Nagios worked perfectly, the problem is only reproducible under 2.0. To reproduce the problem(via Nagios web-interface): choose any host via "Service Detail" with at least two services and do the following select your first choice of service and scoll down to the link saying "Add a new comment" select this link and enter(i.e.) "#1" in the Comment-field, click commit select your second choice of service(remember, on the same host), scroll down to the add-a-new-comment-link select that and enter(i.e.) "#2" in the Comment-field, click commit check via "Service Detail" that both services got a comment-bubble(or your var/comments.dat) now select your !second! choice of service again, scroll down and click on the "Delete all comments"-link, do NOT click on the "Delete this comment"-icon(the trash-icon) select Commit check via "Service Detail" that the comment is deleted(no comment-bubble visible) then select your !first! choice of service, scroll down and click on the "Delete all comments"-link, do NOT click on the "Delete this comment"-icon(the trash-icon) select Commit check via "Service Detail" that the comment was NOT deleted. I also did the above in a script(via ADD_SVC_COMMENT and DEL_ALL_SVC_COMMENTS), same problem. If I choose the trash-icon aside the comment and the comment-id is used for the deletion, that's working. When doing a hexedit var/comments.dat the entry for service#2 looks fine, like the one for service#1. The entries in the Event Log also look the same, for both services. After restarting Nagios via "Process Info/Restart the Nagios process" a click on the "Delete all comments"-link works as expected, the comment is removed. I also tried ./configure with --enable-DEBUGALL, but the only messages I'm getting are in the appache error log, saying "malformed header from script.", and apache isn't able to serve the http-pages... If somebody could confirm the above, please, to make sure it's not my local mistake? Thank you for your time, J?rg Berning ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search 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 dave at umiacs.umd.edu Mon Feb 20 22:02:48 2006 From: dave at umiacs.umd.edu (Dave Stern) Date: Mon, 20 Feb 2006 16:02:48 -0500 (EST) Subject: nagios not notifying by email Message-ID: We have two iterations at our site, one running the old netsaint (which works flawlessly) and one running nagios 1.2 on RHEL E3-AS. The latter rebuilds its config files each night based on various site-specific files detailing what hosts we have, what to monitor on them etc. The Linux version is not notifying when hosts/services go down. I suspect this is nothing more than the notify-by-email command. On netsaint, it's command[notify-by-email]=/usr/bin/printf '%s\n%s\n%s\n%s' '***** NetSaint 0.0.7 ***** $SERVICESTATE$ alert/notification' 'Host: $HOSTNAME$ Address: $HOSTADDRESS$', 'Additional Info: $OUTPUT$' | /usr/bin/mailx -s 'Service alert: $HOSTNAME$ is $SERVICESTATE$ **, $SERVICEDESC$' $CONTACTEMAIL$ and on linux its # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotificati on Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddre ss: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$ SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } Does anyone know what the command should look like and how to test the above? Thanks =-=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-= David Stern University of Maryland Institute for Advanced Computer Studies ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wrjacqmein at gmail.com Mon Feb 20 22:36:53 2006 From: wrjacqmein at gmail.com (Bill Jacqmein) Date: Mon, 20 Feb 2006 16:36:53 -0500 Subject: nagios not notifying by email In-Reply-To: References: Message-ID: <3c9a5bae0602201336o6dcab93bx1a9acafea67518e6@mail.gmail.com> My notify-by-email =========snip========== 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: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } =========snip========== Does /bin/mail exist on your system? Is /bin/mail accessible by the nagios user? What I can think of off the top of my head. Bill On 2/20/06, Dave Stern wrote: > > We have two iterations at our site, one running the old netsaint (which > works flawlessly) and one running nagios 1.2 on RHEL E3-AS. The latter > rebuilds its config files each night based on various site-specific > files detailing what hosts we have, what to monitor on them etc. > > The Linux version is not notifying when hosts/services go down. I suspect > this is nothing more than the notify-by-email command. > > On netsaint, it's > > command[notify-by-email]=/usr/bin/printf '%s\n%s\n%s\n%s' '***** NetSaint > 0.0.7 ***** $SERVICESTATE$ alert/notification' 'Host: $HOSTNAME$ Address: > $HOSTADDRESS$', 'Additional Info: $OUTPUT$' | /usr/bin/mailx -s 'Service > alert: $HOSTNAME$ is $SERVICESTATE$ **, $SERVICEDESC$' $CONTACTEMAIL$ > > and on linux its > > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** > Nagios *****\n\nNotificati > on Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: > $HOSTALIAS$\nAddre > ss: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: > $DATETIME$\n\nAdditional > Info:\n\n$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - > $HOSTALIAS$/$ > SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > } > > Does anyone know what the command should look like and how to test the > above? > Thanks > > > > =-=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-= > David Stern University of Maryland > Institute for Advanced Computer Studies > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 ifetch at du.edu Mon Feb 20 23:25:06 2006 From: ifetch at du.edu (Ivan Fetch) Date: Mon, 20 Feb 2006 15:25:06 -0700 (MST) Subject: Difficulty with wildcards in serviceescalation Message-ID: <20060220151550.C39300@tnetnzry.hgf.qh.rqh> Hello, I'm having difficulties with wildcards in a serviceescalation, running nagios 2.0-stable. It seems like the documentation discusses doing exactly this, so perhaps my trying to get this to work last minute is causing me to overlook something... Any ideas? # Limit notifications to a max of 5, the last one notifying everyone. define serviceescalation{ host_name * service_description * first_notification 5 last_notification 0 notification_interval 0 contact_groups everyone } When verifying the config I get: "Reading configuration data... Error: Could not find any host matching '*' Error: Could not expand hostgroups and/or hosts specified in service escalation (config file '/usr/local/nagios/etc/du/services.cfg', starting on line 154)" I have this set in /usr/local/nagios/etc/nagios.cfg: use_regexp_matching=1 use_true_regexp_matching=0 # ... at the end of the file ... cfg_dir=/usr/local/nagios/etc/du # (which is where the services.cfg is read, which is where the # serviceescalation is defined) Thanks, Ivan Fetch. ' ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephenpjoy at gmail.com Mon Feb 20 23:45:44 2006 From: stephenpjoy at gmail.com (Stephen Joy) Date: Mon, 20 Feb 2006 22:45:44 +0000 Subject: MySql Status Data Message-ID: <7295E9ED-4507-44AC-86C5-3B7DDFD85E70@gmail.com> Hello All, I am trying to get Nagios V1.3 to write its status data to a MySql database but am not yet quite there. So far i have created the database 'nagios' and understand from the manual that you must create the three tables (named programstatus, hoststatus, and servicestatus) but what are the fields?? This does not seem to be covered in the manual. I have created the 3 tables with a single field (testing) in the hope the nagios would define the tables itself but no luck. At the moment my nagios.log looks like this; ------------------------------------------------------------------------ ------------------------------------------------------------------------ ---------- [1140474946] Nagios 1.3 starting... (PID=19392) [1140474946] Finished daemonizing... (New PID=19393) [1140474946] Error: Could not insert/update status record for program in table 'programstatus' of database 'nagios' [1140474961] Error: Could not insert/update status record for program in table 'programstatus' of database 'nagios' ------------------------------------------------------------------------ ------------------------------------------------------------------------ ---------- If anyone knows what the fields should be or what to do next that would be great. Many Thanks, Stephen Joy. -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.shipway at auckland.ac.nz Tue Feb 21 00:04:41 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 21 Feb 2006 12:04:41 +1300 Subject: MySql Status Data In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B90EDB6@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B90EDB6@vxchange.vcr.auckland.ac.nz> Message-ID: <004601c63672$083ec1a0$8ea8d882@438LG01sshi052> I have uploaded to www.nagiosexchange.org a utility (in Perl) that will regularly eat an archived Nagios log file from Nagios 1.x and install it into a mysql database for subsequent reporting. We're using it here in beta. Feel free to download it and try it, or modify for your own use. You can get the documentation on the fields in the .log file from the developer section of the nagios website. Note that the .log file format changes in Nagios 2.0 (an extra field was added) Steve _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Stephen Joy Sent: Tuesday, 21 February 2006 11:46 a.m. To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] MySql Status Data Hello All, I am trying to get Nagios V1.3 to write its status data to a MySql database but am not yet quite there. So far i have created the database 'nagios' and understand from the manual that you must create the three tables (named programstatus, hoststatus, and servicestatus) but what are the fields?? This does not seem to be covered in the manual. I have created the 3 tables with a single field (testing) in the hope the nagios would define the tables itself but no luck. At the moment my nagios.log looks like this; ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- -- [1140474946] Nagios 1.3 starting... (PID=19392) [1140474946] Finished daemonizing... (New PID=19393) [1140474946] Error: Could not insert/update status record for program in table 'programstatus' of database 'nagios' [1140474961] Error: Could not insert/update status record for program in table 'programstatus' of database 'nagios' ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- -- If anyone knows what the fields should be or what to do next that would be great. Many Thanks, Stephen Joy. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Tue Feb 21 00:10:59 2006 From: marc at ena.com (Marc Powell) Date: Mon, 20 Feb 2006 17:10:59 -0600 Subject: MySql Status Data Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Stephen Joy > Sent: Monday, February 20, 2006 4:46 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] MySql Status Data > > Hello All, > > I am trying to get Nagios V1.3 to write its status data to a MySql > database but am not yet quite there. > > So far i have created the database 'nagios' and understand from the manual > that you must create the three tables (named programstatus, hoststatus, > and servicestatus) but what are the fields?? This does not seem to be > covered in the manual. http://nagios.sourceforge.net/docs/1_0/xdata-db.html "Table Definitions In order to read from or write to a database, you first have to create it and setup some tables to hold your data. Note: If you are storing more than one type of external data in databases, you could create separate databases for each type of data (comments, status info, etc.) You could also keep everything in a single database (different data is kept in different tables). In your database(s) you're going to have to setup the appropriate table(s) so Nagios can actually read/write data. ****** Important: Scripts for creating tables for all types of external data for both MySQL and PostgreSQL databases can be found in the contrib/database/ directory of the distribution." ****** $ pwd; ls /usr/local/src/nagios-1.3/contrib/database create_mysql create_pgsql README -- 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 lundman at gmo.jp Tue Feb 21 03:48:22 2006 From: lundman at gmo.jp (Jorgen Lundman) Date: Tue, 21 Feb 2006 11:48:22 +0900 Subject: Multiple levels of groups. Hostgroups containing hostgroups. Message-ID: <43FA7F76.5060104@gmo.jp> To be able to better fight the resistance in migrating to Nagios from Big Brother, the supposing team would like a similar grouping of hosts and .. groups. In other words, is it at all possible to have groupings like: DC1-group -> DC1-mail-group -> smtp01-host + smtp02-host + ... -> DC1-dns-group -> dns01-host + dns02-host + ... -> DC1-www-group -> www01-host + www02-host + ... DC2-group -> DC2-mail-group -> xsmtp01-host + ... From the top page. Ie, hostgroups containing hostgroups, or some other magic to achieve multiple levels instead of Nagios (apparent) limit of 2 levels? I have tried hostgroup containing hostgroup, it does not work directly. Sincerely, Lund -- Jorgen Lundman | Unix Administrator | +81 (0)3 -5456-2687 ext 1017 (work) Shibuya-ku, Tokyo | +81 (0)90-5578-8500 (cell) Japan | +81 (0)3 -3375-1767 (home) ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagi0sb0y at yahoo.com Tue Feb 21 03:51:37 2006 From: nagi0sb0y at yahoo.com (jay alvarez) Date: Mon, 20 Feb 2006 18:51:37 -0800 (PST) Subject: can nagios create this kind of reports?? Message-ID: <20060221025137.56426.qmail@web31608.mail.mud.yahoo.com> Hi, Currently we have a nagios-running server used for monitoring the health of our network services as well as hosts through check_ping. I haven't played with nagios reports though, as I am only concerned about the alert from nagios. We use mrtg for monitoring the network traffic trend. Before, we are using a custom script to parse these mrtg logs and output it into a report like this: Link Description: link1 Overall Downtime: 16.68 hour/s Time Down Time Up Total Reference No. Mon Aug 29 15:03:08 PHT 2005 Mon Aug 29 15:13:11 PHT 2005 0.17 hours 9399 Fri Aug 26 02:03:08 PHT 2005 Fri Aug 26 17:43:12 PHT 2005 15.67 hours 9297 Wed Aug 24 17:43:09 PHT 2005 Wed Aug 24 18:23:09 PHT 2005 0.67 hours 9273 Fri Aug 19 07:22:43 PHT 2005 Fri Aug 19 07:32:44 PHT 2005 0.17 hours 9086 Hours Down: 16.68 Days Down: 0 Monthly Total in Hours: 16.68 We need these reports so that we can compute in case the customer asks for some rebates, with their bandwidth usage. Now the one who created the program went away and when something went wrong, we weren't able to fix it. Now, we are just looking for opensource tools that can do the same. Note, that since the program uses mrtg, mrtg uses snmp to monitor if the link is down for a certain period of time. Most of the devices on remote sites of our customers are snmp-enabled... and it would be nice if nagios can monitor those links using snmp as well as output some reports that look exactly like that report above. Any idea? Thanks! -jay __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 s.shipway at auckland.ac.nz Tue Feb 21 04:21:15 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 21 Feb 2006 16:21:15 +1300 Subject: check_nt binary available? In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B90EDBA@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B90EDBA@vxchange.vcr.auckland.ac.nz> Message-ID: <006401c63695$df6bd190$8ea8d882@438LG01sshi052> Hopefully someone out there can help me. Has anyone managed to compile the check_nt program under Windows? If so, can you send me a copy of the binary or (preferably) the modified source code? We have a server that is hidden behind another server, and so to monitor it, I hope to use NRPE_NT on the server in between and relay my requests this way to the pNSclient agent. However, to do this, I need to have a windows check_nt binary. Alternatively, does anyone else have a better way to do this? I can't install a linux server to do the job (that would be too easy), nor can I put the remote host onto the main network. The only way to reach it is via this intermediate Windows server. Prehaps a port-forwarder would do the job, but I don't have one of them for windows, either... Thanks in advance for any assistance, 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 satish_lsurf at yahoo.com Tue Feb 21 05:30:07 2006 From: satish_lsurf at yahoo.com (satish kumar) Date: Mon, 20 Feb 2006 20:30:07 -0800 (PST) Subject: Graphs not seen in Trends report generation In-Reply-To: <302ce8b50602200535x66023ae4r9bdf85293a89ec73@mail.gmail.com> References: <302ce8b50602200535x66023ae4r9bdf85293a89ec73@mail.gmail.com> Message-ID: <20060221043007.39209.qmail@web53503.mail.yahoo.com> Hi, The nagios version running is 1.3 & plugins are 1.4.2. And i am generating report for a http service using the trends/availability links. I am still getting the indeterminate state as 100% & in availability it shows insufficient data.Please let me know what changes are to be done for this to work.It is very urgent. Thanks, Satish Jim Perrin wrote: On 2/20/06, satish kumar wrote: > For any server/service i am getting only the indeterminate state at 100% and > remaining will be 0%. Please help me ASAP. > > Thanks, satish > > > satish kumar wrote: > > > Hi, > > I am not able to see the graphs even though the "suppress image map" is > disabled.Please let me know what steps to be taken to enable graphs. You might get a better response if you posted useful information, like say your version of nagios, what services you're trying to graph, and the related configs..... Little things like that which would allow people to help instead of pulling answers out of a random orifice. -- "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 --------------------------------- Relax. Yahoo! Mail virus scanning helps detect nasty viruses! -------------- next part -------------- An HTML attachment was scrubbed... URL: From wgking at shaw.ca Tue Feb 21 08:15:11 2006 From: wgking at shaw.ca (Greg King) Date: Tue, 21 Feb 2006 00:15:11 -0700 Subject: nagios not notifying by email Message-ID: <3269583269e0.3269e0326958@shaw.ca> The commands look correct. The one that works is using "mailx" and the one that fails is using "mail". I'd try mailx on the failing command, or verify that both work. Hosts and services use different commands with different macros - make sure you are looking at the correct one (host-notify-by-email vs notify-by-email). As for testing, I usually su - nagios; set env variables to the macro names, and copy/paste the commands into a shell until they work. Alternatively, use the check_dummy command with an error return code parameter. If notifications are happening you should see them in the notification log. If not, check parameters for notification on the host/service, timeframe, and contacts. Good luck! Regards, Greg > Date: Mon, 20 Feb 2006 16:02:48 -0500 (EST) > From: Dave Stern > Reply-To: dave at umiacs.umd.edu > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios not notifying by email > > We have two iterations at our site, one running the old netsaint (which > works flawlessly) and one running nagios 1.2 on RHEL E3-AS. The latter > rebuilds its config files each night based on various site-specific > files detailing what hosts we have, what to monitor on them etc. > > The Linux version is not notifying when hosts/services go down. I suspect > this is nothing more than the notify-by-email command. > > On netsaint, it's > > command[notify-by-email]=/usr/bin/printf '%s\n%s\n%s\n%s' '***** NetSaint > 0.0.7 ***** $SERVICESTATE$ alert/notification' 'Host: $HOSTNAME$ Address: > $HOSTADDRESS$', 'Additional Info: $OUTPUT$' | /usr/bin/mailx -s 'Service > alert: $HOSTNAME$ is $SERVICESTATE$ **, $SERVICEDESC$' $CONTACTEMAIL$ > > and on linux its > > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotificati > on Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: > $HOSTALIAS$\nAddre > ss: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: > $DATETIME$\n\nAdditional > Info:\n\n$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - > $HOSTALIAS$/$ > SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > } > > Does anyone know what the command should look like and how to test the > above? > 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 n.marjoram at adastral.ucl.ac.uk Tue Feb 21 10:52:41 2006 From: n.marjoram at adastral.ucl.ac.uk (Neil Marjoram) Date: Tue, 21 Feb 2006 09:52:41 +0000 Subject: Notification not sending email. Message-ID: <43FAE2E9.5090708@adastral.ucl.ac.uk> I'm having a little trouble with notifications. I can't workout why Nagios is not sending alert emails. I have read the documentation, FAQ's and mailing lists and have concluded it is only me that can't get it to work. Can someone have a look at my configs below to see if I have done anything wrong. I loaded up Nagios QL to check I am configuring the files correctly but it has made no difference. Running the command for email on the command line works (although it errors because of the variables) Many thanks, Neil. OS : RHEL 4 / i386, using Dag rpm's nagios-plugins-1.4-2.2.el4.rf nagios-2.0-2.2.el4.rf nagios-nsca-2.5-2.2.el4.rf nagios-nrpe-2.3-2.2.el4.rf nagios-plugins-nrpe-2.3-2.2.el4.rf Nagios main config file notifications is set : enable_notifications=1 Host config : define host { host_name haverhill alias haverhill address 128.40.159.3 hostgroups Critical Web Services check_command check-host-alive max_check_attempts 10 check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 obsess_over_host 1 check_freshness 0 event_handler notify-by-email event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 0 contact_groups admins notification_interval 1 notification_period 24x7 notification_options d,u,r,f notifications_enabled 1 register 1 } Services Config : define service { host_name haverhill service_description haverhill /root servicegroups Web Services is_volatile 0 check_command check_nrpe!check_diskroot max_check_attempts 10 normal_check_interval 1 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 parallelize_check 1 obsess_over_service 1 check_freshness 0 event_handler notify-by-email event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 contact_groups admins notification_interval 1 notification_period 24x7 notification_options w,u,c,r,f notifications_enabled 1 register 1 } Contacts.cfg : define contact { contact_name admins alias NetSaint Admin contactgroups admins host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,u,r service_notification_options w,u,c,r host_notification_commands host-notify-by-email service_notification_commands notify-by-email email admins at adastral.ucl.ac.uk } Contactgroups.cfg : define contactgroup { contactgroup_name admins alias Administrators members admins } Output to nagios.log file : [1140447007] SERVICE NOTIFICATION: admins;haverhill;/tmp;CRITICAL;notify- by-email;DISK CRITICAL - free space: / 183 MB (38%): /boot 67 MB (67%): /chroot 451 MB (93%): /dev/shm 505 MB (100%): /tmp 912 MB (93%): /usr 915 MB (31%): /var 35887 MB (91%): /www 4234 MB (86%): /mnt/install 791153 MB (56%): /home/neilmarj 791153 MB (56%): /home/avel azqu 791153 MB (56%): /home/richhutch 791153 MB (56%): /home/vladkolm 791153 MB (56%): -- Neil Marjoram Systems Manager Adastral Park Campus University College London Ross Building Adastral Park Martlesham Heath Ipswich - Suffolk IP5 3RE Tel: 01473 663711 Fax: 01473 635199 Reclaim Your Inbox! http://www.mozilla.org/products/thunderbird ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From n.marjoram at adastral.ucl.ac.uk Tue Feb 21 11:27:26 2006 From: n.marjoram at adastral.ucl.ac.uk (Neil Marjoram) Date: Tue, 21 Feb 2006 10:27:26 +0000 Subject: Notification not sending email. In-Reply-To: References: Message-ID: <43FAEB0E.70504@adastral.ucl.ac.uk> Deborah, I have tried the mail command on the command line, and it works fine, I have even copied the definition in, changed the variables and tried that, which also works. Here are the 2 definitions for email that are in misccommands.cfg : 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$ } 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$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } Many thanks, Neil. Deborah Martin wrote: >how is notify-by-email defined ? Its found in miscommands.cfg. > >have you tried using the defined command on the command line to ensure it >works ? >e.g something like mailx -s "test" admins at adastral.ucl.ac.uk > >hth > > > >-----Original Message----- >From: Neil Marjoram [mailto:n.marjoram at adastral.ucl.ac.uk] >Sent: 21 February 2006 09:53 >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Notification not sending email. > > >I'm having a little trouble with notifications. > > > >I can't workout why Nagios is not sending alert emails. I have read > the documentation, FAQ's and mailing lists and have concluded it > is only me that can't get it to work. Can someone have a look at > my configs below to see if I have done anything wrong. I loaded > up Nagios QL to check I am configuring the files correctly but > it has made no difference. Running the command for email on the > command line works (although it errors because of the variables) > > > >Many thanks, > > > >Neil. > > > >OS : RHEL 4 / i386, using Dag rpm's > > > >nagios-plugins-1.4-2.2.el4.rf > >nagios-2.0-2.2.el4.rf > >nagios-nsca-2.5-2.2.el4.rf > >nagios-nrpe-2.3-2.2.el4.rf > >nagios-plugins-nrpe-2.3-2.2.el4.rf > > > >Nagios main config file notifications is set : > >enable_notifications=1 > > > >Host config : > >define host { > > host_name haverhill > > alias haverhill > > address 128.40.159.3 > > hostgroups Critical Web Services > > check_command check-host-alive > > max_check_attempts 10 > > check_interval 1 > > active_checks_enabled 1 > > passive_checks_enabled 1 > > check_period 24x7 > > obsess_over_host 1 > > check_freshness 0 > > event_handler notify-by-email > > event_handler_enabled 1 > > flap_detection_enabled 1 > > process_perf_data 0 > > retain_status_information 1 > > retain_nonstatus_information 0 > > contact_groups admins > > notification_interval 1 > > notification_period 24x7 > > notification_options d,u,r,f > > notifications_enabled 1 > > register 1 > > } > > > >Services Config : > > > >define service { > > host_name haverhill > > service_description haverhill /root > > servicegroups Web Services > > is_volatile 0 > > check_command check_nrpe!check_diskroot > > max_check_attempts 10 > > normal_check_interval 1 > > retry_check_interval 1 > > active_checks_enabled 1 > > passive_checks_enabled 1 > > check_period 24x7 > > parallelize_check 1 > > obsess_over_service 1 > > check_freshness 0 > > event_handler notify-by-email > > event_handler_enabled 1 > > flap_detection_enabled 1 > > process_perf_data 1 > > retain_status_information 1 > > retain_nonstatus_information 1 > > contact_groups admins > > notification_interval 1 > > notification_period 24x7 > > notification_options w,u,c,r,f > > notifications_enabled 1 > > register 1 > > } > > > >Contacts.cfg : > >define contact { > > contact_name admins > > alias NetSaint Admin > > contactgroups admins > > host_notification_period 24x7 > > service_notification_period 24x7 > > host_notification_options d,u,r > > service_notification_options w,u,c,r > > host_notification_commands host-notify-by-email > > service_notification_commands notify-by-email > > email admins at adastral.ucl.ac.uk > > } > >Contactgroups.cfg : > > > > > >define contactgroup { > > contactgroup_name admins > > alias Administrators > > members admins > > } > > > >Output to nagios.log file : > > > >[1140447007] SERVICE NOTIFICATION: admins;haverhill;/tmp;CRITICAL;notify- >by-email;DISK CRITICAL - free space: / 183 MB (38%): /boot 67 MB > (67%): /chroot 451 MB (93%): /dev/shm 505 MB (100%): /tmp 912 MB > (93%): /usr 915 MB (31%): /var 35887 MB (91%): /www 4234 MB (86%): > /mnt/install 791153 MB (56%): /home/neilmarj 791153 MB (56%): /home/avel >azqu 791153 MB (56%): /home/richhutch 791153 MB (56%): /home/vladkolm > 791153 MB (56%): > > > > > > > > > > > > > > > > -- Neil Marjoram Systems Manager Adastral Park Campus University College London Ross Building Adastral Park Martlesham Heath Ipswich - Suffolk IP5 3RE Tel: 01473 663711 Fax: 01473 635199 Reclaim Your Inbox! http://www.mozilla.org/products/thunderbird ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 11:34:25 2006 From: moshesharon at gmail.com (moshe sharon) Date: Tue, 21 Feb 2006 12:34:25 +0200 Subject: [Nagios-devel] (Feat-req) Making hostgroups member of hostgroups In-Reply-To: <43FACA17.7070507@ii.uib.no> References: <43FACA17.7070507@ii.uib.no> Message-ID: <88ad29240602210234j33bfb69ar263c6ecba4959a31@mail.gmail.com> Hello it can be done by making a room1-template, room2-template etc.. and apply all your needs(active, passve, normal_check_interval...) of course dont forget to register 0 after that make another template called windows-servers-room1 unix-servers-room1 and then add "use room1-template" in the template and at last at the service entry put use windows-servers-room1 and hostgroup_name "groupname". hope i understand correctly Moshe Sharon -------------- next part -------------- An HTML attachment was scrubbed... URL: From n.marjoram at adastral.ucl.ac.uk Tue Feb 21 11:40:17 2006 From: n.marjoram at adastral.ucl.ac.uk (Neil Marjoram) Date: Tue, 21 Feb 2006 10:40:17 +0000 Subject: Notification not sending email. In-Reply-To: <43FAEB0E.70504@adastral.ucl.ac.uk> References: <43FAEB0E.70504@adastral.ucl.ac.uk> Message-ID: <43FAEE11.3000601@adastral.ucl.ac.uk> OK I have just removed the nagios rpm from Dag and recomplied from source using Dags' options, notifications are now working, using my old config files. I am still using the RPM's from Dag for everything else. Many thanks, Neil. Neil Marjoram wrote: > Deborah, > > I have tried the mail command on the command line, and it works fine, > I have even copied the definition in, changed the variables and tried > that, which also works. Here are the 2 definitions for email that are > in misccommands.cfg : > > 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$ > } > 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$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert > - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > } > > Many thanks, > > Neil. > > Deborah Martin wrote: > >> how is notify-by-email defined ? Its found in miscommands.cfg. >> have you tried using the defined command on the command line to >> ensure it >> works ? e.g something like mailx -s "test" admins at adastral.ucl.ac.uk >> hth >> >> >> -----Original Message----- >> From: Neil Marjoram [mailto:n.marjoram at adastral.ucl.ac.uk] >> Sent: 21 February 2006 09:53 >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Notification not sending email. >> >> >> I'm having a little trouble with notifications. >> >> >> I can't workout why Nagios is not sending alert emails. I have read >> the documentation, FAQ's and mailing lists and have concluded it >> is only me that can't get it to work. Can someone have a look at >> my configs below to see if I have done anything wrong. I loaded >> up Nagios QL to check I am configuring the files correctly but >> it has made no difference. Running the command for email on the >> command line works (although it errors because of the variables) >> >> >> >> Many thanks, >> >> >> >> Neil. >> >> >> >> OS : RHEL 4 / i386, using Dag rpm's >> >> >> nagios-plugins-1.4-2.2.el4.rf >> >> nagios-2.0-2.2.el4.rf >> >> nagios-nsca-2.5-2.2.el4.rf >> >> nagios-nrpe-2.3-2.2.el4.rf >> >> nagios-plugins-nrpe-2.3-2.2.el4.rf >> >> >> >> Nagios main config file notifications is set : >> >> enable_notifications=1 >> >> >> >> Host config : >> >> define host { >> >> host_name haverhill >> >> alias haverhill >> >> address 128.40.159.3 >> >> hostgroups Critical Web Services >> >> check_command check-host-alive >> >> max_check_attempts 10 >> >> check_interval 1 >> >> active_checks_enabled 1 >> >> passive_checks_enabled 1 >> >> check_period 24x7 >> >> obsess_over_host 1 >> >> check_freshness 0 >> >> event_handler notify-by-email >> >> event_handler_enabled 1 >> >> flap_detection_enabled 1 >> >> process_perf_data 0 >> >> retain_status_information 1 >> >> retain_nonstatus_information 0 >> >> contact_groups admins >> >> notification_interval 1 >> >> notification_period 24x7 >> >> notification_options d,u,r,f >> >> notifications_enabled 1 >> >> register 1 >> >> } >> >> >> >> Services Config : >> >> >> define service { >> >> host_name haverhill >> >> service_description haverhill /root >> >> servicegroups Web Services >> >> is_volatile 0 >> >> check_command check_nrpe!check_diskroot >> >> max_check_attempts 10 >> >> normal_check_interval 1 >> >> retry_check_interval 1 >> >> active_checks_enabled 1 >> >> passive_checks_enabled 1 >> >> check_period 24x7 >> >> parallelize_check 1 >> >> obsess_over_service 1 >> >> check_freshness 0 >> >> event_handler notify-by-email >> >> event_handler_enabled 1 >> >> flap_detection_enabled 1 >> >> process_perf_data 1 >> >> retain_status_information 1 >> >> retain_nonstatus_information 1 >> >> contact_groups admins >> >> notification_interval 1 >> >> notification_period 24x7 >> >> notification_options w,u,c,r,f >> >> notifications_enabled 1 >> >> register 1 >> >> } >> >> >> >> Contacts.cfg : >> >> define contact { >> >> contact_name admins >> >> alias NetSaint Admin >> >> contactgroups admins >> >> host_notification_period 24x7 >> >> service_notification_period 24x7 >> >> host_notification_options d,u,r >> >> service_notification_options w,u,c,r >> >> host_notification_commands host-notify-by-email >> >> service_notification_commands notify-by-email >> >> email admins at adastral.ucl.ac.uk >> >> } >> >> Contactgroups.cfg : >> >> >> >> >> >> define contactgroup { >> >> contactgroup_name admins >> >> alias Administrators >> >> members admins >> >> } >> >> >> >> Output to nagios.log file : >> >> >> [1140447007] SERVICE NOTIFICATION: >> admins;haverhill;/tmp;CRITICAL;notify- >> by-email;DISK CRITICAL - free space: / 183 MB (38%): /boot 67 MB >> (67%): /chroot 451 MB (93%): /dev/shm 505 MB (100%): /tmp 912 MB >> (93%): /usr 915 MB (31%): /var 35887 MB (91%): /www 4234 MB (86%): >> /mnt/install 791153 MB (56%): /home/neilmarj 791153 MB (56%): /home/avel >> azqu 791153 MB (56%): /home/richhutch 791153 MB (56%): /home/vladkolm >> 791153 MB (56%): >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > -- Neil Marjoram Systems Manager Adastral Park Campus University College London Ross Building Adastral Park Martlesham Heath Ipswich - Suffolk IP5 3RE Tel: 01473 663711 Fax: 01473 635199 Reclaim Your Inbox! http://www.mozilla.org/products/thunderbird ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mdash at juniper.net Tue Feb 21 11:52:50 2006 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Tue, 21 Feb 2006 16:22:50 +0530 Subject: Setting threshold value for services to get alert Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3A95CC19@gaugeboson.jnpr.net> Hi All, I have a very specific requirement to send out alert in the case when the disk space exceeds particular threshold value for the particular filesystem. Can anyone help me out to share the information, how this can be done. Regards, Dash -----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 20, 2006 8:58 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Setting threshold value for services to get alert > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mrutyunjaya Dash > Sent: Monday, February 20, 2006 9:17 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Setting threshold value for services to get alert > > Hi List, > > I have configured few servers to get monitored through nagios 2.0b5 with > plugin 1.4 and nrpe on the remote host. As far as nagios monitoring is > concerned, I am able to monitor the servers through nagios web interface. > But how can I configure nagios to send alert mail when the value for any > of the services reaches to a threshold value or level like CRITICAL or > WARNING? For example if the disk space utilization of reaches to 90% then > I should get alert mail from nagios. > > I would be appreciating all your input to help me. http://nagios.sourceforge.net/docs/2_0/notifications.html The basic process is that when a plugin is executed and returns a non-OK state up to max_check_attempts, the host or service_notification_commands are executed for each contact in that host or service's contact_group (after passing the filters mentioned in the notification documentation). The sample config files provide example host and service notification commands. -- 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 mdash at juniper.net Tue Feb 21 13:12:07 2006 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Tue, 21 Feb 2006 17:42:07 +0530 Subject: no service notification (solved) Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3A95CC48@gaugeboson.jnpr.net> Hi Mario, Currently I am having same kind of problem. Nagios is not sending any notification email for any critical service, it just sending email if any host is completely down. I would appreciate if could let me how you could able to resolve the issue. Regards, Dash -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mario Ohnewald Sent: Tuesday, December 27, 2005 10:20 PM To: Danny Russell Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] no service notification (solved) Hello Danny, i am running 1.3 and i just sloved it. The problem was a templatew definition and my MTA. Thanks, Mario On Tue, 2005-12-27 at 09:38 -0700, Danny Russell wrote: > What version of Nagios are you running? > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > mario at bortal.de > Sent: Monday, December 26, 2005 12:44 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] no service notification > > Hello List! > > Nagios only sends me a mail when my host is completly down, but not when > a > service fails and i wonder why. > > Here are my settings. > > > nagios.cfg > ----------------- > log_notifications=1 > enable_notifications=1 > > > > contacts.cfg > ---------------------- > define contact{ > contact_name myname > alias Linux Admin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,u,r > service_notification_commands notify-by-email,notify-by-epager > host_notification_commands > host-notify-by-email,host-notify-by-epager > email my at mail.de > pager my at 2ndmail.de > } > > > > services.cfg: > -------------------- > define service{ > ; The 'name' of this service template, referenced in other > service > definitions > name generic-service > active_checks_enabled 1 > passive_checks_enabled 0 > parallelize_check 1 > obsess_over_service 1 > check_freshness 0 > notifications_enabled 1 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > > register 0 > } > > # Service definition > define service{ > use generic-service > > host_name localmachine > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups mygroup > notification_interval 5 > notification_period 24x7 > notification_options w,u,c,r > check_command check_ping!100.0,20%!500.0,60% > } > > ######################################################################## > ######## > > # Service definition > define service{ > use generic-service ; Name > of > service template to use > > host_name localmachine > service_description SMTP > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > contact_groups mygroup > notification_interval 5 > notification_period 24x7 > notification_options w,u,c,r > check_command check_smtp > } > > LOG: > [1135617697] SERVICE ALERT: localmachine;SMTP;CRITICAL;SOFT;1;Connection > refused > [1135617757] SERVICE ALERT: localmachine;SMTP;CRITICAL;SOFT;2;Connection > refused > [1135617817] SERVICE ALERT: localmachine;SMTP;CRITICAL;HARD;3;Connection > refused > > > Anyone any idea? > Thanks a lot, Mario > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Andrew.Laden at tudor.com Tue Feb 21 14:32:15 2006 From: Andrew.Laden at tudor.com (Andrew Laden) Date: Tue, 21 Feb 2006 08:32:15 -0500 Subject: Difficulty with wildcards in serviceescalation Message-ID: <56EAA5BC64E6C34F8C9EE6725D4A2DFA024DF311@tudor.com> There is a documentation error. You have to use real regex. A naked * by itself is not a valid regex. Try .* -Andrew > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Ivan Fetch > Sent: Monday, February 20, 2006 5:25 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Difficulty with wildcards in serviceescalation > > Hello, > > > I'm having difficulties with wildcards in a > serviceescalation, running nagios 2.0-stable. It seems like > the documentation discusses doing exactly this, so perhaps my > trying to get this to work last minute is causing me to > overlook something... Any ideas? > > > # Limit notifications to a max of 5, the last one notifying everyone. > define serviceescalation{ > host_name * > service_description * > first_notification 5 > last_notification 0 > notification_interval 0 > contact_groups everyone > } > > > > When verifying the config I get: > > "Reading configuration data... > > Error: Could not find any host matching '*' > Error: Could not expand hostgroups and/or hosts specified in > service escalation (config file > '/usr/local/nagios/etc/du/services.cfg', starting on line 154)" > > > > I have this set in /usr/local/nagios/etc/nagios.cfg: > use_regexp_matching=1 > use_true_regexp_matching=0 > # ... at the end of the file ... > cfg_dir=/usr/local/nagios/etc/du > # (which is where the services.cfg is read, which is where the > # serviceescalation is defined) > > > > Thanks, > > Ivan Fetch. > ' > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep > through log files for problems? Stop! Download the new AJAX > search engine that makes searching your log files as easy as > surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486& dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 post.scriptum at gmail.com Tue Feb 21 14:44:05 2006 From: post.scriptum at gmail.com (Jason Gauthier) Date: Tue, 21 Feb 2006 08:44:05 -0500 Subject: CHECK_NRPE: Socket timeout after 10 seconds. Message-ID: So we've installed the latest version of "nrpe" on a server (normal configuration). Then we installed "nrpe_nt" on a windows 2003 server machine and it works fine. We're also trying to run "nrpe" (for hosts) as a standalone deamon on a linux machine but we've compiled it without SSL (mainly because it wouldn't allow use to compile it, even with openssl (missing libraries)... so we're running the standalone deamon with the -n option). When we installed the 2.3 version, I was kinda surprised that the "allowed_hosts" command in the config file didn't work anymore and we also got that error : "CHECK_NRPE: Socket timeout after 10 seconds.", so we thought it had something to do with the "allowed_hosts" command in the config file. We were also getting an error in the "/var/log/messages" file saying : "(date) slxids nrpe[9493]: Could not read request from client, bailing out...". So we deleted the newest version and installed the 2.0 version of NRPE (without SSL again). So the "allowed_hosts" command is back, but the -n option when we lauch nrpe as a standalone deamon isn't there anymore... and we're still getting the same errors. Anybody has an idea of what's going on? Is it because of SSL? -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Tue Feb 21 16:58:15 2006 From: marc at ena.com (Marc Powell) Date: Tue, 21 Feb 2006 09:58:15 -0600 Subject: Setting threshold value for services to get alert Message-ID: Look at 'check_disk --help'. That, combined with the notification and host/service configuration documentation should get you going. -- Marc > -----Original Message----- > From: Mrutyunjaya Dash [mailto:mdash at juniper.net] > Sent: Tuesday, February 21, 2006 4:53 AM > To: nagios-users at lists.sourceforge.net > Cc: Marc Powell > Subject: RE: [Nagios-users] Setting threshold value for services to get > alert > > Hi All, > > I have a very specific requirement to send out alert in the case when > the disk space exceeds particular threshold value for the particular > filesystem. Can anyone help me out to share the information, how this > can be done. > > Regards, > Dash > > -----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 20, 2006 8:58 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Setting threshold value for services to get > alert > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Mrutyunjaya Dash > > Sent: Monday, February 20, 2006 9:17 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Setting threshold value for services to get > alert > > > > Hi List, > > > > I have configured few servers to get monitored through nagios 2.0b5 > with > > plugin 1.4 and nrpe on the remote host. As far as nagios monitoring is > > concerned, I am able to monitor the servers through nagios web > interface. > > But how can I configure nagios to send alert mail when the value for > any > > of the services reaches to a threshold value or level like CRITICAL or > > WARNING? For example if the disk space utilization of reaches to 90% > then > > I should get alert mail from nagios. > > > > I would be appreciating all your input to help me. > > http://nagios.sourceforge.net/docs/2_0/notifications.html > > The basic process is that when a plugin is executed and returns a non-OK > state up to max_check_attempts, the host or > service_notification_commands are executed for each contact in that host > or service's contact_group (after passing the filters mentioned in the > notification documentation). The sample config files provide example > host and service notification commands. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search 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 PShelfo at embrex.com Tue Feb 21 17:10:24 2006 From: PShelfo at embrex.com (Pete Shelfo) Date: Tue, 21 Feb 2006 11:10:24 -0500 Subject: Internal Server Error on Nagios 2.0 Message-ID: I recently tried to fire up a new Nagios server running on RedHat 4 Enterprise (fully patched). Everything works fine, pre-flight passed, http is correct, web page displays; however, whenever I access a CGI link on the left hand page I get the following error: "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. I have tried and tried to troubleshoot the problem but have had no success. 1. I have searched the forums, google and apache. It appears this is a common problem across many Linux platforms 2. I have chmod 777 /usr/local/nagios permissions fully with no success and added every userID I could like of to the group. 3. I have even tried a default configuration with one host, a check ping and along with all the sample configs. The problem still occurs. 4. I have verified my http conf and tried all types of suggestions I found during my searches. My http config error log displays the following: Tue Feb 21 10:43:50 2006] [error] [client 10.1.7.200] Premature end of script headers: status .cgi, referer: http://servername/nagios//side.html I am currently running Nagios version 1.1 with no issues. This really looks like an incompatibility with Apache or CGI or something? Anyone have any ideas - I am flat out? ------------------------------------------------------------------- Pete Shelfo Systems Engineer (919) 314-2546 pshelfo at embrex.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tom.brown at goodtechnology.com Tue Feb 21 17:13:35 2006 From: tom.brown at goodtechnology.com (Tom Brown) Date: Tue, 21 Feb 2006 16:13:35 +0000 Subject: check_http - user+password - string required Message-ID: <43FB3C2F.9070707@goodtechnology.com> Hi Trying to get check_http to check a site that requires authorization and also the check needs to expect a certain string back in the response. So far i have ./check_http -H www.foo.net -u /some/where/ -a user:pass OK - HTTP/1.1 302 Found - 0.087 second response time |time=0.086617s;;;0.000000 size=491B;;;0 but what can i add to this to make it so that a string i expect is checked. I hae tried all sensible options i can tell from the help. 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 boinger at tradingtechnologies.com Tue Feb 21 17:17:33 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Tue, 21 Feb 2006 10:17:33 -0600 Subject: Internal Server Error on Nagios 2.0 In-Reply-To: References: Message-ID: <1140538654.31618.23.camel@chi100400> On Tue, 2006-02-21 at 11:10 -0500, Pete Shelfo wrote: > I recently tried to fire up a new Nagios server running on RedHat 4 > Enterprise (fully patched). Everything works fine, pre-flight passed, > http is correct, web page displays; however, whenever I access a CGI > link on the left hand page I get the following error: I think if you made the font bigger we could help more. It's a common problem, but it has many (simple) solutions. This is an apache-related problem, not Nagios, though. You'll find it. -------------- 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 jperrin at gmail.com Tue Feb 21 17:19:04 2006 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 21 Feb 2006 11:19:04 -0500 Subject: Internal Server Error on Nagios 2.0 In-Reply-To: References: Message-ID: <302ce8b50602210819u2277849cpece5a3da61d007b6@mail.gmail.com> > I recently tried to fire up a new Nagios server running on RedHat 4 > Enterprise (fully patched). Everything works fine, pre-flight passed, http > is correct, web page displays; however, whenever I access a CGI link on the > left hand page I get the following error: > "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. > I have tried and tried to troubleshoot the problem but have had no success. > 1. I have searched the forums, google and apache. It appears this is a > common problem across many Linux platforms > 2. I have chmod 777 /usr/local/nagios permissions fully with no success > and added every userID I could like of to the group. > 3. I have even tried a default configuration with one host, a check > ping and along with all the sample configs. The problem still occurs. > 4. I have verified my http conf and tried all types of suggestions I > found during my searches. > My http config error log displays the following: > Tue Feb 21 10:43:50 2006] [error] [client 10.1.7.200] Premature end of > script headers: status > .cgi, referer: http://servername/nagios//side.html > I am currently running Nagios version 1.1 with no issues. This really looks > like an incompatibility with Apache or CGI or something? Anyone have any > ideas ? I am flat out? Your permissions or authentication via website is not correct (REMOTE_USER isn't being set). For RHEL systems, using the rpms provided by dag make things much easier, as the permissions etc are done for you. All you're left doing is adding users to the web authentication setup he provides and configuring services, or changing his auth to whatever auth system you use in your env. They work very well. -- "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 Tue Feb 21 17:23:18 2006 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 21 Feb 2006 11:23:18 -0500 Subject: check_http - user+password - string required In-Reply-To: <43FB3C2F.9070707@goodtechnology.com> References: <43FB3C2F.9070707@goodtechnology.com> Message-ID: <302ce8b50602210823n4d73ccc4gab41dec082075e0c@mail.gmail.com> On 2/21/06, Tom Brown wrote: > Hi > > Trying to get check_http to check a site that requires authorization and > also the check needs to expect a certain string back in the response. > > So far i have > > ./check_http -H www.foo.net -u /some/where/ -a user:pass > OK - HTTP/1.1 302 Found - 0.087 second response time > |time=0.086617s;;;0.000000 size=491B;;;0 > > but what can i add to this to make it so that a string i expect is > checked. I hae tried all sensible options i can tell from the help. Look at check_website or webinject on nagiosexchange. Both plugins let you get much more in-depth as far as website checks. For example, we do an indepth (check_website) check once an hour, and more frequent checks of "is the website responding"(check_http). -- "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 flima at rio-de-janeiro.oilfield.slb.com Tue Feb 21 17:24:55 2006 From: flima at rio-de-janeiro.oilfield.slb.com (Fernando Lima) Date: Tue, 21 Feb 2006 13:24:55 -0300 Subject: Internal Server Error on Nagios 2.0 In-Reply-To: References: Message-ID: <001201c63703$59d79cd0$7f23baa3@lam.slb.com> Pete, it sounds that you forgot to put in place the user that you're logging in. At CGI.cfg file there's a SYSTEM/PROCESS INFORMATION ACCESS parameter that you use to tell to Nagios who has the permission to view your CGI links. # SYSTEM/PROCESS INFORMATION ACCESS # This option is a comma-delimited list of all usernames that # have access to viewing the Nagios process information as # provided by the Extended Information CGI (extinfo.cgi). By # default, *no one* has access to this unless you choose to # not use authorization. You may use an asterisk (*) to # authorize any user who has authenticated to the web server. authorized_for_system_information=nagiosadmin,flima,mneto Best Regards, 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 Pete Shelfo Sent: Tuesday, February 21, 2006 1:10 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Internal Server Error on Nagios 2.0 I recently tried to fire up a new Nagios server running on RedHat 4 Enterprise (fully patched). Everything works fine, pre-flight passed, http is correct, web page displays; however, whenever I access a CGI link on the left hand page I get the following error: "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. I have tried and tried to troubleshoot the problem but have had no success. 1. I have searched the forums, google and apache. It appears this is a common problem across many Linux platforms 2. I have chmod 777 /usr/local/nagios permissions fully with no success and added every userID I could like of to the group. 3. I have even tried a default configuration with one host, a check ping and along with all the sample configs. The problem still occurs. 4. I have verified my http conf and tried all types of suggestions I found during my searches. My http config error log displays the following: Tue Feb 21 10:43:50 2006] [error] [client 10.1.7.200] Premature end of script headers: status .cgi, referer: http://servername/nagios//side.html I am currently running Nagios version 1.1 with no issues. This really looks like an incompatibility with Apache or CGI or something? Anyone have any ideas - I am flat out? ------------------------------------------------------------------- Pete Shelfo Systems Engineer (919) 314-2546 pshelfo at embrex.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Tue Feb 21 17:45:18 2006 From: marc at ena.com (Marc Powell) Date: Tue, 21 Feb 2006 10:45:18 -0600 Subject: check_http - user+password - string required Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Tom Brown > Sent: Tuesday, February 21, 2006 10:14 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_http - user+password - string required > > Hi > > Trying to get check_http to check a site that requires authorization and > also the check needs to expect a certain string back in the response. > > So far i have > > ./check_http -H www.foo.net -u /some/where/ -a user:pass > OK - HTTP/1.1 302 Found - 0.087 second response time > |time=0.086617s;;;0.000000 size=491B;;;0 > > but what can i add to this to make it so that a string i expect is > checked. I hae tried all sensible options i can tell from the help. The URL you're checking is returning a 302 REDIRECT. There is no HTML to look at. You'll probably want to add '--onredirect=follow' and either a -s, -R or -e string check based on your needs. -- 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 21 17:52:56 2006 From: marc at ena.com (Marc Powell) Date: Tue, 21 Feb 2006 10:52:56 -0600 Subject: Internal Server Error on Nagios 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 Pete Shelfo > Sent: Tuesday, February 21, 2006 10:10 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Internal Server Error on Nagios 2.0 > > I recently tried to fire up a new Nagios server running on RedHat 4 > Enterprise (fully patched). Everything works fine, pre-flight passed, > http is correct, web page displays; however, whenever I access a CGI link > on the left hand page I get the following error: > > > "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. > [chop] > My http config error log displays the following: > > > Tue Feb 21 10:43:50 2006] [error] [client 10.1.7.200] Premature end of > script headers: status > > > .cgi, referer: http://servername/nagios//side.html > > > > I am currently running Nagios version 1.1 with no issues. This really > looks like an incompatibility with Apache or CGI or something? Anyone > have any ideas - I am flat out? I would expect Apache to be providing more useful information in the error_logs. At any rate, do you have SELinux enabled? Have you verified that you are not experiencing restrictions based on that. I would also try running status.cgi from the command line as a non-root user to see if you experience any errors that way. It's not a perfect test but it may provide some insight. I doubt it's a compatibility issue. Probably SELinux or some library that isn't where it's expected. Were the CGI's compiled on this machine? You might try running 'ldd status.cgi' and make sure that the libraries are where they're expected and readable by your apache user. -- 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 Tue Feb 21 19:13:46 2006 From: stanglinden at gmail.com (Mike Linden) Date: Tue, 21 Feb 2006 13:13:46 -0500 Subject: statusmap questions Message-ID: <703708a60602211013k5bb75c2dy1065f8d1fc48170a@mail.gmail.com> I am monitoring a large number (650) of linux systems in a cluster environment. I would like to have the statusmap display these systems as they are physically setup in their racks. I have currently got the statusmap working but I have 2 issues with the display First, I get a green circle with cross hairs for each host which I would like to not see. I only need the words up/down to display. Second, I would like to actually have pictures of the racks with system icons. Has anyone seen this type of map? Thanks Mike -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From shoktai at gmail.com Tue Feb 21 19:45:12 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Tue, 21 Feb 2006 19:45:12 +0100 Subject: statusmap questions In-Reply-To: <703708a60602211013k5bb75c2dy1065f8d1fc48170a@mail.gmail.com> References: <703708a60602211013k5bb75c2dy1065f8d1fc48170a@mail.gmail.com> Message-ID: <619cf3c0602211045o1a965642w@mail.gmail.com> On the stausmap page you got a scrolling list called Layout method, it looks like the one you want is circular. If you want icons to be displayed you need to create a hostextinfo.cfg file you'll find in nagios doc how the cookie crumbles. Check also nagiosexchange to find nice icons, there's some reprsenting racks with flags for OS. 2006/2/21, Mike Linden : > > I am monitoring a large number (650) of linux systems in a cluster > environment. I would like > to have the statusmap display these systems as they are physically setup > in their racks. > I have currently got the statusmap working but I have 2 issues with the > display > First, I get a green circle with cross hairs for each host which I would > like to not see. I only need the > words up/down to display. > Second, I would like to actually have pictures of the racks with system > icons. Has anyone seen > this type of map? > > Thanks > > Mike > > -- > > -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rafaelc at vegait.com.br Tue Feb 21 20:02:11 2006 From: rafaelc at vegait.com.br (Rafael Bandeira da Costa) Date: Tue, 21 Feb 2006 16:02:11 -0300 Subject: statusmap questions In-Reply-To: <703708a60602211013k5bb75c2dy1065f8d1fc48170a@mail.gmail.com> References: <703708a60602211013k5bb75c2dy1065f8d1fc48170a@mail.gmail.com> Message-ID: <43FB63B3.6050309@vegait.com.br> Mike Linden escreveu: > First, I get a green circle with cross hairs for each host which I > would like to not see. I only need the > words up/down to display. > Second, I would like to actually have pictures of the racks with > system icons. Has anyone seen > this type of map? Mike Have a look at Extended Host Information (http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostextinfo). Another nice option for visual status maps is NagVis (http://www.nagvis.org/); have a look at version 0.9, it's really easy to configure and nice to see :) -- Rafael Costa rafaelc at vegait.com.br Curitiba - PR - Brasil ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dschlecht at doit.nv.gov Tue Feb 21 20:09:03 2006 From: dschlecht at doit.nv.gov (David Schlecht) Date: Tue, 21 Feb 2006 20:09:03 +0100 (CET) Subject: seg fault exiting downtime Message-ID: <20060221190903.CE83B4F40E3@desire.netways.de> Hi All, After extensive testing, I've been able to isolate this seg fault. I'm still uncertain if this is related to a configuration setting, or if it's a bug in Nagios. If anyone has any input, I would certainly appreciate hearing from you. I can reproduce this on the following platforms: SuSE8 on I386, Nagios v1.2 SuSE9 on Z/VM, Nagios v2.0a1 SuSE9 on I64, Nagios v2.0b4 The log file shows: Feb 21 09:44:48 nagios2 nagios: EXTERNAL COMMAND: SCHEDULE_SVC_DOWNTIME;n voltpwb01;PING;1140543869;1140580169;1;0;7200;David Schlecht;test Feb 21 09:44:49 nagios2 nagios: SERVICE DOWNTIME ALERT: nvoltpwb01;PING;S TARTED; Service has entered a period of scheduled downtime Feb 21 09:45:07 nagios2 nagios: EXTERNAL COMMAND: SCHEDULE_SVC_DOWNTIME;n voltpwb01;MSAC SQL Services;1140543893;1140544193;1;0;7200;David Schlecht;test Feb 21 09:45:08 nagios2 nagios: SERVICE DOWNTIME ALERT: nvoltpwb01;MSAC SQL Services;STARTED; Service has entered a period of scheduled downtime Feb 21 09:49:53 nagios2 nagios: SERVICE DOWNTIME ALERT: nvoltpwb01;MSAC SQL Services;STOPPED; Service has exited from a period of scheduled downtime Feb 21 09:49:53 nagios2 nagios: SERVICE DOWNTIME ALERT: nvoltpwb01;PING;S TOPPED; Service has exited from a period of scheduled downtime Feb 21 09:49:53 nagios2 nagios: Caught SIGSEGV, shutting down... ---------- The Service.cfg definition for the PING check is: define service { use generic-service hostgroup_name nvolGroup service_description PING contact_groups internet-services,operations check_command check_ping!100.0,20%!500.0,60% } Any ideas? - David Schlecht (dschl) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search 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 boinger at tradingtechnologies.com Tue Feb 21 21:30:51 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Tue, 21 Feb 2006 14:30:51 -0600 Subject: Internal Server Error on Nagios 2.0 In-Reply-To: References: Message-ID: <1140553851.31618.36.camel@chi100400> always cc the list so others may learn by your experiences. On Tue, 2006-02-21 at 15:15 -0500, Pete Shelfo wrote: > Can you point me in a direction, give me ideas or possibly recommend a > web resource? what happens when you run the status.cgi from the command line as the apache user? is this error happening with *all* cgis, or just this one? 'Premature end of script headers' *almost always* means the cgi is throwing an error (before completing headers the browser can understand). The best place to start is pasting in the error, in quotes, into google: http://www.google.com/search?q=%22Premature+end+of+script+headers%22 > -----Original Message----- > From: jeff vier [mailto:boinger at tradingtechnologies.com] > Sent: Tuesday, February 21, 2006 11:18 AM > To: Pete Shelfo > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Internal Server Error on Nagios 2.0 > > On Tue, 2006-02-21 at 11:10 -0500, Pete Shelfo wrote: > > I recently tried to fire up a new Nagios server running on RedHat 4 > > Enterprise (fully patched). Everything works fine, pre-flight passed, > > http is correct, web page displays; however, whenever I access a CGI > > link on the left hand page I get the following error: > > I think if you made the font bigger we could help more. > > It's a common problem, but it has many (simple) solutions. This is an > apache-related problem, not Nagios, though. You'll find it. -------------- 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 PShelfo at embrex.com Tue Feb 21 22:07:38 2006 From: PShelfo at embrex.com (Pete Shelfo) Date: Tue, 21 Feb 2006 16:07:38 -0500 Subject: Internal Server Error on Nagios 2.0 Message-ID: I found the answer!!! Unfortunately installing Nagios via the RPM did not help. The problem lies within SELINUX. If I disable SELinux the CGI scripts work fine. /etc/selinux/config SELinux=disable Reboot the server Now the question is why does the security enhanced Linux module cause problems with the CGI scripts? I value a secure Linux server so I am off to research some more. -----Original Message----- From: Jim Perrin [mailto:jperrin at gmail.com] Sent: Tuesday, February 21, 2006 11:19 AM To: Pete Shelfo Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Internal Server Error on Nagios 2.0 > I recently tried to fire up a new Nagios server running on RedHat 4 > Enterprise (fully patched). Everything works fine, pre-flight passed, http > is correct, web page displays; however, whenever I access a CGI link on the > left hand page I get the following error: > "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. > I have tried and tried to troubleshoot the problem but have had no success. > 1. I have searched the forums, google and apache. It appears this is a > common problem across many Linux platforms > 2. I have chmod 777 /usr/local/nagios permissions fully with no success > and added every userID I could like of to the group. > 3. I have even tried a default configuration with one host, a check > ping and along with all the sample configs. The problem still occurs. > 4. I have verified my http conf and tried all types of suggestions I > found during my searches. > My http config error log displays the following: > Tue Feb 21 10:43:50 2006] [error] [client 10.1.7.200] Premature end of > script headers: status > .cgi, referer: http://servername/nagios//side.html > I am currently running Nagios version 1.1 with no issues. This really looks > like an incompatibility with Apache or CGI or something? Anyone have any > ideas - I am flat out? Your permissions or authentication via website is not correct (REMOTE_USER isn't being set). For RHEL systems, using the rpms provided by dag make things much easier, as the permissions etc are done for you. All you're left doing is adding users to the web authentication setup he provides and configuring services, or changing his auth to whatever auth system you use in your env. They work very well. -- "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 radhiilu at yahoo.com Tue Feb 21 22:21:29 2006 From: radhiilu at yahoo.com (Radhika) Date: Tue, 21 Feb 2006 13:21:29 -0800 (PST) Subject: Nagios web interface,frontend or GUI tools list Message-ID: <20060221212129.28105.qmail@web60714.mail.yahoo.com> Hi Guys, Here is the list of nagios GUI tools for allusers and admins wants to manage . http://www.debianhelp.co.uk/nagiosweb.htm If any one knows any other tools they can post here so that it would help more users. thanks --------------------------------- Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shoktai at gmail.com Tue Feb 21 22:26:39 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Tue, 21 Feb 2006 22:26:39 +0100 Subject: Nagios web interface,frontend or GUI tools list In-Reply-To: <20060221212129.28105.qmail@web60714.mail.yahoo.com> References: <20060221212129.28105.qmail@web60714.mail.yahoo.com> Message-ID: <619cf3c0602211326x6e80d525l@mail.gmail.com> you can find some here: http://www.nagiosexchange.org/Frontends.37.0.html http://www.nagiosexchange.org/Configuration.40.0.html 2006/2/21, Radhika : > > Hi Guys, > > Here is the list of nagios GUI tools for allusers and admins wants to > manage . > > http://www.debianhelp.co.uk/nagiosweb.htm > > If any one knows any other tools they can post here so that it would help > more users. > > thanks > > ------------------------------ > Yahoo! Autos. > Looking for a sweet ride? Get pricing, reviews, & more on new and used cars. > > > -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Robin.Cook at LACKLAND.AF.MIL Tue Feb 21 22:41:15 2006 From: Robin.Cook at LACKLAND.AF.MIL (Cook Robin K Civ CPSG/ZCI) Date: Tue, 21 Feb 2006 15:41:15 -0600 Subject: (U) Statsmap visual indicator Message-ID: <90BB5C359D1A2A4B8AD3F7644B2A04E40E6B9C6C@fsmpls04.lackland.aetc.ds.af.mil> Classification: UNCLASSIFIED Is there a way to get the status map (user defined) to display an indicator for a host when a service associated with that host has a problem? I would rather not have icons for the services on the status map as it is busy enough as it is. Robin K. Cook Classification: UNCLASSIFIED ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deballing at vassar.edu Tue Feb 21 23:07:00 2006 From: deballing at vassar.edu (Derek J. Balling) Date: Tue, 21 Feb 2006 17:07:00 -0500 Subject: hostgroupescalations not working Message-ID: <9B489343-1C88-40D4-8BF1-99E831DB38A5@vassar.edu> I'm running the latest version of Nagios included with Debian sarge/ stable (it reports itself as 1.3-cvs.20050402-2.sarge.1). I have defined, in /etc/nagios/escalations.cfg, a hostgroupescalation, like so: define hostgroupescalation{ hostgroup_name all-linux first_notification 3 last_notification 0 contact_groups oncall,sysadmins-pgr notification_interval 5 } ... thinking that from escalation point 3 and up, the oncall person and the sysadmins will get notified every five minutes. Except that it never seems to get processed. The "default" contact_groups, from the services declaration, all get their notices, but the escalation-people never get theirs. I created a service escalation (for the service I've been using to test the escalation), and it worked just fine (it's now commented out though as I try to get the hostgroupescalation to work): #define serviceescalation{ # host_name smtp03 # service_description SMTP # first_notification 3 # last_notification 0 # contact_groups oncall,sysadmins-pgr # notification_interval 5 #} ... so I know that the escalations.cfg is being processed, and it's *willing* to escalate, just not to escalate for a hostgroup. I confirmed that smtp03 *is* in the "all-linux" hostgroup declaration, and it appears there in all the GUI locations, so it's not that the hostgroup simply doesn't match the server in question. What am I missing? Is this some stupid typo that I'm not noticing? The members of the service's contact_groups field all get their notices, but the people it's supposed to escalate to don't. What am I missing? Thanks much! Cheers, D -- Derek J. Balling Systems Administrator Vassar College 124 Raymond Ave Box 13 - Computer Center 221 Poughkeepsie, NY 12604 (845) 437-7231 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2423 bytes Desc: not available URL: From dany.allard at aeso.ca Tue Feb 21 23:33:06 2006 From: dany.allard at aeso.ca (Dany Allard) Date: Tue, 21 Feb 2006 15:33:06 -0700 Subject: Tru64 NRPE client for Nagios Message-ID: <627D0C6CCD47B14BB08D77155E78D30101242FE7@post1.aeso.ca> Hello Everyone Does anyone have a compiled NRPE client for Tru64 5.1a? We tried to compile the source from http://altinity.blogs.com/dotorg/2005/09/22/index.html#a0006555594 But we had some errors. Thanks Dany Allard 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. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search 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 m.borsani at it.net Wed Feb 22 09:50:26 2006 From: m.borsani at it.net (Marco Borsani) Date: Wed, 22 Feb 2006 09:50:26 +0100 Subject: R: R: I: NSClient++ configuration problems In-Reply-To: <627D0C6CCD47B14BB08D77155E78D30101242E94@post1.aeso.ca> References: <627D0C6CCD47B14BB08D77155E78D30101242E94@post1.aeso.ca> Message-ID: <004d01c6378d$06e8e300$04000100@intranet.it.net> Hi May someone give me any examples of commands to use to communicate with NSClient++? I tried: ./check_nt -H 151.x.x.x -v USEDDISKSPACE -l check_disk_c Where "check_disk_c" is a line uncommented in the nsc.ini file The answer is: "wrong -l argument" Or ./check_nrpe -H 151.x.x.x -c check_users Where "check_users" is a line uncommented in the nsc.ini file The answer is: "CHECK_NRPE: Error receiving data from host" May I use same "check_nrpe" that I am using for Unix systems? And same "check_nt" that I am using with old NSClient agent? Regards Marco -}-----Messaggio originale----- -}Da: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto -}di Dany Allard -}Inviato: venerd? 17 febbraio 2006 19.20 -}A: NAGIOS -}Oggetto: RE: R: [Nagios-users] I: NSClient++ configuration problems -} -}Marco -} -} A quick test to make sure that the port is open is to telnet to it. -}> telnet YourHostname 1248 -} -}If you don't get a connection failed message the port should be open. -}If it fails with "..Could not open connection to the host..." -}then the port is being blocked somewhere. -} -} Dany Allard -} -}-----Original Message----- -}From: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf -}Of Marco Borsani -}Sent: Thursday, February 16, 2006 3:11 AM -}To: 'Michael Medin' -}Cc: 'NAGIOS' -}Subject: R: R: [Nagios-users] I: NSClient++ configuration problems -} -}I set 1248 (NSClient) and 5666 (NRPE) ports on NCS.INI file. -}I see both ports open (but associated to local IP 0.0.0.0), -}NSClient++ is running, but neither a check_nt, a check_nrpe -}or a check_tcp run correctly. -} -}Marco -} -}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. -} -} -}------------------------------------------------------- -}This SF.net email is sponsored by: Splunk Inc. Do you grep -}through log files for problems? Stop! Download the new AJAX -}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 ton.voon at altinity.com Wed Feb 22 11:18:21 2006 From: ton.voon at altinity.com (Ton Voon) Date: Wed, 22 Feb 2006 10:18:21 +0000 Subject: Tru64 NRPE client for Nagios In-Reply-To: <627D0C6CCD47B14BB08D77155E78D30101242FE7@post1.aeso.ca> References: <627D0C6CCD47B14BB08D77155E78D30101242FE7@post1.aeso.ca> Message-ID: <4050B9D3-322C-46F7-9F2C-A0AC0738456C@altinity.com> On 21 Feb 2006, at 22:33, Dany Allard wrote: > Hello Everyone > > Does anyone have a compiled NRPE client for Tru64 5.1a? > We tried to compile the source from > http://altinity.blogs.com/dotorg/2005/09/22/index.html#a0006555594 Hi Dany, What were the errors? Our server is 5.1b 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 rex at 2020media.com Wed Feb 22 11:40:42 2006 From: rex at 2020media.com (Rex Wickham) Date: Wed, 22 Feb 2006 11:40:42 +0100 (CET) Subject: check_nt binary available? In-Reply-To: <006401c63695$df6bd190$8ea8d882@438LG01sshi052> References: <006401c63695$df6bd190$8ea8d882@438LG01sshi052> Message-ID: <20060222104042.3C16C4F40E3@desire.netways.de> Hi Steve You could use NSCA. This is what I'm using to monitor Windows servers that are behind other machines. The key requirement is that the Windows machines can make outgoing connections. Your Nagios server will be passive, only listening for the incoming connections. I've been using the NC_Net tool from http://www.shatterit.com/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]=15583 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search 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 joerg.berning at softwareag.com Wed Feb 22 11:50:10 2006 From: joerg.berning at softwareag.com (=?utf-8?b?SsO2cmc=?= Berning) Date: Wed, 22 Feb 2006 10:50:10 +0000 (UTC) Subject: =?utf-8?b?REVMX0FMTF9TVkNfQ09NTUVOVFM=?= not always working? References: <4A56A7900065A44BB559A2C929597BB70119F346@DAEMSG03.eur.ad.sag> Message-ID: First, I have to correct myself, "Trying to reproduce the problem under Nagios 1.3(AIX 5.2) did not work, Nagios worked perfectly" in my first posting in this thread is wrong, I tried to to reproduce it under Nagios 1.2(AIX 5.2), which did work. So Nagios 1.3 did not get tested with this problem. But I think I'm getting closer to the problem. This night five service checks(under the same host-entry) got processed like this: The comments got entered in the following sequence(via ADD_SVC_COMMENT): #1 #2 #3 #4 #5 Until now everything is working fine. Now the service-checks ended in the following sequence and should have been removed via DEL_ALL_SVC_COMMENTS: #2 #5 #4 #1 #3 But only the comments for service-checks #2 #5 got removed(in this sequence). The comments for #4 #1 #3 are still in var/comments.dat and are not deletable, neither via DEL_ALL_SVC_COMMENTS nor the webinterface("Delete all comments"). Deleting them via the trashcan-icon(with the comment-id) works. It looks like some kind of end-of-comment-list-pointer is moved in the list of comments: Comment #2 gets deleted, the pointer in the list of comments gets moved to entry #2 Comment #5 gets deleted, the pointer in the list of comments gets moved to entry #5, which is the last in the list Now comment #4 should get deleted, but does not, because the end-of-comment- list-pointer is further down the list, so the comment can't get deleted. Same with comment #1 and #3, both are above the end-of-comment-list-pointer. If somebody could please confirm this behavior(following my previous posting) or the opposite... After a confirmation I would post it to the developement list. Thank you for your time, J?rg Berning ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Feb 22 15:41:31 2006 From: dany.allard at aeso.ca (Dany Allard) Date: Wed, 22 Feb 2006 07:41:31 -0700 Subject: R: I: NSClient++ configuration problems Message-ID: <627D0C6CCD47B14BB08D77155E78D301013395C1@post1.aeso.ca> Marco Your syntax looks correct, here are a couple examples from my system.. ./check_nrpe -H hostName -c check_load NOW: Mean:0.437500% Variance: 0.114844% CUMULATIVE: Mean:0.437500% Variance: 0.114844% ./check_nt -H hostName -p 1248 -v UPTIME System Uptime - 14 day(s) 19 hour(s) 55 minute(s) Hope that helps Dany Allard -----Original Message----- From: Marco Borsani [mailto:m.borsani at it.net] Sent: Wednesday, February 22, 2006 1:50 AM To: Dany Allard; 'NAGIOS' Subject: R: R: [Nagios-users] I: NSClient++ configuration problems Hi May someone give me any examples of commands to use to communicate with NSClient++? I tried: ./check_nt -H 151.x.x.x -v USEDDISKSPACE -l check_disk_c Where "check_disk_c" is a line uncommented in the nsc.ini file The answer is: "wrong -l argument" Or ./check_nrpe -H 151.x.x.x -c check_users Where "check_users" is a line uncommented in the nsc.ini file The answer is: "CHECK_NRPE: Error receiving data from host" May I use same "check_nrpe" that I am using for Unix systems? And same "check_nt" that I am using with old NSClient agent? Regards Marco -}-----Messaggio originale----- -}Da: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto -}di Dany Allard -}Inviato: venerd? 17 febbraio 2006 19.20 -}A: NAGIOS -}Oggetto: RE: R: [Nagios-users] I: NSClient++ configuration problems -} -}Marco -} -} A quick test to make sure that the port is open is to telnet to it. -}> telnet YourHostname 1248 -} -}If you don't get a connection failed message the port should be open. -}If it fails with "..Could not open connection to the host..." -}then the port is being blocked somewhere. -} -} Dany Allard -} -}-----Original Message----- -}From: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf -}Of Marco Borsani -}Sent: Thursday, February 16, 2006 3:11 AM -}To: 'Michael Medin' -}Cc: 'NAGIOS' -}Subject: R: R: [Nagios-users] I: NSClient++ configuration problems -} -}I set 1248 (NSClient) and 5666 (NRPE) ports on NCS.INI file. -}I see both ports open (but associated to local IP 0.0.0.0), -}NSClient++ is running, but neither a check_nt, a check_nrpe -}or a check_tcp run correctly. -} -}Marco -} -}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. -} -} -}------------------------------------------------------- -}This SF.net email is sponsored by: Splunk Inc. Do you grep -}through log files for problems? Stop! Download the new AJAX -}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 Wed Feb 22 16:11:59 2006 From: greg.cope at e-dba.net (Greg Cope) Date: Wed, 22 Feb 2006 15:11:59 +0000 Subject: Monitoring solaris Message-ID: <1140621120.6758.1.camel@dl.e-dba.net> Hi All, Has anyone got any recommendations for packages choices for solaris (2.6, 8 and 9). I need to use packages as most/none of these hosts do not have a complier suite. I am planning on running nagios with nrpe and nsca to then submit data to our server (running 2.x on linux). Thanks 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 marc at ena.com Wed Feb 22 16:24:23 2006 From: marc at ena.com (Marc Powell) Date: Wed, 22 Feb 2006 09:24:23 -0600 Subject: Internal Server Error on Nagios 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 Pete Shelfo > Sent: Tuesday, February 21, 2006 3:08 PM > To: Jim Perrin > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Internal Server Error on Nagios 2.0 > > I found the answer!!! Unfortunately installing Nagios via the RPM did > not help. The problem lies within SELINUX. If I disable SELinux the > CGI scripts work fine. > > /etc/selinux/config > SELinux=disable > Reboot the server > > Now the question is why does the security enhanced Linux module cause > problems with the CGI scripts? I value a secure Linux server so I am > off to research some more. Because the default policies are secure ;) The list archives are a great resource. Searching for SELinux yields -- http://article.gmane.org/gmane.network.nagios.user/33586/match=selinux -- 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 m.borsani at it.net Wed Feb 22 16:53:03 2006 From: m.borsani at it.net (Marco Borsani) Date: Wed, 22 Feb 2006 16:53:03 +0100 Subject: R: R: I: NSClient++ configuration problems In-Reply-To: <627D0C6CCD47B14BB08D77155E78D301013395C1@post1.aeso.ca> References: <627D0C6CCD47B14BB08D77155E78D301013395C1@post1.aeso.ca> Message-ID: <011a01c637c8$12c2eff0$04000100@intranet.it.net> Dany, Do I need particular versions of check_nrpe or check_nt ? Actually I have: check_nt (nagios-plugins 1.3.1) 1.7.2.3 Check_nrpe - Version: 1.9 - Last Modified: 07-22-2003 Regards Marco -}-----Messaggio originale----- -}Da: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto -}di Dany Allard -}Inviato: mercoled? 22 febbraio 2006 15.42 -}A: NAGIOS -}Oggetto: RE: R: [Nagios-users] I: NSClient++ configuration problems -} -}Marco -} -}Your syntax looks correct, here are a couple examples from my system.. -}./check_nrpe -H hostName -c check_load -}NOW: Mean:0.437500% Variance: 0.114844% CUMULATIVE: -}Mean:0.437500% Variance: 0.114844% ./check_nt -H hostName -p -}1248 -v UPTIME System Uptime - 14 day(s) 19 hour(s) 55 minute(s) -} -}Hope that helps -} -} Dany Allard -} -}-----Original Message----- -}From: Marco Borsani [mailto:m.borsani at it.net] -}Sent: Wednesday, February 22, 2006 1:50 AM -}To: Dany Allard; 'NAGIOS' -}Subject: R: R: [Nagios-users] I: NSClient++ configuration problems -} -}Hi -} -}May someone give me any examples of commands to use to -}communicate with -}NSClient++? -} -}I tried: -}./check_nt -H 151.x.x.x -v USEDDISKSPACE -l check_disk_c -}Where "check_disk_c" is a line uncommented in the nsc.ini -}file The answer is: "wrong -l argument" -}Or -}./check_nrpe -H 151.x.x.x -c check_users Where "check_users" -}is a line uncommented in the nsc.ini file The answer is: -}"CHECK_NRPE: Error receiving data from host" -} -}May I use same "check_nrpe" that I am using for Unix systems? -}And same "check_nt" that I am using with old NSClient agent? -} -}Regards -}Marco -} -}-}-----Messaggio originale----- -}-}Da: nagios-users-admin at lists.sourceforge.net -}-}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto -}-}di Dany Allard -}-}Inviato: venerd? 17 febbraio 2006 19.20 -}-}A: NAGIOS -}-}Oggetto: RE: R: [Nagios-users] I: NSClient++ configuration -}problems -} -}Marco -} -} A quick test to make sure that the -}port is open is to telnet to it. -}-}> telnet YourHostname 1248 -}-} -}-}If you don't get a connection failed message the port -}should be open. -}-}If it fails with "..Could not open connection to the host..." -}-}then the port is being blocked somewhere. -}-} -}-} Dany Allard -}-} -}-}-----Original Message----- -}-}From: nagios-users-admin at lists.sourceforge.net -}-}[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf -}-}Of Marco Borsani -}-}Sent: Thursday, February 16, 2006 3:11 AM -}-}To: 'Michael Medin' -}-}Cc: 'NAGIOS' -}-}Subject: R: R: [Nagios-users] I: NSClient++ configuration -}problems -} -}I set 1248 (NSClient) and 5666 (NRPE) ports on -}NCS.INI file. -}-}I see both ports open (but associated to local IP 0.0.0.0), -}-}NSClient++ is running, but neither a check_nt, a check_nrpe -}-}or a check_tcp run correctly. -}-} -}-}Marco -}-} -}-}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. -}-} -}-} -}-}------------------------------------------------------- -}-}This SF.net email is sponsored by: Splunk Inc. Do you grep -}-}through log files for problems? Stop! Download the new -}AJAX -}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=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 dany.allard at aeso.ca Wed Feb 22 17:07:35 2006 From: dany.allard at aeso.ca (Dany Allard) Date: Wed, 22 Feb 2006 09:07:35 -0700 Subject: R: I: NSClient++ configuration problems Message-ID: <627D0C6CCD47B14BB08D77155E78D301013395FC@post1.aeso.ca> This is what I am running --- check_nt (nagios-plugins 1.4.2) 1.39 --- NRPE Plugin for Nagios Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Version: 2.1 Last Modified: 01-19-2004 --- Hope this helps -----Original Message----- From: Marco Borsani [mailto:m.borsani at it.net] Sent: Wednesday, February 22, 2006 8:53 AM To: Dany Allard; 'NAGIOS' Subject: R: R: [Nagios-users] I: NSClient++ configuration problems Dany, Do I need particular versions of check_nrpe or check_nt ? Actually I have: check_nt (nagios-plugins 1.3.1) 1.7.2.3 Check_nrpe - Version: 1.9 - Last Modified: 07-22-2003 Regards Marco -}-----Messaggio originale----- -}Da: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto -}di Dany Allard -}Inviato: mercoled? 22 febbraio 2006 15.42 -}A: NAGIOS -}Oggetto: RE: R: [Nagios-users] I: NSClient++ configuration problems -} -}Marco -} -}Your syntax looks correct, here are a couple examples from my system.. -}./check_nrpe -H hostName -c check_load -}NOW: Mean:0.437500% Variance: 0.114844% CUMULATIVE: -}Mean:0.437500% Variance: 0.114844% ./check_nt -H hostName -p -}1248 -v UPTIME System Uptime - 14 day(s) 19 hour(s) 55 minute(s) -} -}Hope that helps -} -} Dany Allard -} -}-----Original Message----- -}From: Marco Borsani [mailto:m.borsani at it.net] -}Sent: Wednesday, February 22, 2006 1:50 AM -}To: Dany Allard; 'NAGIOS' -}Subject: R: R: [Nagios-users] I: NSClient++ configuration problems -} -}Hi -} -}May someone give me any examples of commands to use to -}communicate with -}NSClient++? -} -}I tried: -}./check_nt -H 151.x.x.x -v USEDDISKSPACE -l check_disk_c -}Where "check_disk_c" is a line uncommented in the nsc.ini -}file The answer is: "wrong -l argument" -}Or -}./check_nrpe -H 151.x.x.x -c check_users Where "check_users" -}is a line uncommented in the nsc.ini file The answer is: -}"CHECK_NRPE: Error receiving data from host" -} -}May I use same "check_nrpe" that I am using for Unix systems? -}And same "check_nt" that I am using with old NSClient agent? -} -}Regards -}Marco -} -}-}-----Messaggio originale----- -}-}Da: nagios-users-admin at lists.sourceforge.net -}-}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto -}-}di Dany Allard -}-}Inviato: venerd? 17 febbraio 2006 19.20 -}-}A: NAGIOS -}-}Oggetto: RE: R: [Nagios-users] I: NSClient++ configuration -}problems -} -}Marco -} -} A quick test to make sure that the -}port is open is to telnet to it. -}-}> telnet YourHostname 1248 -}-} -}-}If you don't get a connection failed message the port -}should be open. -}-}If it fails with "..Could not open connection to the host..." -}-}then the port is being blocked somewhere. -}-} -}-} Dany Allard -}-} -}-}-----Original Message----- -}-}From: nagios-users-admin at lists.sourceforge.net -}-}[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf -}-}Of Marco Borsani -}-}Sent: Thursday, February 16, 2006 3:11 AM -}-}To: 'Michael Medin' -}-}Cc: 'NAGIOS' -}-}Subject: R: R: [Nagios-users] I: NSClient++ configuration -}problems -} -}I set 1248 (NSClient) and 5666 (NRPE) ports on -}NCS.INI file. -}-}I see both ports open (but associated to local IP 0.0.0.0), -}-}NSClient++ is running, but neither a check_nt, a check_nrpe -}-}or a check_tcp run correctly. -}-} -}-}Marco -}-} -}-}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. -}-} -}-} -}-}------------------------------------------------------- -}-}This SF.net email is sponsored by: Splunk Inc. Do you grep -}-}through log files for problems? Stop! Download the new -}AJAX -}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=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 xagonzalezm at gmail.com Wed Feb 22 17:11:39 2006 From: xagonzalezm at gmail.com (Alberto) Date: Wed, 22 Feb 2006 17:11:39 +0100 Subject: check_swap always returns 100% free on HP-UX Message-ID: <7fa4b410602220811l68bf1e89q400c21ddf40fd58b@mail.gmail.com> is this a bug? [node1:nagios] nagios/bin $ ./check_swap -V check_swap (nagios-plugins 1.4.2) 1.52 [node1:nagios] nagios/bin $ ./check_swap -w 10% -c 5% SWAP OK - 100% free (0 MB out of 0 MB) |swap=0MB;0;0;0;0 -------------- next part -------------- An HTML attachment was scrubbed... URL: From cgoosen at jhb.artec.co.za Wed Feb 22 15:00:06 2006 From: cgoosen at jhb.artec.co.za (Chris Goosen) Date: Wed, 22 Feb 2006 16:00:06 +0200 Subject: R: I: NSClient++ configuration problems Message-ID: Hello... Here are some of my configs : (checkcommands.cfg) beware of wrapping # 'nt_check_disk_c' command definition define command{ command_name nt_check_disk_c command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckDriveSize -a Drive=C: ShowAll=long MaxWarn=85% MaxCrit=90% } # 'nt_check_disk_d' command definition define command{ command_name nt_check_disk_d command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckDriveSize -a Drive=D: ShowAll=long MaxWarn=85% MaxCrit=90% } # 'nt_check_disk_e' command definition define command{ command_name nt_check_disk_e command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckDriveSize -a Drive=E: ShowAll=long MaxWarn=85% MaxCrit=90% } # 'nt_check_disk_f' command definition define command{ command_name nt_check_disk_f command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckDriveSize -a Drive=F: ShowAll=long MaxWarn=85% MaxCrit=90% } # 'nt_check_disk_g' command definition define command{ command_name nt_check_disk_g command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckDriveSize -a Drive=G: ShowAll=long MaxWarn=85% MaxCrit=90% } # 'nt_check_disk_h' command definition define command{ command_name nt_check_disk_h command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckDriveSize -a Drive=H: ShowAll=long MaxWarn=85% MaxCrit=90% } # 'nt_check_cpu' command definition define command{ command_name nt_check_cpu command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkCPU -a warn=80% crit=90% time=20m time=5m time=30s ShowAll=long } # 'nt_check_eventlog' command definition define command{ command_name nt_check_eventlog command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c nt_check_eventlog } # 'nt_check_memload' command definition define command{ command_name nt_check_memload command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkMem -a MaxWarn=80% MaxCrit=90% ShowAll=long } # 'nt_check_physmem' command definition define command{ command_name nt_check_physmem command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkMem type=physical -a MaxWarn=80% MaxCrit=90% ShowAll=long } # 'nt_service_exchange' command definition define command{ command_name nt_service_exchange command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkServiceState -a ShowAll MSExchangeIS MSExchangeMGMT MSExchangeMTA RESvc SMTPSVC IISADMIN W3SVC } # 'nt_service_web' command definition define command{ command_name nt_service_web command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkServiceState -a ShowAll IISADMIN W3SVC } # 'nt_service_sql' command definition define command{ command_name nt_service_sql command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkServiceState -a ShowAll MSSQLSERVER } # 'nt_service_netlogon' command definition define command{ command_name nt_service_netlogon command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkServiceState -a ShowAll NetLogon } # 'nt_service_server' command definition define command{ command_name nt_service_server command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkServiceState -a ShowAll lanmanserver } # 'nt_service_ws' command definition define command{ command_name nt_service_ws command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkServiceState -a ShowAll EventLog DNScache } # 'nt_service_trend' command definition define command{ command_name nt_service_trend command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkServiceState -a ShowAll tmlisten ntrtscan } # 'nt_service_beremote' command definition define command{ command_name nt_service_beremote command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkServiceState -a ShowAll BackupExecAgentAccelerator } # 'nt_service_beoracle' command definition define command{ command_name nt_service_beoracle command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkServiceState -a ShowAll Veritas_Oracle_Agent } # 'nt_service_be' command definition define command{ command_name nt_service_be command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkServiceState -a ShowAll BackupExecAgentBrowser BackupExecDeviceMediaService BackupExecJobEngine BackupExecRPCService BackupExecAgentAccelerator } # 'nt_service_oracle' command definition define command{ command_name nt_service_oracle command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkServiceState -a ShowAll OracleORA92TNSListener OracleServiceAZAJDE } # 'nt_service_dhcp' command definition define command{ command_name nt_service_dhcp command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkServiceState -a ShowAll DHCPServer } # 'nt_service_symantecav' command definition define command{ command_name nt_service_symantecav command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkServiceState -a ShowAll DefWatch } # 'nt_service_ts' command definition define command{ command_name nt_service_ts command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkServiceState -a ShowAll TermService } # 'nt_service_spp' command definition define command{ command_name nt_service_spp command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkServiceState -a ShowAll SPSAdmin SPTimer } # 'nt_service_print' command definition define command{ command_name nt_service_print command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkServiceState -a ShowAll Spooler } # 'nt_service_pelibib' command definition define command{ command_name nt_service_pelibib command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkServiceState -a ShowAll PELINT } # 'nt_service_cognos' command definition define command{ command_name nt_service_cognos command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkServiceState -a ShowAll amserver_cer4 IwSvcMancer4 } # 'nt_service_dazeldagent' command definition #define command{ # command_name nt_service_dazeldagent # command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkServiceState -a ShowAll DAZEL Delivery Agent # } # 'nt_service_dazelstart' command definition define command{ command_name nt_service_dazelstart command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkServiceState -a ShowAll dazel_start } # 'nt_proc_dazeldagent' command definition define command{ command_name nt_proc_dazeldagent command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkProcState -a ShowAll DcPSI.exe } -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marco Borsani Sent: Wednesday, February 22, 2006 10:50 AM To: 'Dany Allard'; 'NAGIOS' Subject: R: R: [Nagios-users] I: NSClient++ configuration problems Hi May someone give me any examples of commands to use to communicate with NSClient++? I tried: ./check_nt -H 151.x.x.x -v USEDDISKSPACE -l check_disk_c Where "check_disk_c" is a line uncommented in the nsc.ini file The answer is: "wrong -l argument" Or ./check_nrpe -H 151.x.x.x -c check_users Where "check_users" is a line uncommented in the nsc.ini file The answer is: "CHECK_NRPE: Error receiving data from host" May I use same "check_nrpe" that I am using for Unix systems? And same "check_nt" that I am using with old NSClient agent? Regards Marco -}-----Messaggio originale----- -}Da: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto -}di Dany Allard -}Inviato: venerd? 17 febbraio 2006 19.20 -}A: NAGIOS -}Oggetto: RE: R: [Nagios-users] I: NSClient++ configuration problems -} -}Marco -} -} A quick test to make sure that the port is open is to telnet to it. -}> telnet YourHostname 1248 -} -}If you don't get a connection failed message the port should be open. -}If it fails with "..Could not open connection to the host..." -}then the port is being blocked somewhere. -} -} Dany Allard -} -}-----Original Message----- -}From: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf -}Of Marco Borsani -}Sent: Thursday, February 16, 2006 3:11 AM -}To: 'Michael Medin' -}Cc: 'NAGIOS' -}Subject: R: R: [Nagios-users] I: NSClient++ configuration problems -} -}I set 1248 (NSClient) and 5666 (NRPE) ports on NCS.INI file. -}I see both ports open (but associated to local IP 0.0.0.0), -}NSClient++ is running, but neither a check_nt, a check_nrpe -}or a check_tcp run correctly. -} -}Marco -} -}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. -} -} -}------------------------------------------------------- -}This SF.net email is sponsored by: Splunk Inc. Do you grep -}through log files for problems? Stop! Download the new AJAX -}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=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 eohimor at ipnxnigeria.net Wed Feb 22 20:06:14 2006 From: eohimor at ipnxnigeria.net (Efe Ohimor) Date: Wed, 22 Feb 2006 20:06:14 +0100 Subject: Graph links on Nagios 2.0 web interface Message-ID: Message: 12 Date: Thu, 16 Feb 2006 20:20:51 +0100 (CET) From: Hugo van der Kooij Reply-To: Nagios Users Mailinglist To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Graph links on Nagios 2.0 web interface On Thu, 16 Feb 2006, Efe Ohimor wrote: > I am currently running Nagios version 2.0 with the plugin version 1.4. I try > to create a link on my nagios web interface. I have tried it before on > version 1.2 and the links were created but I guess version 2.0 has a > different code. Or has anyone done it on version 2.0 before. > Because I have been to the Apan site and most people there have used it for > version 1.2 and someone too complained about not being able to use it with > version 2.0. What is wrong with using extended host/service info? Like: define hostextinfo{ host_name aragorn notes_url /nagios/cgi-bin/rrd-graph.cgi?host=aragorn&service=all icon_image base/redhat.png icon_image_alt Fedora Core 4 vrml_image base/redhat.png statusmap_image base/redhat.gd2 } Or: define serviceextinfo{ host_name aragorn icon_image dot.gif' border="0"> ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all ScriptAlias /nagiosgraph /usr/local/nagios/nagiosgraph/ # # AllowOverride None # Options None # Order allow,deny # Allow from all # Alias /nagios "/usr/local/nagios/share" Options None AllowOverride AuthConfig Order allow,deny Allow from all I use nagios graph for my graphing.After the config I restart nagios and restarted my webserver but I still cannot see the icon. I still do not know what I am doing wrong. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shoktai at gmail.com Wed Feb 22 20:29:19 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Wed, 22 Feb 2006 20:29:19 +0100 Subject: Graph links on Nagios 2.0 web interface In-Reply-To: References: Message-ID: <619cf3c0602221129n4ce7e049h@mail.gmail.com> Hi Did you put the location of your serviceextinfo.cfg file inside nagios.cfg ? The proper place is in cgi.cfg and the definition is: xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg 2006/2/22, Efe Ohimor : > > Message: 12 > > Date: Thu, 16 Feb 2006 20:20:51 +0100 (CET) > > From: Hugo van der Kooij > > Reply-To: Nagios Users Mailinglist > > To: Nagios Users Mailinglist > > Subject: Re: [Nagios-users] Graph links on Nagios 2.0 web interface > > > > On Thu, 16 Feb 2006, Efe Ohimor wrote: > > > > > I am currently running Nagios version 2.0 with the plugin version 1.4. I > try > > > to create a link on my nagios web interface. I have tried it before on > > > version 1.2 and the links were created but I guess version 2.0 has a > > > different code. Or has anyone done it on version 2.0 before. > > > Because I have been to the Apan site and most people there have used it > for > > > version 1.2 and someone too complained about not being able to use it > with > > > version 2.0. > > > > What is wrong with using extended host/service info? > > > > Like: > > define hostextinfo{ > > host_name aragorn > > notes_url /nagios/cgi-bin/rrd-graph.cgi > ?host=aragorn&service=all > > icon_image base/redhat.png > > icon_image_alt Fedora Core 4 > > vrml_image base/redhat.png > > statusmap_image base/redhat.gd2 > > } > > > > Or: > > define serviceextinfo{ > > host_name aragorn > > icon_image dot.gif' border="0"> HREF="graphs.cgi?host=aragorn&service=HTTP" BORDER="0"> src="/nagios/images/logos/graph.png" border="0"logos/dot.gif > > service_description HTTP > > notes_url > /nagios/cgi-bin/graphs.cgi?host=aragorn&service=HTTP > > } > > > > Hugo. > > > > Hello, > > > > Thanks for your reply. > > > > Here is my serviceextinfo.cfg configuration > > > > define serviceextinfo { > > host_name excellence, Aremu, NS1, NS2, NS3, > service_description Ping Latency > > notes_url > /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ > > icon_image > /usr/local/nagios/share/logos/graph.gif > > icon_image_alt View graphs > > } > > > > *In my httpd.conf the following lines were added* > > > > #
> > > > ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" > > > > AllowOverride AuthConfig > > Options ExecCGI > > Order allow,deny > > Allow from all > > > > > > ScriptAlias /nagiosgraph /usr/local/nagios/nagiosgraph/ > > # > > # AllowOverride None > > # Options None > > # Order allow,deny > > # Allow from all > > # > > > > > > > > Alias /nagios "/usr/local/nagios/share" > > > > Options None > > AllowOverride AuthConfig > > Order allow,deny > > Allow from all > > > > > > I use nagios graph for my graphing.After the config I restart nagios and > restarted my webserver but I still cannot see the icon. > > I still do not know what I am doing wrong. > > > > > -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From guy at extragalactic.net Wed Feb 22 21:10:12 2006 From: guy at extragalactic.net (Guy B. Purcell) Date: Wed, 22 Feb 2006 12:10:12 -0800 Subject: Monitoring solaris In-Reply-To: <1140621120.6758.1.camel@dl.e-dba.net> References: <1140621120.6758.1.camel@dl.e-dba.net> Message-ID: On Feb 22, 2006, at 07:11, Greg Cope wrote: > Has anyone got any recommendations for packages choices for solaris > (2.6, 8 and 9). > > I need to use packages as most/none of these hosts do not have a > complier suite. Certainly you must have hosts in some development environment running those OS versions with compilers on them. You can't seriously be running hosts in production you can't build software for. If you truly can't compile anything for those systems, I'll see if I can release my packages. -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 dany.allard at aeso.ca Wed Feb 22 21:25:58 2006 From: dany.allard at aeso.ca (Dany Allard) Date: Wed, 22 Feb 2006 13:25:58 -0700 Subject: Tru64 NRPE client for Nagios Message-ID: <627D0C6CCD47B14BB08D77155E78D3010133966F@post1.aeso.ca> Think we found the issue, the NRPE client requires SSL. So we either need to find/edit a client not to use SSL, or install the required SSL packages on the server. Thanks for your help Dany Allard -----Original Message----- From: Ton Voon [mailto:ton.voon at altinity.com] Sent: Wednesday, February 22, 2006 3:18 AM To: Dany Allard Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Tru64 NRPE client for Nagios On 21 Feb 2006, at 22:33, Dany Allard wrote: > Hello Everyone > > Does anyone have a compiled NRPE client for Tru64 5.1a? > We tried to compile the source from > http://altinity.blogs.com/dotorg/2005/09/22/index.html#a0006555594 Hi Dany, What were the errors? Our server is 5.1b Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon 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. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search 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 bhuffman at incyte.com Wed Feb 22 21:29:06 2006 From: bhuffman at incyte.com (Brian C. Huffman) Date: Wed, 22 Feb 2006 15:29:06 -0500 Subject: NSClient++ Counters In-Reply-To: References: Message-ID: <1140640146.2491.8.camel@zaphod.graze.net> All, I'm trying to setup counters with NSClient++ and I am having trouble with counters that have an instance. For example, Processor->%Processor Usage has either an instance of "_Total" or "0" for the machine that I'm using, but I can't get either of these to work. No matter what I use, this is the response that I get back: [root at xyz libexec]# ./check_nrpe -H a.b.c.d -p 5666 -c checkCounter -a "Counter:processor=\\Processor\\% Processor Time" ShowAll MaxWarn=80 MaxCrit=90 The specified instance of the performance object was not found. Thanks, Brian ************************************************************ The contents of this message are intended only for the use of the individual to which they are addressed and may contain confidential or privileged information. If you are not the intended recipient, you are hereby notified that any use, distribution, disclosure or copying of this message, any attachment or the information contained therein is strictly prohibited. If you have received this transmission in error, please notify the original sender immediately and delete all copies of this message, along with any attachments. 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&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josh2780 at yahoo.com Wed Feb 22 21:31:11 2006 From: josh2780 at yahoo.com (Josh) Date: Wed, 22 Feb 2006 12:31:11 -0800 (PST) Subject: check_smb_shares Message-ID: <20060222203111.94628.qmail@web30612.mail.mud.yahoo.com> I'm having some difficulty with the check_smb_shares.pl check. Everything works fine if I execute the script from the command line (however I do get a "read_socket_with_timeout: timeout read. read error = Connection reset by peer." error but the next line has the correct response "(11 Directorys, 1 Files, 0 Links)..."). But when I add the check to checkcommands.cfg and services.cfg and restart nagios... when the check runs it returns: "**ePN 'check_smb_shares.pl' Can't create /root/.smb/smb.conf : Permission denied" A quick check to the process list shows the nagios binary running as the user nagios as well as all the checks that happen to be running at the time I executed a 'ps'. If I run the check_smb_shares.pl as the user nagios from the command line it returns the correct result. Any thoughts? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 s.shipway at auckland.ac.nz Wed Feb 22 21:40:23 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 23 Feb 2006 09:40:23 +1300 Subject: NSClient++ Counters In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B90EDEF@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B90EDEF@vxchange.vcr.auckland.ac.nz> Message-ID: <002901c637f0$34699050$8ea8d882@438LG01sshi052> Brian Huffman: > I'm trying to setup counters with NSClient++ and I am having > trouble with counters that have an instance. For example, > Processor->%Processor Usage has either an instance of > "_Total" or "0" for the machine that I'm using, but I can't > get either of these to work. No matter what I use, this is > the response that I get back: > > [root at xyz libexec]# ./check_nrpe -H a.b.c.d -p 5666 -c > checkCounter -a "Counter:processor=\\Processor\\% Processor > Time" ShowAll MaxWarn=80 MaxCrit=90 The specified instance of > the performance object was not found. You need to specify the instance: "\\Processor\\% Processor Time(_Total)" This works with pNSclient, which I believe uses the same syntax as NSClient++. However, check the NSClient++ docs... 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 barry.maclean at shaw.ca Wed Feb 22 19:40:17 2006 From: barry.maclean at shaw.ca (Barry Maclean) Date: Wed, 22 Feb 2006 13:40:17 -0500 Subject: Services Script Message-ID: <43FCB011.7030401@shaw.ca> Does anyone have a script that will monitor 1 named windows service and restart only that one service if it fails? Many Thanks Barry ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luc at suryo.com Wed Feb 22 20:19:13 2006 From: luc at suryo.com (Luc I. Suryo) Date: Wed, 22 Feb 2006 12:19:13 -0700 Subject: Monitoring solaris In-Reply-To: <1140621120.6758.1.camel@dl.e-dba.net> References: <1140621120.6758.1.camel@dl.e-dba.net> Message-ID: <20060222191913.GC15606@voyager.suryo.com> > > Has anyone got any recommendations for packages choices for solaris > (2.6, 8 and 9). > > I need to use packages as most/none of these hosts do not have a > complier suite. > > I am planning on running nagios with nrpe and nsca to then submit data > to our server (running 2.x on linux). > one thing: Studio 11 is free.. so that could help (or use gcc) We have well over 100 systems (8, 9 and couple 10, most sparcs but also couple x86s) and all are being monitored with nrpe/nagios make sure that if you do use nrpe with ssl support that the key use by the server is the same as used by the client (hard-code compiled...), our server is also a sparc system.. we have several own build script that works pretty well, but one is the one we built to monitor : memory and swap, the oen with nagios did not work well so we buil one our own.. we are still running version 1.2 with the 1.3.1 plugins and no plan to upgrade yet... it works so :) -ls ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 21:51:05 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 23 Feb 2006 09:51:05 +1300 Subject: check_nt binary available? In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B90EDEB@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B90EDEB@vxchange.vcr.auckland.ac.nz> Message-ID: <002a01c637f1$b2f192a0$8ea8d882@438LG01sshi052> > You could use NSCA. This is what I'm using to monitor Windows > servers that are behind other machines. > > The key requirement is that the Windows machines can make > outgoing connections. Your Nagios server will be passive, > only listening for the incoming connections. > > I've been using the NC_Net tool from http://www.shatterit.com/NC_Net/ Trouble is, the NC_Net requires us to install the whole .net framework and reboot the server - a major outage and the business wont allow it. They only just allow the pNSclient because it doesnt require a reboot and has such a tiny footprint. .net is a bit of a huge beast. We do use NSCA for some things -- eg, the windows eventlog agent, and some UNIX active checks. However, our entire setup is centrally confingured and managed, and so this sort of thing again breaks the standard pattern. I'm having a go at compiling the check_nt under windows, but it requires some major rewriting for winsock. Also, I'm trying to arrange some firewall changes (but thats even less likely to happen :) Thanks, 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 andrew at profitability.net Wed Feb 22 21:50:18 2006 From: andrew at profitability.net (Andrew Cruse) Date: Wed, 22 Feb 2006 15:50:18 -0500 Subject: Services Script In-Reply-To: <43FCB011.7030401@shaw.ca> References: <43FCB011.7030401@shaw.ca> Message-ID: > Does anyone have a script that will monitor 1 named windows > service and restart only that one service if it fails? I don't have such a script, but here's how I'd do it: Assuming you're using NRPE-NT: 1. Configure a check for the particular service you're wanting to monitor. 2. Write a quick little batch file that has something like this in it: net stop "service" net start "service" 3. Add a "check" into your NRPE-NT config that uses that batch script as the "check" script 4. Craft an event handler script that calls check_nrpe for the "check" script you just created when it is appropriate to do so. 5. Add your new service and eventhandler into services.cfg for the particular host(s) in question. And, that should do it. Just be sure you've got access to NRPE-NT nailed down tight so you don't have neerdowells restarting your service all day. :-) 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 juanlmera at gmail.com Wed Feb 22 22:26:27 2006 From: juanlmera at gmail.com (Juan Mera) Date: Wed, 22 Feb 2006 16:26:27 -0500 Subject: CGI Authorization - HTTP Server authentication Message-ID: <1140643587.20675.11.camel@s1.grupomera.net> Good afternoon, I newer with nagios. I install with minimal config and it's working. I have problem with authentication. At Service Detail Option appear this message: It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. My cgi.cfg use_authentication=1 Wich parameters into cgi.cfg or Wich cfg files must be revise? Can you helpme with some simple example to HTTP server authentication? ------- Gracias por su ayuda, Saludos Juan L. Mera Investigacion y Desarrollo Quito-Ecuador ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asmoore at edge.net Wed Feb 22 23:35:29 2006 From: asmoore at edge.net (Alex Moore) Date: Wed, 22 Feb 2006 16:35:29 -0600 Subject: Monitoring solaris In-Reply-To: <1140621120.6758.1.camel@dl.e-dba.net> References: <1140621120.6758.1.camel@dl.e-dba.net> Message-ID: <20060222163529.00003cc0@sws602.mcsun.local> On Wed, 22 Feb 2006 15:11:59 +0000 Greg Cope wrote: > Hi All, > > Has anyone got any recommendations for packages choices for solaris > (2.6, 8 and 9). 2.6 is no from here. Solaris 8 and 9, yes, at www.blastwave.org. all but nsca is available today. I am finishing testing with nsca, so it is maybe a week away. Alex ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thealy at nortom.com Thu Feb 23 00:42:07 2006 From: thealy at nortom.com (Tom Healy) Date: Wed, 22 Feb 2006 15:42:07 -0800 Subject: check_procs with spaces in their path? Message-ID: <31D52D62-7A16-40FF-8196-2EC16D9F8AEC@nortom.com> Is there a way to get check_procs to look for processes with spaces in them? I've got a series of custom unidata processes that have the bonus feature of having names like: PHANTOM FOOBAR.1.2.3 HQ PROC I've tried various methods to get it to read them but none seem to work: IE: # ps -ef|grep sendmail root 263 1 0 Jan 25 ? 0:04 /usr/lib/sendmail -bd -q15m smmsp 264 1 0 Jan 25 ? 0:00 /usr/lib/sendmail -Ac -q15m # ./check_procs -c 2:2 -C '/usr/lib/sendmail' PROCS OK: 2 processes with command name '/usr/lib/sendmail' # ./check_procs -c 1:1 -C '/usr/lib/sendmail -bd -q15m' PROCS CRITICAL: 0 processes with command name '/usr/lib/sendmail -bd - q15m' # ./check_procs -c 1:1 -a '/usr/lib/sendmail -bd -q15m' PROCS CRITICAL: 2 processes with args '/usr/lib/sendmail -bd -q15m' Is there a way that I'm not seeing? Thanks in advance. -Tom ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 01:30:31 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 23 Feb 2006 13:30:31 +1300 Subject: check_procs with spaces in their path? In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B90EDF9@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B90EDF9@vxchange.vcr.auckland.ac.nz> Message-ID: <004301c63810$5ae1fdb0$8ea8d882@438LG01sshi052> > # ./check_procs -c 2:2 -C '/usr/lib/sendmail' > PROCS OK: 2 processes with command name '/usr/lib/sendmail' > > # ./check_procs -c 1:1 -C '/usr/lib/sendmail -bd -q15m' > PROCS CRITICAL: 0 processes with command name > '/usr/lib/sendmail -bd - q15m' > > # ./check_procs -c 1:1 -a '/usr/lib/sendmail -bd -q15m' > PROCS CRITICAL: 2 processes with args '/usr/lib/sendmail -bd -q15m' You are confusing the program name with its arguments. ./check_procs -c 1:1 -C '/usr/lib/sendmail' -a '-bd -q15m' IE, exactly one process, with command /usr/lib/sendmail, and arguments '-bd -q15m' Note that the -a is a pattern match. You can also specify the username to own the processes. Steve ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Feb 23 01:54:41 2006 From: benny at bennyvision.com (C. Bensend) Date: Wed, 22 Feb 2006 18:54:41 -0600 (CST) Subject: check_procs with spaces in their path? In-Reply-To: <004301c63810$5ae1fdb0$8ea8d882@438LG01sshi052> References: <14A270C0E2F4124AB0B7320BDBEA949F0B90EDF9@vxchange.vcr.auckland.ac.nz> <004301c63810$5ae1fdb0$8ea8d882@438LG01sshi052> Message-ID: <53978.63.227.74.41.1140656081.squirrel@webmail.stinkweasel.net> > You are confusing the program name with its arguments. > > ./check_procs -c 1:1 -C '/usr/lib/sendmail' -a '-bd -q15m' > > IE, exactly one process, with command /usr/lib/sendmail, and arguments > '-bd > -q15m' !! While I'm not the OP, I was wrestling with one of my monitored servers, trying to pick up on a specific PostgreSQL process, and having no luck. And this is what I've been missing the entire time. Geeesh, I'm an idiot. Thanks, Steve. Benny -- "A computer lets you make more mistakes faster than any invention in human history, with the possible exceptions of handguns and tequila." -- Dave Pooser ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thealy at nortom.com Thu Feb 23 02:19:35 2006 From: thealy at nortom.com (Tom Healy) Date: Wed, 22 Feb 2006 17:19:35 -0800 Subject: check_procs with spaces in their path? In-Reply-To: <004301c63810$5ae1fdb0$8ea8d882@438LG01sshi052> References: <004301c63810$5ae1fdb0$8ea8d882@438LG01sshi052> Message-ID: <84B52CDF-C210-49EF-A8B2-4E79FF176676@nortom.com> Thanks Steve, that is what I was not grasping, it works like a charm now! ./check_procs -c 1:1 -C 'udt' -a 'PHANTOM HQ.PROCESS.1 OTD' PROCS OK: 1 process with command name 'udt', args 'PHANTOM HQ.PROCESS. 1 OTD' -Tom On Feb 22, 2006, at 4:30 PM, Steve Shipway wrote: >> # ./check_procs -c 2:2 -C '/usr/lib/sendmail' >> PROCS OK: 2 processes with command name '/usr/lib/sendmail' >> >> # ./check_procs -c 1:1 -C '/usr/lib/sendmail -bd -q15m' >> PROCS CRITICAL: 0 processes with command name >> '/usr/lib/sendmail -bd - q15m' >> >> # ./check_procs -c 1:1 -a '/usr/lib/sendmail -bd -q15m' >> PROCS CRITICAL: 2 processes with args '/usr/lib/sendmail -bd -q15m' > > You are confusing the program name with its arguments. > > ./check_procs -c 1:1 -C '/usr/lib/sendmail' -a '-bd -q15m' > > IE, exactly one process, with command /usr/lib/sendmail, and > arguments '-bd > -q15m' > > Note that the -a is a pattern match. You can also specify the > username to > own the processes. > > Steve ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rahultvarghese at gmail.com Thu Feb 23 05:43:00 2006 From: rahultvarghese at gmail.com (Rahul Thomas Varghese) Date: Thu, 23 Feb 2006 10:13:00 +0530 Subject: Set up of Nagios Message-ID: <35154e640602222043i334f61e7i646340974cc9641f@mail.gmail.com> Hi , I am working as a network engineer.I heard about nagios and found that it is good monitoring tool.I want to know how to install Nagios and monitor the servers. I have a network with most Linux servers,windows servers so i want to know how i could implement nagios in this type of network.Pleaseassist me in doing this network.Thanks. Rahul.T.Varghese -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvdkooij at vanderkooij.org Thu Feb 23 07:33:30 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 23 Feb 2006 07:33:30 +0100 (CET) Subject: Set up of Nagios In-Reply-To: <35154e640602222043i334f61e7i646340974cc9641f@mail.gmail.com> References: <35154e640602222043i334f61e7i646340974cc9641f@mail.gmail.com> Message-ID: On Thu, 23 Feb 2006, Rahul Thomas Varghese wrote: > I am working as a network engineer.I heard about nagios and found that > it is good monitoring tool.I want to know how to install Nagios and monitor > the servers. I have a network with most Linux servers,windows servers so i > want to know how i could implement nagios in this type of > network.Pleaseassist me in doing this If you have found nagios and the mailinglist you must have seen there is a a documentation section as well on the website. (http://www.nagios.org/docs/) I suggest you start by reading the fine manual and then get back with specific questions if the manual is not clear and a simple google search can not help you find the answer either. If you need someone to help you through all the stages there is also a section about companies offering consultancy on installing nagios and implementing it in your network. But I guess as an engineer you will just sit down and read the manual for yourself first and start to post smart questions with the proper detail level if you find you're stuck somewhere. (http://www.catb.org/~esr/faqs/smart-questions.html) Hugo. PS: Using this posting in a more or less verbatim way where it fits other occasions is allowed. -- 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.brown at goodtechnology.com Thu Feb 23 11:13:34 2006 From: tom.brown at goodtechnology.com (Tom Brown) Date: Thu, 23 Feb 2006 10:13:34 +0000 Subject: check_http - user+password - string required In-Reply-To: References: Message-ID: <43FD8ACE.5010303@goodtechnology.com> > The URL you're checking is returning a 302 REDIRECT. There is no HTML to > look at. You'll probably want to add '--onredirect=follow' and either a > -s, -R or -e string check based on your needs. ah ha! thanks - it was the --onredirect=follow that i was missing ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 11:23:24 2006 From: greg.cope at e-dba.net (Greg Cope) Date: Thu, 23 Feb 2006 10:23:24 +0000 Subject: Monitoring solaris In-Reply-To: References: <1140621120.6758.1.camel@dl.e-dba.net> Message-ID: <1140690204.3244.18.camel@dl.e-dba.net> On Wed, 2006-02-22 at 12:10 -0800, Guy B. Purcell wrote: > On Feb 22, 2006, at 07:11, Greg Cope wrote: > > > Has anyone got any recommendations for packages choices for solaris > > (2.6, 8 and 9). > > > > I need to use packages as most/none of these hosts do not have a > > complier suite. > > Certainly you must have hosts in some development environment running > those OS versions with compilers on them. You can't seriously be > running hosts in production you can't build software for. These are not my hosts, but some do not have all the tools required or the right versions. I was hopeing to leverage some packages to save the hassel of installing what is required on old solaris 2.6 hosts that have system disks which are very, very small! > If you truly can't compile anything for those systems, I'll see if I > can release my packages. That might be very handy. Greg > -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 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tomvo at absi.be Thu Feb 23 11:48:21 2006 From: tomvo at absi.be (tomvo at absi.be) Date: Thu, 23 Feb 2006 11:48:21 +0100 Subject: checklog.pl notifications get sent despite 'enable_notifications = 0' Message-ID: Hi, We've noticed several times that notifications from matched entries in logfiles (via checklog.pl) are being sent hours / days after they were written in the logfiles, and sometimes even in a time window when we had disabled notifications. example: at 21/2/06, 22:00h, i stop nagios, change nagios.cfg with 'enable_notifications = 0', and restart nagios at 21/2/06, 23:00h entries are written in a monitored logfile that match one of our checks at 22/2/06, 01:00h we change enable_notifications = 1 and restart nagios. and then, surprise, at 23/2/06 07:50h we get notifications not only for entries that occurred between 21/2/06 22:00h and 22/2/06, 01:00h, but also for an event that occurred at 22/2/06, 06:30h nagios is 2.0b2 the checklog.pl version is: checklog.pl (nagios-plugins 1.4.0alpha1) 1.1 on solaris9 sparc. this is the definition of the check: define service{ use generic-service ; Name of service template to use host_name jescal service_description chk-msg-Cluster.RG_OFFLINE max_check_attempts 1 contact_groups solaris-admins notification_options w,u,c check_command check_nrpe!check_logpl!/var/adm/messages!/var/tmp/message.Cluster!"RG_OFFLINE" } define service{ name generic-service ; The 'name' of this service template, referenced in other service def 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 maj 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 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 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 0 notification_period 24x7 notification_options w,u,c,r register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } any ideas ? tom. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Feb 23 14:04:28 2006 From: morten.bekkelund at ergo.no (Morten Bekkelund) Date: Thu, 23 Feb 2006 14:04:28 +0100 Subject: CGI Authorization - HTTP Server authentication In-Reply-To: <1140643587.20675.11.camel@s1.grupomera.net> References: <1140643587.20675.11.camel@s1.grupomera.net> Message-ID: <1140699868.20725.18.camel@localhost.localdomain> did you read: http://nagios.sourceforge.net/docs/2_0/cgiauth.html ? On Wed, 2006-02-22 at 16:26 -0500, Juan Mera wrote: > Good afternoon, > > I newer with nagios. > I install with minimal config and it's working. > I have problem with authentication. > At Service Detail Option appear this message: > > > It appears as though you do not have permission to view information for > any of the services you requested... > > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration file. > > My cgi.cfg > use_authentication=1 > > Wich parameters into cgi.cfg or Wich cfg files must be revise? > Can you helpme with some simple example to HTTP server authentication? > > > > ------- > Gracias por su ayuda, > Saludos > Juan L. Mera > Investigacion y Desarrollo > Quito-Ecuador > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mdash at juniper.net Thu Feb 23 14:18:59 2006 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Thu, 23 Feb 2006 18:48:59 +0530 Subject: Monitoring solaris server without installing any plugin Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3A95CF19@gaugeboson.jnpr.net> Hi List, I want to monitor few of the Solaris machines, but those all are production servers and they don't have any compiler installed on it. Is there any way to monitor the services without installing any software on the machine? If any of you have come across of the same kind of situation and found the solution for this, then please provide the information regarding this. Regards, Mrutyunjaya Dash IT Engineer Juniper Networks Pvt Ltd. Bangalore -------------- next part -------------- An HTML attachment was scrubbed... URL: From joseph.petrucci at wachovia.com Thu Feb 23 14:23:58 2006 From: joseph.petrucci at wachovia.com (joseph.petrucci at wachovia.com) Date: Thu, 23 Feb 2006 08:23:58 -0500 Subject: Monitoring solaris server without installing any plugin In-Reply-To: <0DB0FFEA6887E349861A3F6B40D71C3A95CF19@gaugeboson.jnpr.net> References: <0DB0FFEA6887E349861A3F6B40D71C3A95CF19@gaugeboson.jnpr.net> Message-ID: I wrote a lot of my plugins to run commands through an RSA ssh connection from my Nagios machine to other machines. This way there is no code on the monitored machine. Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 "Mrutyunjaya Dash" Sent by: nagios-users-admin at lists.sourceforge.net 02/23/2006 08:18 AM To cc Subject [Nagios-users] Monitoring solaris server without installing any plugin Hi List, I want to monitor few of the Solaris machines, but those all are production servers and they don?t have any compiler installed on it. Is there any way to monitor the services without installing any software on the machine? If any of you have come across of the same kind of situation and found the solution for this, then please provide the information regarding this. Regards, Mrutyunjaya Dash IT Engineer Juniper Networks Pvt Ltd. Bangalore ForwardSourceID:NT0000C1E6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at aidworld.org Thu Feb 23 14:37:54 2006 From: chris at aidworld.org (Chris Wilson) Date: Thu, 23 Feb 2006 13:37:54 +0000 Subject: Monitoring solaris server without installing any plugin In-Reply-To: <0DB0FFEA6887E349861A3F6B40D71C3A95CF19@gaugeboson.jnpr.net> References: <0DB0FFEA6887E349861A3F6B40D71C3A95CF19@gaugeboson.jnpr.net> Message-ID: <1140701874.6717.0.camel@localhost> Hi Mrutyunjaya, > I want to monitor few of the Solaris machines, but those all are > production servers and they don?t have any compiler installed on it. > Is there any way to monitor the services without installing any > software on the machine? If any of you have come across of the same > kind of situation and found the solution for this, then please provide > the information regarding this. You can also monitor any public service on the machine without installing any software, using plugins running on the Nagios server. Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 e.georgiadou at cadnorg.de Thu Feb 23 14:44:08 2006 From: e.georgiadou at cadnorg.de (Elpida Georgiadou) Date: Thu, 23 Feb 2006 14:44:08 +0100 Subject: Plotter and Printer Message-ID: <43FDBC28.8020201@cadnorg.de> Hello, where can i find Plugins to monitor Plotter and Printers? Thanks Elpida ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 14:54:33 2006 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Thu, 23 Feb 2006 14:54:33 +0100 Subject: Plotter and Printer In-Reply-To: <43FDBC28.8020201@cadnorg.de> References: <43FDBC28.8020201@cadnorg.de> Message-ID: <1140702873.7595.24.camel@localhost.localdomain> On Thu, 2006-02-23 at 14:44 +0100, Elpida Georgiadou wrote: > Hello, Hi, > where can i find Plugins to monitor Plotter and Printers? I'm using check_snmp. Regards Richard ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Feb 23 14:56:19 2006 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Thu, 23 Feb 2006 14:56:19 +0100 Subject: AW: Monitoring solaris server without installing any plugin Message-ID: <9A834A8DCEC68648B20701E1CDE109250295ED2E@OKWPMXS01.de.sal-opp.net> Hi Joseph, would you share these plugins? Greetz, Thomas. 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 joseph.petrucci at wachovia.com Gesendet: Donnerstag, 23. Februar 2006 14:24 An: Mrutyunjaya Dash Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Betreff: Re: [Nagios-users] Monitoring solaris server without installing any plugin I wrote a lot of my plugins to run commands through an RSA ssh connection from my Nagios machine to other machines. This way there is no code on the monitored machine. Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 "Mrutyunjaya Dash" Sent by: nagios-users-admin at lists.sourceforge.net 02/23/2006 08:18 AM To cc Subject [Nagios-users] Monitoring solaris server without installing any plugin Hi List, I want to monitor few of the Solaris machines, but those all are production servers and they don't have any compiler installed on it. Is there any way to monitor the services without installing any software on the machine? If any of you have come across of the same kind of situation and found the solution for this, then please provide the information regarding this. Regards, Mrutyunjaya Dash IT Engineer Juniper Networks Pvt Ltd. Bangalore ForwardSourceID:NT0000C1E6 -------------- 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 richard.gliebe at fhv.at Thu Feb 23 15:00:42 2006 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Thu, 23 Feb 2006 15:00:42 +0100 Subject: mibs HP LaserJet Message-ID: <1140703242.7595.29.camel@localhost.localdomain> Hi, I want to monitor the Toner capacity (% of Life Remaining) from our HP LaserJet 4100 Series, like the Webinterface show me. Is there a mib available. I can't any on mibdepot.com / hp.com thanks Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dave at umiacs.umd.edu Thu Feb 23 15:21:25 2006 From: dave at umiacs.umd.edu (Dave Stern) Date: Thu, 23 Feb 2006 09:21:25 -0500 (EST) Subject: nagios not notifying by email In-Reply-To: <3c9a5bae0602201336o6dcab93bx1a9acafea67518e6@mail.gmail.com> References: <3c9a5bae0602201336o6dcab93bx1a9acafea67518e6@mail.gmail.com> Message-ID: Continuing with the problem of nagios not sending email notifications, miscommands.cfg uses the default commands for host/service-notify-by-email and the paths to mail are correct. I tested the command, and it works. I replaced it with echo ... params>>/tmp/somefile but this is not being activated so it must be one of the config params: contacts.cfg: # 'others' contact definition define contact{ contact_name others alias Undefined hosts service_notification_period workhours host_notification_period workhours service_notification_options w,u,c host_notification_options d,u service_notification_commands notify-by-email host_notification_commands host-notify-by-email email root at netmon.umiacs.umd.edu } ...... hosts.cfg: # Generic host definition template define host{ name generic-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } # 'host1' host definition define host{ use generic-host host_name host1 alias host1 address 10.8.122.129 check_command check-host-alive max_check_attempts 10 notification_interval 1 notification_period 24x7 notification_period 24x7 notification_options d,u } ... nagios.cfg includes log_notifications=1 notification_timeout=30 enable_notifications=1 services.cfg: # Generic service definition template define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 1 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } # Service definition define service{ use generic-service host_name host1 service_description AVAILABLE is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 10 retry_check_interval 1 contact_groups others notification_interval 11 notification_period 24x7 notification_options w,u,c check_command check-host-alive } .... Can anyone see where notification by email may have been turned off or have any other ideas on diagnosing? TIA =-=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-= David Stern University of Maryland Institute for Advanced Computer Studies ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 15:27:03 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Thu, 23 Feb 2006 15:27:03 +0100 Subject: nagios not notifying by email In-Reply-To: References: <3c9a5bae0602201336o6dcab93bx1a9acafea67518e6@mail.gmail.com> Message-ID: <619cf3c0602230627i1c49e1dfy@mail.gmail.com> Hi, Did you check the timeperiods.cfg file as you are using workhours notification for services, you wont receive notification out of this period. 2006/2/23, Dave Stern : > > Continuing with the problem of nagios not sending email notifications, > > miscommands.cfg uses the default commands for host/service-notify-by-email > and the paths to mail are correct. I tested the command, and it works. > I replaced it with echo ... params>>/tmp/somefile but this is not being > activated so it must be one of the config params: > > contacts.cfg: > # 'others' contact definition > define contact{ > contact_name others > alias Undefined hosts > service_notification_period workhours > host_notification_period workhours > service_notification_options w,u,c > host_notification_options d,u > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email root at netmon.umiacs.umd.edu > > } > ...... > hosts.cfg: > # Generic host definition template > define host{ > name generic-host > notifications_enabled 1 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > register 0 > } > > # 'host1' host definition > define host{ > use generic-host > host_name host1 > alias host1 > address 10.8.122.129 > check_command check-host-alive > max_check_attempts 10 > notification_interval 1 > notification_period 24x7 > notification_period 24x7 > notification_options d,u > } > ... > > nagios.cfg includes > log_notifications=1 > notification_timeout=30 > enable_notifications=1 > > > services.cfg: > # Generic service definition template > define service{ > name generic-service > active_checks_enabled 1 > passive_checks_enabled 1 > parallelize_check 1 > obsess_over_service 1 > check_freshness 1 > notifications_enabled 1 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > register 0 > } > > # Service definition > define service{ > use generic-service > host_name host1 > service_description AVAILABLE > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 10 > retry_check_interval 1 > contact_groups others > notification_interval 11 > notification_period 24x7 > notification_options w,u,c > check_command check-host-alive > } > .... > > Can anyone see where notification by email may have been turned off > or have any other ideas on diagnosing? > TIA > > > =-=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-= > David Stern University of Maryland > Institute for Advanced Computer Studies > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 dave at umiacs.umd.edu Thu Feb 23 15:27:48 2006 From: dave at umiacs.umd.edu (Dave Stern) Date: Thu, 23 Feb 2006 09:27:48 -0500 (EST) Subject: nagios not notifying by email In-Reply-To: <1140704789.31618.110.camel@chi101100.int.tt.local> References: <3c9a5bae0602201336o6dcab93bx1a9acafea67518e6@mail.gmail.com> <1140704789.31618.110.camel@chi101100.int.tt.local> Message-ID: On Thu, 23 Feb 2006, jeff vier wrote: > Did you test it as the nagios user? > yup =-=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-= David Stern University of Maryland Institute for Advanced Computer Studies ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Feb 23 15:28:50 2006 From: joseph.petrucci at wachovia.com (joseph.petrucci at wachovia.com) Date: Thu, 23 Feb 2006 09:28:50 -0500 Subject: AW: Monitoring solaris server without installing any plugin In-Reply-To: <9A834A8DCEC68648B20701E1CDE109250295ED2E@OKWPMXS01.de.sal-opp.net> References: <9A834A8DCEC68648B20701E1CDE109250295ED2E@OKWPMXS01.de.sal-opp.net> Message-ID: I will post them tonight. I am at a client where I cannot connect to my server so I cannot get them until tonight. Look at the check_by_ssh plugin it is also a way to do this Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 Thomas.Zimmer at oppenheim.de Sent by: nagios-users-admin at lists.sourceforge.net 02/23/2006 08:56 AM To nagios-users at lists.sourceforge.net cc Subject AW: [Nagios-users] Monitoring solaris server without installing any plugin Hi Joseph, would you share these plugins? Greetz, Thomas. 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 joseph.petrucci at wachovia.com Gesendet: Donnerstag, 23. Februar 2006 14:24 An: Mrutyunjaya Dash Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Betreff: Re: [Nagios-users] Monitoring solaris server without installing any plugin I wrote a lot of my plugins to run commands through an RSA ssh connection from my Nagios machine to other machines. This way there is no code on the monitored machine. Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 "Mrutyunjaya Dash" Sent by: nagios-users-admin at lists.sourceforge.net 02/23/2006 08:18 AM To cc Subject [Nagios-users] Monitoring solaris server without installing any plugin Hi List, I want to monitor few of the Solaris machines, but those all are production servers and they don't have any compiler installed on it. Is there any way to monitor the services without installing any software on the machine? If any of you have come across of the same kind of situation and found the solution for this, then please provide the information regarding this. Regards, Mrutyunjaya Dash IT Engineer Juniper Networks Pvt Ltd. Bangalore ForwardSourceID:NT0000C1E6 ForwardSourceID:NT0000C232 -------------- 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: 264 bytes Desc: not available URL: From wrjacqmein at gmail.com Thu Feb 23 15:37:17 2006 From: wrjacqmein at gmail.com (Bill Jacqmein) Date: Thu, 23 Feb 2006 09:37:17 -0500 Subject: mibs HP LaserJet In-Reply-To: <1140703242.7595.29.camel@localhost.localdomain> References: <1140703242.7595.29.camel@localhost.localdomain> Message-ID: <3c9a5bae0602230637i602c4714h23cec8e05de4f4a0@mail.gmail.com> Richard, Search the following page for 4100..http://www.mibdepot.com/cgi-bin/vendor_index.cgi?r=hp&id=92832 Turned up the mpf version which hopefully will be software similar to the 4100. http://www.mibdepot.com/cgi-bin/getmib3.cgi?i=1&n=LJ4100mfp-MIB&r=hp&f=lj4100mfp_beta.mib&v=v1&t=tree#consumable-statusGroup Should give a information on how much capacity is left to the toner cartridge http://www.mibdepot.com/cgi-bin/getmib3.cgi?i=1&n=LJ4100mfp-MIB&r=hp&f=lj4100mfp_beta.mib&v=v1&t=sca&o=consumable-status-usage-count OID - 1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.10.1.1.18.0 <- from above Hope it is helps, Bill On 2/23/06, Richard Gliebe wrote: > > Hi, > > I want to monitor the Toner capacity (% of Life Remaining) from our HP > LaserJet 4100 Series, like the Webinterface show me. > > Is there a mib available. > I can't any on mibdepot.com / hp.com > > thanks > Richard > > -- > Richard Gliebe > Fachhochschule Vorarlberg GmbH / University for Applied Science > Information Services > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Thomas.Zimmer at oppenheim.de Thu Feb 23 15:39:07 2006 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Thu, 23 Feb 2006 15:39:07 +0100 Subject: AW: AW: Monitoring solaris server without installi ng any plugin Message-ID: <9A834A8DCEC68648B20701E1CDE109250295ED2F@OKWPMXS01.de.sal-opp.net> A yes sir, I know, but i didn?t want to script all your plugins by myself ;) I wrote some for solaris, too. But mostly they?re specialized logfile check, or as bad documented, that I think it would not be a good idea to share them. I even did not follow the specifications for the output strings.... Perhaps yours specification-conform and well structured? Gree3tz, Thomas. P.S.: Perhaps it would be a good idea to share them at NAgios Exchange? 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: joseph.petrucci at wachovia.com [mailto:joseph.petrucci at wachovia.com] Gesendet: Donnerstag, 23. Februar 2006 15:29 An: Zimmer, Thomas (BB) Frankfurt/M. Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Betreff: Re: AW: [Nagios-users] Monitoring solaris server without installing any plugin I will post them tonight. I am at a client where I cannot connect to my server so I cannot get them until tonight. Look at the check_by_ssh plugin it is also a way to do this Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 Thomas.Zimmer at oppenheim.de Sent by: nagios-users-admin at lists.sourceforge.net 02/23/2006 08:56 AM To nagios-users at lists.sourceforge.net cc Subject AW: [Nagios-users] Monitoring solaris server without installing any plugin Hi Joseph, would you share these plugins? Greetz, Thomas. 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 joseph.petrucci at wachovia.com Gesendet: Donnerstag, 23. Februar 2006 14:24 An: Mrutyunjaya Dash Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Betreff: Re: [Nagios-users] Monitoring solaris server without installing any plugin I wrote a lot of my plugins to run commands through an RSA ssh connection from my Nagios machine to other machines. This way there is no code on the monitored machine. Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 "Mrutyunjaya Dash" Sent by: nagios-users-admin at lists.sourceforge.net 02/23/2006 08:18 AM To cc Subject [Nagios-users] Monitoring solaris server without installing any plugin Hi List, I want to monitor few of the Solaris machines, but those all are production servers and they don't have any compiler installed on it. Is there any way to monitor the services without installing any software on the machine? If any of you have come across of the same kind of situation and found the solution for this, then please provide the information regarding this. Regards, Mrutyunjaya Dash IT Engineer Juniper Networks Pvt Ltd. Bangalore ForwardSourceID:NT0000C1E6 ForwardSourceID:NT0000C232 -------------- 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 dave at umiacs.umd.edu Thu Feb 23 15:49:37 2006 From: dave at umiacs.umd.edu (Dave Stern) Date: Thu, 23 Feb 2006 09:49:37 -0500 (EST) Subject: nagios not notifying by email In-Reply-To: <619cf3c0602230627i1c49e1dfy@mail.gmail.com> References: <3c9a5bae0602201336o6dcab93bx1a9acafea67518e6@mail.gmail.com> <619cf3c0602230627i1c49e1dfy@mail.gmail.com> Message-ID: On Thu, 23 Feb 2006, Toto Capuccino wrote: > Hi, > > Did you check the timeperiods.cfg file as you are using workhours > notification for services, you wont receive notification out of this period. > 2006/2/23, Dave Stern : I didn't include timeperiods.cfg because this was the generic one. We're using workhours and 24x7 for all hosts. Basically, notification_period is 24x7 for all, {service|host_notification_period} is either 24x7 or workhours. I presume it's not a problem if a host is set to notification_period=work in contacts but 24x7 in hosts.cfg and services.cfg =-=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-= David Stern University of Maryland Institute for Advanced Computer Studies ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mdash at juniper.net Thu Feb 23 15:56:51 2006 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Thu, 23 Feb 2006 20:26:51 +0530 Subject: nagios not notifying by email Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3A037487@gaugeboson.jnpr.net> Hi, You can check you services.cfg file to verify you have notifications_options to w c u r. This might be one of the reason if you had copied services.cfg file from the sample config file. Regards, Dash -------------------------- Sent from my BlackBerry Wireless Handheld -----Original Message----- From: nagios-users-admin at lists.sourceforge.net To: nagios-users at lists.sourceforge.net Sent: Thu Feb 23 06:27:03 2006 Subject: Re: [Nagios-users] nagios not notifying by email Hi, Did you check the timeperiods.cfg file as you are using workhours notification for services, you wont receive notification out of this period. 2006/2/23, Dave Stern < dave at umiacs.umd.edu >: Continuing with the problem of nagios not sending email notifications, miscommands.cfg uses the default commands for host/service-notify-by-email and the paths to mail are correct. I tested the command, and it works. I replaced it with echo ... params>>/tmp/somefile but this is not being activated so it must be one of the config params: contacts.cfg: # 'others' contact definition define contact{ contact_name others alias Undefined hosts service_notification_period workhours host_notification_period workhours service_notification_options w,u,c host_notification_options d,u service_notification_commands notify-by-email host_notification_commands host-notify-by-email email root at netmon.umiacs.umd.edu } ...... hosts.cfg : # Generic host definition template define host{ name generic-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } # 'host1' host definition define host{ use generic-host host_name host1 alias host1 address 10.8.122.129 check_command check-host-alive max_check_attempts 10 notification_interval 1 notification_period 24x7 notification_period 24x7 notification_options d,u } ... nagios.cfg includes log_notifications=1 notification_timeout=30 enable_notifications=1 services.cfg: # Generic service definition template define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 1 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } # Service definition define service{ use generic-service host_name host1 service_description AVAILABLE is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 10 retry_check_interval 1 contact_groups others notification_interval 11 notification_period 24x7 notification_options w,u,c check_command check-host-alive } .... Can anyone see where notification by email may have been turned off or have any other ideas on diagnosing? TIA =-=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-= David Stern University of Maryland Institute for Advanced Computer Studies ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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. N?HS^????X???'???u?? 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: "Mrutyunjaya Dash" To: Subject: Re: [Nagios-users] nagios not notifying by email Date: 02/23/06, 08:59:36 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: 6FE3120822W5640897-01 ----------------------------------------------------------- From mdash at juniper.net Thu Feb 23 16:09:25 2006 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Thu, 23 Feb 2006 20:39:25 +0530 Subject: AW: Monitoring solaris server without installing any plugin Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3A037488@gaugeboson.jnpr.net> Hi Joseph, Thank you very much. As far as the check_by_ssh is concerned how can I use this. Do I need create any configuration file in the nagios server for check_cy_ssh to work? And for ssh authentication how can the nagios server communicate with remote host? If you can point me to some information for utilizing check_by_ssh command. Regards, Dash -------------------------- Sent from my BlackBerry Wireless Handheld -----Original Message----- From: nagios-users-admin at lists.sourceforge.net To: Thomas.Zimmer at oppenheim.de CC: nagios-users at lists.sourceforge.net ; nagios-users-admin at lists.sourceforge.net Sent: Thu Feb 23 06:28:50 2006 Subject: Re: AW: [Nagios-users] Monitoring solaris server without installing any plugin I will post them tonight. I am at a client where I cannot connect to my server so I cannot get them until tonight. Look at the check_by_ssh plugin it is also a way to do this Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 Thomas.Zimmer at oppenheim.de Sent by: nagios-users-admin at lists.sourceforge.net 02/23/2006 08:56 AM To nagios-users at lists.sourceforge.net cc Subject AW: [Nagios-users] Monitoring solaris server without installing any plugin Hi Joseph, would you share these plugins? Greetz, Thomas. 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 joseph.petrucci at wachovia.com Gesendet: Donnerstag, 23. Februar 2006 14:24 An: Mrutyunjaya Dash Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Betreff: Re: [Nagios-users] Monitoring solaris server without installing any plugin I wrote a lot of my plugins to run commands through an RSA ssh connection from my Nagios machine to other machines. This way there is no code on the monitored machine. Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 "Mrutyunjaya Dash" Sent by: nagios-users-admin at lists.sourceforge.net 02/23/2006 08:18 AM To cc Subject [Nagios-users] Monitoring solaris server without installing any plugin Hi List, I want to monitor few of the Solaris machines, but those all are production servers and they don't have any compiler installed on it. Is there any way to monitor the services without installing any software on the machine? If any of you have come across of the same kind of situation and found the solution for this, then please provide the information regarding this. Regards, Mrutyunjaya Dash IT Engineer Juniper Networks Pvt Ltd. Bangalore ForwardSourceID:NT0000C1E6 ForwardSourceID:NT0000C232 From thomas.edwards at accredohealth.com Thu Feb 23 16:10:19 2006 From: thomas.edwards at accredohealth.com (thomas.edwards at accredohealth.com) Date: Thu, 23 Feb 2006 09:10:19 -0600 Subject: Important Message from the Accredo Health Email Gateway Message-ID: <6FE30FD025W592655-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: "Mrutyunjaya Dash" To: Subject: Re: AW: [Nagios-users] Monitoring solaris server without installing any plugin Date: 02/23/06, 09:10: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: 6FE30FD922W5646877-01 ----------------------------------------------------------- From Andrew.Laden at tudor.com Thu Feb 23 16:40:11 2006 From: Andrew.Laden at tudor.com (Andrew Laden) Date: Thu, 23 Feb 2006 10:40:11 -0500 Subject: Check_http with size and regex conditions ignoring size check. Message-ID: <56EAA5BC64E6C34F8C9EE6725D4A2DFA024DF3B3@tudor.com> I want to check a web page, and check both for a regex and for a minimum size. However, it appears that the regex requirement overides the size. Eg. (names changes to protect the innocent) check_http (nagios-plugins 1.4.1) 1.81 aladen at host> check_http -H servername -p 8080 -u "uri" -r "REGEX CHECK" -m 60:100 HTTP OK HTTP/1.1 200 OK - 0.420 second response time |time=0.419695s;;;0.000000 size=2405B;60;0;0 aladen at host> check_http -H servername -p 8080 -u "uri" -m 60:100 HTTP WARNING: page size 2405 too large|size=2405B;60;0;0 Is this a bug in check_http? -Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: From Thomas.Zimmer at oppenheim.de Thu Feb 23 16:46:29 2006 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Thu, 23 Feb 2006 16:46:29 +0100 Subject: AW: AW: Monitoring solaris server without installi ng any plugin Message-ID: <9A834A8DCEC68648B20701E1CDE109250295ED30@OKWPMXS01.de.sal-opp.net> Hi Dash, you still need plugins on your solaris machines even if you use the check_by_ssh cmd. A sample check_command should be included within the sample-config. You simply execute a plugin remotely with check_by_ssh. The option -C "..." is used to pass the command and options for the plugin. But you can use all shell-script-plugins and perl-plugins, uf a perl-interpreter is installed on your production machines. For generating a private/public key pair for authentication without typing a password, there exist a lot of howtos on the internet. I hope that helps. Ah, generally i think it?s no good idea to execute commands via ssh. I didn?t do any real performance checks on this, but i expect executing a check via ssh utilizes the cpu and network a lot more than using nrpe or nsca. Perhaps someone can give a more exact statement in this issue? However, my system is running about 100 checks via ssh in very short intervals without abnormal CPU- or network-utilization. If you like to, I could try to send a package of my compiled plugins for a solaris 9 system, but I may have probs to pass the firewall... 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: Mrutyunjaya Dash [mailto:mdash at juniper.net] Gesendet: Donnerstag, 23. Februar 2006 16:09 An: joseph.petrucci at wachovia.com; Zimmer, Thomas (BB) Frankfurt/M. Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Betreff: Re: AW: [Nagios-users] Monitoring solaris server without installing any plugin Hi Joseph, Thank you very much. As far as the check_by_ssh is concerned how can I use this. Do I need create any configuration file in the nagios server for check_cy_ssh to work? And for ssh authentication how can the nagios server communicate with remote host? If you can point me to some information for utilizing check_by_ssh command. Regards, Dash -------------------------- Sent from my BlackBerry Wireless Handheld -----Original Message----- From: nagios-users-admin at lists.sourceforge.net To: Thomas.Zimmer at oppenheim.de CC: nagios-users at lists.sourceforge.net ; nagios-users-admin at lists.sourceforge.net Sent: Thu Feb 23 06:28:50 2006 Subject: Re: AW: [Nagios-users] Monitoring solaris server without installing any plugin I will post them tonight. I am at a client where I cannot connect to my server so I cannot get them until tonight. Look at the check_by_ssh plugin it is also a way to do this Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 Thomas.Zimmer at oppenheim.de Sent by: nagios-users-admin at lists.sourceforge.net 02/23/2006 08:56 AM To nagios-users at lists.sourceforge.net cc Subject AW: [Nagios-users] Monitoring solaris server without installing any plugin Hi Joseph, would you share these plugins? Greetz, Thomas. 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 joseph.petrucci at wachovia.com Gesendet: Donnerstag, 23. Februar 2006 14:24 An: Mrutyunjaya Dash Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Betreff: Re: [Nagios-users] Monitoring solaris server without installing any plugin I wrote a lot of my plugins to run commands through an RSA ssh connection from my Nagios machine to other machines. This way there is no code on the monitored machine. Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 "Mrutyunjaya Dash" Sent by: nagios-users-admin at lists.sourceforge.net 02/23/2006 08:18 AM To cc Subject [Nagios-users] Monitoring solaris server without installing any plugin Hi List, I want to monitor few of the Solaris machines, but those all are production servers and they don't have any compiler installed on it. Is there any way to monitor the services without installing any software on the machine? If any of you have come across of the same kind of situation and found the solution for this, then please provide the information regarding this. Regards, Mrutyunjaya Dash IT Engineer Juniper Networks Pvt Ltd. Bangalore ForwardSourceID:NT0000C1E6 ForwardSourceID:NT0000C232 -------------- 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 dave at umiacs.umd.edu Thu Feb 23 16:49:11 2006 From: dave at umiacs.umd.edu (Dave Stern) Date: Thu, 23 Feb 2006 10:49:11 -0500 (EST) Subject: nagios not notifying by email In-Reply-To: <0DB0FFEA6887E349861A3F6B40D71C3A037487@gaugeboson.jnpr.net> References: <0DB0FFEA6887E349861A3F6B40D71C3A037487@gaugeboson.jnpr.net> Message-ID: On Thu, 23 Feb 2006, Mrutyunjaya Dash wrote: > Hi, > > You can check you services.cfg file to verify you have notifications_options to w c u r. This might be one of the reason if you had copied services.cfg file from the sample config file. > services.cfg has notification options currently set to w,u,c. I added "recover". One hint, on the webpage for a host availability, it says in the upper left corner "Notifications are disabled" This is in contrast to the fact that enable_notifications=1 is set in nagios.cfg (and cgi.cfg says main_config_file=/some/path/nagios.cfg) I just tried disabling all state_retention (was previously on) and bounced nagios and finally got a message. so perhaps state retention was set incorrectly. What I'd like to do is have it retain state when I bounce nagios st I don't get msgs about those I know are down on restart. Here's what I have: nagios.cfg: log_initial_states=0 retain_state_information=0 state_retention_file=/usr/local/stow/nagios/var/status.sav use_retained_program_state=0 host.cfg: retain_status_information 0 retain_nonstatus_information 0 services.cfg: retain_status_information 0 retain_nonstatus_information 0 =-=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-= David Stern University of Maryland Institute for Advanced Computer Studies ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cecil.williams at autozone.com Thu Feb 23 17:02:35 2006 From: cecil.williams at autozone.com (cecil.williams at autozone.com) Date: Thu, 23 Feb 2006 16:02:35 +0000 (UTC) Subject: Cecil Williams/STS/AUTOZONE is out of the office. Message-ID: <31089.1236448244$1140710555@news.gmane.org> I will be out of the office starting 02/23/2006 and will not return until 03/06/2006. Please send all requests/problems to IT AIX SUPPORT via lotus notes. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lanning at lanning.cc Thu Feb 23 17:12:14 2006 From: lanning at lanning.cc (Robert Hajime Lanning) Date: Thu, 23 Feb 2006 08:12:14 -0800 (PST) Subject: Monitoring solaris server without installing any plugin In-Reply-To: <0DB0FFEA6887E349861A3F6B40D71C3A95CF19@gaugeboson.jnpr.net> References: <0DB0FFEA6887E349861A3F6B40D71C3A95CF19@gaugeboson.jnpr.net> Message-ID: <43709.192.168.128.102.1140711134.squirrel@ssl.monsoonwind.com> > Hi List, > > I want to monitor few of the Solaris machines, but those all are > production servers and they don't have any compiler installed on > it. Is there any way to monitor the services without installing > any software on the machine? If any of you have come across of > the same kind of situation and found the solution for this, then > please provide the information regarding this? If you just have an issue with using a compiling environment, you can install openssl and net-snmp packages from http://www.sunfreeware.com/. We do system health monitoring and checking for processes via SNMP polls. You get raw data from SNMP and have all the plugin logic running on the Nagios server. -- And, did Guloka think the Ulus were too ugly to save? -Centauri ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 17:21:49 2006 From: marc at ena.com (Marc Powell) Date: Thu, 23 Feb 2006 10:21:49 -0600 Subject: Check_http with size and regex conditions ignoring size check. Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Andrew Laden > Sent: Thursday, February 23, 2006 9:40 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check_http with size and regex conditions ignoring > size check. > > I want to check a web page, and check both for a regex and for a minimum > size. > > However, it appears that the regex requirement overides the size. Eg. > (names changes to protect the innocent) > check_http (nagios-plugins 1.4.1) 1.81 > > aladen at host> check_http -H servername -p 8080 -u "uri" -r "REGEX CHECK" - > m 60:100 > HTTP OK HTTP/1.1 200 OK - 0.420 second response time > |time=0.419695s;;;0.000000 size=2405B;60;0;0 > > aladen at host> check_http -H servername -p 8080 -u "uri" -m 60:100 > HTTP WARNING: page size 2405 too large|size=2405B;60;0;0 > > Is this a bug in check_http? Technically no it's not a bug, the command line arguments are not compatible. Looking around line 1030 and forward of check_http.c, the regex tests and size tests are not progressive. The order (from there forward) is header checks, regex checks then size checks. Each will exit the program based on *success* or failure of the check. I would call it a feature request to have checks be progressive. On success, continue to the next test... You might want to bounce this over to the nagiosplug-devel list for their consideration. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 jpratt at norwich.edu Thu Feb 23 17:20:57 2006 From: jpratt at norwich.edu (James E. Pratt) Date: Thu, 23 Feb 2006 11:20:57 -0500 Subject: Monitoring solaris server without installing any plugin Message-ID: <92803D5088947D4A979898CC8E835C4417873A@XMAIL.norwich.edu> Hi i have a similar problem where no matter how i try and compile on either sol8 or sol9 (sparc) using the software from sunfreeware (gcc, openssl etc etc), i just cannot get NRPE ssl handshakes to work via inetd... I've tried everything, and triple-checked everything countless times, but always get the "Failed to complete ssl handshake" message.. Can anyone give me any insight, or has seen this issue before? ...I would use snmp instead, but i'm pretty clueless on snmp and it's not set up in nagios (yet), and i have no clue what mibs or whatever i would need etc... Any help/pointers there are appreciated as well on the snmp stuff - i see there are countless ways to do snmp on nagios.org - what works best for most out there etc? thanks, Jamie -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Robert Hajime Lanning Sent: Thursday, February 23, 2006 11:12 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring solaris server without installing any plugin > Hi List, > > I want to monitor few of the Solaris machines, but those all are > production servers and they don't have any compiler installed on it. > Is there any way to monitor the services without installing any > software on the machine? If any of you have come across of the same > kind of situation and found the solution for this, then please provide > the information regarding this? If you just have an issue with using a compiling environment, you can install openssl and net-snmp packages from http://www.sunfreeware.com/. We do system health monitoring and checking for processes via SNMP polls. You get raw data from SNMP and have all the plugin logic running on the Nagios server. -- And, did Guloka think the Ulus were too ugly to save? -Centauri ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Thomas.Zimmer at oppenheim.de Thu Feb 23 17:37:10 2006 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Thu, 23 Feb 2006 17:37:10 +0100 Subject: AW: AW: Monitoring solaris server without installi ng any plugin Message-ID: <9A834A8DCEC68648B20701E1CDE109250295ED32@OKWPMXS01.de.sal-opp.net> A possible check_by_ssh command: define command { command_name check_by_ssh command_line $USER4$/check_by_ssh -H $HOSTADDRESS$ -t 300 -4 -C "./plugins/$ARG1$ $ARG2$" } Where the $ARG1$ is the path+name of the plugin to use on the remote machine, and $ARG2$ is used to defin all parameters and their values like this: define service { host_name service_description PROCS-bla check_command check_by_ssh!check_procs!-w 1:1 -c 1:1 -C /opt/dir/process -a proc_args use PROCS-TEMPLATE check_period 24x7 notification_period 24x7 notification_options w,u,c notifications_enabled 1 contact_groups masters_of_the_universe } 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: Mrutyunjaya Dash [mailto:mdash at juniper.net] Gesendet: Donnerstag, 23. Februar 2006 16:09 An: joseph.petrucci at wachovia.com; Zimmer, Thomas (BB) Frankfurt/M. Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Betreff: Re: AW: [Nagios-users] Monitoring solaris server without installing any plugin Hi Joseph, Thank you very much. As far as the check_by_ssh is concerned how can I use this. Do I need create any configuration file in the nagios server for check_cy_ssh to work? And for ssh authentication how can the nagios server communicate with remote host? If you can point me to some information for utilizing check_by_ssh command. Regards, Dash -------------------------- Sent from my BlackBerry Wireless Handheld -----Original Message----- From: nagios-users-admin at lists.sourceforge.net To: Thomas.Zimmer at oppenheim.de CC: nagios-users at lists.sourceforge.net ; nagios-users-admin at lists.sourceforge.net Sent: Thu Feb 23 06:28:50 2006 Subject: Re: AW: [Nagios-users] Monitoring solaris server without installing any plugin I will post them tonight. I am at a client where I cannot connect to my server so I cannot get them until tonight. Look at the check_by_ssh plugin it is also a way to do this Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 Thomas.Zimmer at oppenheim.de Sent by: nagios-users-admin at lists.sourceforge.net 02/23/2006 08:56 AM To nagios-users at lists.sourceforge.net cc Subject AW: [Nagios-users] Monitoring solaris server without installing any plugin Hi Joseph, would you share these plugins? Greetz, Thomas. 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 joseph.petrucci at wachovia.com Gesendet: Donnerstag, 23. Februar 2006 14:24 An: Mrutyunjaya Dash Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Betreff: Re: [Nagios-users] Monitoring solaris server without installing any plugin I wrote a lot of my plugins to run commands through an RSA ssh connection from my Nagios machine to other machines. This way there is no code on the monitored machine. Joe Petrucci Office: 704-383-6089 Cell : 724-462-0443 "Mrutyunjaya Dash" Sent by: nagios-users-admin at lists.sourceforge.net 02/23/2006 08:18 AM To cc Subject [Nagios-users] Monitoring solaris server without installing any plugin Hi List, I want to monitor few of the Solaris machines, but those all are production servers and they don't have any compiler installed on it. Is there any way to monitor the services without installing any software on the machine? If any of you have come across of the same kind of situation and found the solution for this, then please provide the information regarding this. Regards, Mrutyunjaya Dash IT Engineer Juniper Networks Pvt Ltd. Bangalore ForwardSourceID:NT0000C1E6 ForwardSourceID:NT0000C232 -------------- 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 bohara at gmail.com Thu Feb 23 17:40:25 2006 From: bohara at gmail.com (Ben O'Hara) Date: Thu, 23 Feb 2006 16:40:25 +0000 Subject: Monitoring solaris server without installing any plugin In-Reply-To: <92803D5088947D4A979898CC8E835C4417873A@XMAIL.norwich.edu> References: <92803D5088947D4A979898CC8E835C4417873A@XMAIL.norwich.edu> Message-ID: <2b36e660602230840u33ec694cgd8207bbe5c937856@mail.gmail.com> Same problem here, i just compiled with --without-ssl i belive and run it unencrypted over our management network. Ben On 2/23/06, James E. Pratt wrote: > > Hi i have a similar problem where no matter how i try and compile on > either sol8 or sol9 (sparc) using the software from sunfreeware (gcc, > openssl etc etc), i just cannot get NRPE ssl handshakes to work via > inetd... I've tried everything, and triple-checked everything countless > times, but always get the "Failed to complete ssl handshake" message.. > > Can anyone give me any insight, or has seen this issue before? ...I > would use snmp instead, but i'm pretty clueless on snmp and it's not set > up in nagios (yet), and i have no clue what mibs or whatever i would > need etc... Any help/pointers there are appreciated as well on the snmp > stuff - i see there are countless ways to do snmp on nagios.org - what > works best for most out there etc? > > thanks, > Jamie > > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Robert > Hajime Lanning > Sent: Thursday, February 23, 2006 11:12 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring solaris server without installing > any plugin > > > > > Hi List, > > > > I want to monitor few of the Solaris machines, but those all are > > production servers and they don't have any compiler installed on it. > > Is there any way to monitor the services without installing any > > software on the machine? If any of you have come across of the same > > kind of situation and found the solution for this, then please provide > > > the information regarding this? > > If you just have an issue with using a compiling environment, you can > install openssl and net-snmp packages from http://www.sunfreeware.com/. > > We do system health monitoring and checking for processes via SNMP > polls. You get raw data from SNMP and have all the plugin logic running > on the Nagios server. > > -- > And, did Guloka think the Ulus were too ugly to save? > -Centauri > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&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 > -- "A Scientist will earn a living by taking a really difficult problem and spends many years solving it, an engineer earns a living by finding really difficult problems and side stepping them" -------------- next part -------------- An HTML attachment was scrubbed... URL: From Peter at berghold.net Thu Feb 23 17:40:47 2006 From: Peter at berghold.net (Peter L. Berghold) Date: Thu, 23 Feb 2006 11:40:47 -0500 Subject: Monitoring solaris server without installing any plugin In-Reply-To: <92803D5088947D4A979898CC8E835C4417873A@XMAIL.norwich.edu> References: <92803D5088947D4A979898CC8E835C4417873A@XMAIL.norwich.edu> Message-ID: <43FDE58F.3000902@Berghold.Net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 James E. Pratt wrote: > Hi i have a similar problem where no matter how i try and compile on > either sol8 or sol9 (sparc) using the software from sunfreeware (gcc, > openssl etc etc), i just cannot get NRPE ssl handshakes to work via > inetd... I've tried everything, and triple-checked everything countless > times, but always get the "Failed to complete ssl handshake" message.. > > Can anyone give me any insight, or has seen this issue before? I've seen this in a couple of different cases: 1) trust relationship between the nagios user on the monitoring host and the monitored host is not set up. To do this you need to generate a pair of ssh keys. I always (and I forget why) generate both a dsa key and an rsa key. To do this is pretty simple: a) log in as the user nagios on your monitoring host. b) run ssh-keygen -t rsa ; and answer the questions/prompts accordingly. c) run ssh-keygen -t dsa ; and do the same as (b) d) cd ~/.ssh e) cat *.pub > exported-keys.txt f) scp exported-keys.txt nagios at monitored-host: (note the trailing colon (:) above) g) log on as nagios on the monitored host. f) cat exported-keys.txt >> .ssh/authorized_keys g) cat exported-keys.txt >> .ssh/authorized_keys2 Now, having said all that one of the shortcuts I have on some of my systems is authorized_keys and authorized_keys2 are the same file with one of them being a sym-link to the other. 2) no SSH on the monitored host at all Well.. put it there and and then follow the steps above. 3) nrpe is not being started from inetd (xinetd) AND is not running as a daemon. Then you need to either configure inetd (xinted) accordingly or enable nrpe to be started up from init during system reboot. (or start it manually... whatever floats your boat.) Clear as mud? - -- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Peter L. Berghold Peter at Berghold.Net "Those who fail to learn from history are condemned to repeat it." AIM: redcowdawg Yahoo IM: blue_cowdawg ICQ: 11455958 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org iD8DBQFD/eWPUM9/01RIhaARAvMzAJ9m01XznSLrU8ZLoEXsZxcKGrAm0gCfch6J hlNIo7ZI9dw6usurIkonkJA= =dEf8 -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: Peter.vcf Type: text/x-vcard Size: 192 bytes Desc: not available URL: From mdash at juniper.net Thu Feb 23 18:10:28 2006 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Thu, 23 Feb 2006 22:40:28 +0530 Subject: Monitoring solaris server without installing any plugin Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3A037489@gaugeboson.jnpr.net> Hi All, I was having same problem, I just compiled with-ssl on the both nagios and monitered host and removed the entry -n option for the check_nrpe command from checkcommands.cfg file. Might be this is what happening with your end. Check if this would help you. Regards, Dash -------------------------- Sent from my BlackBerry Wireless Handheld -----Original Message----- From: nagios-users-admin at lists.sourceforge.net To: James E. Pratt CC: nagios-users at lists.sourceforge.net Sent: Thu Feb 23 08:40:25 2006 Subject: Re: [Nagios-users] Monitoring solaris server without installing any plugin Same problem here, i just compiled with --without-ssl i belive and run it unencrypted over our management network. Ben On 2/23/06, James E. Pratt wrote: Hi i have a similar problem where no matter how i try and compile on either sol8 or sol9 (sparc) using the software from sunfreeware (gcc, openssl etc etc), i just cannot get NRPE ssl handshakes to work via inetd... I've tried everything, and triple-checked everything countless times, but always get the "Failed to complete ssl handshake" message.. Can anyone give me any insight, or has seen this issue before? ...I would use snmp instead, but i'm pretty clueless on snmp and it's not set up in nagios (yet), and i have no clue what mibs or whatever i would need etc... Any help/pointers there are appreciated as well on the snmp stuff - i see there are countless ways to do snmp on nagios.org - what works best for most out there etc? thanks, Jamie -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Robert Hajime Lanning Sent: Thursday, February 23, 2006 11:12 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring solaris server without installing any plugin > Hi List, > > I want to monitor few of the Solaris machines, but those all are > production servers and they don't have any compiler installed on it. > Is there any way to monitor the services without installing any > software on the machine? If any of you have come across of the same > kind of situation and found the solution for this, then please provide > the information regarding this? If you just have an issue with using a compiling environment, you can install openssl and net-snmp packages from http://www.sunfreeware.com/. We do system health monitoring and checking for processes via SNMP polls. You get raw data from SNMP and have all the plugin logic running on the Nagios server. -- And, did Guloka think the Ulus were too ugly to save? -Centauri ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&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 -- "A Scientist will earn a living by taking a really difficult problem and spends many years solving it, an engineer earns a living by finding really difficult problems and side stepping them" N?HS^????X???'???u?? References: <92803D5088947D4A979898CC8E835C4417873A@XMAIL.norwich.edu> Message-ID: <20060223175549.GA23730@voyager.suryo.com> > Hi i have a similar problem where no matter how i try and compile on > either sol8 or sol9 (sparc) using the software from sunfreeware (gcc, > openssl etc etc), i just cannot get NRPE ssl handshakes to work via > inetd... I've tried everything, and triple-checked everything countless > times, but always get the "Failed to complete ssl handshake" message.. > > Can anyone give me any insight, or has seen this issue before? ...I > would use snmp instead, but i'm pretty clueless on snmp and it's not set > up in nagios (yet), and i have no clue what mibs or whatever i would > need etc... Any help/pointers there are appreciated as well on the snmp > stuff - i see there are countless ways to do snmp on nagios.org - what > works best for most out there etc? > I have mine work just fine, sparc 8, 9 & 10. But I do use an older version of nrpe ./check_nrpe_ssl -h NRPE Plugin for Nagios Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Version: 2.0 Last Modified: 09-08-2003 License: GPL with exemptions (-l for more info) SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required The thing is to generate your own cert. unless you want to use the one that came with teh sources.. my inetd.conf (i have ssl nrpe and none ssl nrpe configured) if you have tcp-wrapper remember to configure hosts.allow # Nagios agent nrpe stream tcp nowait sys /usr/sbin/tcpd /usr/local/sbin/nrpe -i -c /usr/local/etc/nagios/nrpe.cfg snrpe stream tcp nowait sys /usr/sbin/tcpd /usr/local/sbin/nrpe_ssl -i -c /usr/local/etc/nagios/nrpe.cfg 5711 = none ssl 5712 = ssl ./check_nrpe_ssl -H localhost -p 5711 -c check_root_disk CHECK_NRPE: Socket timeout after 10 seconds. now to the ssl port ./check_nrpe_ssl -H localhost -p 5712 -c check_root_disk DISK OK [3945564 kB (65%) free on /] as you can see it works... I can sent you th ebinary if you want to but it does depends on the correct openssl libraries! hope this may help a bit :) -ls ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaronhcarr at gmail.com Thu Feb 23 19:16:51 2006 From: aaronhcarr at gmail.com (Aaron Carr) Date: Thu, 23 Feb 2006 13:16:51 -0500 Subject: Monitoring solaris server without installing any plugin In-Reply-To: <20060223175549.GA23730@voyager.suryo.com> References: <92803D5088947D4A979898CC8E835C4417873A@XMAIL.norwich.edu> <20060223175549.GA23730@voyager.suryo.com> Message-ID: Have you considered check_by_ssh? IMO, far easier to configure, and just as effective. Aaron On 2/23/06, Luc I. Suryo wrote: > > > > Hi i have a similar problem where no matter how i try and compile on > > either sol8 or sol9 (sparc) using the software from sunfreeware (gcc, > > openssl etc etc), i just cannot get NRPE ssl handshakes to work via > > inetd... I've tried everything, and triple-checked everything countless > > times, but always get the "Failed to complete ssl handshake" message.. > > > > Can anyone give me any insight, or has seen this issue before? ...I > > would use snmp instead, but i'm pretty clueless on snmp and it's not set > > up in nagios (yet), and i have no clue what mibs or whatever i would > > need etc... Any help/pointers there are appreciated as well on the snmp > > stuff - i see there are countless ways to do snmp on nagios.org - what > > works best for most out there etc? > > > I have mine work just fine, sparc 8, 9 & 10. But I do use an older > version of nrpe > > ./check_nrpe_ssl -h > > NRPE Plugin for Nagios > Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) > Version: 2.0 > Last Modified: 09-08-2003 > License: GPL with exemptions (-l for more info) > SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required > > > The thing is to generate your own cert. unless you want to use the one > that came with teh sources.. > > my inetd.conf (i have ssl nrpe and none ssl nrpe configured) > if you have tcp-wrapper remember to configure hosts.allow > > # Nagios agent > nrpe stream tcp nowait sys /usr/sbin/tcpd /usr/local/sbin/nrpe -i -c /usr/local/etc/nagios/nrpe.cfg > snrpe stream tcp nowait sys /usr/sbin/tcpd /usr/local/sbin/nrpe_ssl -i -c /usr/local/etc/nagios/nrpe.cfg > > 5711 = none ssl > 5712 = ssl > > ./check_nrpe_ssl -H localhost -p 5711 -c check_root_disk > CHECK_NRPE: Socket timeout after 10 seconds. > > now to the ssl port > > ./check_nrpe_ssl -H localhost -p 5712 -c check_root_disk > DISK OK [3945564 kB (65%) free on /] > > > as you can see it works... > > I can sent you th ebinary if you want to but it does depends on the > correct openssl libraries! > > > hope this may help a bit :) > > -ls > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 thealy at nortom.com Thu Feb 23 21:08:21 2006 From: thealy at nortom.com (Tom Healy) Date: Thu, 23 Feb 2006 12:08:21 -0800 Subject: nrpe + solaris problems Message-ID: <087A827D-AF53-494C-AE11-A0084A17096A@nortom.com> I can't seem to get nrpe to work correctly, the web interface reports connection refused, but if I run it via the command line it gets results. Example below: On remote solaris 9 box: # ./nrpe -n -c nrpe.cfg -d # ps -ef|grep nrp nagios 1125 1 0 11:51:51 ? 0:00 ./nrpe -n -c nrpe.cfg -d # ./check_nrpe -n -H 127.0.0.1 -c check_users USERS OK - 26 users currently logged in |users=26;75;100;0 On nagios server (solaris 9) as user nagios: ------------------------------- # ./check_nrpe -n -H xxx.foobar.com -c check_users USERS OK - 26 users currently logged in |users=26;75;100;0 On same nagios server, but the web interface: --------------------------------------------- check_users.process CRITICAL 02-23-2006 11:52:31 0d 0h 59m 1s 3/3 Connection refused by host Config entry for this host: --------------------------- define service{ host_name xxx.foobar.com service_description check_users.process check_command check_nrpe!check_users max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 5 notification_period 24x7 notification_options c,r contact_groups healy } Check commands entry for the server: ------------------------------------- # Check NRPE Daemon define command{ command_name check_nrpe command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } nrpe 2.4 compiled from source, both boxes solaris 9. Running nagios Nagios 2.0b4 (upgrading soon). Is this a bug in the 2.0b4 branch or am I just being dense & missing something obvious? -Tom ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 21:20:16 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Thu, 23 Feb 2006 21:20:16 +0100 Subject: nrpe + solaris problems In-Reply-To: <087A827D-AF53-494C-AE11-A0084A17096A@nortom.com> References: <087A827D-AF53-494C-AE11-A0084A17096A@nortom.com> Message-ID: <619cf3c0602231220q5878a47cu@mail.gmail.com> my 2 cents: check that the IP of the host in hosts.cfg is the good one. 2006/2/23, Tom Healy : > > I can't seem to get nrpe to work correctly, the web interface reports > connection refused, but if I run it via the command line it gets > results. Example below: > > > On remote solaris 9 box: > # ./nrpe -n -c nrpe.cfg -d > > # ps -ef|grep nrp > nagios 1125 1 0 11:51:51 ? 0:00 ./nrpe -n -c nrpe.cfg -d > > # ./check_nrpe -n -H 127.0.0.1 -c check_users > USERS OK - 26 users currently logged in |users=26;75;100;0 > > > On nagios server (solaris 9) as user nagios: > ------------------------------- > # ./check_nrpe -n -H xxx.foobar.com -c check_users > USERS OK - 26 users currently logged in |users=26;75;100;0 > > > On same nagios server, but the web interface: > --------------------------------------------- > check_users.process CRITICAL 02-23-2006 11:52:31 0d 0h 59m > 1s 3/3 Connection refused by host > > > > Config entry for this host: > --------------------------- > > define service{ > host_name xxx.foobar.com > service_description check_users.process > check_command check_nrpe!check_users > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > check_period 24x7 > notification_interval 5 > notification_period 24x7 > notification_options c,r > contact_groups healy > } > > > Check commands entry for the server: > ------------------------------------- > # Check NRPE Daemon > define command{ > command_name check_nrpe > command_line /usr/local/nagios/libexec/check_nrpe -H > $HOSTADDRESS$ -c $ARG1$ > } > > > nrpe 2.4 compiled from source, both boxes solaris 9. Running nagios > Nagios 2.0b4 (upgrading soon). Is this a bug in the 2.0b4 branch or > am I just being dense & missing something obvious? > > -Tom > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 rhall at HealthVision.com Thu Feb 23 21:46:59 2006 From: rhall at HealthVision.com (Rusty Hall) Date: Thu, 23 Feb 2006 14:46:59 -0600 Subject: Status Information: was not set Message-ID: I have nagios installed on a new server running fedora core 2 with nagios 2.0 installed. I have run into an issue I cant figure out in regards to the host status. some hosts on the same network segemnt show up and others show down due to the following info, and the longer this server runs the more hosts that change to the errored state host status information shows: was not set I use the check-host-alive for all servers half show up others show down w ith the error was not set Host Status: DOWN Status Information: was not set Performance Data: Current Attempt: 1/5 State Type: HARD Last Check Type: ACTIVE Last Check Time: 02-22-2006 10:39:42 Status Data Age: 0d 0h 3m 9s Next Scheduled Active Check: N/A Latency: 0.000 seconds Check Duration: 0.021 seconds Last State Change: 02-18-2006 23:26:10 Current State Duration: 3d 11h 16m 41s Last Host Notification: N/A Current Notification Number: 0 Is This Host Flapping? N/A -------------- next part -------------- An HTML attachment was scrubbed... URL: From thealy at nortom.com Thu Feb 23 21:54:40 2006 From: thealy at nortom.com (Tom Healy) Date: Thu, 23 Feb 2006 12:54:40 -0800 Subject: nrpe + solaris problems In-Reply-To: <619cf3c0602231220q5878a47cu@mail.gmail.com> References: <087A827D-AF53-494C-AE11-A0084A17096A@nortom.com> <619cf3c0602231220q5878a47cu@mail.gmail.com> Message-ID: Nope, they match. On Feb 23, 2006, at 12:20 PM, Toto Capuccino wrote: > my 2 cents: check that the IP of the host in hosts.cfg is the good > one. > > 2006/2/23, Tom Healy : > I can't seem to get nrpe to work correctly, the web interface reports > connection refused, but if I run it via the command line it gets > results. Example below: > > > On remote solaris 9 box: > # ./nrpe -n -c nrpe.cfg -d > > # ps -ef|grep nrp > nagios 1125 1 0 11:51:51 ? 0:00 ./nrpe -n -c > nrpe.cfg -d > > # ./check_nrpe -n -H 127.0.0.1 -c check_users > USERS OK - 26 users currently logged in |users=26;75;100;0 > > > On nagios server (solaris 9) as user nagios: > ------------------------------- > # ./check_nrpe -n -H xxx.foobar.com -c check_users > USERS OK - 26 users currently logged in |users=26;75;100;0 > > > On same nagios server, but the web interface: > --------------------------------------------- > check_users.process CRITICAL 02-23-2006 11:52:31 0d 0h 59m > 1s 3/3 Connection refused by host > > > > Config entry for this host: > --------------------------- > > define service{ > host_name xxx.foobar.com > service_description check_users.process > check_command check_nrpe!check_users > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > check_period 24x7 > notification_interval 5 > notification_period 24x7 > notification_options c,r > contact_groups healy > } > > > Check commands entry for the server: > ------------------------------------- > # Check NRPE Daemon > define command{ > command_name check_nrpe > command_line /usr/local/nagios/libexec/check_nrpe -H > $HOSTADDRESS$ -c $ARG1$ > } > > > nrpe 2.4 compiled from source, both boxes solaris 9. Running nagios > Nagios 2.0b4 (upgrading soon). Is this a bug in the 2.0b4 branch or > am I just being dense & missing something obvious? > > -Tom > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Thu Feb 23 22:13:48 2006 From: marc at ena.com (Marc Powell) Date: Thu, 23 Feb 2006 15:13:48 -0600 Subject: Status Information: was not set Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Rusty Hall > Sent: Thursday, February 23, 2006 2:47 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Status Information: was not set > > I have nagios installed on a new server running fedora core 2 with > nagios 2.0 installed. I have run into an issue I cant figure out in > regards to the host status. some hosts on the same network segemnt show up > and others show down due to the following info, and the longer this server > runs the more hosts that change to the errored state > > host status information shows: was not set > > I use the check-host-alive for all servers half show up others show > down w ith the error was not set > > Host Status: DOWN > Status Information: was not set I'll bet if you view source of the page you'll see more information -- plugins/check_ping.c: printf (_(" was not set\n")); plugins/check_ping.c: printf (_(" was not set\n")); plugins/check_ping.c: printf (_(" was not set\n")); plugins/check_ping.c: printf (_(" was not set\n")); One of the above is not set in your command definition for the affected hosts. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 23 22:36:21 2006 From: marc at ena.com (Marc Powell) Date: Thu, 23 Feb 2006 15:36:21 -0600 Subject: nagios not notifying by email Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Dave Stern > Sent: Thursday, February 23, 2006 9:49 AM > To: Mrutyunjaya Dash > Cc: shoktai at gmail.com; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios not notifying by email > [chop] > > I just tried disabling all state_retention (was previously on) and bounced > nagios and finally got a message. so perhaps state retention was set > incorrectly. What I'd like to do is have it retain state when I bounce The 'Retention Notes' at http://nagios.sourceforge.net/docs/2_0/xodtemplate.html will provide insight into how retention works. > nagios st I don't get msgs about those I know are down on restart. Here's > what I have: > > nagios.cfg: > log_initial_states=0 > retain_state_information=0 > state_retention_file=/usr/local/stow/nagios/var/status.sav > use_retained_program_state=0 > > host.cfg: > retain_status_information 0 > retain_nonstatus_information 0 > > services.cfg: > retain_status_information 0 > retain_nonstatus_information 0 We use -- nagios.cfg - retain_state_information=1 use_retained_program_state=0 state_retention_file=/usr/local/nagios/var/status.sav host template - retain_status_information 1 retain_nonstatus_information 1 service template - retain_status_information 1 retain_nonstatus_information 1 Notifications are not sent out on restart. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 thomas.edwards at accredohealth.com Thu Feb 23 22:46:55 2006 From: thomas.edwards at accredohealth.com (thomas.edwards at accredohealth.com) Date: Thu, 23 Feb 2006 15:46:55 -0600 Subject: Important Message from the Accredo Health Email Gateway Message-ID: <6FE0F2C51OW1843-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: "Mrutyunjaya Dash" To: Subject: Re: [Nagios-users] Monitoring solaris server without installing any plugin Date: 02/23/06, 15:46:55 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: 6FE0F2CD25C13475-01 ----------------------------------------------------------- From nagios at nagios.org Fri Feb 24 00:47:25 2006 From: nagios at nagios.org (Ethan Galstad) Date: Thu, 23 Feb 2006 17:47:25 -0600 Subject: Important Message from the Accredo Health Email Gateway In-Reply-To: References: <6FE312532HK4708-01@EMF__accredohealth.com_> Message-ID: <43FDF52D.11990.1D9D66D@nagios.nagios.org> On 23 Feb 2006 at 23:41, Hugo van der Kooij wrote: > On Thu, 23 Feb 2006 thomas.edwards at accredohealth.com wrote: > > > 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. > > Listmaster: Please remove this person from the mailinglist. > [snip] Done. Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Feb 24 02:46:01 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 23 Feb 2006 20:46:01 -0500 (EST) Subject: mibs HP LaserJet In-Reply-To: <1140703242.7595.29.camel@localhost.localdomain> References: <1140703242.7595.29.camel@localhost.localdomain> Message-ID: On Thu, 23 Feb 2006, Richard Gliebe wrote: > Hi, > > I want to monitor the Toner capacity (% of Life Remaining) from our HP > LaserJet 4100 Series, like the Webinterface show me. > > Is there a mib available. > I can't any on mibdepot.com / hp.com > > thanks > Richard > > standard mib - PRINT-MIB -- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Feb 24 09:01:51 2006 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Fri, 24 Feb 2006 09:01:51 +0100 Subject: Integrate CiscoWorks SNMP Traps into Nagios Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E02159CB8@SYGOMAIL.GOE.AD.SYCOR.DE> Hi there, has anyone done this before? We're just beginning to set up CiscoWorks here. As we have experienced, the notifications are pretty annoying to read, and it's not possible to configure them for escalations, appearance and thinks like that. But there is a possibility to send snmp-traps from the ciscoworks server, which could be handled via snmptt then. Problem is, that there are a lot of different OIDs to handle. Has anyone tried to handle this problem? /Philipp _____________________________ Philipp Sand Sprach & Datenkommunikation SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 - 490 - 0 Telefax +49 (0) 551 - 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ? ******************************************************************************************************************************** sycor plastics - die Branchenloesung fuer die Kunststoffindustrie www.sycor-plastics.de sycor plastics - the solution for the plastic industry www.sycor-plastics.com ******************************************************************************************************************************** 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 frontin at irit.fr Fri Feb 24 09:27:31 2006 From: frontin at irit.fr (Jean Frontin) Date: Fri, 24 Feb 2006 09:27:31 +0100 Subject: SSL handshake Message-ID: <5.0.2.1.2.20060224092024.00bab5c8@mailhost.irit.fr> Morning, On the same host I run nrpe with -d option and check_nrpe. They are version 2.3. If I don't use ssl (-n oprion) all is fine. If I use ssl (what I should want) I obtain the messages : result of running check_nrpe : check_nrpe: Error: could not complete SSL handshake In messages file I can read : nrpe ... Error: Could not complete SSL handshake. 1 Any ideas will be very apreciated ! Have a good day ! Jean Frontin System team I R I T Universit? Paul-Sabatier 118, rte de Narbonne 31062 Toulouse cedex 04 France tel (33)(0)5 61 55 63 03 mail frontin at irit.fr ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 m.borsani at it.net Fri Feb 24 10:30:13 2006 From: m.borsani at it.net (Marco Borsani) Date: Fri, 24 Feb 2006 10:30:13 +0100 Subject: Plugins 1.4.2 Message-ID: <005c01c63924$ec89d660$04000100@intranet.it.net> Hi all . I compile plugins 1.4.2 on my HP-UX 11.00, running Nagios server 1.3 and 2.0. None is working correctly! Is there any requirements that I have missed? Regards Marco ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at medin.name Fri Feb 24 11:01:08 2006 From: michael at medin.name (Michael Medin) Date: Fri, 24 Feb 2006 11:01:08 +0100 Subject: R: R: I: NSClient++ configuration problems In-Reply-To: <004d01c6378d$06e8e300$04000100@intranet.it.net> References: <004d01c6378d$06e8e300$04000100@intranet.it.net> Message-ID: <43FED964.2000102@medin.name> Marco Borsani wrote: > Hi > > May someone give me any examples of commands to use to communicate with > NSClient++? > > I tried: > ./check_nt -H 151.x.x.x -v USEDDISKSPACE -l check_disk_c > Where "check_disk_c" is a line uncommented in the nsc.ini file > The answer is: "wrong -l argument" > check_nt does "checking" "client side" so you can only use the various checks that the check_nt binary you are using supports (check_nt -H) for other checks I would recommended NRPE. (naturally you may also only use the checks that NSClient++ supports :). > Or > ./check_nrpe -H 151.x.x.x -c check_users > Where "check_users" is a line uncommented in the nsc.ini file > The answer is: "CHECK_NRPE: Error receiving data from host" > Not sure on the check_nrpe error message of the top of my head but make sure the SSL settings are the same in both ends (nsc.ini has a flag on SSL) and the check_nrpe might be either built with/without it but it also has a flag for setting SSL. > May I use same "check_nrpe" that I am using for Unix systems? > And same "check_nt" that I am using with old NSClient agent? > Yes, you may use the same check_nrpe... // MickeM > Regards > Marco > > -}-----Messaggio originale----- > -}Da: nagios-users-admin at lists.sourceforge.net > -}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto > -}di Dany Allard > -}Inviato: venerd? 17 febbraio 2006 19.20 > -}A: NAGIOS > -}Oggetto: RE: R: [Nagios-users] I: NSClient++ configuration problems > -} > -}Marco > -} > -} A quick test to make sure that the port is open is to telnet to it. > -}> telnet YourHostname 1248 > -} > -}If you don't get a connection failed message the port should be open. > -}If it fails with "..Could not open connection to the host..." > -}then the port is being blocked somewhere. > -} > -} Dany Allard > -} > -}-----Original Message----- > -}From: nagios-users-admin at lists.sourceforge.net > -}[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > -}Of Marco Borsani > -}Sent: Thursday, February 16, 2006 3:11 AM > -}To: 'Michael Medin' > -}Cc: 'NAGIOS' > -}Subject: R: R: [Nagios-users] I: NSClient++ configuration problems > -} > -}I set 1248 (NSClient) and 5666 (NRPE) ports on NCS.INI file. > -}I see both ports open (but associated to local IP 0.0.0.0), > -}NSClient++ is running, but neither a check_nt, a check_nrpe > -}or a check_tcp run correctly. > -} > -}Marco > -} > -}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. > -} > -} > -}------------------------------------------------------- > -}This SF.net email is sponsored by: Splunk Inc. Do you grep > -}through log files for problems? Stop! Download the new AJAX > -}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=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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at cloud9.co.uk Fri Feb 24 11:45:48 2006 From: james at cloud9.co.uk (James Fidell) Date: Fri, 24 Feb 2006 10:45:48 +0000 Subject: web-based configuration interfaces for nagios Message-ID: <20060224104548.D29615@avarice.corp.cloud9.co.uk> I'm current migrating a nagios system I originally set up over three years ago to a new server with the latest version of nagios. The current system has around 140 host entries and is running over 1000 service checks and is linked with apan for graphing performance data. What I'd *like* is to have a web-based interface for adding hosts to the new system with a sort of inheritance-based system for templating so that I can create objects along the lines of: "A" is a basic server with a set of service checks that apply a set of dependencies between service checks a set of external links to apan (or some other graphing tool) "B" is a server of type "A" in datacentre 1 inheriting all of the configuration for "A" plus an additional set of service checks plus an additional set of dependencies etc... "C" is a server of type "B" that is a webserver inheriting all of the configuration for "B" plus an additional set of service checks plus an additional set of dependencies etc... "X" is an instance of server type "C" inheriting all of the configation for "C" plus some host-specific config. "Y" is an instance of server type "C" inheriting all of the configation for "C" plus some host-specific config. Do any of the existing web-based configuration tools support this sort of system? Are there any in active development that come close and might be modified to suit? (Language is mostly irrelevant -- perl, PHP, C(++), Java, python -- if I can't already code in it, I'll learn, though I might draw the line at VB :)) James ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Feb 24 11:55:13 2006 From: christian.masopust at siemens.com (Masopust, Christian) Date: Fri, 24 Feb 2006 11:55:13 +0100 Subject: web-based configuration interfaces for nagios In-Reply-To: <20060224104548.D29615@avarice.corp.cloud9.co.uk> References: <20060224104548.D29615@avarice.corp.cloud9.co.uk> Message-ID: <60721B67EAF0994EAFFB561767B700140ACC0F@nets13ha.ww300.siemens.net> Hi James, have you had a look at fruity? This is what i'm using and i'm really happy with it!!! you'll find it at http://fruity.sourceforge.net Chris > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of James Fidell > Sent: Friday, February 24, 2006 11:46 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] web-based configuration interfaces for nagios > > I'm current migrating a nagios system I originally set up over three > years ago to a new server with the latest version of nagios. The > current system has around 140 host entries and is running over 1000 > service checks and is linked with apan for graphing performance data. > > What I'd *like* is to have a web-based interface for adding hosts to > the new system with a sort of inheritance-based system for templating > so that I can create objects along the lines of: > > "A" is a basic server with > a set of service checks that apply > a set of dependencies between service checks > a set of external links to apan (or some other graphing tool) > > "B" is a server of type "A" in datacentre 1 > inheriting all of the configuration for "A" > plus an additional set of service checks > plus an additional set of dependencies > etc... > > "C" is a server of type "B" that is a webserver > inheriting all of the configuration for "B" > plus an additional set of service checks > plus an additional set of dependencies > etc... > > "X" is an instance of server type "C" > inheriting all of the configation for "C" > plus some host-specific config. > > "Y" is an instance of server type "C" > inheriting all of the configation for "C" > plus some host-specific config. > > > Do any of the existing web-based configuration tools support this sort > of system? Are there any in active development that come close and > might be modified to suit? (Language is mostly irrelevant -- perl, > PHP, C(++), Java, python -- if I can't already code in it, I'll learn, > though I might draw the line at VB :)) > > James > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking > scripting language > that extends applications into web and mobile media. Attend > the live webcast > and join the prime developer group breaking into this new > coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720& > dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 dave at umiacs.umd.edu Fri Feb 24 13:25:08 2006 From: dave at umiacs.umd.edu (Dave Stern) Date: Fri, 24 Feb 2006 07:25:08 -0500 (EST) Subject: nagios not notifying by email In-Reply-To: References: Message-ID: On Thu, 23 Feb 2006, Marc Powell wrote: > [chop] > >> >> I just tried disabling all state_retention (was previously on) and > bounced >> nagios and finally got a message. so perhaps state retention was set >> incorrectly. What I'd like to do is have it retain state when I bounce > > The 'Retention Notes' at > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html will provide > insight into how retention works. > >> nagios st I don't get msgs about those I know are down on restart. > Here's >> what I have: >> >> nagios.cfg: >> log_initial_states=0 >> retain_state_information=0 >> state_retention_file=/usr/local/stow/nagios/var/status.sav >> use_retained_program_state=0 >> >> host.cfg: >> retain_status_information 0 >> retain_nonstatus_information 0 >> >> services.cfg: >> retain_status_information 0 >> retain_nonstatus_information 0 > > We use -- > > nagios.cfg - > retain_state_information=1 > use_retained_program_state=0 > state_retention_file=/usr/local/nagios/var/status.sav > > host template - > > retain_status_information 1 > retain_nonstatus_information 1 > > service template - > > retain_status_information 1 > retain_nonstatus_information 1 > > Notifications are not sent out on restart. > Turns out, there were multiple iterations of nagios running as I worked the configs so it muddied the water as to which changes made which results. I'm gonna have to rework the startup to insure it kills all of them. Thanks for everyones help =-=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-= David Stern University of Maryland Institute for Advanced Computer Studies ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 13:33:12 2006 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Fri, 24 Feb 2006 13:33:12 +0100 Subject: mibs HP LaserJet In-Reply-To: References: <1140703242.7595.29.camel@localhost.localdomain> Message-ID: <1140784393.7826.26.camel@localhost.localdomain> On Thu, 2006-02-23 at 20:46 -0500, Subhendu Ghosh wrote: > > I want to monitor the Toner capacity (% of Life Remaining) from our HP > > LaserJet 4100 Series, like the Webinterface show me. > > > > Is there a mib available. > > I can't any on mibdepot.com / hp.com > standard mib - PRINT-MIB > Hi, I can't fine the right Mib on http://www.oidview.com/mibs/0/Printer-MIB.html Does someone know the right mib to monitor the Toner capacity (% of Life Remaining) thanks in advance Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mdash at juniper.net Fri Feb 24 14:05:34 2006 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Fri, 24 Feb 2006 18:35:34 +0530 Subject: Monitoring solaris server without installing any plugin Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3A95D042@gaugeboson.jnpr.net> Hi Peter, I followed the steps as explained by you to configure the monitoring and monitored host for the trusted ssh communication. But still if I do ssh to the monitored host from the monitoring host, it is prompting for the password. Might be something wrong somewhere I am doing. Regards, Dash -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Peter L. Berghold Sent: Thursday, February 23, 2006 10:11 PM To: James E. Pratt Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring solaris server without installing any plugin -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 James E. Pratt wrote: > Hi i have a similar problem where no matter how i try and compile on > either sol8 or sol9 (sparc) using the software from sunfreeware (gcc, > openssl etc etc), i just cannot get NRPE ssl handshakes to work via > inetd... I've tried everything, and triple-checked everything countless > times, but always get the "Failed to complete ssl handshake" message.. > > Can anyone give me any insight, or has seen this issue before? I've seen this in a couple of different cases: 1) trust relationship between the nagios user on the monitoring host and the monitored host is not set up. To do this you need to generate a pair of ssh keys. I always (and I forget why) generate both a dsa key and an rsa key. To do this is pretty simple: a) log in as the user nagios on your monitoring host. b) run ssh-keygen -t rsa ; and answer the questions/prompts accordingly. c) run ssh-keygen -t dsa ; and do the same as (b) d) cd ~/.ssh e) cat *.pub > exported-keys.txt f) scp exported-keys.txt nagios at monitored-host: (note the trailing colon (:) above) g) log on as nagios on the monitored host. f) cat exported-keys.txt >> .ssh/authorized_keys g) cat exported-keys.txt >> .ssh/authorized_keys2 Now, having said all that one of the shortcuts I have on some of my systems is authorized_keys and authorized_keys2 are the same file with one of them being a sym-link to the other. 2) no SSH on the monitored host at all Well.. put it there and and then follow the steps above. 3) nrpe is not being started from inetd (xinetd) AND is not running as a daemon. Then you need to either configure inetd (xinted) accordingly or enable nrpe to be started up from init during system reboot. (or start it manually... whatever floats your boat.) Clear as mud? - -- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Peter L. Berghold Peter at Berghold.Net "Those who fail to learn from history are condemned to repeat it." AIM: redcowdawg Yahoo IM: blue_cowdawg ICQ: 11455958 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org iD8DBQFD/eWPUM9/01RIhaARAvMzAJ9m01XznSLrU8ZLoEXsZxcKGrAm0gCfch6J hlNIo7ZI9dw6usurIkonkJA= =dEf8 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Fri Feb 24 14:24:57 2006 From: simvirus at gmail.com (Sim) Date: Fri, 24 Feb 2006 14:24:57 +0100 Subject: Plugins 1.4.2 In-Reply-To: <005c01c63924$ec89d660$04000100@intranet.it.net> References: <005c01c63924$ec89d660$04000100@intranet.it.net> Message-ID: Hi Marco! Are you using NRPE <2.1 ? > Hi all . > > I compile plugins 1.4.2 on my HP-UX 11.00, running Nagios server 1.3 and > 2.0. > > None is working correctly! Is there any requirements that I have missed? > > Regards > > Marco > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 richard.gliebe at fhv.at Fri Feb 24 14:30:51 2006 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Fri, 24 Feb 2006 14:30:51 +0100 Subject: mibs HP LaserJet In-Reply-To: <1140784393.7826.26.camel@localhost.localdomain> References: <1140703242.7595.29.camel@localhost.localdomain> <1140784393.7826.26.camel@localhost.localdomain> Message-ID: <1140787851.7826.31.camel@localhost.localdomain> On Fri, 2006-02-24 at 13:33 +0100, Richard Gliebe wrote: Me again, > I can't fine the right Mib on > http://www.oidview.com/mibs/0/Printer-MIB.html > > Does someone know the right mib to monitor the Toner capacity (% of Life > Remaining) I found the solution ;-) you have to write a plugin and calculate the: $prtMarkerSuppliesLevel/$prtMarkerSuppliesMaxCapacity*100 so you get the "% of Life Remaining -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josh.kayse at gmail.com Fri Feb 24 15:53:06 2006 From: josh.kayse at gmail.com (Josh Kayse) Date: Fri, 24 Feb 2006 09:53:06 -0500 Subject: Nagios Dependencies Message-ID: <7c8f27920602240653u5d1a30e9g98d2df60c60fb397@mail.gmail.com> I have some questions about dependencies. The setup I have a question about is very basic, it follows here: define host { use generic-host host_name router alias router address 10.10.10.1 } define host { use generic-host host_name machine alias a generic server address 10.10.10.2 parents router } What happens is the router will be marked as down (because we can't ping the address), but the machine is marked as up (because the router is still functioning and we can ping the machine). We'd like for the machine to be marked as down also, but it is not being marked that way. I tried having a: define hostdependency { host_name router dependend_host_name machine notification_failure_criteria d,u } but that doesn't work either. Is it possible in nagios, if so, what am I missing? Thanks -- Joshua Kayse Computer Engineering -------------- next part -------------- An HTML attachment was scrubbed... URL: From Robert.Wagner at wausaubenefits.com Fri Feb 24 16:49:31 2006 From: Robert.Wagner at wausaubenefits.com (Robert Wagner) Date: Fri, 24 Feb 2006 09:49:31 -0600 Subject: NTray Maintenance Release Message-ID: There is a new NTray maintenance release, v1.1b. It hasn't been extensively tested, but the fixes were very minor. Most people probably don't need this release unless: Here's the quick list of fixes: -You have slash characters in your service names in Nagios. (NTray would have ignored them before) -You need to use an alternative config file - the 1.1 release would ignore the -c option to force a different config file. You can get the new release at www.nagiosexchange.org (AddOn Projects -> Frontends) Rob Wagner, NTray Guy This communication is intended only for the recipient(s) named above; may be confidential and/or legally privileged; and, must be treated as such in accordance with state and federal laws. If you are not the intended recipient, you are hereby notified that any use of this communication, or any of its contents, is prohibited. If you have received this communication in error, please return it to Robert Wagner and delete the message from your computer system. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ton.voon at altinity.com Fri Feb 24 17:21:27 2006 From: ton.voon at altinity.com (Ton Voon) Date: Fri, 24 Feb 2006 16:21:27 +0000 Subject: Reporting and misc rave. In-Reply-To: <002d01c62b5e$a29e95a0$1d5cd882@438LG01sshi052> References: <002d01c62b5e$a29e95a0$1d5cd882@438LG01sshi052> Message-ID: <00CF8C6E-267F-4DC8-85DA-AF9C920CDF32@altinity.com> On 6 Feb 2006, at 20:48, Steve Shipway wrote: > 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? This is open source software. **We** are the development team :) We've made a patch to include an issue_commands option to the contacts definition to get this functionality. This has been done to the 2.0 code. It is available here: http://www.altinity.org/ I'll submit to nagios-devel to see if Ethan will include it into the main branches. 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drussell at mpifix.com Fri Feb 24 17:47:36 2006 From: drussell at mpifix.com (Danny Russell) Date: Fri, 24 Feb 2006 09:47:36 -0700 Subject: Bandwidth Plugin Message-ID: <028B223BB24E5443A9784BBE1CC5EBE09C12D7@Lisa.mpifix.com> Hello, Is there a plug-in that tests throughput? I am looking for something simple that just downloads a 1meg file from somewhere and then reports back the speeds with some thresholds... Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Fri Feb 24 17:54:49 2006 From: marc at ena.com (Marc Powell) Date: Fri, 24 Feb 2006 10:54:49 -0600 Subject: Plugins 1.4.2 Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Marco Borsani > Sent: Friday, February 24, 2006 3:30 AM > To: 'NAGIOS' > Subject: [Nagios-users] Plugins 1.4.2 > > Hi all . > > I compile plugins 1.4.2 on my HP-UX 11.00, running Nagios server 1.3 and > 2.0. > > None is working correctly! Is there any requirements that I have missed? I think the only answer given the information you've provided is to read the REQUIREMENTS file. =) If you need more help, a more detailed explanation of 'None is working correctly!' would be necessary. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 24 18:37:49 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Fri, 24 Feb 2006 18:37:49 +0100 Subject: tac.cgi colors Message-ID: <619cf3c0602240937wdc948b9w@mail.gmail.com> Hi, I'd like to have the tactical overview giving colors more meaningful as yellow for warning and orange for unknown. I have seen a tac.c file on Nagios Exchange but i failed to compile it. Is it compatible with nagios 1.3? The compile time gives that : linuxserver:/usr/local/nagios/cgi# gcc -o tac.cgi2 tac.c tac.c:66: error: syntax error before '*' token tac.c:66: warning: data definition has no type or storage class tac.c:67: error: syntax error before '*' token tac.c:67: warning: data definition has no type or storage class tac.c: In function 'main': tac.c:220: error: 'READ_ALL_STATUS_DATA' undeclared (first use in this function) tac.c:220: error: (Each undeclared identifier is reported only once tac.c:220: error: for each function it appears in.) tac.c: In function 'analyze_status_data': tac.c:393: error: 'servicestatus' undeclared (first use in this function) tac.c:393: error: 'temp_servicestatus' undeclared (first use in this function) tac.c:395: error: 'hoststatus' undeclared (first use in this function) tac.c:395: error: 'temp_hoststatus' undeclared (first use in this function) tac.c:437: error: 'SERVICE_OK' undeclared (first use in this function) tac.c:437: error: 'SERVICE_RECOVERY' undeclared (first use in this function) tac.c:445: error: 'SERVICE_WARNING' undeclared (first use in this function) tac.c:447: error: 'HOST_DOWN' undeclared (first use in this function) tac.c:447: error: 'HOST_UNREACHABLE' undeclared (first use in this function) tac.c:468: error: 'SERVICE_UNKNOWN' undeclared (first use in this function) tac.c:491: error: 'SERVICE_CRITICAL' undeclared (first use in this function) tac.c:514: error: 'SERVICE_PENDING' undeclared (first use in this function) tac.c:592: error: 'HOST_UP' undeclared (first use in this function) tac.c:636: error: 'HOST_PENDING' undeclared (first use in this function) tac.c: In function 'find_hosts_causing_outages': tac.c:685: error: 'hoststatus' undeclared (first use in this function) tac.c:685: error: 'temp_hoststatus' undeclared (first use in this function) tac.c:697: error: 'HOST_UP' undeclared (first use in this function) tac.c:697: error: 'HOST_PENDING' undeclared (first use in this function) tac.c: In function 'is_route_to_host_blocked': tac.c:800: error: 'hoststatus' undeclared (first use in this function) tac.c:800: error: 'temp_hoststatus' undeclared (first use in this function) tac.c:816: error: 'HOST_UP' undeclared (first use in this function) tac.c:816: error: 'HOST_PENDING' undeclared (first use in this function) tac.c: In function 'display_tac_overview': tac.c:1046: error: 'HOST_DOWN' undeclared (first use in this function) tac.c:1047: error: 'HOST_UNREACHABLE' undeclared (first use in this function) tac.c:1048: error: 'HOST_UP' undeclared (first use in this function) tac.c:1049: error: 'HOST_PENDING' undeclared (first use in this function) tac.c:1186: error: 'SERVICE_CRITICAL' undeclared (first use in this function) tac.c:1187: error: 'SERVICE_WARNING' undeclared (first use in this function) tac.c:1188: error: 'SERVICE_UNKNOWN' undeclared (first use in this function) tac.c:1189: error: 'SERVICE_OK' undeclared (first use in this function) tac.c:1190: error: 'SERVICE_PENDING' undeclared (first use in this function) tac.c:1311: error: 'SERVICE_RECOVERY' undeclared (first use in this function) Thanks for support. -- Le bon sens est la chose du monde la mieux partag?e. -------------- next part -------------- An HTML attachment was scrubbed... URL: From CWaters at jeld-wen.com Fri Feb 24 18:44:14 2006 From: CWaters at jeld-wen.com (Chris Waters) Date: Fri, 24 Feb 2006 09:44:14 -0800 Subject: nagiostats Message-ID: <83C21E03494FF147B56468B505517821DC8714@jwmail01.domain.jw.local> Nagios 2.0b6 Fedora Core 4 x86_64 Has anyone created a patch to include an acknowledged hosts/services count in the nagiostats output? I have to create a "redlight/greenlight" display for a manager (green when everything is handled, red when it's not) and it would be really easy to do if the number of acked hosts and services was included in the the output. So instead of this: Hosts Up/Down/Unreach: 275 / 3 / 0 We could have: Hosts Up/Down/Unreach/Ackd: 275 / 3 / 0/3 Same thing for services. If no one has already done this... I will attempt to (not really a c programmer). If anyone else is interested in this, I will be happy to provide my changes to whomever. I know I could get this data by other methods but this seems like a logical place to get it from anyway. Chris Waters Technology Services: Networks WAN/LAN Technician JELD-WEN, inc. Information Systems cwaters at jeld-wen.com RELIABILITY for real life(r) This correspondence is for the named person's use only. It may contain confidential or legally privileged information and is intended solely for the named addressee. If you receive this correspondence in error, please notify the sender and delete it from your system. You must not disclose, copy or rely on any part of this correspondence if you are not the intended recipient. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rex at 2020media.com Fri Feb 24 18:44:45 2006 From: rex at 2020media.com (Rex Wickham) Date: Fri, 24 Feb 2006 18:44:45 +0100 (CET) Subject: SQL Server monitoring In-Reply-To: <007301c604cf$db238f80$af15a8c0@NEWGUY> References: <007301c604cf$db238f80$af15a8c0@NEWGUY> Message-ID: <20060224174445.DB7154F40E3@desire.netways.de> Hi Jason I used the check_mssql plugin from the source contrib directory. however I found i had to change a couple of things to get it to work on my box. 1: In lines 20-28 the "which" commands didn't work for me. I entered the commands directly, and so then had to change the back ticks (`) to forward ticks (') otherwise it started executing these commands! 2: on line 68 $tsqlcmd -S $hostname -U $usr -P $pswd < $tmpfile 2>$errorfile > $resultfile I changed this to $tsqlcmd -H $hostname -U $usr -P $pswd -p 1433 < $tmpfile 2>$errorfile > $resultfile The login you create on your SQL server will need public access to the Master database in order to read the sysprocesses table. When you run the command, don't put in -H etc. Just the host, username, password and server version (2000 or 7). eg: ./check_mssql.sh xxx.xxx.xxx.xxx username password 2000 Hope that helps. - 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]=13788 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 daniel at dep.fem.unicamp.br Fri Feb 24 19:19:09 2006 From: daniel at dep.fem.unicamp.br (Daniel Carvalho) Date: Fri, 24 Feb 2006 19:19:09 +0100 (CET) Subject: nagios check-host-alive always down Message-ID: <20060224181909.3D4704F40E3@desire.netways.de> Hi list I?m a new nagios user and running in some configuration problems. I installed nagios 1.3-14 and nagios-plugins 1.4-2.2, and configured hosts, hostgroup, etc. Everything works fine, but the notifications always come with host DOWN. What happend with nagios??? Thanks and best regards - Daniel Carvalho (dlcarvalho) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 daniel at dep.fem.unicamp.br Fri Feb 24 19:19:26 2006 From: daniel at dep.fem.unicamp.br (Daniel Carvalho) Date: Fri, 24 Feb 2006 19:19:26 +0100 (CET) Subject: nagios check-host-alive always down Message-ID: <20060224181926.BF81D4F40E3@desire.netways.de> Hi list I?m a new nagios user and running in some configuration problems. I installed nagios 1.3-14 and nagios-plugins 1.4-2.2, and configured hosts, hostgroup, etc. Everything works fine, but the notifications always come with host DOWN. What happend with nagios??? Thanks and best regards - Daniel Carvalho (dlcarvalho) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 daniel at dep.fem.unicamp.br Fri Feb 24 19:20:46 2006 From: daniel at dep.fem.unicamp.br (Daniel Carvalho) Date: Fri, 24 Feb 2006 15:20:46 -0300 Subject: nagios check-host-alive always down In-Reply-To: <1140804188.001255.129600@z34g2000cwc.googlegroups.com> References: <1140804188.001255.129600@z34g2000cwc.googlegroups.com> Message-ID: <4ed3d40d0602241020t3b443541sc4ed193d853246b3@mail.gmail.com> Hi list I?m a new nagios user and running in some configuration problems. I installed nagios 1.3-14 and nagios-plugins 1.4-2.2, and configured hosts, hostgroup, etc. Everything works fine, but the notifications always come with host DOWN. What happend with nagios??? Thanks and best regards Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL: From daniel at dep.fem.unicamp.br Fri Feb 24 19:21:37 2006 From: daniel at dep.fem.unicamp.br (Daniel Carvalho) Date: Fri, 24 Feb 2006 19:21:37 +0100 (CET) Subject: nagios check-host-alive always down Message-ID: <20060224182137.E5BCA4F40E3@desire.netways.de> Hi list I?m a new nagios user and running in some configuration problems. I installed nagios 1.3-14 and nagios-plugins 1.4-2.2, and configured hosts, hostgroup, etc. Everything works fine, but the notifications always come with host DOWN. What happend with nagios??? Thanks and best regards - Daniel Carvalho (dlcarvalho) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 24 20:19:18 2006 From: marc at ena.com (Marc Powell) Date: Fri, 24 Feb 2006 13:19:18 -0600 Subject: nagios check-host-alive always down Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Daniel Carvalho > Sent: Friday, February 24, 2006 12:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios check-host-alive always down > > Hi list > > > > I?m a new nagios user and running in some configuration problems. > > > > I installed nagios 1.3-14 and nagios-plugins 1.4-2.2, and configured > hosts, hostgroup, etc. Everything works fine, but the notifications > always come with host DOWN. What happend with nagios??? This was sent to the mailing list 4 times. You might want to check your mailer. Chances are nagios is doing exactly what you've told it to do. In order for us to be able to help you troubleshoot this issue, you'll need to provide us with more specific information about your configuration and the problem. Does the host/service show down in the web interface? What is the status information? Please show us an example host definition, service definition, their associated command definitions and the notification command definition that is used when you receive these bad notifications. Any relevant 'error' output would be useful as well. As with any kind of problem, it's hard to troubleshoot if you don't have specific information about the problem. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 td3201 at gmail.com Fri Feb 24 20:19:57 2006 From: td3201 at gmail.com (Terry) Date: Fri, 24 Feb 2006 13:19:57 -0600 Subject: downtime external command v1.0 Message-ID: <8ee061010602241119v25a189den70f0167e136d8062@mail.gmail.com> Hello, I am using version 1.2. Is there an external command to put a service into downtime? I am referncing this FAQ: http://nagios.org/faqs/viewfaq.php?faq_id=80 Last update is 10/2002, so I am thinking it is, just not finding it in the docs. Thanks! ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 24 20:26:19 2006 From: jhmartin at toger.us (Jason Martin) Date: Fri, 24 Feb 2006 11:26:19 -0800 Subject: downtime external command v1.0 In-Reply-To: <8ee061010602241119v25a189den70f0167e136d8062@mail.gmail.com> References: <8ee061010602241119v25a189den70f0167e136d8062@mail.gmail.com> Message-ID: <20060224192619.GH7611@mal.toger.us> On Fri, Feb 24, 2006 at 01:19:57PM -0600, Terry wrote: > I am using version 1.2. Is there an external command to put a service > into downtime? I am referncing this FAQ: > http://nagios.org/faqs/viewfaq.php?faq_id=80 Its in the manual instead of the FAQ: http://www.nagios.org/developerinfo/externalcommands/commandlist.php specficially, http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=119 -Jason Martin -- "I think not," said Descartes, and promptly disappeared. 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 hvdkooij at vanderkooij.org Fri Feb 24 20:33:16 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 24 Feb 2006 20:33:16 +0100 (CET) Subject: nagios check-host-alive always down In-Reply-To: References: Message-ID: On Fri, 24 Feb 2006, Marc Powell wrote: > > I?m a new nagios user and running in some configuration problems. > > This was sent to the mailing list 4 times. You might want to check your mailer. This problem resides between keyboard and chair as one can see from the header the message is even send from different systems. 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Fri Feb 24 20:38:43 2006 From: td3201 at gmail.com (Terry) Date: Fri, 24 Feb 2006 13:38:43 -0600 Subject: downtime external command v1.0 In-Reply-To: <20060224192619.GH7611@mal.toger.us> References: <8ee061010602241119v25a189den70f0167e136d8062@mail.gmail.com> <20060224192619.GH7611@mal.toger.us> Message-ID: <8ee061010602241138s208ef3c3g5571d3e8e7132ff3@mail.gmail.com> Uh oh... Nagios Version(s): 2.x 3.x How can the faq be written in 2002 and be for versions 2/3? On 2/24/06, Jason Martin wrote: > On Fri, Feb 24, 2006 at 01:19:57PM -0600, Terry wrote: > > I am using version 1.2. Is there an external command to put a service > > into downtime? I am referncing this FAQ: > > http://nagios.org/faqs/viewfaq.php?faq_id=80 > Its in the manual instead of the FAQ: > http://www.nagios.org/developerinfo/externalcommands/commandlist.php > specficially, > http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=119 > > -Jason Martin > -- > "I think not," said Descartes, and promptly disappeared. > This message is PGP/MIME signed. > > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 jdbigg at gmail.com Fri Feb 24 20:55:44 2006 From: jdbigg at gmail.com (Joe Jackson) Date: Fri, 24 Feb 2006 13:55:44 -0600 Subject: TXT Message a sell phone Message-ID: <84745c520602241155u2d5a1f42o395d60387252067b@mail.gmail.com> Is there a way to make Nagios send text messages to a cell phone? -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew at profitability.net Fri Feb 24 21:02:12 2006 From: andrew at profitability.net (Andrew Cruse) Date: Fri, 24 Feb 2006 15:02:12 -0500 Subject: TXT Message a sell phone In-Reply-To: <84745c520602241155u2d5a1f42o395d60387252067b@mail.gmail.com> References: <84745c520602241155u2d5a1f42o395d60387252067b@mail.gmail.com> Message-ID: >From the FAQ: http://www.nagios.org/faqs/viewfaq.php?faq_id=113 &expand=false&showdesc=false How can I have notifications sent to an alphanumeric pager? There are two ways you can do this. If your paging company has an email-pager gateway, you can simply have Nagios send an email message to your pager address. An example of this type of address might look like: pageme at somepagingcompany.com. You should note that sending notifications through email might fail if SMTP or DNS services are down or if your connection to the greater Internet is down. An alternative to sending pager messages through an email gateway would be to hook a modem up to your monitoring host and have Nagios dial out through the modem and send the message using the TAP (IXO) protocol. There are several programs that can do this for you on *NIX systems. Two popular ones seem to be Sendpage and QuickPage . Andrew _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Joe Jackson Sent: Friday, February 24, 2006 2:56 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] TXT Message a sell phone Is there a way to make Nagios send text messages to a cell phone? -------------- next part -------------- An HTML attachment was scrubbed... URL: From deballing at vassar.edu Fri Feb 24 21:06:13 2006 From: deballing at vassar.edu (Derek J. Balling) Date: Fri, 24 Feb 2006 15:06:13 -0500 Subject: TXT Message a sell phone In-Reply-To: References: Message-ID: Cell Phone != Alphanumeric Pager Lots of cell providers simply don't provide IXO/TAP service. And, as you point out, e-mailing to an e-mail address is all well and good unless your report is "Core Router Down", then you might find out about it, several times, after you've repaired it. :-) You want to investigate using enterprise-level SMS services. We're in the process right now of doing some of that research ourselves, and so would be interested to hear from others. D On Feb 24, 2006, at 3:02 PM, Andrew Cruse wrote: > From the FAQ: http://www.nagios.org/faqs/viewfaq.php? > faq_id=113&expand=false&showdesc=false > > > How can I have notifications sent to an alphanumeric pager? > > There are two ways you can do this. > If your paging company has an email-pager gateway, you can simply > have Nagios send an email message to your pager address. An example > of this type of address might look like: pageme at somepagingcompany.com. > > You should note that sending notifications through email might fail > if SMTP or DNS services are down or if your connection to the > greater Internet is down. An alternative to sending pager messages > through an email gateway would be to hook a modem up to your > monitoring host and have Nagios dial out through the modem and send > the message using the TAP (IXO) protocol. There are several > programs that can do this for you on *NIX systems. Two popular ones > seem to be Sendpage and QuickPage. > > Andrew > > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Joe Jackson > Sent: Friday, February 24, 2006 2:56 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] TXT Message a sell phone > > Is there a way to make Nagios send text messages to a cell phone? -- Derek J. Balling Systems Administrator Vassar College 124 Raymond Ave Box 13 - Computer Center 221 Poughkeepsie, NY 12604 (845) 437-7231 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2423 bytes Desc: not available URL: From marc at ena.com Fri Feb 24 21:08:28 2006 From: marc at ena.com (Marc Powell) Date: Fri, 24 Feb 2006 14:08:28 -0600 Subject: nagios check-host-alive always down Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Hugo van der Kooij > Sent: Friday, February 24, 2006 1:33 PM > To: Nagios Users Mailinglist > Subject: RE: [Nagios-users] nagios check-host-alive always down > > On Fri, 24 Feb 2006, Marc Powell wrote: > > > > I?m a new nagios user and running in some configuration problems. > > > > This was sent to the mailing list 4 times. You might want to check your > mailer. > > This problem resides between keyboard and chair as one can see from the > header the message is even send from different systems. > > Hugo. Yup. I knew that but wanted to be tactful ;) -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 jdbigg at gmail.com Fri Feb 24 21:13:26 2006 From: jdbigg at gmail.com (Joe Jackson) Date: Fri, 24 Feb 2006 14:13:26 -0600 Subject: TXT Message a sell phone In-Reply-To: References: Message-ID: <84745c520602241213u6d876593gd084d9bf118db96c@mail.gmail.com> Derek, Thanks for your comments. I think you pretty much understand what I am trying to do, but just to clarify; I would like to be able to send messages to cell phones..Right, well our corporate cell carrier is Virizon, if you don't already know, you can send an SMS text message to a Verizon cell phone by sending an SMTP e-mail to the phone number like this: (cell Phone-Number)@vtext.com, now is there a way to make Nagios send mail to that number? I noticed that there is no where in Nagios (unless i missed it some where) to setup SMTP gateway information, so sending e-mail to outside e-mail addresses isn't possible, please correct if i am wrong. Thanks, Joe On 2/24/06, Derek J. Balling wrote: > > Cell Phone != Alphanumeric Pager > > Lots of cell providers simply don't provide IXO/TAP service. > > And, as you point out, e-mailing to an e-mail address is all well and > good unless your report is "Core Router Down", then you might find > out about it, several times, after you've repaired it. :-) > > You want to investigate using enterprise-level SMS services. We're in > the process right now of doing some of that research ourselves, and > so would be interested to hear from others. > > D > > On Feb 24, 2006, at 3:02 PM, Andrew Cruse wrote: > > > From the FAQ: http://www.nagios.org/faqs/viewfaq.php? > > faq_id=113&expand=false&showdesc=false > > > > > > How can I have notifications sent to an alphanumeric pager? > > > > There are two ways you can do this. > > If your paging company has an email-pager gateway, you can simply > > have Nagios send an email message to your pager address. An example > > of this type of address might look like: pageme at somepagingcompany.com. > > > > You should note that sending notifications through email might fail > > if SMTP or DNS services are down or if your connection to the > > greater Internet is down. An alternative to sending pager messages > > through an email gateway would be to hook a modem up to your > > monitoring host and have Nagios dial out through the modem and send > > the message using the TAP (IXO) protocol. There are several > > programs that can do this for you on *NIX systems. Two popular ones > > seem to be Sendpage and QuickPage. > > > > Andrew > > > > > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Joe Jackson > > Sent: Friday, February 24, 2006 2:56 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] TXT Message a sell phone > > > > Is there a way to make Nagios send text messages to a cell phone? > > -- > > Derek J. Balling > Systems Administrator > Vassar College > 124 Raymond Ave > Box 13 - Computer Center 221 > Poughkeepsie, NY 12604 > (845) 437-7231 > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From deballing at vassar.edu Fri Feb 24 21:15:28 2006 From: deballing at vassar.edu (Derek J. Balling) Date: Fri, 24 Feb 2006 15:15:28 -0500 Subject: TXT Message a sell phone In-Reply-To: <84745c520602241213u6d876593gd084d9bf118db96c@mail.gmail.com> References: <84745c520602241213u6d876593gd084d9bf118db96c@mail.gmail.com> Message-ID: Well, if you're just trying to send it via e-mail, you can send it like any other e-mail message. Nagios basically injects its e-mail into its local MTA on that box, which is configured however you set it up (and that's a little outside the scope of this list, but relaying to offsite domains like Verizon should be a factory config pretty much). cheers, D On Feb 24, 2006, at 3:13 PM, Joe Jackson wrote: > Derek, > Thanks for your comments. I think you pretty much understand what > I am trying to do, but just to clarify; I would like to be able to > send messages to cell phones..Right, well our corporate cell > carrier is Virizon, if you don't already know, you can send an SMS > text message to a Verizon cell phone by sending an SMTP e-mail to > the phone number like this: (cell Phone-Number)@ vtext.com, now is > there a way to make Nagios send mail to that number? I noticed that > there is no where in Nagios (unless i missed it some where) to > setup SMTP gateway information, so sending e-mail to outside e-mail > addresses isn't possible, please correct if i am wrong. > > Thanks, > Joe > > > On 2/24/06, Derek J. Balling wrote: Cell > Phone != Alphanumeric Pager > > Lots of cell providers simply don't provide IXO/TAP service. > > And, as you point out, e-mailing to an e-mail address is all well and > good unless your report is "Core Router Down", then you might find > out about it, several times, after you've repaired it. :-) > > You want to investigate using enterprise-level SMS services. We're in > the process right now of doing some of that research ourselves, and > so would be interested to hear from others. > > D > > On Feb 24, 2006, at 3:02 PM, Andrew Cruse wrote: > > > From the FAQ: http://www.nagios.org/faqs/viewfaq.php? > > faq_id=113&expand=false&showdesc=false > > > > > > How can I have notifications sent to an alphanumeric pager? > > > > There are two ways you can do this. > > If your paging company has an email-pager gateway, you can simply > > have Nagios send an email message to your pager address. An example > > of this type of address might look like: > pageme at somepagingcompany.com. > > > > You should note that sending notifications through email might fail > > if SMTP or DNS services are down or if your connection to the > > greater Internet is down. An alternative to sending pager messages > > through an email gateway would be to hook a modem up to your > > monitoring host and have Nagios dial out through the modem and send > > the message using the TAP (IXO) protocol. There are several > > programs that can do this for you on *NIX systems. Two popular ones > > seem to be Sendpage and QuickPage. > > > > Andrew > > > > > > From: nagios-users-admin at lists.sourceforge.net [mailto: nagios- > users- > > admin at lists.sourceforge.net] On Behalf Of Joe Jackson > > Sent: Friday, February 24, 2006 2:56 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] TXT Message a sell phone > > > > Is there a way to make Nagios send text messages to a cell phone? > > -- > > Derek J. Balling > Systems Administrator > Vassar College > 124 Raymond Ave > Box 13 - Computer Center 221 > Poughkeepsie, NY 12604 > (845) 437-7231 > > > > > -- Derek J. Balling Systems Administrator Vassar College 124 Raymond Ave Box 13 - Computer Center 221 Poughkeepsie, NY 12604 (845) 437-7231 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2423 bytes Desc: not available URL: From jeff at dynamictelecard.com Fri Feb 24 21:15:58 2006 From: jeff at dynamictelecard.com (Jeff Davis) Date: Fri, 24 Feb 2006 14:15:58 -0600 Subject: TXT Message a sell phone In-Reply-To: <84745c520602241155u2d5a1f42o395d60387252067b@mail.gmail.com> References: <84745c520602241155u2d5a1f42o395d60387252067b@mail.gmail.com> Message-ID: <43FF697E.3030604@dynamictelecard.com> Yes. You'll need to have Something like this in your contacts.cfg (Note the pager line and the host-notify-by-epager) define contact{ contact_name jeff alias Me service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email,host-notify-by-epager email jeff at somedomain.com pager 9993719999 at vtext.com } You're phone and phone service plan of course will need to support this as well. Joe Jackson wrote: > Is there a way to make Nagios send text messages to a cell phone? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdbigg at gmail.com Fri Feb 24 22:11:27 2006 From: jdbigg at gmail.com (Joe Jackson) Date: Fri, 24 Feb 2006 15:11:27 -0600 Subject: TXT Message a sell phone In-Reply-To: <43FF697E.3030604@dynamictelecard.com> References: <84745c520602241155u2d5a1f42o395d60387252067b@mail.gmail.com> <43FF697E.3030604@dynamictelecard.com> Message-ID: <84745c520602241311u4407ed0x7afc0afdd3259468@mail.gmail.com> Jeff, Thanks for you input, however this is not working, it send to e-mail addresses on my local domain, but not to any address out side of that. On 2/24/06, Jeff Davis wrote: > > Yes. > You'll need to have > Something like this in your contacts.cfg > (Note the pager line and the host-notify-by-epager) > > define contact{ > contact_name jeff > alias Me > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,u,r > service_notification_commands notify-by-email > > host_notification_commands host-notify-by-email,host-notify-by-epager > email jeff at somedomain.com > pager 9993719999 at vtext.com > > > } > > You're phone and phone service plan of course will need to support this as > well. > > > Joe Jackson wrote: > > Is there a way to make Nagios send text messages to a cell phone? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdbigg at gmail.com Fri Feb 24 22:13:42 2006 From: jdbigg at gmail.com (Joe Jackson) Date: Fri, 24 Feb 2006 15:13:42 -0600 Subject: TXT Message a sell phone In-Reply-To: References: <84745c520602241213u6d876593gd084d9bf118db96c@mail.gmail.com> Message-ID: <84745c520602241313p6bb76a40n7427babc12ddedfc@mail.gmail.com> Derek, That is pretty much what i though, but i guess i have something goofed up. It will send mail enternal to our domain/exchange server, but nothing out side of our domain, (i.e. Vtext.com). Is there a way inside Nagios to tell it to send all out bound mail through our Exchange server? On 2/24/06, Derek J. Balling wrote: > > Well, if you're just trying to send it via e-mail, you can send it > like any other e-mail message. Nagios basically injects its e-mail > into its local MTA on that box, which is configured however you set > it up (and that's a little outside the scope of this list, but > relaying to offsite domains like Verizon should be a factory config > pretty much). > > cheers, > D > > On Feb 24, 2006, at 3:13 PM, Joe Jackson wrote: > > > Derek, > > Thanks for your comments. I think you pretty much understand what > > I am trying to do, but just to clarify; I would like to be able to > > send messages to cell phones..Right, well our corporate cell > > carrier is Virizon, if you don't already know, you can send an SMS > > text message to a Verizon cell phone by sending an SMTP e-mail to > > the phone number like this: (cell Phone-Number)@ vtext.com, now is > > there a way to make Nagios send mail to that number? I noticed that > > there is no where in Nagios (unless i missed it some where) to > > setup SMTP gateway information, so sending e-mail to outside e-mail > > addresses isn't possible, please correct if i am wrong. > > > > Thanks, > > Joe > > > > > > On 2/24/06, Derek J. Balling wrote: Cell > > Phone != Alphanumeric Pager > > > > Lots of cell providers simply don't provide IXO/TAP service. > > > > And, as you point out, e-mailing to an e-mail address is all well and > > good unless your report is "Core Router Down", then you might find > > out about it, several times, after you've repaired it. :-) > > > > You want to investigate using enterprise-level SMS services. We're in > > the process right now of doing some of that research ourselves, and > > so would be interested to hear from others. > > > > D > > > > On Feb 24, 2006, at 3:02 PM, Andrew Cruse wrote: > > > > > From the FAQ: http://www.nagios.org/faqs/viewfaq.php? > > > faq_id=113&expand=false&showdesc=false > > > > > > > > > How can I have notifications sent to an alphanumeric pager? > > > > > > There are two ways you can do this. > > > If your paging company has an email-pager gateway, you can simply > > > have Nagios send an email message to your pager address. An example > > > of this type of address might look like: > > pageme at somepagingcompany.com. > > > > > > You should note that sending notifications through email might fail > > > if SMTP or DNS services are down or if your connection to the > > > greater Internet is down. An alternative to sending pager messages > > > through an email gateway would be to hook a modem up to your > > > monitoring host and have Nagios dial out through the modem and send > > > the message using the TAP (IXO) protocol. There are several > > > programs that can do this for you on *NIX systems. Two popular ones > > > seem to be Sendpage and QuickPage. > > > > > > Andrew > > > > > > > > > From: nagios-users-admin at lists.sourceforge.net [mailto: nagios- > > users- > > > admin at lists.sourceforge.net] On Behalf Of Joe Jackson > > > Sent: Friday, February 24, 2006 2:56 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] TXT Message a sell phone > > > > > > Is there a way to make Nagios send text messages to a cell phone? > > > > -- > > > > Derek J. Balling > > Systems Administrator > > Vassar College > > 124 Raymond Ave > > Box 13 - Computer Center 221 > > Poughkeepsie, NY 12604 > > (845) 437-7231 > > > > > > > > > > > > -- > > Derek J. Balling > Systems Administrator > Vassar College > 124 Raymond Ave > Box 13 - Computer Center 221 > Poughkeepsie, NY 12604 > (845) 437-7231 > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew at profitability.net Fri Feb 24 22:19:18 2006 From: andrew at profitability.net (Andrew Cruse) Date: Fri, 24 Feb 2006 16:19:18 -0500 Subject: TXT Message a sell phone In-Reply-To: <84745c520602241313p6bb76a40n7427babc12ddedfc@mail.gmail.com> References: <84745c520602241313p6bb76a40n7427babc12ddedfc@mail.gmail.com> Message-ID: Is your Nagios server permitted to relay through your Exchange server? Andrew _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Joe Jackson Sent: Friday, February 24, 2006 4:14 PM To: Derek J. Balling Cc: Andrew Cruse; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] TXT Message a sell phone Derek, That is pretty much what i though, but i guess i have something goofed up. It will send mail enternal to our domain/exchange server, but nothing out side of our domain, (i.e. Vtext.com ). Is there a way inside Nagios to tell it to send all out bound mail through our Exchange server? On 2/24/06, Derek J. Balling wrote: Well, if you're just trying to send it via e-mail, you can send it like any other e-mail message. Nagios basically injects its e-mail into its local MTA on that box, which is configured however you set it up (and that's a little outside the scope of this list, but relaying to offsite domains like Verizon should be a factory config pretty much). cheers, D On Feb 24, 2006, at 3:13 PM, Joe Jackson wrote: > Derek, > Thanks for your comments. I think you pretty much understand what > I am trying to do, but just to clarify; I would like to be able to > send messages to cell phones..Right, well our corporate cell > carrier is Virizon, if you don't already know, you can send an SMS > text message to a Verizon cell phone by sending an SMTP e-mail to > the phone number like this: (cell Phone-Number)@ vtext.com, now is > there a way to make Nagios send mail to that number? I noticed that > there is no where in Nagios (unless i missed it some where) to > setup SMTP gateway information, so sending e-mail to outside e-mail > addresses isn't possible, please correct if i am wrong. > > Thanks, > Joe > > > On 2/24/06, Derek J. Balling < deballing at vassar.edu> wrote: Cell > Phone != Alphanumeric Pager > > Lots of cell providers simply don't provide IXO/TAP service. > > And, as you point out, e-mailing to an e-mail address is all well and > good unless your report is "Core Router Down", then you might find > out about it, several times, after you've repaired it. :-) > > You want to investigate using enterprise-level SMS services. We're in > the process right now of doing some of that research ourselves, and > so would be interested to hear from others. > > D > > On Feb 24, 2006, at 3:02 PM, Andrew Cruse wrote: > > > From the FAQ: http://www.nagios.org/faqs/viewfaq.php? > > faq_id=113&expand=false&showdesc=false > > > > > > How can I have notifications sent to an alphanumeric pager? > > > > There are two ways you can do this. > > If your paging company has an email-pager gateway, you can simply > > have Nagios send an email message to your pager address. An example > > of this type of address might look like: > pageme at somepagingcompany.com. > > > > You should note that sending notifications through email might fail > > if SMTP or DNS services are down or if your connection to the > > greater Internet is down. An alternative to sending pager messages > > through an email gateway would be to hook a modem up to your > > monitoring host and have Nagios dial out through the modem and send > > the message using the TAP (IXO) protocol. There are several > > programs that can do this for you on *NIX systems. Two popular ones > > seem to be Sendpage and QuickPage. > > > > Andrew > > > > > > From: nagios-users-admin at lists.sourceforge.net [mailto: nagios- > users- > > admin at lists.sourceforge.net] On Behalf Of Joe Jackson > > Sent: Friday, February 24, 2006 2:56 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] TXT Message a sell phone > > > > Is there a way to make Nagios send text messages to a cell phone? > > -- > > Derek J. Balling > Systems Administrator > Vassar College > 124 Raymond Ave > Box 13 - Computer Center 221 > Poughkeepsie, NY 12604 > (845) 437-7231 > > > > > -- Derek J. Balling Systems Administrator Vassar College 124 Raymond Ave Box 13 - Computer Center 221 Poughkeepsie, NY 12604 (845) 437-7231 -------------- next part -------------- An HTML attachment was scrubbed... URL: From plathrop at squaretrade.com Fri Feb 24 22:21:26 2006 From: plathrop at squaretrade.com (Paul Lathrop) Date: Fri, 24 Feb 2006 13:21:26 -0800 Subject: TXT Message a sell phone In-Reply-To: <84745c520602241313p6bb76a40n7427babc12ddedfc@mail.gmail.com> References: <84745c520602241213u6d876593gd084d9bf118db96c@mail.gmail.com> <84745c520602241313p6bb76a40n7427babc12ddedfc@mail.gmail.com> Message-ID: <43FF78D6.4030605@squaretrade.com> Joe, The problem you are having lies *outside* of Nagios. You need to configure the local system (where Nagios is installed) to properly send oubound mail through the Exchange server. Joe Jackson wrote: > Derek, > That is pretty much what i though, but i guess i have something goofed up. > It will send mail enternal to our domain/exchange server, but nothing out > side of our domain, (i.e. Vtext.com). Is there a way inside Nagios to tell > it to send all out bound mail through our Exchange server? > > > On 2/24/06, Derek J. Balling wrote: > >>Well, if you're just trying to send it via e-mail, you can send it >>like any other e-mail message. Nagios basically injects its e-mail >>into its local MTA on that box, which is configured however you set >>it up (and that's a little outside the scope of this list, but >>relaying to offsite domains like Verizon should be a factory config >>pretty much). >> >>cheers, >>D >> >>On Feb 24, 2006, at 3:13 PM, Joe Jackson wrote: >> >> >>>Derek, >>> Thanks for your comments. I think you pretty much understand what >>>I am trying to do, but just to clarify; I would like to be able to >>>send messages to cell phones..Right, well our corporate cell >>>carrier is Virizon, if you don't already know, you can send an SMS >>>text message to a Verizon cell phone by sending an SMTP e-mail to >>>the phone number like this: (cell Phone-Number)@ vtext.com, now is >>>there a way to make Nagios send mail to that number? I noticed that >>>there is no where in Nagios (unless i missed it some where) to >>>setup SMTP gateway information, so sending e-mail to outside e-mail >>>addresses isn't possible, please correct if i am wrong. >>> >>>Thanks, >>>Joe >>> >>> >>>On 2/24/06, Derek J. Balling wrote: Cell >>>Phone != Alphanumeric Pager >>> >>>Lots of cell providers simply don't provide IXO/TAP service. >>> >>>And, as you point out, e-mailing to an e-mail address is all well and >>>good unless your report is "Core Router Down", then you might find >>>out about it, several times, after you've repaired it. :-) >>> >>>You want to investigate using enterprise-level SMS services. We're in >>>the process right now of doing some of that research ourselves, and >>>so would be interested to hear from others. >>> >>>D >>> >>>On Feb 24, 2006, at 3:02 PM, Andrew Cruse wrote: >>> >>> >>>>From the FAQ: http://www.nagios.org/faqs/viewfaq.php? >>>>faq_id=113&expand=false&showdesc=false >>>> >>>> >>>> How can I have notifications sent to an alphanumeric pager? >>>> >>>>There are two ways you can do this. >>>>If your paging company has an email-pager gateway, you can simply >>>>have Nagios send an email message to your pager address. An example >>>>of this type of address might look like: >>> >>>pageme at somepagingcompany.com. >>> >>>>You should note that sending notifications through email might fail >>>>if SMTP or DNS services are down or if your connection to the >>>>greater Internet is down. An alternative to sending pager messages >>>>through an email gateway would be to hook a modem up to your >>>>monitoring host and have Nagios dial out through the modem and send >>>>the message using the TAP (IXO) protocol. There are several >>>>programs that can do this for you on *NIX systems. Two popular ones >>>>seem to be Sendpage and QuickPage. >>>> >>>>Andrew >>>> >>>> >>>>From: nagios-users-admin at lists.sourceforge.net [mailto: nagios- >>> >>>users- >>> >>>>admin at lists.sourceforge.net] On Behalf Of Joe Jackson >>>>Sent: Friday, February 24, 2006 2:56 PM >>>>To: nagios-users at lists.sourceforge.net >>>>Subject: [Nagios-users] TXT Message a sell phone >>>> >>>>Is there a way to make Nagios send text messages to a cell phone? >>> >>>-- >>> >>>Derek J. Balling >>>Systems Administrator >>>Vassar College >>>124 Raymond Ave >>>Box 13 - Computer Center 221 >>>Poughkeepsie, NY 12604 >>>(845) 437-7231 >>> >>> >>> >>> >>> >> >>-- >> >>Derek J. Balling >>Systems Administrator >>Vassar College >>124 Raymond Ave >>Box 13 - Computer Center 221 >>Poughkeepsie, NY 12604 >>(845) 437-7231 >> >> >> >> >> > > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 256 bytes Desc: OpenPGP digital signature URL: From jdbigg at gmail.com Fri Feb 24 22:29:24 2006 From: jdbigg at gmail.com (Joe Jackson) Date: Fri, 24 Feb 2006 15:29:24 -0600 Subject: TXT Message a sell phone In-Reply-To: <43FF78D6.4030605@squaretrade.com> References: <84745c520602241213u6d876593gd084d9bf118db96c@mail.gmail.com> <84745c520602241313p6bb76a40n7427babc12ddedfc@mail.gmail.com> <43FF78D6.4030605@squaretrade.com> Message-ID: <84745c520602241329o522f7e38o7854362384f1b4cc@mail.gmail.com> Is it permitted? Yes Is it configured to do so? Most likley not. I am not new to Linux however i am not that versed in it, so i need to know what i need to configure in this Linux box to make it relay through Exchange. If you guys can't tell me (do to rules/restrictions on this list) please tell me where i can find it. Thanks, Joe On 2/24/06, Paul Lathrop wrote: > > Joe, > > The problem you are having lies *outside* of Nagios. You need to > configure the local system (where Nagios is installed) to properly send > oubound mail through the Exchange server. > > Joe Jackson wrote: > > Derek, > > That is pretty much what i though, but i guess i have something goofed > up. > > It will send mail enternal to our domain/exchange server, but nothing > out > > side of our domain, (i.e. Vtext.com). Is there a way inside Nagios to > tell > > it to send all out bound mail through our Exchange server? > > > > > > On 2/24/06, Derek J. Balling wrote: > > > >>Well, if you're just trying to send it via e-mail, you can send it > >>like any other e-mail message. Nagios basically injects its e-mail > >>into its local MTA on that box, which is configured however you set > >>it up (and that's a little outside the scope of this list, but > >>relaying to offsite domains like Verizon should be a factory config > >>pretty much). > >> > >>cheers, > >>D > >> > >>On Feb 24, 2006, at 3:13 PM, Joe Jackson wrote: > >> > >> > >>>Derek, > >>> Thanks for your comments. I think you pretty much understand what > >>>I am trying to do, but just to clarify; I would like to be able to > >>>send messages to cell phones..Right, well our corporate cell > >>>carrier is Virizon, if you don't already know, you can send an SMS > >>>text message to a Verizon cell phone by sending an SMTP e-mail to > >>>the phone number like this: (cell Phone-Number)@ vtext.com, now is > >>>there a way to make Nagios send mail to that number? I noticed that > >>>there is no where in Nagios (unless i missed it some where) to > >>>setup SMTP gateway information, so sending e-mail to outside e-mail > >>>addresses isn't possible, please correct if i am wrong. > >>> > >>>Thanks, > >>>Joe > >>> > >>> > >>>On 2/24/06, Derek J. Balling wrote: Cell > >>>Phone != Alphanumeric Pager > >>> > >>>Lots of cell providers simply don't provide IXO/TAP service. > >>> > >>>And, as you point out, e-mailing to an e-mail address is all well and > >>>good unless your report is "Core Router Down", then you might find > >>>out about it, several times, after you've repaired it. :-) > >>> > >>>You want to investigate using enterprise-level SMS services. We're in > >>>the process right now of doing some of that research ourselves, and > >>>so would be interested to hear from others. > >>> > >>>D > >>> > >>>On Feb 24, 2006, at 3:02 PM, Andrew Cruse wrote: > >>> > >>> > >>>>From the FAQ: http://www.nagios.org/faqs/viewfaq.php? > >>>>faq_id=113&expand=false&showdesc=false > >>>> > >>>> > >>>> How can I have notifications sent to an alphanumeric pager? > >>>> > >>>>There are two ways you can do this. > >>>>If your paging company has an email-pager gateway, you can simply > >>>>have Nagios send an email message to your pager address. An example > >>>>of this type of address might look like: > >>> > >>>pageme at somepagingcompany.com. > >>> > >>>>You should note that sending notifications through email might fail > >>>>if SMTP or DNS services are down or if your connection to the > >>>>greater Internet is down. An alternative to sending pager messages > >>>>through an email gateway would be to hook a modem up to your > >>>>monitoring host and have Nagios dial out through the modem and send > >>>>the message using the TAP (IXO) protocol. There are several > >>>>programs that can do this for you on *NIX systems. Two popular ones > >>>>seem to be Sendpage and QuickPage. > >>>> > >>>>Andrew > >>>> > >>>> > >>>>From: nagios-users-admin at lists.sourceforge.net [mailto: nagios- > >>> > >>>users- > >>> > >>>>admin at lists.sourceforge.net] On Behalf Of Joe Jackson > >>>>Sent: Friday, February 24, 2006 2:56 PM > >>>>To: nagios-users at lists.sourceforge.net > >>>>Subject: [Nagios-users] TXT Message a sell phone > >>>> > >>>>Is there a way to make Nagios send text messages to a cell phone? > >>> > >>>-- > >>> > >>>Derek J. Balling > >>>Systems Administrator > >>>Vassar College > >>>124 Raymond Ave > >>>Box 13 - Computer Center 221 > >>>Poughkeepsie, NY 12604 > >>>(845) 437-7231 > >>> > >>> > >>> > >>> > >>> > >> > >>-- > >> > >>Derek J. Balling > >>Systems Administrator > >>Vassar College > >>124 Raymond Ave > >>Box 13 - Computer Center 221 > >>Poughkeepsie, NY 12604 > >>(845) 437-7231 > >> > >> > >> > >> > >> > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdbigg at gmail.com Fri Feb 24 22:30:48 2006 From: jdbigg at gmail.com (Joe Jackson) Date: Fri, 24 Feb 2006 15:30:48 -0600 Subject: TXT Message a sell phone In-Reply-To: <84745c520602241329o522f7e38o7854362384f1b4cc@mail.gmail.com> References: <84745c520602241213u6d876593gd084d9bf118db96c@mail.gmail.com> <84745c520602241313p6bb76a40n7427babc12ddedfc@mail.gmail.com> <43FF78D6.4030605@squaretrade.com> <84745c520602241329o522f7e38o7854362384f1b4cc@mail.gmail.com> Message-ID: <84745c520602241330s69db3986n922a6c2a3066d6e4@mail.gmail.com> Jeff, What i mean is that, Nagios will send mail to my internal Exchange address, however it wont send to any address outside of my internal domain. On 2/24/06, Joe Jackson wrote: > > Is it permitted? Yes > > Is it configured to do so? Most likley not. > > I am not new to Linux however i am not that versed in it, so i need to > know what i need to configure in this Linux box to make it relay through > Exchange. If you guys can't tell me (do to rules/restrictions on this list) > please tell me where i can find it. > > > Thanks, > Joe > > On 2/24/06, Paul Lathrop wrote: > > > > Joe, > > > > The problem you are having lies *outside* of Nagios. You need to > > configure the local system (where Nagios is installed) to properly send > > oubound mail through the Exchange server. > > > > Joe Jackson wrote: > > > Derek, > > > That is pretty much what i though, but i guess i have something > > goofed up. > > > It will send mail enternal to our domain/exchange server, but nothing > > out > > > side of our domain, (i.e. Vtext.com ). Is there a > > way inside Nagios to tell > > > it to send all out bound mail through our Exchange server? > > > > > > > > > On 2/24/06, Derek J. Balling < deballing at vassar.edu> wrote: > > > > > >>Well, if you're just trying to send it via e-mail, you can send it > > >>like any other e-mail message. Nagios basically injects its e-mail > > >>into its local MTA on that box, which is configured however you set > > >>it up (and that's a little outside the scope of this list, but > > >>relaying to offsite domains like Verizon should be a factory config > > >>pretty much). > > >> > > >>cheers, > > >>D > > >> > > >>On Feb 24, 2006, at 3:13 PM, Joe Jackson wrote: > > >> > > >> > > >>>Derek, > > >>> Thanks for your comments. I think you pretty much understand what > > >>>I am trying to do, but just to clarify; I would like to be able to > > >>>send messages to cell phones..Right, well our corporate cell > > >>>carrier is Virizon, if you don't already know, you can send an SMS > > >>>text message to a Verizon cell phone by sending an SMTP e-mail to > > >>>the phone number like this: (cell Phone-Number)@ vtext.com, now is > > >>>there a way to make Nagios send mail to that number? I noticed that > > >>>there is no where in Nagios (unless i missed it some where) to > > >>>setup SMTP gateway information, so sending e-mail to outside e-mail > > >>>addresses isn't possible, please correct if i am wrong. > > >>> > > >>>Thanks, > > >>>Joe > > >>> > > >>> > > >>>On 2/24/06, Derek J. Balling wrote: Cell > > >>>Phone != Alphanumeric Pager > > >>> > > >>>Lots of cell providers simply don't provide IXO/TAP service. > > >>> > > >>>And, as you point out, e-mailing to an e-mail address is all well and > > > > >>>good unless your report is "Core Router Down", then you might find > > >>>out about it, several times, after you've repaired it. :-) > > >>> > > >>>You want to investigate using enterprise-level SMS services. We're in > > > > >>>the process right now of doing some of that research ourselves, and > > >>>so would be interested to hear from others. > > >>> > > >>>D > > >>> > > >>>On Feb 24, 2006, at 3:02 PM, Andrew Cruse wrote: > > >>> > > >>> > > >>>>From the FAQ: http://www.nagios.org/faqs/viewfaq.php? > > >>>>faq_id=113&expand=false&showdesc=false > > >>>> > > >>>> > > >>>> How can I have notifications sent to an alphanumeric pager? > > >>>> > > >>>>There are two ways you can do this. > > >>>>If your paging company has an email-pager gateway, you can simply > > >>>>have Nagios send an email message to your pager address. An example > > >>>>of this type of address might look like: > > >>> > > >>> pageme at somepagingcompany.com. > > >>> > > >>>>You should note that sending notifications through email might fail > > >>>>if SMTP or DNS services are down or if your connection to the > > >>>>greater Internet is down. An alternative to sending pager messages > > >>>>through an email gateway would be to hook a modem up to your > > >>>>monitoring host and have Nagios dial out through the modem and send > > >>>>the message using the TAP (IXO) protocol. There are several > > >>>>programs that can do this for you on *NIX systems. Two popular ones > > >>>>seem to be Sendpage and QuickPage. > > >>>> > > >>>>Andrew > > >>>> > > >>>> > > >>>>From: nagios-users-admin at lists.sourceforge.net [mailto: nagios- > > >>> > > >>>users- > > >>> > > >>>>admin at lists.sourceforge.net] On Behalf Of Joe Jackson > > >>>>Sent: Friday, February 24, 2006 2:56 PM > > >>>>To: nagios-users at lists.sourceforge.net > > >>>>Subject: [Nagios-users] TXT Message a sell phone > > >>>> > > >>>>Is there a way to make Nagios send text messages to a cell phone? > > >>> > > >>>-- > > >>> > > >>>Derek J. Balling > > >>>Systems Administrator > > >>>Vassar College > > >>>124 Raymond Ave > > >>>Box 13 - Computer Center 221 > > >>>Poughkeepsie, NY 12604 > > >>>(845) 437-7231 > > >>> > > >>> > > >>> > > >>> > > >>> > > >> > > >>-- > > >> > > >>Derek J. Balling > > >>Systems Administrator > > >>Vassar College > > >>124 Raymond Ave > > >>Box 13 - Computer Center 221 > > >>Poughkeepsie, NY 12604 > > >>(845) 437-7231 > > >> > > >> > > >> > > >> > > >> > > > > > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From boinger at tradingtechnologies.com Fri Feb 24 22:35:27 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Fri, 24 Feb 2006 15:35:27 -0600 Subject: TXT Message a sell phone In-Reply-To: <84745c520602241330s69db3986n922a6c2a3066d6e4@mail.gmail.com> References: <84745c520602241213u6d876593gd084d9bf118db96c@mail.gmail.com> <84745c520602241313p6bb76a40n7427babc12ddedfc@mail.gmail.com> <43FF78D6.4030605@squaretrade.com> <84745c520602241329o522f7e38o7854362384f1b4cc@mail.gmail.com> <84745c520602241330s69db3986n922a6c2a3066d6e4@mail.gmail.com> Message-ID: <1140816927.6003.55.camel@chi101100.int.tt.local> On Fri, 2006-02-24 at 15:30 -0600, Joe Jackson wrote: > Jeff, > What i mean is that, Nagios will send mail to my internal Exchange > address, however it wont send to any address outside of my internal > domain. your mail server has to allow relaying from your Nagios server. > > On 2/24/06, Joe Jackson wrote: > Is it permitted? Yes > > Is it configured to do so? Most likley not. > > I am not new to Linux however i am not that versed in it, so i > need to know what i need to configure in this Linux box to > make it relay through Exchange. If you guys can't tell me (do > to rules/restrictions on this list) please tell me where i can > find it. > > > Thanks, > Joe > > On 2/24/06, Paul Lathrop wrote: > Joe, > > The problem you are having lies *outside* of Nagios. > You need to > configure the local system (where Nagios is installed) > to properly send > oubound mail through the Exchange server. > > Joe Jackson wrote: > > Derek, > > That is pretty much what i though, but i guess i > have something goofed up. > > It will send mail enternal to our domain/exchange > server, but nothing out > > side of our domain, (i.e. Vtext.com). Is there a way > inside Nagios to tell > > it to send all out bound mail through our Exchange > server? > > > > > > On 2/24/06, Derek J. Balling < deballing at vassar.edu> > wrote: > > > >>Well, if you're just trying to send it via e-mail, > you can send it > >>like any other e-mail message. Nagios basically > injects its e-mail > >>into its local MTA on that box, which is configured > however you set > >>it up (and that's a little outside the scope of this > list, but > >>relaying to offsite domains like Verizon should be a > factory config > >>pretty much). > >> > >>cheers, > >>D > >> > >>On Feb 24, 2006, at 3:13 PM, Joe Jackson wrote: > >> > >> > >>>Derek, > >>> Thanks for your comments. I think you pretty much > understand what > >>>I am trying to do, but just to clarify; I would > like to be able to > >>>send messages to cell phones..Right, well our > corporate cell > >>>carrier is Virizon, if you don't already know, you > can send an SMS > >>>text message to a Verizon cell phone by sending an > SMTP e-mail to > >>>the phone number like this: (cell Phone-Number)@ > vtext.com, now is > >>>there a way to make Nagios send mail to that > number? I noticed that > >>>there is no where in Nagios (unless i missed it > some where) to > >>>setup SMTP gateway information, so sending e-mail > to outside e-mail > >>>addresses isn't possible, please correct if i am > wrong. > >>> > >>>Thanks, > >>>Joe > >>> > >>> > >>>On 2/24/06, Derek J. Balling > wrote: Cell > >>>Phone != Alphanumeric Pager > >>> > >>>Lots of cell providers simply don't provide IXO/TAP > service. > >>> > >>>And, as you point out, e-mailing to an e-mail > address is all well and > >>>good unless your report is "Core Router Down", then > you might find > >>>out about it, several times, after you've repaired > it. :-) > >>> > >>>You want to investigate using enterprise-level SMS > services. We're in > >>>the process right now of doing some of that > research ourselves, and > >>>so would be interested to hear from others. > >>> > >>>D > >>> > >>>On Feb 24, 2006, at 3:02 PM, Andrew Cruse wrote: > >>> > >>> > >>>>>From the FAQ: > http://www.nagios.org/faqs/viewfaq.php? > >>>>faq_id=113&expand=false&showdesc=false > >>>> > >>>> > >>>> How can I have notifications sent to an > alphanumeric pager? > >>>> > >>>>There are two ways you can do this. > >>>>If your paging company has an email-pager gateway, > you can simply > >>>>have Nagios send an email message to your pager > address. An example > >>>>of this type of address might look like: > >>> > >>>pageme at somepagingcompany.com. > >>> > >>>>You should note that sending notifications through > email might fail > >>>>if SMTP or DNS services are down or if your > connection to the > >>>>greater Internet is down. An alternative to > sending pager messages > >>>>through an email gateway would be to hook a modem > up to your > >>>>monitoring host and have Nagios dial out through > the modem and send > >>>>the message using the TAP (IXO) protocol. There > are several > >>>>programs that can do this for you on *NIX systems. > Two popular ones > >>>>seem to be Sendpage and QuickPage. > >>>> > >>>>Andrew > >>>> > >>>> > >>>>From: nagios-users-admin at lists.sourceforge.net > [mailto: nagios- > >>> > >>>users- > >>> > >>>>admin at lists.sourceforge.net] On Behalf Of Joe > Jackson > >>>>Sent: Friday, February 24, 2006 2:56 PM > >>>>To: nagios-users at lists.sourceforge.net > >>>>Subject: [Nagios-users] TXT Message a sell phone > >>>> > >>>>Is there a way to make Nagios send text messages > to a cell phone? > >>> > >>>-- > >>> > >>>Derek J. Balling > >>>Systems Administrator > >>>Vassar College > >>>124 Raymond Ave > >>>Box 13 - Computer Center 221 > >>>Poughkeepsie, NY 12604 > >>>(845) 437-7231 > >>> > >>> > >>> > >>> > >>> > >> > >>-- > >> > >>Derek J. Balling > >>Systems Administrator > >>Vassar College > >>124 Raymond Ave > >>Box 13 - Computer Center 221 > >>Poughkeepsie, NY 12604 > >>(845) 437-7231 > >> > >> > >> > >> > >> > > > > > > > > > -------------- 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 marc at ena.com Fri Feb 24 22:49:37 2006 From: marc at ena.com (Marc Powell) Date: Fri, 24 Feb 2006 15:49:37 -0600 Subject: TXT Message a sell phone Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of jeff vier > Sent: Friday, February 24, 2006 3:35 PM > To: Joe Jackson > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] TXT Message a sell phone > > On Fri, 2006-02-24 at 15:30 -0600, Joe Jackson wrote: > > Jeff, > > What i mean is that, Nagios will send mail to my internal Exchange > > address, however it wont send to any address outside of my internal > > domain. > > your mail server has to allow relaying from your Nagios server. Alternately, or in addition, the MTA on your nagios box needs to be configured to smarthost all outgoing mail through your Exchange box if you have restricted its ability to communicate outside of your organization in any way. As was mentioned previously, this is certainly an MTA issue or a security policy issue, not a Nagios issue per-se. You should be looking to the documentation for whatever MTA you are using on your Nagios box and/or determine what is restricting the MTA from sending mail outside your organization (mail server logs can be useful for that). -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 24 22:56:43 2006 From: marc at ena.com (Marc Powell) Date: Fri, 24 Feb 2006 15:56:43 -0600 Subject: TXT Message a sell phone Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Joe Jackson > Sent: Friday, February 24, 2006 3:29 PM > To: Paul Lathrop > Cc: Derek J. Balling; Andrew Cruse; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] TXT Message a sell phone > > Is it permitted? Yes > > Is it configured to do so? Most likley not. > > I am not new to Linux however i am not that versed in it, so i need to > know what i need to configure in this Linux box to make it relay through > Exchange. If you guys can't tell me (do to rules/restrictions on this > list) please tell me where i can find it. We have no such restrictions and are willing to help with related third party software if we know how but you haven't mentioned what MTA you're using so we can't tell you what you need to change. Is it Postfix, Sendmail, UberCoolMailer or something else? Most MTA's are configured out-of-the-box to be able to send to worldwide addresses. What's been changed to restrict that? Is it firewalled in such a way that it can't directly communicate outside your network? If you're going to go with smarthosting then it's probably a moot point but it may be useful to know if there really is a restriction as if there isn't then the MTA may be broken in other ways. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 jon.johnston at gmail.com Fri Feb 24 22:57:01 2006 From: jon.johnston at gmail.com (jon.johnston) Date: Fri, 24 Feb 2006 15:57:01 -0600 Subject: Nagios VM Player? Message-ID: <43FF812D.3090107@gmail.com> I work with a number of K-12 sites, and would like to see them use Nagios for monitoring, etc. Most of them are staffed by people with little knowledge of linux, and not much interest in learning anything without a GUI. So.... I'm trying to figure out how to most easily create a nagios install with a front end gui (web managed) with minimal effort. I try to stick with Suse because of Yast (Yast makes linux less scary to non-linux people), so trying to figure out which tools fit best in that environment. What I am thinking was creating a VMWare Player, since both VMWare Player and (now) there is a free VMWare Server. Is there any reason as to why this wouldn't work? Jon Johnston Creative Business Solutions IBM, Microsoft, Novell/Suse and Sophos Consulting 952-544-1108 http://www.cbsol.com Blog:http://bingo.cbsol.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cmorreale at dss.state.la.us Fri Feb 24 23:03:11 2006 From: cmorreale at dss.state.la.us (Corey Morreale) Date: Fri, 24 Feb 2006 16:03:11 -0600 Subject: upgrading from 2.0b3 to 2.0 stable Message-ID: where can i find directions to upgrade nagios from 2.0b3 to 2.0 stable on Novell OES (open enterprise server) kernel 2.6.5-7.244-smp is there an upgrade path in place if not what would you recommend? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 23:14:18 2006 From: marc at ena.com (Marc Powell) Date: Fri, 24 Feb 2006 16:14:18 -0600 Subject: upgrading from 2.0b3 to 2.0 stable Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Corey Morreale > Sent: Friday, February 24, 2006 4:03 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] upgrading from 2.0b3 to 2.0 stable > > where can i find directions to upgrade nagios from 2.0b3 to 2.0 stable > on Novell OES (open enterprise server) kernel 2.6.5-7.244-smp > is there an upgrade path in place if not what would you recommend? Presuming you've installed from source, it's as simple as ./configure --whatever-parameters you need make all make install Then restart nagios. You couldn't do this from 1.x -> 2.x because of the config file changes. You should always check the UPGRADING file for information but in this case nothing affecting an upgrade within 2.x versions has changed. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 guy at extragalactic.net Fri Feb 24 23:31:31 2006 From: guy at extragalactic.net (Guy B. Purcell) Date: Fri, 24 Feb 2006 14:31:31 -0800 Subject: TXT Message a sell phone In-Reply-To: <84745c520602241311u4407ed0x7afc0afdd3259468@mail.gmail.com> References: <84745c520602241155u2d5a1f42o395d60387252067b@mail.gmail.com> <43FF697E.3030604@dynamictelecard.com> <84745c520602241311u4407ed0x7afc0afdd3259468@mail.gmail.com> Message-ID: <53B05A5A-2A67-47F5-A68A-0767743749D4@extragalactic.net> On Feb 24, 2006, at 13:11, Joe Jackson wrote: > ...it send to e-mail addresses on my local domain, but not to any > address out side of that. One thing to be careful of, once you get Exchange & your Nagios server properly relaying email to the Internet, is to make sure that relayed email has fully valid headers. Verizon (and likely other carriers, too) has anti-spam measures in place that will block your text messages if they don't appear to be valid. We ran into this at my current employer. The mail logs reported, "...stat=Sent (MsgIDxxxx Message accepted for delivery (relayed by MailShield))," but the messages never arrived at the phone. The thing that makes me a little uneasy about depending on Verizon's gateway is that we still lose a message to MailShield every now & then, and I gave up trying to get Verizon to whitelist the gateway address after getting the run-around from four different layers of their support tree. -Guy ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Feb 24 23:41:01 2006 From: estair at ilm.com (Eli Stair) Date: Fri, 24 Feb 2006 14:41:01 -0800 Subject: Nagios VM Player? In-Reply-To: <43FF812D.3090107@gmail.com> References: <43FF812D.3090107@gmail.com> Message-ID: <43FF8B7D.3090504@ilm.com> OT: Nope, other than that yast is scary when it breaks things ;) That should actually be quite easy, I've been using vmplayer successfully for windows-on-linux compute images, etc. That'd also be one take on deploying nodes for a distributed/remote nagios setup. /eli jon.johnston wrote: > I work with a number of K-12 sites, and would like to see them use > Nagios for monitoring, etc. Most of them are staffed by people with > little knowledge of linux, and not much interest in learning anything > without a GUI. So.... I'm trying to figure out how to most easily create > a nagios install with a front end gui (web managed) with minimal effort. > I try to stick with Suse because of Yast (Yast makes linux less scary to > non-linux people), so trying to figure out which tools fit best in that > environment. > > What I am thinking was creating a VMWare Player, since both VMWare > Player and (now) there is a free VMWare Server. Is there any reason as > to why this wouldn't work? > > Jon Johnston > Creative Business Solutions > IBM, Microsoft, Novell/Suse and Sophos Consulting > 952-544-1108 > http://www.cbsol.com > Blog:http://bingo.cbsol.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdbigg at gmail.com Fri Feb 24 23:56:16 2006 From: jdbigg at gmail.com (Joe Jackson) Date: Fri, 24 Feb 2006 16:56:16 -0600 Subject: TXT Message a sell phone In-Reply-To: <1140816927.6003.55.camel@chi101100.int.tt.local> References: <84745c520602241213u6d876593gd084d9bf118db96c@mail.gmail.com> <84745c520602241313p6bb76a40n7427babc12ddedfc@mail.gmail.com> <43FF78D6.4030605@squaretrade.com> <84745c520602241329o522f7e38o7854362384f1b4cc@mail.gmail.com> <84745c520602241330s69db3986n922a6c2a3066d6e4@mail.gmail.com> <1140816927.6003.55.camel@chi101100.int.tt.local> Message-ID: <84745c520602241456t44eeaadev2229b462ca59e697@mail.gmail.com> Guys, I am using send mail, what must i do to configure send mail......Never delt with it before. On 2/24/06, jeff vier wrote: > > On Fri, 2006-02-24 at 15:30 -0600, Joe Jackson wrote: > > Jeff, > > What i mean is that, Nagios will send mail to my internal Exchange > > address, however it wont send to any address outside of my internal > > domain. > > your mail server has to allow relaying from your Nagios server. > > > > > On 2/24/06, Joe Jackson wrote: > > Is it permitted? Yes > > > > Is it configured to do so? Most likley not. > > > > I am not new to Linux however i am not that versed in it, so i > > need to know what i need to configure in this Linux box to > > make it relay through Exchange. If you guys can't tell me (do > > to rules/restrictions on this list) please tell me where i can > > find it. > > > > > > Thanks, > > Joe > > > > On 2/24/06, Paul Lathrop wrote: > > Joe, > > > > The problem you are having lies *outside* of Nagios. > > You need to > > configure the local system (where Nagios is installed) > > to properly send > > oubound mail through the Exchange server. > > > > Joe Jackson wrote: > > > Derek, > > > That is pretty much what i though, but i guess i > > have something goofed up. > > > It will send mail enternal to our domain/exchange > > server, but nothing out > > > side of our domain, (i.e. Vtext.com). Is there a way > > inside Nagios to tell > > > it to send all out bound mail through our Exchange > > server? > > > > > > > > > On 2/24/06, Derek J. Balling < deballing at vassar.edu> > > wrote: > > > > > >>Well, if you're just trying to send it via e-mail, > > you can send it > > >>like any other e-mail message. Nagios basically > > injects its e-mail > > >>into its local MTA on that box, which is configured > > however you set > > >>it up (and that's a little outside the scope of this > > list, but > > >>relaying to offsite domains like Verizon should be a > > factory config > > >>pretty much). > > >> > > >>cheers, > > >>D > > >> > > >>On Feb 24, 2006, at 3:13 PM, Joe Jackson wrote: > > >> > > >> > > >>>Derek, > > >>> Thanks for your comments. I think you pretty much > > understand what > > >>>I am trying to do, but just to clarify; I would > > like to be able to > > >>>send messages to cell phones..Right, well our > > corporate cell > > >>>carrier is Virizon, if you don't already know, you > > can send an SMS > > >>>text message to a Verizon cell phone by sending an > > SMTP e-mail to > > >>>the phone number like this: (cell Phone-Number)@ > > vtext.com, now is > > >>>there a way to make Nagios send mail to that > > number? I noticed that > > >>>there is no where in Nagios (unless i missed it > > some where) to > > >>>setup SMTP gateway information, so sending e-mail > > to outside e-mail > > >>>addresses isn't possible, please correct if i am > > wrong. > > >>> > > >>>Thanks, > > >>>Joe > > >>> > > >>> > > >>>On 2/24/06, Derek J. Balling > > wrote: Cell > > >>>Phone != Alphanumeric Pager > > >>> > > >>>Lots of cell providers simply don't provide IXO/TAP > > service. > > >>> > > >>>And, as you point out, e-mailing to an e-mail > > address is all well and > > >>>good unless your report is "Core Router Down", then > > you might find > > >>>out about it, several times, after you've repaired > > it. :-) > > >>> > > >>>You want to investigate using enterprise-level SMS > > services. We're in > > >>>the process right now of doing some of that > > research ourselves, and > > >>>so would be interested to hear from others. > > >>> > > >>>D > > >>> > > >>>On Feb 24, 2006, at 3:02 PM, Andrew Cruse wrote: > > >>> > > >>> > > >>>>>From the FAQ: > > http://www.nagios.org/faqs/viewfaq.php? > > >>>>faq_id=113&expand=false&showdesc=false > > >>>> > > >>>> > > >>>> How can I have notifications sent to an > > alphanumeric pager? > > >>>> > > >>>>There are two ways you can do this. > > >>>>If your paging company has an email-pager gateway, > > you can simply > > >>>>have Nagios send an email message to your pager > > address. An example > > >>>>of this type of address might look like: > > >>> > > >>>pageme at somepagingcompany.com. > > >>> > > >>>>You should note that sending notifications through > > email might fail > > >>>>if SMTP or DNS services are down or if your > > connection to the > > >>>>greater Internet is down. An alternative to > > sending pager messages > > >>>>through an email gateway would be to hook a modem > > up to your > > >>>>monitoring host and have Nagios dial out through > > the modem and send > > >>>>the message using the TAP (IXO) protocol. There > > are several > > >>>>programs that can do this for you on *NIX systems. > > Two popular ones > > >>>>seem to be Sendpage and QuickPage. > > >>>> > > >>>>Andrew > > >>>> > > >>>> > > >>>>From: nagios-users-admin at lists.sourceforge.net > > [mailto: nagios- > > >>> > > >>>users- > > >>> > > >>>>admin at lists.sourceforge.net] On Behalf Of Joe > > Jackson > > >>>>Sent: Friday, February 24, 2006 2:56 PM > > >>>>To: nagios-users at lists.sourceforge.net > > >>>>Subject: [Nagios-users] TXT Message a sell phone > > >>>> > > >>>>Is there a way to make Nagios send text messages > > to a cell phone? > > >>> > > >>>-- > > >>> > > >>>Derek J. Balling > > >>>Systems Administrator > > >>>Vassar College > > >>>124 Raymond Ave > > >>>Box 13 - Computer Center 221 > > >>>Poughkeepsie, NY 12604 > > >>>(845) 437-7231 > > >>> > > >>> > > >>> > > >>> > > >>> > > >> > > >>-- > > >> > > >>Derek J. Balling > > >>Systems Administrator > > >>Vassar College > > >>124 Raymond Ave > > >>Box 13 - Computer Center 221 > > >>Poughkeepsie, NY 12604 > > >>(845) 437-7231 > > >> > > >> > > >> > > >> > > >> > > > > > > > > > > > > > > > > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2 (GNU/Linux) > > iD8DBQBD/3wf2Lh5h/NRnWwRAhcfAKC09aijppWGzv25cn4LKM3pXMfyVACeNCvF > uC45KQxieQPozTQLC9OvhYg= > =HPs/ > -----END PGP SIGNATURE----- > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ka at pacific.net Sat Feb 25 00:08:46 2006 From: ka at pacific.net (Ken A) Date: Fri, 24 Feb 2006 15:08:46 -0800 Subject: TXT Message a sell phone In-Reply-To: <84745c520602241456t44eeaadev2229b462ca59e697@mail.gmail.com> References: <84745c520602241213u6d876593gd084d9bf118db96c@mail.gmail.com> <84745c520602241313p6bb76a40n7427babc12ddedfc@mail.gmail.com> <43FF78D6.4030605@squaretrade.com> <84745c520602241329o522f7e38o7854362384f1b4cc@mail.gmail.com> <84745c520602241330s69db3986n922a6c2a3066d6e4@mail.gmail.com> <1140816927.6003.55.camel@chi101100.int.tt.local> <84745c520602241456t44eeaadev2229b462ca59e697@mail.gmail.com> Message-ID: <43FF91FE.2040901@pacific.net> Joe Jackson wrote: > Guys, > I am using send mail, what must i do to configure send mail......Never > delt with it before. > > > On 2/24/06, jeff vier wrote: >> On Fri, 2006-02-24 at 15:30 -0600, Joe Jackson wrote: >>> Jeff, >>> What i mean is that, Nagios will send mail to my internal Exchange >>> address, however it wont send to any address outside of my internal >>> domain. If nagios is sending okay to an internal exchange address, then sendmail on the nagios box is already working fine, which would be expected in an out of the box install of sendmail. The problem is that exchange isn't allowing the nagios box to relay. You have to tell exchange that it should allow the nagios box to relay. If you don't know how to do that, perhaps you should just create an alias on exchange that goes to your external notification address. Ken >> your mail server has to allow relaying from your Nagios server. >> >>> On 2/24/06, Joe Jackson wrote: >>> Is it permitted? Yes >>> >>> Is it configured to do so? Most likley not. >>> >>> I am not new to Linux however i am not that versed in it, so i >>> need to know what i need to configure in this Linux box to >>> make it relay through Exchange. If you guys can't tell me (do >>> to rules/restrictions on this list) please tell me where i can >>> find it. >>> >>> >>> Thanks, >>> Joe >>> >>> On 2/24/06, Paul Lathrop wrote: >>> Joe, >>> >>> The problem you are having lies *outside* of Nagios. >>> You need to >>> configure the local system (where Nagios is installed) >>> to properly send >>> oubound mail through the Exchange server. >>> >>> Joe Jackson wrote: >>> > Derek, >>> > That is pretty much what i though, but i guess i >>> have something goofed up. >>> > It will send mail enternal to our domain/exchange >>> server, but nothing out >>> > side of our domain, (i.e. Vtext.com). Is there a way >>> inside Nagios to tell >>> > it to send all out bound mail through our Exchange >>> server? >>> > >>> > >>> > On 2/24/06, Derek J. Balling < deballing at vassar.edu> >>> wrote: >>> > >>> >>Well, if you're just trying to send it via e-mail, >>> you can send it >>> >>like any other e-mail message. Nagios basically >>> injects its e-mail >>> >>into its local MTA on that box, which is configured >>> however you set >>> >>it up (and that's a little outside the scope of this >>> list, but >>> >>relaying to offsite domains like Verizon should be a >>> factory config >>> >>pretty much). >>> >> >>> >>cheers, >>> >>D >>> >> >>> >>On Feb 24, 2006, at 3:13 PM, Joe Jackson wrote: >>> >> >>> >> >>> >>>Derek, >>> >>> Thanks for your comments. I think you pretty much >>> understand what >>> >>>I am trying to do, but just to clarify; I would >>> like to be able to >>> >>>send messages to cell phones..Right, well our >>> corporate cell >>> >>>carrier is Virizon, if you don't already know, you >>> can send an SMS >>> >>>text message to a Verizon cell phone by sending an >>> SMTP e-mail to >>> >>>the phone number like this: (cell Phone-Number)@ >>> vtext.com, now is >>> >>>there a way to make Nagios send mail to that >>> number? I noticed that >>> >>>there is no where in Nagios (unless i missed it >>> some where) to >>> >>>setup SMTP gateway information, so sending e-mail >>> to outside e-mail >>> >>>addresses isn't possible, please correct if i am >>> wrong. >>> >>> >>> >>>Thanks, >>> >>>Joe >>> >>> >>> >>> >>> >>>On 2/24/06, Derek J. Balling >>> wrote: Cell >>> >>>Phone != Alphanumeric Pager >>> >>> >>> >>>Lots of cell providers simply don't provide IXO/TAP >>> service. >>> >>> >>> >>>And, as you point out, e-mailing to an e-mail >>> address is all well and >>> >>>good unless your report is "Core Router Down", then >>> you might find >>> >>>out about it, several times, after you've repaired >>> it. :-) >>> >>> >>> >>>You want to investigate using enterprise-level SMS >>> services. We're in >>> >>>the process right now of doing some of that >>> research ourselves, and >>> >>>so would be interested to hear from others. >>> >>> >>> >>>D >>> >>> >>> >>>On Feb 24, 2006, at 3:02 PM, Andrew Cruse wrote: >>> >>> >>> >>> >>> >>>>>From the FAQ: >>> http://www.nagios.org/faqs/viewfaq.php? >>> >>>>faq_id=113&expand=false&showdesc=false >>> >>>> >>> >>>> >>> >>>> How can I have notifications sent to an >>> alphanumeric pager? >>> >>>> >>> >>>>There are two ways you can do this. >>> >>>>If your paging company has an email-pager gateway, >>> you can simply >>> >>>>have Nagios send an email message to your pager >>> address. An example >>> >>>>of this type of address might look like: >>> >>> >>> >>>pageme at somepagingcompany.com. >>> >>> >>> >>>>You should note that sending notifications through >>> email might fail >>> >>>>if SMTP or DNS services are down or if your >>> connection to the >>> >>>>greater Internet is down. An alternative to >>> sending pager messages >>> >>>>through an email gateway would be to hook a modem >>> up to your >>> >>>>monitoring host and have Nagios dial out through >>> the modem and send >>> >>>>the message using the TAP (IXO) protocol. There >>> are several >>> >>>>programs that can do this for you on *NIX systems. >>> Two popular ones >>> >>>>seem to be Sendpage and QuickPage. >>> >>>> >>> >>>>Andrew >>> >>>> >>> >>>> >>> >>>>From: nagios-users-admin at lists.sourceforge.net >>> [mailto: nagios- >>> >>> >>> >>>users- >>> >>> >>> >>>>admin at lists.sourceforge.net] On Behalf Of Joe >>> Jackson >>> >>>>Sent: Friday, February 24, 2006 2:56 PM >>> >>>>To: nagios-users at lists.sourceforge.net >>> >>>>Subject: [Nagios-users] TXT Message a sell phone >>> >>>> >>> >>>>Is there a way to make Nagios send text messages >>> to a cell phone? >>> >>> >>> >>>-- >>> >>> >>> >>>Derek J. Balling >>> >>>Systems Administrator >>> >>>Vassar College >>> >>>124 Raymond Ave >>> >>>Box 13 - Computer Center 221 >>> >>>Poughkeepsie, NY 12604 >>> >>>(845) 437-7231 >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> >>> >>-- >>> >> >>> >>Derek J. Balling >>> >>Systems Administrator >>> >>Vassar College >>> >>124 Raymond Ave >>> >>Box 13 - Computer Center 221 >>> >>Poughkeepsie, NY 12604 >>> >>(845) 437-7231 >>> >> >>> >> >>> >> >>> >> >>> >> >>> > >>> > >>> >>> >>> >>> >>> >> >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.2 (GNU/Linux) >> >> iD8DBQBD/3wf2Lh5h/NRnWwRAhcfAKC09aijppWGzv25cn4LKM3pXMfyVACeNCvF >> uC45KQxieQPozTQLC9OvhYg= >> =HPs/ >> -----END PGP SIGNATURE----- >> >> >> > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Feb 25 00:11:00 2006 From: jhmartin at toger.us (Jason Martin) Date: Fri, 24 Feb 2006 15:11:00 -0800 Subject: TXT Message a cell phone In-Reply-To: <43FF91FE.2040901@pacific.net> References: <84745c520602241213u6d876593gd084d9bf118db96c@mail.gmail.com> <84745c520602241313p6bb76a40n7427babc12ddedfc@mail.gmail.com> <43FF78D6.4030605@squaretrade.com> <84745c520602241329o522f7e38o7854362384f1b4cc@mail.gmail.com> <84745c520602241330s69db3986n922a6c2a3066d6e4@mail.gmail.com> <1140816927.6003.55.camel@chi101100.int.tt.local> <84745c520602241456t44eeaadev2229b462ca59e697@mail.gmail.com> <43FF91FE.2040901@pacific.net> Message-ID: <20060224231100.GL7611@mal.toger.us> On Fri, Feb 24, 2006 at 03:08:46PM -0800, Ken A wrote: > If nagios is sending okay to an internal exchange address, then sendmail > on the nagios box is already working fine, which would be expected in an Firewall rules might come in to play here. Is the exchange server set up as the smarthost in sendmail? Otherwise sendmail will attempt to connect directly, which your firewall rules might prevent. -Jason Martin -- An unbreakable toy is useful for breaking other toys. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: From jdbigg at gmail.com Sat Feb 25 00:14:28 2006 From: jdbigg at gmail.com (Joe Jackson) Date: Fri, 24 Feb 2006 17:14:28 -0600 Subject: TXT Message a cell phone In-Reply-To: <20060224231100.GL7611@mal.toger.us> References: <84745c520602241313p6bb76a40n7427babc12ddedfc@mail.gmail.com> <43FF78D6.4030605@squaretrade.com> <84745c520602241329o522f7e38o7854362384f1b4cc@mail.gmail.com> <84745c520602241330s69db3986n922a6c2a3066d6e4@mail.gmail.com> <1140816927.6003.55.camel@chi101100.int.tt.local> <84745c520602241456t44eeaadev2229b462ca59e697@mail.gmail.com> <43FF91FE.2040901@pacific.net> <20060224231100.GL7611@mal.toger.us> Message-ID: <84745c520602241514g16410b3bh2dcaacc770d07f7a@mail.gmail.com> No, i have not made any changes to sendmail.......................I don't know how On 2/24/06, Jason Martin wrote: > > On Fri, Feb 24, 2006 at 03:08:46PM -0800, Ken A wrote: > > If nagios is sending okay to an internal exchange address, then sendmail > > on the nagios box is already working fine, which would be expected in an > Firewall rules might come in to play here. Is the exchange > server set up as the smarthost in sendmail? Otherwise sendmail > will attempt to connect directly, which your firewall rules > might prevent. > > -Jason Martin > -- > An unbreakable toy is useful for breaking other toys. > This message is PGP/MIME signed. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ka at pacific.net Sat Feb 25 00:16:00 2006 From: ka at pacific.net (Ken A) Date: Fri, 24 Feb 2006 15:16:00 -0800 Subject: TXT Message a cell phone In-Reply-To: <20060224231100.GL7611@mal.toger.us> References: <84745c520602241213u6d876593gd084d9bf118db96c@mail.gmail.com> <84745c520602241313p6bb76a40n7427babc12ddedfc@mail.gmail.com> <43FF78D6.4030605@squaretrade.com> <84745c520602241329o522f7e38o7854362384f1b4cc@mail.gmail.com> <84745c520602241330s69db3986n922a6c2a3066d6e4@mail.gmail.com> <1140816927.6003.55.camel@chi101100.int.tt.local> <84745c520602241456t44eeaadev2229b462ca59e697@mail.gmail.com> <43FF91FE.2040901@pacific.net> <20060224231100.GL7611@mal.toger.us> Message-ID: <43FF93B0.1020801@pacific.net> Jason Martin wrote: > On Fri, Feb 24, 2006 at 03:08:46PM -0800, Ken A wrote: >> If nagios is sending okay to an internal exchange address, then sendmail >> on the nagios box is already working fine, which would be expected in an > Firewall rules might come in to play here. except that he had stated that nagios could send to the exchange box. Ken ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lanning at lanning.cc Sat Feb 25 00:25:33 2006 From: lanning at lanning.cc (Robert Hajime Lanning) Date: Fri, 24 Feb 2006 15:25:33 -0800 (PST) Subject: TXT Message a cell phone In-Reply-To: <43FF93B0.1020801@pacific.net> References: <84745c520602241213u6d876593gd084d9bf118db96c@mail.gmail.com> <84745c520602241313p6bb76a40n7427babc12ddedfc@mail.gmail.com> <43FF78D6.4030605@squaretrade.com> <84745c520602241329o522f7e38o7854362384f1b4cc@mail.gmail.com> <84745c520602241330s69db3986n922a6c2a3066d6e4@mail.gmail.com> <1140816927.6003.55.camel@chi101100.int.tt.local> <84745c520602241456t44eeaadev2229b462ca59e697@mail.gmail.com> <43FF91FE.2040901@pacific.net> <20060224231100.GL7611@mal.toger.us> <43FF93B0.1020801@pacific.net> Message-ID: <44569.192.168.128.67.1140823533.squirrel@ssl.monsoonwind.com> > Jason Martin wrote: >> On Fri, Feb 24, 2006 at 03:08:46PM -0800, Ken A wrote: >>> If nagios is sending okay to an internal exchange address, then >>> sendmail >>> on the nagios box is already working fine, which would be expected >>> in an >> Firewall rules might come in to play here. > except that he had stated that nagios could send to the exchange box. > Ken Actually the Nagios server maybe on the same side of the firewall as the exchange server. Find the sendmail.cf file and modify this: # "Smart" relay host (may be null) DS to this: # "Smart" relay host (may be null) DSexchange.server.fully.qualified.name of course you change the "exchange.server.fully.qualified.name" to be the DNS name of your exchange server. Then killall sendmail and start it again. -- And, did Guloka think the Ulus were too ugly to save? -Centauri ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Feb 25 00:27:03 2006 From: jhmartin at toger.us (Jason Martin) Date: Fri, 24 Feb 2006 15:27:03 -0800 Subject: TXT Message a cell phone In-Reply-To: <43FF93B0.1020801@pacific.net> References: <84745c520602241313p6bb76a40n7427babc12ddedfc@mail.gmail.com> <43FF78D6.4030605@squaretrade.com> <84745c520602241329o522f7e38o7854362384f1b4cc@mail.gmail.com> <84745c520602241330s69db3986n922a6c2a3066d6e4@mail.gmail.com> <1140816927.6003.55.camel@chi101100.int.tt.local> <84745c520602241456t44eeaadev2229b462ca59e697@mail.gmail.com> <43FF91FE.2040901@pacific.net> <20060224231100.GL7611@mal.toger.us> <43FF93B0.1020801@pacific.net> Message-ID: <20060224232703.GM7611@mal.toger.us> On Fri, Feb 24, 2006 at 03:16:00PM -0800, Ken A wrote: > >On Fri, Feb 24, 2006 at 03:08:46PM -0800, Ken A wrote: > >>If nagios is sending okay to an internal exchange address, then sendmail > >>on the nagios box is already working fine, which would be expected in an > >Firewall rules might come in to play here. > except that he had stated that nagios could send to the exchange box. I'm assuming that the exchange box is on the same network as the Nagios box, so smarthost wouldn't come into play. However, if the mail is trying to go to a cellphone provider, smarthost might matter if only a small set of hosts on the local network are allowed to connect outbound on port 25. I didn't mean iptables on the Nagios box, but on some edge firewall on the network. -Jason Martin -- An unbreakable toy is useful for breaking other toys. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: From ka at pacific.net Sat Feb 25 00:27:39 2006 From: ka at pacific.net (Ken A) Date: Fri, 24 Feb 2006 15:27:39 -0800 Subject: TXT Message a cell phone In-Reply-To: <84745c520602241514g16410b3bh2dcaacc770d07f7a@mail.gmail.com> References: <84745c520602241313p6bb76a40n7427babc12ddedfc@mail.gmail.com> <43FF78D6.4030605@squaretrade.com> <84745c520602241329o522f7e38o7854362384f1b4cc@mail.gmail.com> <84745c520602241330s69db3986n922a6c2a3066d6e4@mail.gmail.com> <1140816927.6003.55.camel@chi101100.int.tt.local> <84745c520602241456t44eeaadev2229b462ca59e697@mail.gmail.com> <43FF91FE.2040901@pacific.net> <20060224231100.GL7611@mal.toger.us> <84745c520602241514g16410b3bh2dcaacc770d07f7a@mail.gmail.com> Message-ID: <43FF966B.9030808@pacific.net> Joe Jackson wrote: > No, i have not made any changes to sendmail.......................I don't > know how > > On 2/24/06, Jason Martin wrote: >> On Fri, Feb 24, 2006 at 03:08:46PM -0800, Ken A wrote: >>> If nagios is sending okay to an internal exchange address, then sendmail >>> on the nagios box is already working fine, which would be expected in an >> Firewall rules might come in to play here. Is the exchange >> server set up as the smarthost in sendmail? Otherwise sendmail >> will attempt to connect directly, which your firewall rules >> might prevent. Jason, disregard my last email.. duh. good point. I'd missed that he was trying to send to an external address. Joe, what linux distro is this? Ken >> -Jason Martin >> -- >> An unbreakable toy is useful for breaking other toys. >> This message is PGP/MIME signed. >> >> >> > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Feb 25 01:31:04 2006 From: mis-netadmin at dept.fuller.edu (Network Administrator) Date: Fri, 24 Feb 2006 16:31:04 -0800 Subject: check_ping: %s: Warning threshold must be integer or percentage In-Reply-To: <43FF966B.9030808@pacific.net> References: <84745c520602241313p6bb76a40n7427babc12ddedfc@mail.gmail.com> <43FF78D6.4030605@squaretrade.com> <84745c520602241329o522f7e38o7854362384f1b4cc@mail.gmail.com> <84745c520602241330s69db3986n922a6c2a3066d6e4@mail.gmail.com> <1140816927.6003.55.camel@chi101100.int.tt.local> <84745c520602241456t44eeaadev2229b462ca59e697@mail.gmail.com> <43FF91FE.2040901@pacific.net> <20060224231100.GL7611@mal.toger.us> <84745c520602241514g16410b3bh2dcaacc770d07f7a@mail.gmail.com> <43FF966B.9030808@pacific.net> Message-ID: <43FFA548.4080508@dept.fuller.edu> I notice that every once in a while an unreachable host will generate the following emailed message from my RedHat Fedora Core3 nagios server: ***** Nagios ***** Notification Type: PROBLEM Host: server_name State: DOWN Address: ip_address Info: check_ping: %s: Warning threshold must be integer or percentage! Is this the expected threshold warning message or has the checkcommand.cfg and/or services.cfg file been incorrectly configured for the check_ping command? Useage designates the following: Usage: check_ping -H -w ,% -c ,% [-p packets] [-t timeout] [-L] [-4|-6] -------------------------- checkcommand.cfg file: # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 10 } --------------------------- services.cfg file: # Service definition define service{ use generic-service host_name server_name service_description PING is_volatile 0 check_period 24x7 max_check_attempts 10 normal_check_interval 2 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_ping!1000,90%!5000,95% } Looking through the FAQ I only found Article F0214; but this did not address my question. Irwin Dulan II Network Administrator Fuller Theological Seminary ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wrjacqmein at gmail.com Sat Feb 25 02:24:04 2006 From: wrjacqmein at gmail.com (Bill Jacqmein) Date: Fri, 24 Feb 2006 20:24:04 -0500 Subject: Bandwidth Plugin In-Reply-To: <028B223BB24E5443A9784BBE1CC5EBE09C12D7@Lisa.mpifix.com> References: <028B223BB24E5443A9784BBE1CC5EBE09C12D7@Lisa.mpifix.com> Message-ID: <3c9a5bae0602241724p2d605dar5b01c6faaa2953d8@mail.gmail.com> Danny, Define Somewhere? Local LAN, Local Subnet, Wan, International Wan, Internet? Something could probably be written using network pipemeter ( http://www.nongnu.org/nepim/) but the test would be dependent on having a host at the other end of the segment being measured. AFAIK, there currently isnt a plugin out there to do this. Would be a worth while endeavour. Bill On 2/24/06, Danny Russell wrote: > > Hello, > > > > > > Is there a plug-in that tests throughput? I am looking for > something simple that just downloads a 1meg file from somewhere and then > reports back the speeds with some thresholds... > > > > > > Thanks > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From estair at ilm.com Sat Feb 25 03:15:46 2006 From: estair at ilm.com (Eli Stair) Date: Fri, 24 Feb 2006 18:15:46 -0800 Subject: $HOSTNOTESURL$ being mangled (removing '&' char). Message-ID: <43FFBDD2.80106@ilm.com> I've got several different ext host/svc info links set up to various other pages. That's great, and I'm using $HOSTNOTESURL$ in alert emails. $HOSTNOTESURL$ seems to be stripping out the ampersand "&" during expansion: extended host info defined in config as: notes_url https://monitor/ganglia/?r=day&c=Opteron_2.4_GHz_Single_Core_8G_Deathstar_Cluster&h=$HOSTNAME$.domainname.com This expands in the email alert (...EXTENDED HOST INFO:\n\"$HOSTNOTESURL$...) as: EXTENDED HOST INFO: https://monitor/ganglia/?r=dayc=Opteron_2.4_GHz_Dual_Core_16G_Deathstar_Clusterh=hostname.domainname.com I've double-checked the printf to make sure & gets through un-escaped (it does), and the "Extra Host Notes" link generated by the CGI's is rendered properly: https://monitor/ganglia/?r=day&c=Opteron_2.4_GHz_Dual_Core_16G_Deathstar_Cluster&h=hostname.domainname.com Any input on this? It looks to me like the chars are just being stripped when it's expressed in the alert. I can properly printf & otherwise (I generate a link to acknowledge the outage in the same alert). Thanks, /eli ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian at briandesmond.com Sat Feb 25 09:15:46 2006 From: brian at briandesmond.com (Brian Desmond) Date: Sat, 25 Feb 2006 03:15:46 -0500 Subject: Nagios VM Player? Message-ID: <69A03D1A9CB91D44B61CD52A017B7570072CC2@bs-sbs01.house.briandesmond.com> I had Nagios going on a MS Virtual Server and the lack of additions caused a lot of issues. The continuous cock drift caused false alarm pages constantly, plugin timeouts, and other problems. VMWare with the additions hopefully won't have this issue, but, fundamentally the VMs are prone to the same issue. I was also seeing much higher ping latencies (5ms vs .5 ms generally). Moved to a piece of hardware and works fine now. 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 jon.johnston > Sent: Friday, February 24, 2006 4:57 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios VM Player? > > I work with a number of K-12 sites, and would like to see them use > Nagios for monitoring, etc. Most of them are staffed by people with > little knowledge of linux, and not much interest in learning anything > without a GUI. So.... I'm trying to figure out how to most easily create > a nagios install with a front end gui (web managed) with minimal effort. > I try to stick with Suse because of Yast (Yast makes linux less scary to > non-linux people), so trying to figure out which tools fit best in that > environment. > > What I am thinking was creating a VMWare Player, since both VMWare > Player and (now) there is a free VMWare Server. Is there any reason as > to why this wouldn't work? > > Jon Johnston > Creative Business Solutions > IBM, Microsoft, Novell/Suse and Sophos Consulting > 952-544-1108 > http://www.cbsol.com > Blog:http://bingo.cbsol.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Sat Feb 25 11:24:20 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 25 Feb 2006 11:24:20 +0100 (CET) Subject: TXT Message a cell phone In-Reply-To: <84745c520602241514g16410b3bh2dcaacc770d07f7a@mail.gmail.com> References: <84745c520602241313p6bb76a40n7427babc12ddedfc@mail.gmail.com> <43FF78D6.4030605@squaretrade.com> <84745c520602241329o522f7e38o7854362384f1b4cc@mail.gmail.com> <84745c520602241330s69db3986n922a6c2a3066d6e4@mail.gmail.com> <1140816927.6003.55.camel@chi101100.int.tt.local> <84745c520602241456t44eeaadev2229b462ca59e697@mail.gmail.com> <43FF91FE.2040901@pacific.net> <20060224231100.GL7611@mal.toger.us> <84745c520602241514g16410b3bh2dcaacc770d07f7a@mail.gmail.com> Message-ID: On Fri, 24 Feb 2006, Joe Jackson wrote: > No, i have not made any changes to sendmail.......................I don't > know how I think we are way out of topic by now. Joe: Take you SMTP config to a more appropriate list as it is more likely to get solved there. Everyone: Can we drop threads like this one once it is clear we are way beyond the working of 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdaily at apparatus.net Sat Feb 25 13:54:23 2006 From: jdaily at apparatus.net (John R. Daily) Date: Sat, 25 Feb 2006 07:54:23 -0500 Subject: Alert messages as files? Message-ID: <26B6622D-298B-4F29-9805-F6C0CB9FD7B4@apparatus.net> I'm in the early stages of evaluating Nagios 2.0 for broader use in our environment, and one of the negative aspects for me is the current approach for defining alert messages. I would much rather have them defined individually outside the configuration files, but still (obviously) allowed to reference macros. It occurred to me that one relatively straightforward solution would be to define an external helper that could parse alert files, looking for macro invocations and replacing the values with data from the NAGIOS_ environment variables. Rather than reinvent the wheel: are there any such tools floating around in the Nagios ecosystem? Alternatively, is anyone aware of a good reason to not take this approach? Thanks. John R. Daily Apparatus, Inc. 912 N. Delaware St. Indianapolis, IN 46202 (317) 254-8488 Ext. 320 jdaily at apparatus.net ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Feb 26 01:02:29 2006 From: engelenh at gmail.com (Hans Engelen) Date: Sun, 26 Feb 2006 01:02:29 +0100 Subject: Nagios VM Player? In-Reply-To: <69A03D1A9CB91D44B61CD52A017B7570072CC2@bs-sbs01.house.briandesmond.com> References: <69A03D1A9CB91D44B61CD52A017B7570072CC2@bs-sbs01.house.briandesmond.com> Message-ID: <5383c62b0602251602p7493ccdbo425772c0dceaf88e@mail.gmail.com> I have to agree with Brian here. The timedrift issue is present on VMware too. There are a fair number of documents on the matter on the VMware site and it is a major showstopper indeed. Possibly they will get this fixed and sorted out someday but I don't think they are quite there yet. The latency issue is a problem too on vmware. That being said the VMware player is a good way of demonstrating a Nagios setup. It just is not a good production/permanent solution. I am not sure I understand where your problem lies though. I am guessing it lies with the installation of the OS and Nagios & Co by non-linux-familiars. A better choice in this case might be to prepare a fully setup image that has everything presetup for them. Something along the lines of a Ghost image maybe. Maybe even a live-cd that keeps it's configs on say a USB-stick (a old 32mb stick would be more then enough) or even a floppy disk (if theres not too much to monitor). The latter would even make it really easy for you to send them updates. Just prepare a new Live-CD with the latest Nagios/Plugins/Graphical Nagios Config tools and they would be all sorted out. You could even go sofar as to actually make the whole Linux/Nagios install live on a USB stick of 128 or 256 mb. Most recent machines can boot from USB sticks too now and I have one like it for whenever I want to boot my PC at work into a linux OS. This way you could have them use a cheap diskless machine even which could run extremely silently. As you can see, plenty of options that don't have to cost much at all. VMware is nice in that way that it does complete hardware abstraction but it's not that much of a problem anyway on Linux. Most hardware is automatically detected and setup already and the few things that are not can easily be reconfigured. In fact on live-cd's like Knoppix and DamnSmallLinux even that is done automatically (think of the X server config). Come to think about it, EchelonLinux (based on DamnSmallLinux) already has Nagios on-board as a live-cd (along with a few other network tools). It might not be exactly what you need but would probably be a good start with minimal modification needed to suit your goal. Cheers, Hans On 2/25/06, Brian Desmond wrote: > > I had Nagios going on a MS Virtual Server and the lack of additions > caused a lot of issues. The continuous cock drift caused false alarm > pages constantly, plugin timeouts, and other problems. VMWare with the > additions hopefully won't have this issue, but, fundamentally the VMs > are prone to the same issue. I was also seeing much higher ping > latencies (5ms vs .5 ms generally). Moved to a piece of hardware and > works fine now. > > Thanks, > Brian Desmond > brian at briandesmond.com > > c - 312.731.3132 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From engelenh at gmail.com Sun Feb 26 01:20:52 2006 From: engelenh at gmail.com (Hans Engelen) Date: Sun, 26 Feb 2006 01:20:52 +0100 Subject: Nagios VM Player? In-Reply-To: <5383c62b0602251602p7493ccdbo425772c0dceaf88e@mail.gmail.com> References: <69A03D1A9CB91D44B61CD52A017B7570072CC2@bs-sbs01.house.briandesmond.com> <5383c62b0602251602p7493ccdbo425772c0dceaf88e@mail.gmail.com> Message-ID: <5383c62b0602251620g4549e691k96a12489406de026@mail.gmail.com> Hehe, shoulda googled some before I replied, heres an even better idea maybe. Live-CD too, complete with a nagios config tool (nag2web) to configure nagios via webpages. Iso to be had here : http://nag2web.de/index.php?page=85 .. they are making VMware images soon too they say so :). Only thing is it seems to be german in origina and I have tested it yet to see if there is an english set too. Still it shows exactly what I meant. Cheers, -------------- next part -------------- An HTML attachment was scrubbed... URL: From mkoponick at redhawk.info Sun Feb 26 01:53:19 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Sat, 25 Feb 2006 16:53:19 -0800 Subject: Nagios Performance Numbers? Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4072692@raptor.redhawk.info> Hello, I'm moving right along with my Nagios deployment. Next, I wish to collect performance numbers from interfaces. Since I can run an SNMP query, I thought that would be the best way, however I wonder about moving the performance data into MySQL via NDO. I suppose my main question is, which tools are people using to performance performance monitoring for interfaces, etc. I would like to produce graphs from the performance data. There are many tools like perfparse, etc, but since I'm running in a distributed enviornment, I would like to keep the sensor as "dumb" as possible. Suggestions, Thoughts? Thanks in advance, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at briandesmond.com Sun Feb 26 08:48:54 2006 From: brian at briandesmond.com (Brian Desmond) Date: Sun, 26 Feb 2006 02:48:54 -0500 Subject: Nagios Performance Numbers? Message-ID: <69A03D1A9CB91D44B61CD52A017B7570072CCC@bs-sbs01.house.briandesmond.com> www.cacti.net There's mrtg, cacti, cricket, routers2, all sorts of stuff. IMHO cacti is the best rrdtool based one, at least from what I've seen/used, but YMMV. Nagiosgraph is an rrdtool for Nagios plugin but I've never used it. Someone wrote a web interface for Nagios that is in the cacti UI - look it up on the cacti.net forums, can't remember the name of it. Thanks, Brian Desmond brian at briandesmond.com c - 312.731.3132 ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mike Koponick Sent: Saturday, February 25, 2006 7:53 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Performance Numbers? Hello, I'm moving right along with my Nagios deployment. Next, I wish to collect performance numbers from interfaces. Since I can run an SNMP query, I thought that would be the best way, however I wonder about moving the performance data into MySQL via NDO. I suppose my main question is, which tools are people using to performance performance monitoring for interfaces, etc. I would like to produce graphs from the performance data. There are many tools like perfparse, etc, but since I'm running in a distributed enviornment, I would like to keep the sensor as "dumb" as possible. Suggestions, Thoughts? Thanks in advance, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From tr_rajeshkanna at yahoo.com Mon Feb 27 08:04:56 2006 From: tr_rajeshkanna at yahoo.com (Rajesh kanna) Date: Sun, 26 Feb 2006 23:04:56 -0800 (PST) Subject: check_traceroute : Service-status - CRITICAL Host-staus: DOWN Message-ID: <20060227070456.4275.qmail@web51705.mail.yahoo.com> Hi, I have problem in making check_traceroute from nagios Web interface. The following are the details... Nagios version : 1.3 Nagios plugin : 1.4.2 I have tried the following options. #./check_traceroute -r -H www.google.com Ok. Traceroute to host "www.google.com" via route "172.22.48.1-10.128.16.254-10. 128.16.217-192.168.96.25-192.168.203.10-192.168.203.33-10.60.254.2-63.96.160.1-1 57.130.198.165-152.63.48.130-152.63.56.141-152.63.57.42-152.63.57.101-204.255.17 3.42-209.244.3.141-4.68.123.16-4.79.42.254-216.239.47.146-216.239.49.146-66.102. 7.147". >From command line i could see the output as above but webinterface produces STATUS-CRITICAL services.cfg host_name www.google.com service_description TRACEROUTE is_volatile F0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups win-admins notification_interval win-admins notification_period 24x7 notification_options c,r check_command check_traceroute } hosts.cfg # 'Reno-Server' host definition define host{ use generic-host to use host_name www.google.com alias Windows Server #1 address 64.233.187.99 check_command check_traceroute max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } chechcommands.cfg # 'check_traceroute' command definition define command{ command_name check_traceroute command_line $USER1$/check_traceroute -r -H www.google.com } Can someone point me out for any config errors... Thanks in Advance. thanks, __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Feb 27 08:16:31 2006 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Mon, 27 Feb 2006 08:16:31 +0100 Subject: Check - MSSQL-DUMPS Message-ID: Hi Nagios: 2.0 Stable Linux: CRUX 2.1 Is there a plugin or a snmp to check the MSSQL - DUMPS ? I tried the plugins som works fine for "normal" mssql stat http://www.nagiosexchange.org/Databases.57.0.html?&tx_netnagext_pi1[p_view]=434 So , if anyone had an idea ....... Thanks //Jo J. Schulz SYSteam Communication AB E-Post jorg.schulz at systeam.se Webb www.systeam.se -------------- next part -------------- An HTML attachment was scrubbed... URL: From xagonzalezm at gmail.com Mon Feb 27 09:46:40 2006 From: xagonzalezm at gmail.com (Alberto) Date: Mon, 27 Feb 2006 09:46:40 +0100 Subject: Execute Event_handler witouth state change? Message-ID: <7fa4b410602270046n36e70ad6na942691add360692@mail.gmail.com> I have defined an event_handler on a service and it get executed when service changed state (from ok to warning/critical or from warning to critical or critical to warning). But I want it get executed when the service is in nonOK state. So if services always report WARNING I want the event_handler to get executed again and again. Is this posible? -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.borsani at it.net Mon Feb 27 11:13:39 2006 From: m.borsani at it.net (Marco Borsani) Date: Mon, 27 Feb 2006 11:13:39 +0100 Subject: R: Plugins 1.4.2 In-Reply-To: References: Message-ID: <00dc01c63b86$7d8f7d50$0900d40a@intranet.it.net> You are right (regarding REQUIREMENTS file), but I did not find anything regarding my problem. When I wrote "none is workly correctly" , I means that none check give me a result (performing same control did with older plugins). Marco -}-----Messaggio originale----- -}Da: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto -}di Marc Powell -}Inviato: venerd? 24 febbraio 2006 17.55 -}A: NAGIOS -}Oggetto: RE: [Nagios-users] Plugins 1.4.2 -} -} -} -}> -----Original Message----- -}> From: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users- -}> admin at lists.sourceforge.net] On Behalf Of Marco Borsani -}> Sent: Friday, February 24, 2006 3:30 AM -}> To: 'NAGIOS' -}> Subject: [Nagios-users] Plugins 1.4.2 -}> -}> Hi all . -}> -}> I compile plugins 1.4.2 on my HP-UX 11.00, running Nagios server 1.3 -}and -}> 2.0. -}> -}> None is working correctly! Is there any requirements that I have -}missed? -} -}I think the only answer given the information you've provided -}is to read the REQUIREMENTS file. =) -} -}If you need more help, a more detailed explanation of 'None -}is working correctly!' would be necessary. -} -}-- -}Marc -} -} -}------------------------------------------------------- -}This SF.Net email is sponsored by xPML, a groundbreaking -}scripting language that extends applications into web and -}mobile media. Attend the live webcast and join the prime -}developer group breaking into this new coding territory! -}http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 josh2780 at yahoo.com Mon Feb 27 17:19:01 2006 From: josh2780 at yahoo.com (Josh) Date: Mon, 27 Feb 2006 08:19:01 -0800 (PST) Subject: Monitor Fileserver Message-ID: <20060227161901.50762.qmail@web30605.mail.mud.yahoo.com> Does anyone have any suggestions as to how to monitor network drive (fileserver) status from Nagios? I'm trying to get the check_smb_shares.pl (from nagiosexchange.org) but keep getting the following error when Nagios executes the check: **ePN 'check_smb_shares.pl' Can't create /root/.smb/smb.conf : Permission denied Not sure why when the Nagios binary executes the script it wants to use /root/ (Nagios runs as the user nagios). Any other suggestions on monitoring network drives? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwilcox at mobitrac.com Mon Feb 27 17:36:26 2006 From: rwilcox at mobitrac.com (Ryan Wilcox) Date: Mon, 27 Feb 2006 10:36:26 -0600 Subject: nagios not notifying by email Message-ID: I am having a similar type problem... I have searched around, didn't find anything that was exactly the same. Here are my settings: enable_notifications=1 retain_state_information=1 Notifications were working fine in our 1.x build, after I upgraded to 2.x my email, pager, etc., notifications stopped working. Viewing my event log, I see that the notifications are actually getting logged, however they are not being sent to the recipients. Thinking about this more, it sounds like a linux problem not my nagios configs? Any help would be greatly appreciated. >> > >> > I just tried disabling all state_retention (was previously on) and >> bounced >> > nagios and finally got a message. so perhaps state retention was set >> > incorrectly. What I'd like to do is have it retain state when I bounce >> >> The 'Retention Notes' at >> http://nagios.sourceforge.net/docs/2_0/xodtemplate.html will provide >> insight into how retention works. >> >> > nagios st I don't get msgs about those I know are down on restart. >> Here's >> > what I have: >> > >> > nagios.cfg: >> > log_initial_states=0 >> > retain_state_information=0 >> > state_retention_file=/usr/local/stow/nagios/var/status.sav >> > use_retained_program_state=0 >> > >> > host.cfg: >> > retain_status_information 0 >> > retain_nonstatus_information 0 >> > >> > services.cfg: >> > retain_status_information 0 >> > retain_nonstatus_information 0 >> >> We use -- >> >> nagios.cfg - >> retain_state_information=1 >> use_retained_program_state=0 >> state_retention_file=/usr/local/nagios/var/status.sav >> >> host template - >> >> retain_status_information 1 >> retain_nonstatus_information 1 >> >> service template - >> >> retain_status_information 1 >> retain_nonstatus_information 1 >> >> Notifications are not sent out on restart. >> >> -- >> Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 rwilcox at mobitrac.com Mon Feb 27 17:44:49 2006 From: rwilcox at mobitrac.com (Ryan Wilcox) Date: Mon, 27 Feb 2006 10:44:49 -0600 Subject: Monitor Fileserver Message-ID: >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >> admin at lists.sourceforge.net] On Behalf Of Josh >> Sent: Monday, February 27, 2006 10:19 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Monitor Fileserver >> >> Does anyone have any suggestions as to how to monitor >> network drive (fileserver) status from Nagios? I'm >> trying to get the check_smb_shares.pl (from >> nagiosexchange.org) but keep getting the following >> error when Nagios executes the check: >> >> **ePN 'check_smb_shares.pl' Can't create >> /root/.smb/smb.conf : Permission denied >> >> Not sure why when the Nagios binary executes the >> script it wants to use /root/ (Nagios runs as the user >> nagios). >> >> Any other suggestions on monitoring network drives? >> we use something like this to check disks on Windows machines: check_nt_disk!M!70!90 where M is the drive we are checking and 70/90 are our limits. there are other nt commands that can be used like: check_nt_cpuload check_nt_procstate and so on... not sure this answers your question, would need to know exactly what you want to monitor. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 josh2780 at yahoo.com Mon Feb 27 17:56:55 2006 From: josh2780 at yahoo.com (Josh) Date: Mon, 27 Feb 2006 08:56:55 -0800 (PST) Subject: Monitor Fileserver In-Reply-To: References: Message-ID: <20060227165655.20337.qmail@web30603.mail.mud.yahoo.com> I'm assuming you are using NRPE and executing the check_nt_disk from a windows machine... I might end up doing that. I was attempting to use smb checks directly from the linux box running Nagios. --- Ryan Wilcox wrote: > > > >> -----Original Message----- > >> From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users- > >> admin at lists.sourceforge.net] On Behalf Of Josh > >> Sent: Monday, February 27, 2006 10:19 AM > >> To: nagios-users at lists.sourceforge.net > >> Subject: [Nagios-users] Monitor Fileserver > >> > >> Does anyone have any suggestions as to how to > monitor > >> network drive (fileserver) status from Nagios? > I'm > >> trying to get the check_smb_shares.pl (from > >> nagiosexchange.org) but keep getting the > following > >> error when Nagios executes the check: > >> > >> **ePN 'check_smb_shares.pl' Can't create > >> /root/.smb/smb.conf : Permission denied > >> > >> Not sure why when the Nagios binary executes the > >> script it wants to use /root/ (Nagios runs as the > user > >> nagios). > >> > >> Any other suggestions on monitoring network > drives? > >> > > > we use something like this to check disks on Windows > machines: > > check_nt_disk!M!70!90 > > where M is the drive we are checking and 70/90 are > our limits. there are > other nt commands that can be used like: > > check_nt_cpuload > check_nt_procstate > > and so on... > > not sure this answers your question, would need to > know exactly what you > want to monitor. > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdaily at apparatus.net Mon Feb 27 18:01:02 2006 From: jdaily at apparatus.net (John R. Daily) Date: Mon, 27 Feb 2006 12:01:02 -0500 Subject: Execute Event_handler witouth state change? In-Reply-To: <7fa4b410602270046n36e70ad6na942691add360692@mail.gmail.com> References: <7fa4b410602270046n36e70ad6na942691add360692@mail.gmail.com> Message-ID: <12FFC10D-76F3-421B-9256-D4765F53DE48@apparatus.net> I suspect that if you configure your event handler as a notification instead, and set a short notification interval, you could get the behavior you want. (That's purely speculation on my part.) -John On Feb 27, 2006, at 3:46 AM, Alberto wrote: > > I have defined an event_handler on a service and it get executed > when service changed state (from ok to warning/critical or from > warning to critical or critical to warning). > > But I want it get executed when the service is in nonOK state. So > if services always report WARNING I want the event_handler to get > executed again and again. > > Is this posible? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwilcox at mobitrac.com Mon Feb 27 18:09:29 2006 From: rwilcox at mobitrac.com (Ryan Wilcox) Date: Mon, 27 Feb 2006 11:09:29 -0600 Subject: Monitor Fileserver Message-ID: actually i am using check_nt right from the nagios (fedora core 4) box. ./check_nt -H 10.0.0.32 -v USEDDISKSPACE -lc -w 75 -c 90 output looks like: c:\ - total: 74.52 Gb - used: 52.98 Gb (71%) - free 21.54 Gb (29%) | 'c:\ Used Space'=52.98Gb;55.89;67.07;0.00;74.52 >> -----Original Message----- >> From: Josh [mailto:josh2780 at yahoo.com] >> Sent: Monday, February 27, 2006 10:57 AM >> To: Ryan Wilcox; nagios-users at lists.sourceforge.net >> Subject: RE: [Nagios-users] Monitor Fileserver >> >> I'm assuming you are using NRPE and executing the >> check_nt_disk from a windows machine... I might end >> up doing that. >> >> I was attempting to use smb checks directly from the >> linux box running Nagios. >> >> >> >> --- Ryan Wilcox wrote: >> >> > >> > >> > >> -----Original Message----- >> > >> From: nagios-users-admin at lists.sourceforge.net >> > [mailto:nagios-users- >> > >> admin at lists.sourceforge.net] On Behalf Of Josh >> > >> Sent: Monday, February 27, 2006 10:19 AM >> > >> To: nagios-users at lists.sourceforge.net >> > >> Subject: [Nagios-users] Monitor Fileserver >> > >> >> > >> Does anyone have any suggestions as to how to >> > monitor >> > >> network drive (fileserver) status from Nagios? >> > I'm >> > >> trying to get the check_smb_shares.pl (from >> > >> nagiosexchange.org) but keep getting the >> > following >> > >> error when Nagios executes the check: >> > >> >> > >> **ePN 'check_smb_shares.pl' Can't create >> > >> /root/.smb/smb.conf : Permission denied >> > >> >> > >> Not sure why when the Nagios binary executes the >> > >> script it wants to use /root/ (Nagios runs as the >> > user >> > >> nagios). >> > >> >> > >> Any other suggestions on monitoring network >> > drives? >> > >> >> > >> > >> > we use something like this to check disks on Windows >> > machines: >> > >> > check_nt_disk!M!70!90 >> > >> > where M is the drive we are checking and 70/90 are >> > our limits. there are >> > other nt commands that can be used like: >> > >> > check_nt_cpuload >> > check_nt_procstate >> > >> > and so on... >> > >> > not sure this answers your question, would need to >> > know exactly what you >> > want to monitor. >> > >> >> >> __________________________________________________ >> Do You Yahoo!? >> Tired of spam? Yahoo! Mail has the best spam protection around >> http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 xagonzalezm at gmail.com Mon Feb 27 18:22:05 2006 From: xagonzalezm at gmail.com (Alberto) Date: Mon, 27 Feb 2006 18:22:05 +0100 Subject: Nagiosgraph problem Message-ID: <7fa4b410602270922x648f273csa486ca3417798a51@mail.gmail.com> I get this in nagiosgraph.log: CGI error: RRDs::graph ERR can't make a graph without contents I get the blue screen of nagiosgraph but no images on it... what is the probleam? I have no data on rrd/ folder but if I execute insert.pl manually as nagios user I get date in the folder but if I delete it and run nagios it doesnt generate rrd files. -------------- next part -------------- An HTML attachment was scrubbed... URL: From josh2780 at yahoo.com Mon Feb 27 18:38:21 2006 From: josh2780 at yahoo.com (Josh) Date: Mon, 27 Feb 2006 09:38:21 -0800 (PST) Subject: Monitor Fileserver In-Reply-To: References: Message-ID: <20060227173821.3564.qmail@web30612.mail.mud.yahoo.com> Hmm... Got it working for local drives on the windows box but I get an "Invalid drive" error from the check_nt script when I check a drive that is mapped. Any way to check networked drives on that windows box? Or will I have to go with nrpe checks for that? --- Ryan Wilcox wrote: > actually i am using check_nt right from the nagios > (fedora core 4) box. > > ./check_nt -H 10.0.0.32 -v USEDDISKSPACE -lc -w 75 > -c 90 > > output looks like: > > c:\ - total: 74.52 Gb - used: 52.98 Gb (71%) - free > 21.54 Gb (29%) | > 'c:\ Used Space'=52.98Gb;55.89;67.07;0.00;74.52 > > > > >> -----Original Message----- > >> From: Josh [mailto:josh2780 at yahoo.com] > >> Sent: Monday, February 27, 2006 10:57 AM > >> To: Ryan Wilcox; > nagios-users at lists.sourceforge.net > >> Subject: RE: [Nagios-users] Monitor Fileserver > >> > >> I'm assuming you are using NRPE and executing the > >> check_nt_disk from a windows machine... I might > end > >> up doing that. > >> > >> I was attempting to use smb checks directly from > the > >> linux box running Nagios. > >> > >> > >> > >> --- Ryan Wilcox wrote: > >> > >> > > >> > > >> > >> -----Original Message----- > >> > >> From: > nagios-users-admin at lists.sourceforge.net > >> > [mailto:nagios-users- > >> > >> admin at lists.sourceforge.net] On Behalf Of > Josh > >> > >> Sent: Monday, February 27, 2006 10:19 AM > >> > >> To: nagios-users at lists.sourceforge.net > >> > >> Subject: [Nagios-users] Monitor Fileserver > >> > >> > >> > >> Does anyone have any suggestions as to how > to > >> > monitor > >> > >> network drive (fileserver) status from > Nagios? > >> > I'm > >> > >> trying to get the check_smb_shares.pl (from > >> > >> nagiosexchange.org) but keep getting the > >> > following > >> > >> error when Nagios executes the check: > >> > >> > >> > >> **ePN 'check_smb_shares.pl' Can't create > >> > >> /root/.smb/smb.conf : Permission denied > >> > >> > >> > >> Not sure why when the Nagios binary executes > the > >> > >> script it wants to use /root/ (Nagios runs > as the > >> > user > >> > >> nagios). > >> > >> > >> > >> Any other suggestions on monitoring network > >> > drives? > >> > >> > >> > > >> > > >> > we use something like this to check disks on > Windows > >> > machines: > >> > > >> > check_nt_disk!M!70!90 > >> > > >> > where M is the drive we are checking and 70/90 > are > >> > our limits. there are > >> > other nt commands that can be used like: > >> > > >> > check_nt_cpuload > >> > check_nt_procstate > >> > > >> > and so on... > >> > > >> > not sure this answers your question, would need > to > >> > know exactly what you > >> > want to monitor. > >> > > >> > >> > >> > __________________________________________________ > >> Do You Yahoo!? > >> Tired of spam? Yahoo! Mail has the best spam > protection around > >> http://mail.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a > groundbreaking scripting language > that extends applications into web and mobile media. > Attend the live webcast > and join the prime developer group breaking into > this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwilcox at mobitrac.com Mon Feb 27 18:50:04 2006 From: rwilcox at mobitrac.com (Ryan Wilcox) Date: Mon, 27 Feb 2006 11:50:04 -0600 Subject: Monitor Fileserver Message-ID: yeah... i got the same error as you did with a mapped drive. we aren't monitoring any mapped drives right now, hence the confusion. not sure about the mapped drives... anyone else have an idea for josh? >> -----Original Message----- >> From: Josh [mailto:josh2780 at yahoo.com] >> Sent: Monday, February 27, 2006 11:38 AM >> To: Ryan Wilcox; nagios-users at lists.sourceforge.net >> Subject: RE: [Nagios-users] Monitor Fileserver >> >> Hmm... Got it working for local drives on the windows >> box but I get an "Invalid drive" error from the >> check_nt script when I check a drive that is mapped. >> Any way to check networked drives on that windows box? >> Or will I have to go with nrpe checks for that? >> >> --- Ryan Wilcox wrote: >> >> > actually i am using check_nt right from the nagios >> > (fedora core 4) box. >> > >> > ./check_nt -H 10.0.0.32 -v USEDDISKSPACE -lc -w 75 >> > -c 90 >> > >> > output looks like: >> > >> > c:\ - total: 74.52 Gb - used: 52.98 Gb (71%) - free >> > 21.54 Gb (29%) | >> > 'c:\ Used Space'=52.98Gb;55.89;67.07;0.00;74.52 >> > >> > >> > >> > >> -----Original Message----- >> > >> From: Josh [mailto:josh2780 at yahoo.com] >> > >> Sent: Monday, February 27, 2006 10:57 AM >> > >> To: Ryan Wilcox; >> > nagios-users at lists.sourceforge.net >> > >> Subject: RE: [Nagios-users] Monitor Fileserver >> > >> >> > >> I'm assuming you are using NRPE and executing the >> > >> check_nt_disk from a windows machine... I might >> > end >> > >> up doing that. >> > >> >> > >> I was attempting to use smb checks directly from >> > the >> > >> linux box running Nagios. >> > >> >> > >> >> > >> >> > >> --- Ryan Wilcox wrote: >> > >> >> > >> > >> > >> > >> > >> > >> -----Original Message----- >> > >> > >> From: >> > nagios-users-admin at lists.sourceforge.net >> > >> > [mailto:nagios-users- >> > >> > >> admin at lists.sourceforge.net] On Behalf Of >> > Josh >> > >> > >> Sent: Monday, February 27, 2006 10:19 AM >> > >> > >> To: nagios-users at lists.sourceforge.net >> > >> > >> Subject: [Nagios-users] Monitor Fileserver >> > >> > >> >> > >> > >> Does anyone have any suggestions as to how >> > to >> > >> > monitor >> > >> > >> network drive (fileserver) status from >> > Nagios? >> > >> > I'm >> > >> > >> trying to get the check_smb_shares.pl (from >> > >> > >> nagiosexchange.org) but keep getting the >> > >> > following >> > >> > >> error when Nagios executes the check: >> > >> > >> >> > >> > >> **ePN 'check_smb_shares.pl' Can't create >> > >> > >> /root/.smb/smb.conf : Permission denied >> > >> > >> >> > >> > >> Not sure why when the Nagios binary executes >> > the >> > >> > >> script it wants to use /root/ (Nagios runs >> > as the >> > >> > user >> > >> > >> nagios). >> > >> > >> >> > >> > >> Any other suggestions on monitoring network >> > >> > drives? >> > >> > >> >> > >> > >> > >> > >> > >> > we use something like this to check disks on >> > Windows >> > >> > machines: >> > >> > >> > >> > check_nt_disk!M!70!90 >> > >> > >> > >> > where M is the drive we are checking and 70/90 >> > are >> > >> > our limits. there are >> > >> > other nt commands that can be used like: >> > >> > >> > >> > check_nt_cpuload >> > >> > check_nt_procstate >> > >> > >> > >> > and so on... >> > >> > >> > >> > not sure this answers your question, would need >> > to >> > >> > know exactly what you >> > >> > want to monitor. >> > >> > >> > >> >> > >> >> > >> >> > __________________________________________________ >> > >> Do You Yahoo!? >> > >> Tired of spam? Yahoo! Mail has the best spam >> > protection around >> > >> http://mail.yahoo.com >> > >> > >> > >> ------------------------------------------------------- >> > This SF.Net email is sponsored by xPML, a >> > groundbreaking scripting language >> > that extends applications into web and mobile media. >> > Attend the live webcast >> > and join the prime developer group breaking into >> > this new coding territory! >> > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 >> > >> >> >> __________________________________________________ >> Do You Yahoo!? >> Tired of spam? Yahoo! Mail has the best spam protection around >> http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 27 19:29:22 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 27 Feb 2006 19:29:22 +0100 (CET) Subject: Nagiosgraph problem In-Reply-To: <7fa4b410602270922x648f273csa486ca3417798a51@mail.gmail.com> References: <7fa4b410602270922x648f273csa486ca3417798a51@mail.gmail.com> Message-ID: On Mon, 27 Feb 2006, Alberto wrote: > I get this in nagiosgraph.log: > > CGI error: RRDs::graph ERR can't make a graph without contents > > I get the blue screen of nagiosgraph but no images on it... what is the > probleam? I have no data on rrd/ folder but if I execute insert.pl manually > as nagios user I get date in the folder but if I delete it and run nagios it > doesnt generate rrd files. So what does your log tell you about storing the data? Does it attempt to create the RRD files? (Should it?) How did you add the insert.pl in your config? Is it called at all? 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Feb 27 20:09:57 2006 From: engelenh at gmail.com (Hans Engelen) Date: Mon, 27 Feb 2006 20:09:57 +0100 Subject: Monitor Fileserver In-Reply-To: <5383c62b0602271045s1866fbb7xebaee14e7e06706@mail.gmail.com> References: <5383c62b0602271045s1866fbb7xebaee14e7e06706@mail.gmail.com> Message-ID: <5383c62b0602271109w2bb9f6f6v1763dd7b52267691@mail.gmail.com> Dangit replied privately and not to the list, anyway heres a forward. Also just checked the /root/.smb/smb.conf reference is actually a workaround for a problem with samba's libsmbclient in the perl module Filesys::SmbClient (used by check_smb_shares.pl). Aparantly libsmbclient segfaults if it does not exist. Therefor if it does not exist the perl module Filesys::SmbClient tries to make one (an empty one) but has no permission to do so from what you wrote. I supose you could make it yourself (touch /root/.smb/smb.conf; chmod og+r /root/.smb/smb.conf). Maybe that will solve your issues with that particular check allowing you to use it to monitor the remote shares you spoke of Cheers, Hans On 2/27/06, Hans Engelen wrote: > > For mapped drives that is quite normal since mapped drives are, barring a > small number of special cases, only accessible for the user that did the > actual mapping. It's the same problem you get for other NT services trying > to access a drive mapping made from another user. Also most likely your > pNSClient (or NC_Net or NSClient++) or whatever agent you have running on > the Windows box is running under the System security setting. This security > context is only valid for that windows box internally and as such has no > credentials to access anything beyond that machine. This includes (but is > not limited to) shares. > > Theoretically you could of course run your Nagios Agent under an actual > user account, log in interactively on that same account and create a > persistent mapping (net use * \\server\share /persist:yes, if memory serves) > to the shares in question. Since the service will use the same profile when > logging in that should solve the issue. But why even monitor a remote disk > in this way. Just install the Nagios Agent on the server that houses the > share and monitor it directly instead of indirectly (with all the quirks and > pitfalls that come with it). > > Of course in this case the check_smb_shares is a solution too. As to why > it insists on writing to /root/.smb/smb.conf is a bit strange. Possibly this > was defined somewhere in the check_smb_shares.pl file. Open it up in a text > editor and see. > > Cheers, > Hans > Cheers, > Hans > > On 2/27/06, Ryan Wilcox wrote: > > > > yeah... i got the same error as you did with a mapped drive. we aren't > > monitoring any mapped drives right now, hence the confusion. > > > > not sure about the mapped drives... anyone else have an idea for josh? > > > > >> -----Original Message----- > > >> From: Josh [mailto:josh2780 at yahoo.com] > > >> Sent: Monday, February 27, 2006 11:38 AM > > >> To: Ryan Wilcox; nagios-users at lists.sourceforge.net > > >> Subject: RE: [Nagios-users] Monitor Fileserver > > >> > > >> Hmm... Got it working for local drives on the windows > > >> box but I get an "Invalid drive" error from the > > >> check_nt script when I check a drive that is mapped. > > >> Any way to check networked drives on that windows box? > > >> Or will I have to go with nrpe checks for that? > > >> > > >> --- Ryan Wilcox wrote: > > >> > > >> > actually i am using check_nt right from the nagios > > >> > (fedora core 4) box. > > >> > > > >> > ./check_nt -H 10.0.0.32 -v USEDDISKSPACE -lc -w 75 > > >> > -c 90 > > >> > > > >> > output looks like: > > >> > > > >> > c:\ - total: 74.52 Gb - used: 52.98 Gb (71%) - free > > >> > 21.54 Gb (29%) | > > >> > 'c:\ Used Space'=52.98Gb;55.89;67.07;0.00;74.52 > > >> > > > >> > > > >> > > > >> > >> -----Original Message----- > > >> > >> From: Josh [mailto:josh2780 at yahoo.com] > > >> > >> Sent: Monday, February 27, 2006 10:57 AM > > >> > >> To: Ryan Wilcox; > > >> > nagios-users at lists.sourceforge.net > > >> > >> Subject: RE: [Nagios-users] Monitor Fileserver > > >> > >> > > >> > >> I'm assuming you are using NRPE and executing the > > >> > >> check_nt_disk from a windows machine... I might > > >> > end > > >> > >> up doing that. > > >> > >> > > >> > >> I was attempting to use smb checks directly from > > >> > the > > >> > >> linux box running Nagios. > > >> > >> > > >> > >> > > >> > >> > > >> > >> --- Ryan Wilcox < rwilcox at mobitrac.com> wrote: > > >> > >> > > >> > >> > > > >> > >> > > > >> > >> > >> -----Original Message----- > > >> > >> > >> From: > > >> > nagios-users-admin at lists.sourceforge.net > > >> > >> > [mailto:nagios-users- > > >> > >> > >> admin at lists.sourceforge.net] On Behalf Of > > >> > Josh > > >> > >> > >> Sent: Monday, February 27, 2006 10:19 AM > > >> > >> > >> To: nagios-users at lists.sourceforge.net > > >> > >> > >> Subject: [Nagios-users] Monitor Fileserver > > >> > >> > >> > > >> > >> > >> Does anyone have any suggestions as to how > > >> > to > > >> > >> > monitor > > >> > >> > >> network drive (fileserver) status from > > >> > Nagios? > > >> > >> > I'm > > >> > >> > >> trying to get the check_smb_shares.pl (from > > >> > >> > >> nagiosexchange.org) but keep getting the > > >> > >> > following > > >> > >> > >> error when Nagios executes the check: > > >> > >> > >> > > >> > >> > >> **ePN 'check_smb_shares.pl' Can't create > > >> > >> > >> /root/.smb/smb.conf : Permission denied > > >> > >> > >> > > >> > >> > >> Not sure why when the Nagios binary executes > > >> > the > > >> > >> > >> script it wants to use /root/ (Nagios runs > > >> > as the > > >> > >> > user > > >> > >> > >> nagios). > > >> > >> > >> > > >> > >> > >> Any other suggestions on monitoring network > > >> > >> > drives? > > >> > >> > >> > > >> > >> > > > >> > >> > > > >> > >> > we use something like this to check disks on > > >> > Windows > > >> > >> > machines: > > >> > >> > > > >> > >> > check_nt_disk!M!70!90 > > >> > >> > > > >> > >> > where M is the drive we are checking and 70/90 > > >> > are > > >> > >> > our limits. there are > > >> > >> > other nt commands that can be used like: > > >> > >> > > > >> > >> > check_nt_cpuload > > >> > >> > check_nt_procstate > > >> > >> > > > >> > >> > and so on... > > >> > >> > > > >> > >> > not sure this answers your question, would need > > >> > to > > >> > >> > know exactly what you > > >> > >> > want to monitor. > > >> > >> > > > >> > >> > > >> > >> > > >> > >> > > >> > __________________________________________________ > > >> > >> Do You Yahoo!? > > >> > >> Tired of spam? Yahoo! Mail has the best spam > > >> > protection around > > >> > >> http://mail.yahoo.com > > >> > > > >> > > > >> > > > >> ------------------------------------------------------- > > >> > This SF.Net email is sponsored by xPML, a > > >> > groundbreaking scripting language > > >> > that extends applications into web and mobile media. > > >> > Attend the live webcast > > >> > and join the prime developer group breaking into > > >> > this new coding territory! > > >> > > > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 > > >> > > > >> > > >> > > >> __________________________________________________ > > >> Do You Yahoo!? > > >> Tired of spam? Yahoo! Mail has the best spam protection around > > >> http://mail.yahoo.com > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language > > that extends applications into web and mobile media. Attend the live > > webcast > > and join the prime developer group breaking into this new coding > > territory! > > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&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 josh2780 at yahoo.com Mon Feb 27 20:29:49 2006 From: josh2780 at yahoo.com (Josh) Date: Mon, 27 Feb 2006 11:29:49 -0800 (PST) Subject: Monitor Fileserver In-Reply-To: <5383c62b0602271109w2bb9f6f6v1763dd7b52267691@mail.gmail.com> References: <5383c62b0602271109w2bb9f6f6v1763dd7b52267691@mail.gmail.com> Message-ID: <20060227192949.85073.qmail@web30603.mail.mud.yahoo.com> Hans / Ryan, Thanks for your input... I thought the question might arise about "why don't I monitor the server housing the shares"... well, the problem there is the machine is a NetApp device (not running windows and won't allow me to install anything on it of course... it's an appliance). I've tried touching the /root/.smb/smb.conf... the problem is most likely related to the nagios user can't even see inside /root. I like your idea of mapping the drives under the nagios user and then running the service as the nagios user... I'll give that a shot. On a side note, I did try getting the nrpe checks to work on the windows server but am getting the following error: "CScript Error: Execution of the Windows Script Host failed. (Catastrophic failure)" A little research shows it is most likely related to a software security policy in place. Anyone on this list know what I need to change? Thanks again for all your help. Josh --- Hans Engelen wrote: > Dangit replied privately and not to the list, anyway > heres a forward. > > Also just checked the /root/.smb/smb.conf reference > is actually a workaround > for a problem with samba's libsmbclient in the perl > module > Filesys::SmbClient (used by check_smb_shares.pl). > Aparantly libsmbclient > segfaults if it does not exist. Therefor if it does > not exist the perl > module Filesys::SmbClient tries to make one (an > empty one) but has no > permission to do so from what you wrote. I supose > you could make it yourself > (touch /root/.smb/smb.conf; chmod og+r > /root/.smb/smb.conf). Maybe that will > solve your issues with that particular check > allowing you to use it to > monitor the remote shares you spoke of > > Cheers, > Hans > > > On 2/27/06, Hans Engelen wrote: > > > > For mapped drives that is quite normal since > mapped drives are, barring a > > small number of special cases, only accessible for > the user that did the > > actual mapping. It's the same problem you get for > other NT services trying > > to access a drive mapping made from another user. > Also most likely your > > pNSClient (or NC_Net or NSClient++) or whatever > agent you have running on > > the Windows box is running under the System > security setting. This security > > context is only valid for that windows box > internally and as such has no > > credentials to access anything beyond that > machine. This includes (but is > > not limited to) shares. > > > > Theoretically you could of course run your Nagios > Agent under an actual > > user account, log in interactively on that same > account and create a > > persistent mapping (net use * \\server\share > /persist:yes, if memory serves) > > to the shares in question. Since the service will > use the same profile when > > logging in that should solve the issue. But why > even monitor a remote disk > > in this way. Just install the Nagios Agent on the > server that houses the > > share and monitor it directly instead of > indirectly (with all the quirks and > > pitfalls that come with it). > > > > Of course in this case the check_smb_shares is a > solution too. As to why > > it insists on writing to /root/.smb/smb.conf is a > bit strange. Possibly this > > was defined somewhere in the check_smb_shares.pl > file. Open it up in a text > > editor and see. > > > > Cheers, > > Hans > > Cheers, > > Hans > > > > On 2/27/06, Ryan Wilcox > wrote: > > > > > > yeah... i got the same error as you did with a > mapped drive. we aren't > > > monitoring any mapped drives right now, hence > the confusion. > > > > > > not sure about the mapped drives... anyone else > have an idea for josh? > > > > > > >> -----Original Message----- > > > >> From: Josh [mailto:josh2780 at yahoo.com] > > > >> Sent: Monday, February 27, 2006 11:38 AM > > > >> To: Ryan Wilcox; > nagios-users at lists.sourceforge.net > > > >> Subject: RE: [Nagios-users] Monitor > Fileserver > > > >> > > > >> Hmm... Got it working for local drives on > the windows > > > >> box but I get an "Invalid drive" error from > the > > > >> check_nt script when I check a drive that is > mapped. > > > >> Any way to check networked drives on that > windows box? > > > >> Or will I have to go with nrpe checks for > that? > > > >> > > > >> --- Ryan Wilcox wrote: > > > >> > > > >> > actually i am using check_nt right from the > nagios > > > >> > (fedora core 4) box. > > > >> > > > > >> > ./check_nt -H 10.0.0.32 -v USEDDISKSPACE > -lc -w 75 > > > >> > -c 90 > > > >> > > > > >> > output looks like: > > > >> > > > > >> > c:\ - total: 74.52 Gb - used: 52.98 Gb > (71%) - free > > > >> > 21.54 Gb (29%) | > > > >> > 'c:\ Used > Space'=52.98Gb;55.89;67.07;0.00;74.52 > > > >> > > > > >> > > > > >> > > > > >> > >> -----Original Message----- > > > >> > >> From: Josh [mailto:josh2780 at yahoo.com] > > > >> > >> Sent: Monday, February 27, 2006 10:57 AM > > > >> > >> To: Ryan Wilcox; > > > >> > nagios-users at lists.sourceforge.net > > > >> > >> Subject: RE: [Nagios-users] Monitor > Fileserver > > > >> > >> > > > >> > >> I'm assuming you are using NRPE and > executing the > > > >> > >> check_nt_disk from a windows machine... > I might > > > >> > end > > > >> > >> up doing that. > > > >> > >> > > > >> > >> I was attempting to use smb checks > directly from > > > >> > the > > > >> > >> linux box running Nagios. > > > >> > >> > > > >> > >> > > > >> > >> > > > >> > >> --- Ryan Wilcox < rwilcox at mobitrac.com> > wrote: > > > >> > >> > > > >> > >> > > > > >> > >> > > > > >> > >> > >> -----Original Message----- > > > >> > >> > >> From: > > > >> > nagios-users-admin at lists.sourceforge.net > > > >> > >> > [mailto:nagios-users- > > > >> > >> > >> admin at lists.sourceforge.net] On > Behalf Of > > > >> > Josh > > > >> > >> > >> Sent: Monday, February 27, 2006 > 10:19 AM > > > >> > >> > >> To: > nagios-users at lists.sourceforge.net > > > >> > >> > >> Subject: [Nagios-users] Monitor > Fileserver > > > >> > >> > >> > > > >> > >> > >> Does anyone have any suggestions as > to how > > > >> > to > > > >> > >> > monitor > > > >> > >> > >> network drive (fileserver) status > from > > > >> > Nagios? > > > >> > >> > I'm > > > >> > >> > >> trying to get the > check_smb_shares.pl (from > > > >> > >> > >> nagiosexchange.org) but keep > getting the > > > >> > >> > following > > > >> > >> > >> error when Nagios executes the > check: > > > >> > >> > >> > > > >> > >> > >> **ePN 'check_smb_shares.pl' Can't > create > > > >> > >> > >> /root/.smb/smb.conf : Permission > denied > > > >> > >> > >> > > > >> > >> > >> Not sure why when the Nagios binary > executes > > > >> > the > > > >> > >> > >> script it wants to use /root/ > (Nagios runs > > > >> > as the > > > >> > >> > user > > > >> > >> > >> nagios). > > > >> > >> > >> > > > >> > >> > >> Any other suggestions on monitoring > network > > > >> > >> > drives? > > > >> > >> > >> > > > >> > >> > > > > >> > >> > > === message truncated === __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 20:43:29 2006 From: marc at ena.com (Marc Powell) Date: Mon, 27 Feb 2006 13:43:29 -0600 Subject: Plugins 1.4.2 Message-ID: Well, what _does_ happen? Do you get any output at all? Any errors? How are you calling the commands exactly. Are you performing your tests as the nagios user? That's what I meant when I asked for a more detailed explanation. -- Marc > -----Original Message----- > From: Marco Borsani [mailto:m.borsani at it.net] > Sent: Monday, February 27, 2006 4:14 AM > To: Marc Powell > Cc: 'NAGIOS' > Subject: R: [Nagios-users] Plugins 1.4.2 > > You are right (regarding REQUIREMENTS file), but I did not find anything > regarding my problem. > > When I wrote "none is workly correctly" , I means that none check give me > a > result (performing same control did with older plugins). > > Marco > > -}-----Messaggio originale----- > -}Da: nagios-users-admin at lists.sourceforge.net > -}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto > -}di Marc Powell > -}Inviato: venerd? 24 febbraio 2006 17.55 > -}A: NAGIOS > -}Oggetto: RE: [Nagios-users] Plugins 1.4.2 > -} > -} > -} > -}> -----Original Message----- > -}> From: nagios-users-admin at lists.sourceforge.net > -}[mailto:nagios-users- > -}> admin at lists.sourceforge.net] On Behalf Of Marco Borsani > -}> Sent: Friday, February 24, 2006 3:30 AM > -}> To: 'NAGIOS' > -}> Subject: [Nagios-users] Plugins 1.4.2 > -}> > -}> Hi all . > -}> > -}> I compile plugins 1.4.2 on my HP-UX 11.00, running Nagios server 1.3 > -}and > -}> 2.0. > -}> > -}> None is working correctly! Is there any requirements that I have > -}missed? > -} > -}I think the only answer given the information you've provided > -}is to read the REQUIREMENTS file. =) > -} > -}If you need more help, a more detailed explanation of 'None > -}is working correctly!' would be necessary. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Mon Feb 27 20:53:29 2006 From: marc at ena.com (Marc Powell) Date: Mon, 27 Feb 2006 13:53:29 -0600 Subject: nagios not notifying by email Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Ryan Wilcox > Sent: Monday, February 27, 2006 10:36 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] nagios not notifying by email > > I am having a similar type problem... I have searched around, didn't > find anything that was exactly the same. Here are my settings: > > enable_notifications=1 > retain_state_information=1 > > Notifications were working fine in our 1.x build, after I upgraded to > 2.x my email, pager, etc., notifications stopped working. > > Viewing my event log, I see that the notifications are actually getting > logged, however they are not being sent to the recipients. Thinking > about this more, it sounds like a linux problem not my nagios configs? > > Any help would be greatly appreciated. What have you tried to diagnose or correct the problem before coming here? It appears that your host and service definitions are probably OK if you're seeing notification attempts in nagios.log. Did you verify you're using the correct (new) macros in your notification command? Have you tried running your notification command from the command line as the nagios user, substituting in appropriate text for the macros? What happens? Have you looked in your mail server logs to determine if it sees the notification attempt? Queues the mail? Attempts to deliver it? Bounces it? Have you tried 'echo'ing your notification command to a file to verify that it has the correct syntax and format? -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Mon Feb 27 21:06:26 2006 From: marc at ena.com (Marc Powell) Date: Mon, 27 Feb 2006 14:06:26 -0600 Subject: Alert messages as files? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of John R. Daily > Sent: Saturday, February 25, 2006 6:54 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Alert messages as files? > > I'm in the early stages of evaluating Nagios 2.0 for broader use in > our environment, and one of the negative aspects for me is the > current approach for defining alert messages. I would much rather > have them defined individually outside the configuration files, but > still (obviously) allowed to reference macros. Many people already do this by making their notification commands a custom script instead of using /bin/mail[x] directly, passing the necessary macros as command line options. The sample notification commands are just that, samples. They get the job done in most cases but can be enhanced or replaced as needed by more advanced users. > It occurred to me that one relatively straightforward solution would > be to define an external helper that could parse alert files, looking > for macro invocations and replacing the values with data from the > NAGIOS_ environment variables. > > Rather than reinvent the wheel: are there any such tools floating > around in the Nagios ecosystem? None that I am aware of that are public/OSS. Reliable Response's product may do something similar as part of it's bag of tricks. > > Alternatively, is anyone aware of a good reason to not take this > approach? It should be fine. Macros as environment variables is a new feature with 2.0 and I don't recall anyone specifically saying they're using them or having problems with them so YMMV. I'll probably start using them in the future as we transition to 2.0. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 daniel.paessens at hp.com Mon Feb 27 21:09:18 2006 From: daniel.paessens at hp.com (Paessens, Daniel) Date: Mon, 27 Feb 2006 21:09:18 +0100 Subject: Graphs not seen in Trends report generation Message-ID: Hello, My experience is best to install all image related items before installation of Nagios. Items like freetype and so on. If you install them afterwards it has no influence on the existing installation. Daniel -----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 20, 2006 14:36 To: satish kumar Cc: nagios Subject: Re: [Nagios-users] Graphs not seen in Trends report generation On 2/20/06, satish kumar wrote: > For any server/service i am getting only the indeterminate state at > 100% and remaining will be 0%. Please help me ASAP. > > Thanks, satish > > > satish kumar wrote: > > > Hi, > > I am not able to see the graphs even though the "suppress image map" > is disabled.Please let me know what steps to be taken to enable graphs. You might get a better response if you posted useful information, like say your version of nagios, what services you're trying to graph, and the related configs..... Little things like that which would allow people to help instead of pulling answers out of a random orifice. -- "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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Mon Feb 27 21:17:43 2006 From: moshesharon at gmail.com (moshe sharon) Date: Mon, 27 Feb 2006 22:17:43 +0200 Subject: Execute Event_handler witouth state change? In-Reply-To: <7fa4b410602270046n36e70ad6na942691add360692@mail.gmail.com> References: <7fa4b410602270046n36e70ad6na942691add360692@mail.gmail.com> Message-ID: <88ad29240602271217r158faa3dobc3792499dc59a5b@mail.gmail.com> hello yes it is possible. enable is_volatile http://nagios.sourceforge.net/docs/2_0/volatileservices.html and it should do the trick Moshe Sharon On 2/27/06, Alberto wrote: > > > I have defined an event_handler on a service and it get executed when > service changed state (from ok to warning/critical or from warning to > critical or critical to warning). > > But I want it get executed when the service is in nonOK state. So if > services always report WARNING I want the event_handler to get executed > again and again. > > Is this posible? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwilcox at mobitrac.com Mon Feb 27 22:30:33 2006 From: rwilcox at mobitrac.com (Ryan Wilcox) Date: Mon, 27 Feb 2006 15:30:33 -0600 Subject: nagios not notifying by email [RESOLVED] Message-ID: error existed between chair and keyboard... thanks for your suggestions marc, it made me think of something that i didn't check before my inquiry. thanks ryan >> -----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 27, 2006 1:53 PM >> To: nagios-users at lists.sourceforge.net >> Subject: RE: [Nagios-users] nagios not notifying by email >> >> >> >> > -----Original Message----- >> > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >> > admin at lists.sourceforge.net] On Behalf Of Ryan Wilcox >> > Sent: Monday, February 27, 2006 10:36 AM >> > To: nagios-users at lists.sourceforge.net >> > Subject: RE: [Nagios-users] nagios not notifying by email >> > >> > I am having a similar type problem... I have searched around, didn't >> > find anything that was exactly the same. Here are my settings: >> > >> > enable_notifications=1 >> > retain_state_information=1 >> > >> > Notifications were working fine in our 1.x build, after I upgraded to >> > 2.x my email, pager, etc., notifications stopped working. >> > >> > Viewing my event log, I see that the notifications are actually >> getting >> > logged, however they are not being sent to the recipients. Thinking >> > about this more, it sounds like a linux problem not my nagios configs? >> > >> > Any help would be greatly appreciated. >> >> What have you tried to diagnose or correct the problem before coming >> here? >> >> It appears that your host and service definitions are probably OK if >> you're seeing notification attempts in nagios.log. >> >> Did you verify you're using the correct (new) macros in your >> notification command? >> >> Have you tried running your notification command from the command line >> as the nagios user, substituting in appropriate text for the macros? >> What happens? >> >> Have you looked in your mail server logs to determine if it sees the >> notification attempt? Queues the mail? Attempts to deliver it? Bounces >> it? >> >> Have you tried 'echo'ing your notification command to a file to verify >> that it has the correct syntax and format? >> >> -- >> Marc >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> language >> that extends applications into web and mobile media. Attend the live >> webcast >> and join the prime developer group breaking into this new coding >> territory! >> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 boinger at tradingtechnologies.com Mon Feb 27 22:43:06 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Mon, 27 Feb 2006 15:43:06 -0600 Subject: nagios not notifying by email [RESOLVED] In-Reply-To: References: Message-ID: <1141076586.1106.0.camel@chi100400> On Mon, 2006-02-27 at 15:30 -0600, Ryan Wilcox wrote: > error existed between chair and keyboard... thanks for your suggestions > marc, it made me think of something that i didn't check before my > inquiry. what was it, for people searching the archives in the future? > >> -----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 27, 2006 1:53 PM > >> To: nagios-users at lists.sourceforge.net > >> Subject: RE: [Nagios-users] nagios not notifying by email > >> > >> > >> > >> > -----Original Message----- > >> > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users- > >> > admin at lists.sourceforge.net] On Behalf Of Ryan Wilcox > >> > Sent: Monday, February 27, 2006 10:36 AM > >> > To: nagios-users at lists.sourceforge.net > >> > Subject: RE: [Nagios-users] nagios not notifying by email > >> > > >> > I am having a similar type problem... I have searched around, > didn't > >> > find anything that was exactly the same. Here are my settings: > >> > > >> > enable_notifications=1 > >> > retain_state_information=1 > >> > > >> > Notifications were working fine in our 1.x build, after I upgraded > to > >> > 2.x my email, pager, etc., notifications stopped working. > >> > > >> > Viewing my event log, I see that the notifications are actually > >> getting > >> > logged, however they are not being sent to the recipients. Thinking > >> > about this more, it sounds like a linux problem not my nagios > configs? > >> > > >> > Any help would be greatly appreciated. > >> > >> What have you tried to diagnose or correct the problem before coming > >> here? > >> > >> It appears that your host and service definitions are probably OK if > >> you're seeing notification attempts in nagios.log. > >> > >> Did you verify you're using the correct (new) macros in your > >> notification command? > >> > >> Have you tried running your notification command from the command > line > >> as the nagios user, substituting in appropriate text for the macros? > >> What happens? > >> > >> Have you looked in your mail server logs to determine if it sees the > >> notification attempt? Queues the mail? Attempts to deliver it? > Bounces > >> it? > >> > >> Have you tried 'echo'ing your notification command to a file to > verify > >> that it has the correct syntax and format? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From engelenh at gmail.com Mon Feb 27 23:00:43 2006 From: engelenh at gmail.com (Hans Engelen) Date: Mon, 27 Feb 2006 23:00:43 +0100 Subject: Monitor Fileserver In-Reply-To: <20060227192949.85073.qmail@web30603.mail.mud.yahoo.com> References: <5383c62b0602271109w2bb9f6f6v1763dd7b52267691@mail.gmail.com> <20060227192949.85073.qmail@web30603.mail.mud.yahoo.com> Message-ID: <5383c62b0602271400j316a6357g2df2c3bdc6a3c074@mail.gmail.com> Ah, i see. Question ... is there no SNMP access for these blackboxes ? Most blackboxes do from my experience (though I usually steer clear of them so I haven't used that many of them really). SNMP access will most likely allow you to poll a fair number of interesting metrics. Free space, network utilization, load ... that kind of thing. Worth checking into should my other suggestion fail. Incidentally don't forget to give the service-user enough rights to do its work, i.e. on the share and also for other checks it might have to do or you might get other unexplained errors. Start out with adding it to the local admins group to test the general idea first (and get a baseline check) then bump it down to normal user and add rights as you need. But I am sure you know that drill. Cheers, Hans On 2/27/06, Josh wrote: > > Hans / Ryan, > > Thanks for your input... > > I thought the question might arise about "why don't I > monitor the server housing the shares"... well, the > problem there is the machine is a NetApp device (not > running windows and won't allow me to install anything > on it of course... it's an appliance). > > I've tried touching the /root/.smb/smb.conf... the > problem is most likely related to the nagios user > can't even see inside /root. > > I like your idea of mapping the drives under the > nagios user and then running the service as the nagios > user... I'll give that a shot. > > On a side note, I did try getting the nrpe checks to > work on the windows server but am getting the > following error: > > "CScript Error: Execution of the Windows Script Host > failed. (Catastrophic failure)" > > A little research shows it is most likely related to a > software security policy in place. Anyone on this > list know what I need to change? > > Thanks again for all your help. > > Josh > > --- Hans Engelen wrote: > > > Dangit replied privately and not to the list, anyway > > heres a forward. > > > > Also just checked the /root/.smb/smb.conf reference > > is actually a workaround > > for a problem with samba's libsmbclient in the perl > > module > > Filesys::SmbClient (used by check_smb_shares.pl). > > Aparantly libsmbclient > > segfaults if it does not exist. Therefor if it does > > not exist the perl > > module Filesys::SmbClient tries to make one (an > > empty one) but has no > > permission to do so from what you wrote. I supose > > you could make it yourself > > (touch /root/.smb/smb.conf; chmod og+r > > /root/.smb/smb.conf). Maybe that will > > solve your issues with that particular check > > allowing you to use it to > > monitor the remote shares you spoke of > > > > Cheers, > > Hans > > > > > > On 2/27/06, Hans Engelen wrote: > > > > > > For mapped drives that is quite normal since > > mapped drives are, barring a > > > small number of special cases, only accessible for > > the user that did the > > > actual mapping. It's the same problem you get for > > other NT services trying > > > to access a drive mapping made from another user. > > Also most likely your > > > pNSClient (or NC_Net or NSClient++) or whatever > > agent you have running on > > > the Windows box is running under the System > > security setting. This security > > > context is only valid for that windows box > > internally and as such has no > > > credentials to access anything beyond that > > machine. This includes (but is > > > not limited to) shares. > > > > > > Theoretically you could of course run your Nagios > > Agent under an actual > > > user account, log in interactively on that same > > account and create a > > > persistent mapping (net use * \\server\share > > /persist:yes, if memory serves) > > > to the shares in question. Since the service will > > use the same profile when > > > logging in that should solve the issue. But why > > even monitor a remote disk > > > in this way. Just install the Nagios Agent on the > > server that houses the > > > share and monitor it directly instead of > > indirectly (with all the quirks and > > > pitfalls that come with it). > > > > > > Of course in this case the check_smb_shares is a > > solution too. As to why > > > it insists on writing to /root/.smb/smb.conf is a > > bit strange. Possibly this > > > was defined somewhere in the check_smb_shares.pl > > file. Open it up in a text > > > editor and see. > > > > > > Cheers, > > > Hans > > > Cheers, > > > Hans > > > > > > On 2/27/06, Ryan Wilcox > > wrote: > > > > > > > > yeah... i got the same error as you did with a > > mapped drive. we aren't > > > > monitoring any mapped drives right now, hence > > the confusion. > > > > > > > > not sure about the mapped drives... anyone else > > have an idea for josh? > > > > > > > > >> -----Original Message----- > > > > >> From: Josh [mailto:josh2780 at yahoo.com] > > > > >> Sent: Monday, February 27, 2006 11:38 AM > > > > >> To: Ryan Wilcox; > > nagios-users at lists.sourceforge.net > > > > >> Subject: RE: [Nagios-users] Monitor > > Fileserver > > > > >> > > > > >> Hmm... Got it working for local drives on > > the windows > > > > >> box but I get an "Invalid drive" error from > > the > > > > >> check_nt script when I check a drive that is > > mapped. > > > > >> Any way to check networked drives on that > > windows box? > > > > >> Or will I have to go with nrpe checks for > > that? > > > > >> > > > > >> --- Ryan Wilcox wrote: > > > > >> > > > > >> > actually i am using check_nt right from the > > nagios > > > > >> > (fedora core 4) box. > > > > >> > > > > > >> > ./check_nt -H 10.0.0.32 -v USEDDISKSPACE > > -lc -w 75 > > > > >> > -c 90 > > > > >> > > > > > >> > output looks like: > > > > >> > > > > > >> > c:\ - total: 74.52 Gb - used: 52.98 Gb > > (71%) - free > > > > >> > 21.54 Gb (29%) | > > > > >> > 'c:\ Used > > Space'=52.98Gb;55.89;67.07;0.00;74.52 > > > > >> > > > > > >> > > > > > >> > > > > > >> > >> -----Original Message----- > > > > >> > >> From: Josh [mailto:josh2780 at yahoo.com] > > > > >> > >> Sent: Monday, February 27, 2006 10:57 AM > > > > >> > >> To: Ryan Wilcox; > > > > >> > nagios-users at lists.sourceforge.net > > > > >> > >> Subject: RE: [Nagios-users] Monitor > > Fileserver > > > > >> > >> > > > > >> > >> I'm assuming you are using NRPE and > > executing the > > > > >> > >> check_nt_disk from a windows machine... > > I might > > > > >> > end > > > > >> > >> up doing that. > > > > >> > >> > > > > >> > >> I was attempting to use smb checks > > directly from > > > > >> > the > > > > >> > >> linux box running Nagios. > > > > >> > >> > > > > >> > >> > > > > >> > >> > > > > >> > >> --- Ryan Wilcox < rwilcox at mobitrac.com> > > wrote: > > > > >> > >> > > > > >> > >> > > > > > >> > >> > > > > > >> > >> > >> -----Original Message----- > > > > >> > >> > >> From: > > > > >> > nagios-users-admin at lists.sourceforge.net > > > > >> > >> > [mailto:nagios-users- > > > > >> > >> > >> admin at lists.sourceforge.net] On > > Behalf Of > > > > >> > Josh > > > > >> > >> > >> Sent: Monday, February 27, 2006 > > 10:19 AM > > > > >> > >> > >> To: > > nagios-users at lists.sourceforge.net > > > > >> > >> > >> Subject: [Nagios-users] Monitor > > Fileserver > > > > >> > >> > >> > > > > >> > >> > >> Does anyone have any suggestions as > > to how > > > > >> > to > > > > >> > >> > monitor > > > > >> > >> > >> network drive (fileserver) status > > from > > > > >> > Nagios? > > > > >> > >> > I'm > > > > >> > >> > >> trying to get the > > check_smb_shares.pl (from > > > > >> > >> > >> nagiosexchange.org) but keep > > getting the > > > > >> > >> > following > > > > >> > >> > >> error when Nagios executes the > > check: > > > > >> > >> > >> > > > > >> > >> > >> **ePN 'check_smb_shares.pl' Can't > > create > > > > >> > >> > >> /root/.smb/smb.conf : Permission > > denied > > > > >> > >> > >> > > > > >> > >> > >> Not sure why when the Nagios binary > > executes > > > > >> > the > > > > >> > >> > >> script it wants to use /root/ > > (Nagios runs > > > > >> > as the > > > > >> > >> > user > > > > >> > >> > >> nagios). > > > > >> > >> > >> > > > > >> > >> > >> Any other suggestions on monitoring > > network > > > > >> > >> > drives? > > > > >> > >> > >> > > > > >> > >> > > > > > >> > >> > > > > === message truncated === > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 JasonFrank at srcp.com Mon Feb 27 23:05:51 2006 From: JasonFrank at srcp.com (Frank, Jason) Date: Mon, 27 Feb 2006 16:05:51 -0600 Subject: Monitor Fileserver Message-ID: <741E24F735AED141B61948AC155E7DAA741A10@CORPDALLMSG05.na.srcp.net> NetApp certainly has SNMP support. It's not wonderful, it only supports v1. As a result, it has the usual problems with overflowing COUNTER32's. But, it's fairly easy to set up and will let you monitor just about anything you want. Jason ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Hans Engelen Sent: Monday, February 27, 2006 4:01 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Monitor Fileserver Ah, i see. Question ... is there no SNMP access for these blackboxes ? Most blackboxes do from my experience (though I usually steer clear of them so I haven't used that many of them really). SNMP access will most likely allow you to poll a fair number of interesting metrics. Free space, network utilization, load ... that kind of thing. Worth checking into should my other suggestion fail. Incidentally don't forget to give the service-user enough rights to do its work, i.e. on the share and also for other checks it might have to do or you might get other unexplained errors. Start out with adding it to the local admins group to test the general idea first (and get a baseline check) then bump it down to normal user and add rights as you need. But I am sure you know that drill. Cheers, Hans On 2/27/06, Josh wrote: Hans / Ryan, Thanks for your input... I thought the question might arise about "why don't I monitor the server housing the shares"... well, the problem there is the machine is a NetApp device (not running windows and won't allow me to install anything on it of course... it's an appliance). I've tried touching the /root/.smb/smb.conf... the problem is most likely related to the nagios user can't even see inside /root. I like your idea of mapping the drives under the nagios user and then running the service as the nagios user... I'll give that a shot. On a side note, I did try getting the nrpe checks to work on the windows server but am getting the following error: "CScript Error: Execution of the Windows Script Host failed. (Catastrophic failure)" A little research shows it is most likely related to a software security policy in place. Anyone on this list know what I need to change? Thanks again for all your help. Josh --- Hans Engelen wrote: > Dangit replied privately and not to the list, anyway > heres a forward. > > Also just checked the /root/.smb/smb.conf reference > is actually a workaround > for a problem with samba's libsmbclient in the perl > module > Filesys::SmbClient (used by check_smb_shares.pl). > Aparantly libsmbclient > segfaults if it does not exist. Therefor if it does > not exist the perl > module Filesys::SmbClient tries to make one (an > empty one) but has no > permission to do so from what you wrote. I supose > you could make it yourself > (touch /root/.smb/smb.conf; chmod og+r > /root/.smb/smb.conf). Maybe that will > solve your issues with that particular check > allowing you to use it to > monitor the remote shares you spoke of > > Cheers, > Hans > > > On 2/27/06, Hans Engelen wrote: > > > > For mapped drives that is quite normal since > mapped drives are, barring a > > small number of special cases, only accessible for > the user that did the > > actual mapping. It's the same problem you get for > other NT services trying > > to access a drive mapping made from another user. > Also most likely your > > pNSClient (or NC_Net or NSClient++) or whatever > agent you have running on > > the Windows box is running under the System > security setting. This security > > context is only valid for that windows box > internally and as such has no > > credentials to access anything beyond that > machine. This includes (but is > > not limited to) shares. > > > > Theoretically you could of course run your Nagios > Agent under an actual > > user account, log in interactively on that same > account and create a > > persistent mapping (net use * \\server\share > /persist:yes, if memory serves) > > to the shares in question. Since the service will > use the same profile when > > logging in that should solve the issue. But why > even monitor a remote disk > > in this way. Just install the Nagios Agent on the > server that houses the > > share and monitor it directly instead of > indirectly (with all the quirks and > > pitfalls that come with it). > > > > Of course in this case the check_smb_shares is a > solution too. As to why > > it insists on writing to /root/.smb/smb.conf is a > bit strange. Possibly this > > was defined somewhere in the check_smb_shares.pl > file. Open it up in a text > > editor and see. > > > > Cheers, > > Hans > > Cheers, > > Hans > > > > On 2/27/06, Ryan Wilcox < rwilcox at mobitrac.com > > wrote: > > > > > > yeah... i got the same error as you did with a > mapped drive. we aren't > > > monitoring any mapped drives right now, hence > the confusion. > > > > > > not sure about the mapped drives... anyone else > have an idea for josh? > > > > > > >> -----Original Message----- > > > >> From: Josh [mailto: josh2780 at yahoo.com] > > > >> Sent: Monday, February 27, 2006 11:38 AM > > > >> To: Ryan Wilcox; > nagios-users at lists.sourceforge.net > > > >> Subject: RE: [Nagios-users] Monitor > Fileserver > > > >> > > > >> Hmm... Got it working for local drives on > the windows > > > >> box but I get an "Invalid drive" error from > the > > > >> check_nt script when I check a drive that is > mapped. > > > >> Any way to check networked drives on that > windows box? > > > >> Or will I have to go with nrpe checks for > that? > > > >> > > > >> --- Ryan Wilcox wrote: > > > >> > > > >> > actually i am using check_nt right from the > nagios > > > >> > (fedora core 4) box. > > > >> > > > > >> > ./check_nt -H 10.0.0.32 -v USEDDISKSPACE > -lc -w 75 > > > >> > -c 90 > > > >> > > > > >> > output looks like: > > > >> > > > > >> > c:\ - total: 74.52 Gb - used: 52.98 Gb > (71%) - free > > > >> > 21.54 Gb (29%) | > > > >> > 'c:\ Used > Space'= 52.98Gb;55.89;67.07;0.00;74.52 > > > >> > > > > >> > > > > >> > > > > >> > >> -----Original Message----- > > > >> > >> From: Josh [mailto: josh2780 at yahoo.com] > > > >> > >> Sent: Monday, February 27, 2006 10:57 AM > > > >> > >> To: Ryan Wilcox; > > > >> > nagios-users at lists.sourceforge.net > > > >> > >> Subject: RE: [Nagios-users] Monitor > Fileserver > > > >> > >> > > > >> > >> I'm assuming you are using NRPE and > executing the > > > >> > >> check_nt_disk from a windows machine... > I might > > > >> > end > > > >> > >> up doing that. > > > >> > >> > > > >> > >> I was attempting to use smb checks > directly from > > > >> > the > > > >> > >> linux box running Nagios. > > > >> > >> > > > >> > >> > > > >> > >> > > > >> > >> --- Ryan Wilcox < rwilcox at mobitrac.com> > wrote: > > > >> > >> > > > >> > >> > > > > >> > >> > > > > >> > >> > >> -----Original Message----- > > > >> > >> > >> From: > > > >> > nagios-users-admin at lists.sourceforge.net > > > >> > >> > [mailto: nagios-users- > > > >> > >> > >> admin at lists.sourceforge.net] On > Behalf Of > > > >> > Josh > > > >> > >> > >> Sent: Monday, February 27, 2006 > 10:19 AM > > > >> > >> > >> To: > nagios-users at lists.sourceforge.net > > > >> > >> > >> Subject: [Nagios-users] Monitor > Fileserver > > > >> > >> > >> > > > >> > >> > >> Does anyone have any suggestions as > to how > > > >> > to > > > >> > >> > monitor > > > >> > >> > >> network drive (fileserver) status > from > > > >> > Nagios? > > > >> > >> > I'm > > > >> > >> > >> trying to get the > check_smb_shares.pl (from > > > >> > >> > >> nagiosexchange.org) but keep > getting the > > > >> > >> > following > > > >> > >> > >> error when Nagios executes the > check: > > > >> > >> > >> > > > >> > >> > >> **ePN 'check_smb_shares.pl' Can't > create > > > >> > >> > >> /root/.smb/smb.conf : Permission > denied > > > >> > >> > >> > > > >> > >> > >> Not sure why when the Nagios binary > executes > > > >> > the > > > >> > >> > >> script it wants to use /root/ > (Nagios runs > > > >> > as the > > > >> > >> > user > > > >> > >> > >> nagios). > > > >> > >> > >> > > > >> > >> > >> Any other suggestions on monitoring > network > > > >> > >> > drives? > > > >> > >> > >> > > > >> > >> > > > > >> > >> > > === message truncated === __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender. SOURCECORP, Incorporated www.srcp.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From rickk at invisimax.com Mon Feb 27 23:21:56 2006 From: rickk at invisimax.com (Rick Kroll) Date: Mon, 27 Feb 2006 16:21:56 -0600 Subject: Consistent Warning Notifications Message-ID: <013901c63bec$38115b20$224029cf@termserver> Every 4 hours I get the following error message from Nagios that is monitoring a Secondary caching server WARNING - Status: 500 Cant connect to 207.41.64.XX:3128 (connect: Connection refused) (but expected 2...) Can anyone tell me what type of warning this is and why it occors every 4 hours on the dot. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mkoponick at redhawk.info Mon Feb 27 23:34:55 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Mon, 27 Feb 2006 14:34:55 -0800 Subject: Check_snmp_int.pl Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4109C51@raptor.redhawk.info> Just to clarify the fix here.. I needed to add single quotes around the interface name with the "$" as well. For example in the services configuration: check_snmp_int!public!'FastEthernet0/2$' Thanks! Mike ________________________________ From: Mike Koponick [mailto:mkoponick at redhawk.info] Sent: Thursday, February 16, 2006 11:38 AM To: Dennis Hopp; Nagios Users Subject: RE: [Nagios-users] Check_snmp_int.pl Dennis, Thanks for the tip. That worked! I suppose it's time to dive into Perl ;-) Thanks! Mike -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Dennis Hopp Sent: Thursday, February 16, 2006 9:33 AM To: Mike Koponick; Nagios Users Subject: RE: [Nagios-users] Check_snmp_int.pl Try: ./check_snmp_int -H 10.xx.xx.xx -C -n GigabitEthernet0/1$ --Dennis ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mike Koponick Sent: Thursday, February 16, 2006 11:18 AM To: Nagios Users Subject: [Nagios-users] Check_snmp_int.pl I'm using check_snmp_int.pl to check on interfaces on switches/routers, but can't seem to have it look at a single interface. I think this is a "/" issue, but am not sure. When use the command: ./check_snmp_int -H 10.xx.xx.xx -C -n GigabitEthernet0/1 I receive the following: GigabitEthernet0/1:UP, GigabitEthernet0/12:DOWN, GigabitEthernet0/10:UP, GigabitEthernet0/11:DOWN: 2 int NOK : CRITICA I only wish to see one interface, rather than all of them as some are not in use and *should* be down. Thoughts? Maybe it's time for more coffee? Thanks! Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Mon Feb 27 23:38:36 2006 From: marc at ena.com (Marc Powell) Date: Mon, 27 Feb 2006 16:38:36 -0600 Subject: Consistent Warning Notifications Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Rick Kroll > Sent: Monday, February 27, 2006 4:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Consistent Warning Notifications > > Every 4 hours I get the following error message from Nagios that is > monitoring a Secondary caching server > WARNING - Status: 500 Cant connect to 207.41.64.XX:3128 (connect: > Connection refused) (but expected 2...) > > Can anyone tell me what type of warning this is and why it occors every 4 > hours on the dot. You're going to be the best to know what this is. We can only guess what it is that you're doing. Your host and service definitions (and command definition if it's not stock) as well as the logic behind your check would go a long way in helping us help you. I haven't been able to get check_http to return the same kind of message above but -- It appears you may be doing some kind of HTTP check via some third host and destined for 207.41.64.XX (same server?). 3128 is a common proxy port, most commonly used by squid. Is squid or the application listening on port 3128 restarting every 4 hours on that box? -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 rwilcox at mobitrac.com Tue Feb 28 00:13:29 2006 From: rwilcox at mobitrac.com (Ryan Wilcox) Date: Mon, 27 Feb 2006 17:13:29 -0600 Subject: nagios not notifying by email [RESOLVED] Message-ID: for some reason, my sendmail server had lost its settings and was queuing up all the notifications. once i resolved the sendmail problem, the flood gates opened up. another great example of doing the *proper* research before hand... would have been a good move on my part. >> -----Original Message----- >> From: jeff vier [mailto:boinger at tradingtechnologies.com] >> Sent: Monday, February 27, 2006 3:43 PM >> To: Ryan Wilcox >> Cc: nagios-users at lists.sourceforge.net >> Subject: RE: [Nagios-users] nagios not notifying by email [RESOLVED] >> >> On Mon, 2006-02-27 at 15:30 -0600, Ryan Wilcox wrote: >> > error existed between chair and keyboard... thanks for your suggestions >> > marc, it made me think of something that i didn't check before my >> > inquiry. >> >> what was it, for people searching the archives in the future? >> >> >> > >> -----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 27, 2006 1:53 PM >> > >> To: nagios-users at lists.sourceforge.net >> > >> Subject: RE: [Nagios-users] nagios not notifying by email >> > >> >> > >> >> > >> >> > >> > -----Original Message----- >> > >> > From: nagios-users-admin at lists.sourceforge.net >> > [mailto:nagios-users- >> > >> > admin at lists.sourceforge.net] On Behalf Of Ryan Wilcox >> > >> > Sent: Monday, February 27, 2006 10:36 AM >> > >> > To: nagios-users at lists.sourceforge.net >> > >> > Subject: RE: [Nagios-users] nagios not notifying by email >> > >> > >> > >> > I am having a similar type problem... I have searched around, >> > didn't >> > >> > find anything that was exactly the same. Here are my settings: >> > >> > >> > >> > enable_notifications=1 >> > >> > retain_state_information=1 >> > >> > >> > >> > Notifications were working fine in our 1.x build, after I upgraded >> > to >> > >> > 2.x my email, pager, etc., notifications stopped working. >> > >> > >> > >> > Viewing my event log, I see that the notifications are actually >> > >> getting >> > >> > logged, however they are not being sent to the recipients. >> Thinking >> > >> > about this more, it sounds like a linux problem not my nagios >> > configs? >> > >> > >> > >> > Any help would be greatly appreciated. >> > >> >> > >> What have you tried to diagnose or correct the problem before coming >> > >> here? >> > >> >> > >> It appears that your host and service definitions are probably OK if >> > >> you're seeing notification attempts in nagios.log. >> > >> >> > >> Did you verify you're using the correct (new) macros in your >> > >> notification command? >> > >> >> > >> Have you tried running your notification command from the command >> > line >> > >> as the nagios user, substituting in appropriate text for the macros? >> > >> What happens? >> > >> >> > >> Have you looked in your mail server logs to determine if it sees the >> > >> notification attempt? Queues the mail? Attempts to deliver it? >> > Bounces >> > >> it? >> > >> >> > >> Have you tried 'echo'ing your notification command to a file to >> > verify >> > >> that it has the correct syntax and format? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 brookh at bitslv.com Tue Feb 28 01:21:55 2006 From: brookh at bitslv.com (Brook Hurd) Date: Mon, 27 Feb 2006 16:21:55 -0800 Subject: Problems with RPM install Message-ID: The RPM install of Nagios was fairly strait forward. I installed the RPMs for Nagios and the Nagios-plugins along with the misc. required RPMs. Unfortunately, all the documentation is written toward a non rpm install. The RPM file added all the appropriate httpd.conf configurations, and I setup up proper users, etc. It is viewable at: [link] userid: guest password: guest [root at server nagios]# /etc/rc.d/init.d/nagios start Starting network monitor: nagios CONFIG ERROR! Start aborted. Check your Nagios configuration. [root at server nagios]# I just cannot get it to run and cannot see the issue with the Nagios config. I even altered ownership info in the 'nagios.conf' to root: # NAGIOS USER # This determines the effective user that Nagios should run as. # You can either supply a username or a UID. #nagios_user=nagios nagios_user=root # NAGIOS GROUP # This determines the effective group that Nagios should run as. # You can either supply a group name or a GID. #nagios_group=nagios nagios_group=apache Anybody have an idea of where I went wrong? ________________________________ Brook Hurd Vice President Binary IT Solutions, Inc. 800 N. Rainbow Blvd. Suite 216 Las Vegas, NV 89107 (702) 233-BITS (2487) - Office (702) 204-8913 - Cell (702) 243-BITS (2487) - Fax http://www.bitslv.com brookh at bitslv.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 5879 bytes Desc: image001.gif URL: From jperrin at gmail.com Tue Feb 28 01:37:27 2006 From: jperrin at gmail.com (Jim Perrin) Date: Mon, 27 Feb 2006 19:37:27 -0500 Subject: Problems with RPM install In-Reply-To: References: Message-ID: <302ce8b50602271637u22b21846v7fc7e116561762c@mail.gmail.com> On 2/27/06, Brook Hurd wrote: > > > > The RPM install of Nagios was fairly strait forward. I installed the RPMs for Nagios and the Nagios-plugins along with the misc. required RPMs. Unfortunately, all the documentation is written toward a non rpm install. > > The RPM file added all the appropriate httpd.conf configurations, and I setup up proper users, etc. It is viewable at: > > [link] > > userid: guest > password: guest > > [root at server nagios]# /etc/rc.d/init.d/nagios start > Starting network monitor: nagios > CONFIG ERROR! Start aborted. Check your Nagios configuration. > [root at server nagios]# Seems like you need to do a 'nagios -v /etc/nagios/nagios.cfg' here to see what it tells you. For what it's worth, I had posted a 'nagios via rpm' how-to type walk through and sample configs including templates at http://www.cognitive-dissonance.org/journal/category/nagios/ and as I get time I'll be adding more. Right now it covers the basics of installing the rpms, and setting nagios up with a host & service template and setup for monitoring a host and webserver. I'm open to any comments/corrections or suggestions for future posts. -- "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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 28 01:40:58 2006 From: marc at ena.com (Marc Powell) Date: Mon, 27 Feb 2006 18:40:58 -0600 Subject: Problems with RPM install Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Brook Hurd > Sent: Monday, February 27, 2006 6:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems with RPM install > > The RPM install of Nagios was fairly strait forward. I installed the RPMs > for Nagios and the Nagios-plugins along with the misc. required RPMs. > Unfortunately, all the documentation is written toward a non rpm install. > Not too surprising since RPM installs can vary quite a bit depending on the packager. > The RPM file added all the appropriate httpd.conf configurations, and I > setup up proper users, etc. It is viewable at: > > [link] > > userid: guest > password: guest Results in Internal Server error. I don't know what your OS is but this could be SELinux restrictions if you haven't allowed the proper context for the Nagios sbin directory. > > [root at server nagios]# /etc/rc.d/init.d/nagios start > Starting network monitor: nagios > CONFIG ERROR! Start aborted. Check your Nagios configuration. > [root at server nagios]# > > I just cannot get it to run and cannot see the issue with the Nagios > config. Run /path/to/nagios -v /path/to/nagios.cfg. Nagios will verify your configuration files and report any errors. > I even altered ownership info in the 'nagios.conf' to root: What is the contents of this file? There isn't a nagios.conf that's part of the standard distribution. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Tue Feb 28 02:07:36 2006 From: ylee at neltura.com (Yong Lee) Date: Mon, 27 Feb 2006 17:07:36 -0800 Subject: network outage In-Reply-To: <1141088617.3337.44.camel@yongs.neltura.com> References: <1141088617.3337.44.camel@yongs.neltura.com> Message-ID: <1141088856.3337.53.camel@yongs.neltura.com> On Mon, 2006-02-27 at 17:03 -0800, Yong Lee wrote: Hi all, Just wondering if there is an easy way to stop notifications on all hosts and services....eg: we want to do some work on the network and would like nagios to not do any notifications during the time of this outage. So the question is if there is a simple way short of stopping nagios or stopping notifications on a host/service basis to stop all notifications temporarily? Thanks, Yong. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 02:19:15 2006 From: jperrin at gmail.com (Jim Perrin) Date: Mon, 27 Feb 2006 20:19:15 -0500 Subject: network outage In-Reply-To: <1141088856.3337.53.camel@yongs.neltura.com> References: <1141088617.3337.44.camel@yongs.neltura.com> <1141088856.3337.53.camel@yongs.neltura.com> Message-ID: <302ce8b50602271719r78030caei3021d1c621ea8d6a@mail.gmail.com> > So the question is if there is a simple way short of stopping nagios or > stopping notifications on a host/service basis to stop all notifications > temporarily? Cheat. Define a parent for everything and set it (and all children/dependents) for downtime. -- "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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 xagonzalezm at gmail.com Tue Feb 28 08:15:09 2006 From: xagonzalezm at gmail.com (Alberto) Date: Tue, 28 Feb 2006 08:15:09 +0100 Subject: Nagiosgraph problem In-Reply-To: References: <7fa4b410602270922x648f273csa486ca3417798a51@mail.gmail.com> Message-ID: <7fa4b410602272315p145e2f7n500a39f78f811eb0@mail.gmail.com> Yes. It's called because if I rename it I get error 127 not found on nagios.log. nagios doesnt generate any file inside rrd/ but if I manually run insert.plwith user nagios I get files inside rrd/. I get this in nagiosgraph.log: Tue Feb 28 08:09:42 2006 CGI debug: @db= Tue Feb 28 08:09:42 2006 CGI info: Listing c%2D102_PING db files in /usr/share/nagios/nagiosgraph/rrd/: Tue Feb 28 08:09:42 2006 CGI info: RRDs::graph - -a PNG --start -3024000 -w 350 -h 100 -l 0 -u 100 Tue Feb 28 08:09:42 2006 CGI error: RRDs::graph ERR can't make a graph without contents Tue Feb 28 08:09:42 2006 CGI debug: Config debug:5 Tue Feb 28 08:09:42 2006 CGI debug: Config logfile:/var/log/nagios/nagiosgraph.log Tue Feb 28 08:09:42 2006 CGI debug: Config rrddir:/usr/share/nagios/nagiosgraph/rrd/ Tue Feb 28 08:09:42 2006 CGI debug: Config mapfile:/usr/share/nagios/nagiosgraph/map Tue Feb 28 08:09:42 2006 CGI debug: Config colorscheme:1 Tue Feb 28 08:09:42 2006 CGI debug: Config heartbeat:10 Tue Feb 28 08:09:42 2006 CGI debug: Config perflog:/var/log/nagios/perfdata.log Tue Feb 28 08:09:42 2006 CGI debug: Config rrdtool:/usr/bin/rrdtool Tue Feb 28 08:09:42 2006 CGI debug: @db= Tue Feb 28 08:09:42 2006 CGI info: Listing c%2D102_PING db files in /usr/share/nagios/nagiosgraph/rrd/: Tue Feb 28 08:09:42 2006 CGI info: RRDs::graph - -a PNG --start -34560000 -w 350 -h 100 -l 0 -u 100 Tue Feb 28 08:09:42 2006 CGI error: RRDs::graph ERR can't make a graph without contents I have this in nagios.cfg: process_performance_data=1 service_perfdata_file=/var/log/nagios/perfdata.log service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ service_perfdata_file_mode=a service_perfdata_file_processing_interval=30 service_perfdata_file_processing_command=process-service-perfdata and this in command.cfg define command{ command_name process-service-perfdata command_line /usr/local/nagios/nagiosgraph/insert.pl } On 2/27/06, Hugo van der Kooij wrote: > > On Mon, 27 Feb 2006, Alberto wrote: > > > I get this in nagiosgraph.log: > > > > CGI error: RRDs::graph ERR can't make a graph without contents > > > > I get the blue screen of nagiosgraph but no images on it... what is the > > probleam? I have no data on rrd/ folder but if I execute insert.plmanually > > as nagios user I get date in the folder but if I delete it and run > nagios it > > doesnt generate rrd files. > > So what does your log tell you about storing the data? Does it attempt to > create the RRD files? (Should it?) > > How did you add the insert.pl in your config? Is it called at all? > > 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 xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 m.borsani at it.net Tue Feb 28 08:50:33 2006 From: m.borsani at it.net (Marco Borsani) Date: Tue, 28 Feb 2006 08:50:33 +0100 Subject: R: Plugins 1.4.2 In-Reply-To: References: Message-ID: <002201c63c3b$aa386f00$0900d40a@intranet.it.net> Hi Most of the commands give me same error on hostname/address like: /check_tcp -H x.x.x.x -p 5666 check_TCP: Invalid hostname/address - x.x.x.x Where same command using plugins 1.3.1 give me: ./check_tcp -H x.x.x.x -p 5666 TCP OK - 0.006 second response time on port 5666|time= 0.006 Regards Marco -}-----Messaggio originale----- -}Da: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto -}di Marc Powell -}Inviato: luned? 27 febbraio 2006 20.43 -}A: NAGIOS -}Oggetto: RE: [Nagios-users] Plugins 1.4.2 -} -}Well, what _does_ happen? Do you get any output at all? Any -}errors? How are you calling the commands exactly. Are you -}performing your tests as the nagios user? That's what I meant -}when I asked for a more detailed explanation. -} -}-- -}Marc -} -}> -----Original Message----- -}> From: Marco Borsani [mailto:m.borsani at it.net] -}> Sent: Monday, February 27, 2006 4:14 AM -}> To: Marc Powell -}> Cc: 'NAGIOS' -}> Subject: R: [Nagios-users] Plugins 1.4.2 -}> -}> You are right (regarding REQUIREMENTS file), but I did not find -}> anything regarding my problem. -}> -}> When I wrote "none is workly correctly" , I means that none -}check give -}> me a result (performing same control did with older plugins). -}> -}> Marco -}> -}> -}-----Messaggio originale----- -}> -}Da: nagios-users-admin at lists.sourceforge.net -}> -}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto -}di -}> Marc Powell -}> -}Inviato: venerd? 24 febbraio 2006 17.55 -}> -}A: NAGIOS -}> -}Oggetto: RE: [Nagios-users] Plugins 1.4.2 -} -} -} -}> -}-----Original -}> Message----- -}> From: nagios-users-admin at lists.sourceforge.net -}> -}[mailto:nagios-users- -}> -}> admin at lists.sourceforge.net] On Behalf Of Marco Borsani -}-}> Sent: -}> Friday, February 24, 2006 3:30 AM -}> To: 'NAGIOS' -}> -}> Subject: [Nagios-users] Plugins 1.4.2 -}> -}> Hi all . -}> -}> -}> -}> I compile plugins 1.4.2 on my HP-UX 11.00, running -}Nagios server -}> 1.3 -}and -}> 2.0. -}> -}> -}> -}> None is working correctly! Is there any requirements -}that I have -}> -}missed? -}> -} -}> -}I think the only answer given the information you've -}provided -}is -}> to read the REQUIREMENTS file. =) -} -}If you need more -}help, a more -}> detailed explanation of 'None -}is working correctly!' would be -}> necessary. -} -} -} -}------------------------------------------------------- -}This SF.Net email is sponsored by xPML, a groundbreaking -}scripting language that extends applications into web and -}mobile media. Attend the live webcast and join the prime -}developer group breaking into this new coding territory! -}http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 dan.hopkins at uk.easynet.net Tue Feb 28 11:47:11 2006 From: dan.hopkins at uk.easynet.net (Dan Hopkins) Date: Tue, 28 Feb 2006 10:47:11 -0000 Subject: network outage Message-ID: <13E80BCA327C4D43AC2EFCE6B06E53145D4F36@exch0-tmshm.uk.easynet.corp> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > Jim Perrin > Sent: 28 February 2006 01:19 > To: ylee at neltura.com > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Re: network outage > > > > So the question is if there is a simple way short of > stopping nagios or > > stopping notifications on a host/service basis to stop all > notifications > > temporarily? > > Cheat. Define a parent for everything and set it (and all > children/dependents) for downtime. > Or, just turn off notifications? printf "[%d] DISABLE_NOTIFICATIONS" `date "+%s"` >> /path/to/your/nagios/command/pipe/nagios.cmd (Re-enable in a similar manner once you're done.) Dan ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 thomas at glanzmann.de Tue Feb 28 13:02:27 2006 From: thomas at glanzmann.de (Thomas Glanzmann) Date: Tue, 28 Feb 2006 13:02:27 +0100 Subject: Exporting Nagios State (maybe via XML) Message-ID: <20060228120227.GA17285@cip.informatik.uni-erlangen.de> Hello, we're looking for a way to export the NAGIOS state and reimport it into a portal. Is there some sort like an XML export or maybe some other interface for Nagios available? Thomas ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sjoy at peavey-eu.com Tue Feb 28 14:31:30 2006 From: sjoy at peavey-eu.com (Stephen Joy) Date: Tue, 28 Feb 2006 13:31:30 +0000 Subject: Exporting Nagios State (maybe via XML) Message-ID: Hi Thomas, If you are using nagios v1.x you can compile nagios to store all its status data in a MySQL or Postgres Database. This is all detailed in the manual. This feature has unfortunately been dropped in nagios v2. Stephen. >>> Thomas Glanzmann 28/02/2006 12:02:27 >>> Hello, we're looking for a way to export the NAGIOS state and reimport it into a portal. Is there some sort like an XML export or maybe some other interface for Nagios available? Thomas ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 cshaffer at gmail.com Tue Feb 28 17:16:54 2006 From: cshaffer at gmail.com (Curt Shaffer) Date: Tue, 28 Feb 2006 11:16:54 -0500 Subject: performace stats Message-ID: <005601c63c82$64442380$8800550a@acg.arlington.local> List, I have a client who is currently using netmon for their network monitoring. I have used the free version but I have limited experience with the professional version that comes with SMS. Basically I know they paid like 15K for an unlimited node license but I know there has to be a physical limit per server. I have been incorporating things like Nagios, perfparse, MRTG, nTop, et al in most solutions, and they work great as a team and in no doubt are more functional and scalable than netmon. What I would like to see from the list is if anyone out there has had to present this argument or something similar to a client or higher ups. If so what were some of the points that you brought out. Also while I continue to Google for exact limitations and features of the professional netmon, does anyone have this information or a link readily available? Thanks Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Tue Feb 28 17:24:21 2006 From: marc at ena.com (Marc Powell) Date: Tue, 28 Feb 2006 10:24:21 -0600 Subject: Exporting Nagios State (maybe via XML) Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Stephen Joy > Sent: Tuesday, February 28, 2006 7:32 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Exporting Nagios State (maybe via XML) > > Hi Thomas, > > If you are using nagios v1.x you can compile nagios to store all its > status data in a MySQL or Postgres Database. This is all detailed in the > manual. > > This feature has unfortunately been dropped in nagios v2. > And replaced with the much more powerful and flexible Event Broker model. > >>> Thomas Glanzmann 28/02/2006 12:02:27 >>> > Hello, > we're looking for a way to export the NAGIOS state and reimport it into > a portal. Is there some sort like an XML export or maybe some other > interface for Nagios available? http://www.nagiosexchange.org/Development.39.0.html lists a few, including NXE - "NXE is an XML processing layer for Nagios. NXE will report the status of one or more Nagios systems as XML." I don't use any of them nor do I know if they support 2.0 if you are using that so YMMV. While it's undocumented at this time, the event broker may be worth looking into for your project. Search the user and devel archives for information. There are also at least 3 EB modules that I know of that you could use for a reference, the sample 'hello world' type module included with the distribution, nagios-db (http://www.sourceforge.net/projects/nagios-db) and ndoutils (http://sourceforge.net/project/showfiles.php?group_id=26589). -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 rwilcox at mobitrac.com Tue Feb 28 18:28:54 2006 From: rwilcox at mobitrac.com (Ryan Wilcox) Date: Tue, 28 Feb 2006 11:28:54 -0600 Subject: Service Definitions Message-ID: running 2.0 stable... i notice in the documentation "host_name" is a required directive, yet the below config seems to be working in our environment. my objective is to define a service for multiple groups (hostgroup_name) rather than individual hosts. is this the right approach? define service { service_description PING is_volatile 0 check_command check_ping!100.0,20%!500.0,60% max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 24 notification_period 24x7 hostgroup_name NetworkDevices notification_options w,c,r contact_groups Admins } ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 28 18:46:42 2006 From: marc at ena.com (Marc Powell) Date: Tue, 28 Feb 2006 11:46:42 -0600 Subject: Service Definitions Message-ID: > -----Original Message----- > From: Ryan Wilcox [mailto:rwilcox at mobitrac.com] > Sent: Tuesday, February 28, 2006 11:29 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: Service Definitions > > running 2.0 stable... i notice in the documentation "host_name" is a > required directive, yet the below config seems to be working in our > environment. > > my objective is to define a service for multiple groups (hostgroup_name) > rather than individual hosts. is this the right approach? > > > define service { > service_description PING > is_volatile 0 > check_command check_ping!100.0,20%!500.0,60% > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > check_period 24x7 > notification_interval 24 > notification_period 24x7 > hostgroup_name NetworkDevices > notification_options w,c,r > contact_groups Admins > } Yes, it's listed as a 'template trick' -- http://nagios.sourceforge.net/docs/2_0/templatetricks.html#service "All Hosts: If you want to create identical services that are assigned to all hosts that are defined in your configuration files, you can use a wildcard in the host_name directive as follows: define service{ host_name * service_description SOMESERVICE other service directives ... } The definition above would create a service called SOMESERVICE on all hosts that are defined in your configuration files. All the instances of the SOMESERVICE service would be identical (i.e. have the same check command, max check attempts, notification period, etc.)." -- Marc p.s. While it may sometimes seem like it, I'm not dedicated to nagios support. Sending to the list instead of directly to me is preferable. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 rwilcox at mobitrac.com Tue Feb 28 18:59:26 2006 From: rwilcox at mobitrac.com (Ryan Wilcox) Date: Tue, 28 Feb 2006 11:59:26 -0600 Subject: Service Definitions [RESOLVED] Message-ID: w00t... thanks marc >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >> admin at lists.sourceforge.net] On Behalf Of Marc Powell >> Sent: Tuesday, February 28, 2006 11:47 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] RE: Service Definitions >> >> >> >> > -----Original Message----- >> > From: Ryan Wilcox [mailto:rwilcox at mobitrac.com] >> > Sent: Tuesday, February 28, 2006 11:29 AM >> > To: Marc Powell; nagios-users at lists.sourceforge.net >> > Subject: Service Definitions >> > >> > running 2.0 stable... i notice in the documentation "host_name" is a >> > required directive, yet the below config seems to be working in our >> > environment. >> > >> > my objective is to define a service for multiple groups >> (hostgroup_name) >> > rather than individual hosts. is this the right approach? >> > >> > >> > define service { >> > service_description PING >> > is_volatile 0 >> > check_command check_ping!100.0,20%!500.0,60% >> > max_check_attempts 3 >> > normal_check_interval 5 >> > retry_check_interval 1 >> > check_period 24x7 >> > notification_interval 24 >> > notification_period 24x7 >> > hostgroup_name NetworkDevices >> > notification_options w,c,r >> > contact_groups Admins >> > } >> >> Yes, it's listed as a 'template trick' -- >> >> http://nagios.sourceforge.net/docs/2_0/templatetricks.html#service >> >> "All Hosts: If you want to create identical services that are assigned >> to all hosts that are defined in your configuration files, you can use a >> wildcard in the host_name directive as follows: >> >> define service{ >> host_name * >> service_description SOMESERVICE >> other service directives ... >> } >> >> The definition above would create a service called SOMESERVICE on all >> hosts that are defined in your configuration files. All the instances of >> the SOMESERVICE service would be identical (i.e. have the same check >> command, max check attempts, notification period, etc.)." >> >> -- >> Marc >> >> p.s. While it may sometimes seem like it, I'm not dedicated to nagios >> support. Sending to the list instead of directly to me is preferable. >> >> -- >> Marc >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> language >> that extends applications into web and mobile media. Attend the live >> webcast >> and join the prime developer group breaking into this new coding >> territory! >> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 28 19:00:27 2006 From: marc at ena.com (Marc Powell) Date: Tue, 28 Feb 2006 12:00:27 -0600 Subject: Service Definitions Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Marc Powell > Sent: Tuesday, February 28, 2006 11:47 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] RE: Service Definitions > > > > > -----Original Message----- > > From: Ryan Wilcox [mailto:rwilcox at mobitrac.com] > > Sent: Tuesday, February 28, 2006 11:29 AM > > To: Marc Powell; nagios-users at lists.sourceforge.net > > Subject: Service Definitions [chop] > > define service { > > service_description PING > > is_volatile 0 > > check_command check_ping!100.0,20%!500.0,60% > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > check_period 24x7 > > notification_interval 24 > > notification_period 24x7 > > hostgroup_name NetworkDevices > > notification_options w,c,r > > contact_groups Admins > > } > > Yes, it's listed as a 'template trick' -- > > http://nagios.sourceforge.net/docs/2_0/templatetricks.html#service > > "All Hosts: If you want to create identical services that are assigned > to all hosts that are defined in your configuration files, you can use a > wildcard in the host_name directive as follows: > > define service{ > host_name * > service_description SOMESERVICE > other service directives ... > } Sorry, copied the wrong example out. You'll see it on the template tricks page though ;) -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 Tue Feb 28 19:02:09 2006 From: estair at ilm.com (Eli Stair) Date: Tue, 28 Feb 2006 10:02:09 -0800 Subject: $HOSTNOTESURL$ being mangled (removing '&' char). In-Reply-To: <43FFBDD2.80106@ilm.com> References: <43FFBDD2.80106@ilm.com> Message-ID: <44049021.2010104@ilm.com> This was resolved, the illegal macro char in nagios.cfg was the cause. /eli ---- Thanks to Michael Alger: Check your illegal_macro_output_chars setting in the main Nagios configuration file. Since & is a shell metacharacter, it is included in the set by default. The example configuration doesn't explicitly mention the HOSTNOTESURL macro, but it makes sense it would be applied to everything used in the notification commands. ---- Eli Stair wrote: > > I've got several different ext host/svc info links set up to various > other pages. That's great, and I'm using $HOSTNOTESURL$ in alert > emails. $HOSTNOTESURL$ seems to be stripping out the ampersand "&" > during expansion: > > > extended host info defined in config as: > notes_url > https://monitor/ganglia/?r=day&c=Opteron_2.4_GHz_Single_Core_8G_Deathstar_Cluster&h=$HOSTNAME$.domainname.com > > > This expands in the email alert (...EXTENDED HOST > INFO:\n\"$HOSTNOTESURL$...) as: > > EXTENDED HOST INFO: > https://monitor/ganglia/?r=dayc=Opteron_2.4_GHz_Dual_Core_16G_Deathstar_Clusterh=hostname.domainname.com > > > I've double-checked the printf to make sure & gets through un-escaped > (it does), and the "Extra Host Notes" link generated by the CGI's is > rendered properly: > > > https://monitor/ganglia/?r=day&c=Opteron_2.4_GHz_Dual_Core_16G_Deathstar_Cluster&h=hostname.domainname.com > > > > Any input on this? It looks to me like the chars are just being > stripped when it's expressed in the alert. I can properly printf & > otherwise (I generate a link to acknowledge the outage in the same alert). > > Thanks, > > /eli > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdbigg at gmail.com Tue Feb 28 20:14:57 2006 From: jdbigg at gmail.com (Joe Jackson) Date: Tue, 28 Feb 2006 13:14:57 -0600 Subject: Securing Linux Message-ID: <84745c520602281114s37ce7276x7bd30fcf5b19a0f4@mail.gmail.com> Hey guys i am setting up a Nagios monitoring box, all installs are good Nagios is up and running. My question now is: Where is there a good guide like a FAQ or somthing to read sugjestions on how to secure my Fadora Core 4 installations? Thanks for any help! Joe -------------- next part -------------- An HTML attachment was scrubbed... URL: From josh.kayse at gmail.com Tue Feb 28 20:40:26 2006 From: josh.kayse at gmail.com (Josh Kayse) Date: Tue, 28 Feb 2006 14:40:26 -0500 Subject: Nagios Dependencies Message-ID: <7c8f27920602281140n544b6cf5q824dc0cf7bd32fd2@mail.gmail.com> I have some questions about dependencies. The setup I have a question about is very basic, it follows here: define host { use generic-host host_name router alias router address 10.10.10.1 } define host { use generic-host host_name machine alias a generic server address 10.10.10.2 parents router } What happens is the router will be marked as down (because we can't ping the address), but the machine is marked as up (because the router is still functioning and we can ping the machine). We'd like for the machine to be marked as down also, but it is not being marked that way. I tried having a: define hostdependency { host_name router dependend_host_name machine notification_failure_criteria d,u } but that doesn't work either. Is it possible in nagios, if so, what am I missing? Thanks -- Joshua Kayse Computer Engineering -------------- next part -------------- An HTML attachment was scrubbed... URL: From bhenrich at gmail.com Tue Feb 28 20:35:07 2006 From: bhenrich at gmail.com (Brett Henrich) Date: Tue, 28 Feb 2006 11:35:07 -0800 Subject: Recovery Notifications and Escalation Message-ID: <3802a4fc0602281135v7c2d6ac4u9136ee74be6cab30@mail.gmail.com> Hi Group, I've got Nagios 2.0 installed on a Solaris10/x86 machine and am having an issue when the following conditions exist: 1. Services being monitored by Nagios go down 2. Nagios sends an initial notification to the contact group associated with the service. 3. Services being monitored by Nagios are still down long enough to cause the service to escalate. 4. The service escalation sends out a notification to a pager 5. The service escalation sends out another notification to a pager. 6. The services being monitored by Nagios recover 7. Nagios sends a notification to the pager 8. Nagios does not send a notification to the original contact group associated with the service. In a nutshell, the primary contact group is an internal mailing list I use to track problems associated with a clients systems and is designed primarily to act as a paper trail. The pager is there to alert me to critical system failures outside of work hours. I get the pager recovery message but the internal list does not receive the recovery notification leading to some other technicians believing that the systems are still down when they check the list at 8am the next morning. Can anyone shed some insight? I have searched the list but cannot find anything about this specific problem. Below is a cut-down version of my configuration: Regards, Brett Henrich [From services.cfg] # AnImportantClient Webmail Server define service{ use generic-service ; Name of service template to use host_name animportantclient.webmail service_description HTTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 60 retry_check_interval 10 contact_groups internal-list-animportantclient notification_interval 1200 notification_period 24x7 notification_options w,u,c,r check_command check_http } [from escalations.cfg] define serviceescalation { host_name animportantclient.webmail service_description HTTP contact_groups pager first_notification 2 last_notification 0 notification_interval 1200 escalation_period normalbusinesshours } [from timeperiods.cfg] define timeperiod{ timeperiod_name normalbusinesshours alias "Normal" Working Hours sunday 00:00-24:00 monday 08:00-17:00 tuesday 08:00-17:00 wednesday 08:00-17:00 thursday 08:00-17:00 friday 08:00-17:00 saturday 00:00-24:00 } -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvdkooij at vanderkooij.org Tue Feb 28 21:48:49 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 28 Feb 2006 21:48:49 +0100 (CET) Subject: Consistent Warning Notifications In-Reply-To: <013901c63bec$38115b20$224029cf@termserver> References: <013901c63bec$38115b20$224029cf@termserver> Message-ID: On Mon, 27 Feb 2006, Rick Kroll wrote: > Every 4 hours I get the following error message from Nagios that is > monitoring a Secondary caching server > WARNING - Status: 500 Cant connect to 207.41.64.XX:3128 (connect: Connection > refused) (but expected 2...) Status 500 usually means a server error on a HTTP server. I suppose you need to check your squid logs to find out why. Nagios is just detecting the problem on said squid server. 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 21:49:32 2006 From: marc at ena.com (Marc Powell) Date: Tue, 28 Feb 2006 14:49:32 -0600 Subject: Recovery Notifications and Escalation Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Brett Henrich > Sent: Tuesday, February 28, 2006 1:35 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Recovery Notifications and Escalation > > Hi Group, > > I've got Nagios 2.0 installed on a Solaris10/x86 machine and am having an > issue when the following conditions exist: > > 1. Services being monitored by Nagios go down > 2. Nagios sends an initial notification to the contact group associated > with the service. > 3. Services being monitored by Nagios are still down long enough to cause > the service to escalate. > 4. The service escalation sends out a notification to a pager > 5. The service escalation sends out another notification to a pager. > 6. The services being monitored by Nagios recover > 7. Nagios sends a notification to the pager > 8. Nagios does not send a notification to the original contact group > associated with the service. > > In a nutshell, the primary contact group is an internal mailing list I use > to track problems associated with a clients systems and is designed > primarily to act as a paper trail. > > The pager is there to alert me to critical system failures outside of work > hours. > > I get the pager recovery message but the internal list does not receive > the recovery notification leading to some other technicians believing that > the systems are still down when they check the list at 8am the next > morning. Do your internal-list-contact definitions include the 'r' option for service_notification_options and host_notificaiton_options? service_notification_options c,r host_notification_options d,r -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 PShelfo at embrex.com Tue Feb 28 22:19:17 2006 From: PShelfo at embrex.com (Pete Shelfo) Date: Tue, 28 Feb 2006 16:19:17 -0500 Subject: Nagios 2.0 Logos and Icons Missing Message-ID: I recently built a new 2.0 server to run parallel with my 1.1. Everything is working on the new 2.0 except I have no logos in status map or on the host definitions as I did with 1.1. I copied over all the config files and everything looks to be fine. My nagios.cfg and cfi.cfg have the correct statements, the logos are located in /usr/local/nagios/share/images/logos and my hostextinfo.cfg is up to date with .gif and .gd2 files. What changed? ------------------------------------------------------------------- Pete Shelfo Systems Engineer (919) 314-2546 pshelfo at embrex.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jperrin at gmail.com Tue Feb 28 22:36:55 2006 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 28 Feb 2006 16:36:55 -0500 Subject: Nagios 2.0 Logos and Icons Missing In-Reply-To: References: Message-ID: <302ce8b50602281336j5ca58f4s753e5eda760cf91b@mail.gmail.com> > > I recently built a new 2.0 server to run parallel with my 1.1. Everything > is working on the new 2.0 except I have no logos in status map or on the > host definitions as I did with 1.1. I copied over all the config files and > everything looks to be fine. My nagios.cfg and cfi.cfg have the correct > statements, the logos are located in > /usr/local/nagios/share/images/logos and my hostextinfo.cfg > is up to date with .gif and .gd2 files. What changed? The format for definitions. If you provide detail we can tell you exactly. -- "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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 PShelfo at embrex.com Tue Feb 28 22:41:54 2006 From: PShelfo at embrex.com (Pete Shelfo) Date: Tue, 28 Feb 2006 16:41:54 -0500 Subject: Nagios 2.0 Logos and Icons Missing Message-ID: I hope this is what your asking for. Hostextinfo.cfg format: # Windows Servers define hostextinfo{ host_name servername icon_image win40.gif statusmap_image win40.gd2 } Host.cfg format: # 'servername' host definition define host{ use generic-host ; Name of host template to use host_name servername alias servername address X.X.X.X parents switch check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r contact_groups sys-admins } -----Original Message----- From: Jim Perrin [mailto:jperrin at gmail.com] Sent: Tuesday, February 28, 2006 4:37 PM To: Pete Shelfo Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 2.0 Logos and Icons Missing > > I recently built a new 2.0 server to run parallel with my 1.1. Everything > is working on the new 2.0 except I have no logos in status map or on the > host definitions as I did with 1.1. I copied over all the config files and > everything looks to be fine. My nagios.cfg and cfi.cfg have the correct > statements, the logos are located in > /usr/local/nagios/share/images/logos and my hostextinfo.cfg > is up to date with .gif and .gd2 files. What changed? The format for definitions. If you provide detail we can tell you exactly. -- "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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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 dick at uchicago.edu Tue Feb 28 23:36:59 2006 From: dick at uchicago.edu (dick at uchicago.edu) Date: Tue, 28 Feb 2006 16:36:59 -0600 Subject: nagios on VPN gateway: ping trouble Message-ID: <73eeca44.91e16174.819d300@m4500-00.uchicago.edu> greetz, i have successfully installed nagios-2.0b4p0-chroot and its related packages, nagios-plugins-1.4.1 and nagios-web-2.0b4-chroot, on my home firewall/VPN gateway that's running openbsd-3.8 release. i'm starting simple and doing a check_ping on all my local machines (10.9.0/24 and 10.9.1/24 subnets), which is working great and i can see their status under the nagios web interface. now that i have check_ping working for my local machines, i want to do the same for hosts at my remote location (10.0.0/24 and 10.0.1./24 subnets) that are under the same VPN. however, i am not able to check_ping for 10.0.0.1, the remote VPN gateway, even though i'm able to ping it from my home VPN gateway. since my home VPN gateway has both a public IP, x.y.z.w, and a private IP, 10.9.0.1, i have to issue a "ping -I 10.9.0.1 10.0.0.1" to ping the remote VPN gateway via the VPN, otherwise the interface address transmitted falls outside my VPN subnet (10.9/16) and the ping doesn't get routed through the VPN. i changed the ping_syntax variable in cgi.cfg from "/bin/ping -n -c 5 $HOSTADDRESS$" to "/bin/ping -I 10.9.0.1 -n -c 5 $HOSTADDRESS$" to try to remedy the problem, but it hasn't done the trick. just to be clear, here is an text rendering of the situation: ######################### ############################# # home VPN gw # # work VPN gw # # pub. IP = x.y.z.w #--internet----# pub. IP = a.b.c.d # # priv. IP = 10.9.0.1 # # priv. IP = 10.0.0.1 # # VPN for 10.9/16 # # VPN for 10.0/16 # ######################### ############################# am i not supposed to run nagios on such a gateway? i could move it to another machine behind the gateway at home, but i would rather not for computing resource reasons. any suggestions on how to successfully check_ping in this situation would be appreciated. thx for reading. cheers, jake ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null