[Nagios-users-br] Fwd: Plugin check_ganglia.pl
o Plugin já está na pasta libexec já coloquei o check_command no arquivo command.cfg Porém, na pagina que eu havia citado anteriormente, ele só me dá a sintaxe do define command. Fica faltando a sintaxe do define service que eu não consegui colocar pra funcionar. Desde já obrigado. -- Forwarded message -- From: Paulo Junior [EMAIL PROTECTED] Date: 2008/11/5 Subject: Plugin check_ganglia.pl To: nagios-users-br@lists.sourceforge.net Pessoal, não sei mais o que fazer, esse plugin está me tirando o sono. No site do nagios exchange: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1317.html;d=1 existe esse plugin chamado check_ganglia.pl. Porém, ele só me dá o define_command do plugin. Alguém por misericordia já usou este plugin e sabe como configurá-lo para funcionar no nagios. Meu projeto de estágio depende muito disso. Desde já, obrigado. -- Paulo Oliveira Técnico Administrativo Biblioteca Central - UESC -- Paulo Oliveira Técnico Administrativo Biblioteca Central - UESC - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ -- Nagios-users-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki
[Nagios-users] Limiting mail notification for clock drift
Hello. I'm using Nagios 3.0.3 to monitor things such as time (synchronized with NTP) on our servers, and are getting a lot of semi-duplicate notification mails: As long as there is an error/warning, I get a mail notification every time the clock drift increases or decreases. Is there an option I can set to limit the notification to _one_ mail whenever we enter or leave an error/warning state, and thus not for every time a new drift time is calculated? The same problem also applies to things such as disk space. Regards, Kenneth Holter - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Need Nagiosgraph tutorial/Help Link
Not to be rude...but http://www.google.com/search?q=nagiosgraph Thanks, -Jake From: Novin Jaiswal [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 11:18 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Need Nagiosgraph tutorial/Help Link Hi Friends, I am trying to integrate Nagiosgraph with nagios. Is there any helpful link or tutorial available for Nagiosgraph? I appreciate your help. Thanks Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Confused on how this is working with out nrpe...
Hi, I'm running the latest version of nagios - 3.0.5. On my remote hosts, I'm running NRPE. I haven't used nrpe with nagios since 2.9, so I'm wondering did I miss how things work now that we are 3.0. I have a bunch of checks - disk, load, users, etc, but I'm not putting it through nrpe, yet it's returning info. Do I not need nrpe any more? Or namely do I not need to do things like. check_nrpe!check_disk Thanks for clueing me in. Charlie - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Confused on how this is working with out nrpe...
This is not nearly enough information to offer any sort of help other than You're obviously misunderstanding or misstating something. Please include (at the very least) some relevant configs. -Original Message- From: Charlie Reddington [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 10:49 AM To: Nagios User list Subject: [Nagios-users] Confused on how this is working with out nrpe... Hi, I'm running the latest version of nagios - 3.0.5. On my remote hosts, I'm running NRPE. I haven't used nrpe with nagios since 2.9, so I'm wondering did I miss how things work now that we are 3.0. I have a bunch of checks - disk, load, users, etc, but I'm not putting it through nrpe, yet it's returning info. Do I not need nrpe any more? Or namely do I not need to do things like. check_nrpe!check_disk Thanks for clueing me in. Charlie - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] disabling checks of all service and host no longer works
I applied the patch and it worked. I selected a host and told it to disable checks for all services and the host and this time it did it. -Original Message- From: Andreas Ericsson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 5:08 AM To: Seth Simmons Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] disabling checks of all service and host no longer works Seth Simmons wrote: Ever since I upgraded to 3.0.5 I noticed that if I select a host and choose 'disable checks on all services on this host' then select for host also, it doesn't do anything. If I disable the host check and service checks individually it works, but never all at once. I did notice, however, that if I select to disable checks of all services and don't check to disable for the host also, it will actually disable checks for all services - but not if I include the host. Anyone else notice that? There's a fix available at http://www.op5.org/src/nagios-3.0.5p1.tar.gz If that works for you, please make sure to report it here so Ethan knows it's safe to apply those patches to the official Nagios sources. Thanks. -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Confused on how this is working with out nrpe...
Charlie Reddington wrote: Sure thing. I think I am missing something as it's not working how I remembered it working. --- define service{ use generic-service ; Name of service template to use host_name master,prodws01,prodws02 service_description Root Partition check_command check_local_disk!20%!10%!/ } Now looking at this, I'm able to get successful checks, with out using nrpe on the host server. So my question comes back to, how is this working when I thought you had to define commands like this define service{ use generic-service host_name master,prodws01,prodws02 service_description Current Load check_command check_nrpe!check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 } You're missing See the check_local_* names in the service definitions? Somewhere you've defined something like: define command{ command_namecheck_local_disk command_line$USER1$/check_nrpe2 -H $HOSTNAME$ -c check_disk -a $ARG1$ $ARG2$ } That is how NRPE is getting invoked. Look closer at your templates. -- Sean McAfee System Engineer Collaborative Fusion, Inc. [EMAIL PROTECTED] 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. 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 secure 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, which arise as a result of e-mail transmission. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. 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. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Confused on how this is working with out nrpe...
That's the thing, I don't have nrpe installed around. Which is where my confusion is. On Nov 11, 2008, at 12:20 PM, Sean McAfee wrote: Charlie Reddington wrote: Sure thing. I think I am missing something as it's not working how I remembered it working. --- define service{ use generic-service ; Name of service template to use host_name master,prodws01,prodws02 service_description Root Partition check_command check_local_disk!20%!10%!/ } Now looking at this, I'm able to get successful checks, with out using nrpe on the host server. So my question comes back to, how is this working when I thought you had to define commands like this define service{ use generic-service host_name master,prodws01,prodws02 service_description Current Load check_command check_nrpe!check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 } You're missing See the check_local_* names in the service definitions? Somewhere you've defined something like: define command{ command_namecheck_local_disk command_line$USER1$/check_nrpe2 -H $HOSTNAME$ -c check_disk -a $ARG1$ $ARG2$ } That is how NRPE is getting invoked. Look closer at your templates. -- Sean McAfee System Engineer Collaborative Fusion, Inc. [EMAIL PROTECTED] 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. 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 secure 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, which arise as a result of e-mail transmission. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. 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. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagiosgraph is not working
Hi guys, Thanks for all your help have set up Nagios graph the way they I is been instructed as per http://www.novell.com/coolsolutions/feature/19843.html also as per READMe.txt. Perf data is moving fine into the =/tmp/service-perfdata file. But the rrd file is not created(the rrd database with name nagios and datasource pegcount). It should be automatically created? Where It will create the .rrd file It should be in rrd folder as mentioned in nagiosgraph.conf Am I right. Or do I have create manually the dabase and data source using rrdtool -create? Do I need to add my service name to servdb.conf? Pls help me I m working on this from so many days? Pls let me know if any more information is required then. Nagios.conf == process_performance_data=1 service_perfdata_command=process-service-perfdata service_perfdata_file=/tmp/service-perfdata service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED ESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ service_perfdata_file_mode=a service_perfdata_file_processing_interval=5 service_perfdata_file_processing_command=process-service-perfdata command.conf == define command { command_name process-service-perfdata command_line /usr/local/nagiosgraph/insert.pl } stage8.ishisystems.com.conf == #novin for nagiosgraph generation page pointing define serviceextinfo{ host_name stage8.ishisystems.com service_description AllCOMPONENT PEGCOUNT notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$service=$SERVICEDESC$db=nagios,pe gcountgeom=500x100rrdopts=%2Dl%200%20%2Du %201000%20%2Dt%20PEGCOUNT } Now I have updated my nagiosgraph/map file and added Map entry == # perfdata:1226534492||stage8.ishisystems.com||AllCOMPONENT PEGCOUNT||138|| /perfdata:AllCOMPONENT PEGCOUNT\|\|([0-9]+)/ and push @s, [ nagios, [ pegcount, GAUGE, $1 ] ]; PerfData: 1226534492||stage8.ishisystems.com||AllCOMPONENT PEGCOUNT||138|| Nagiosgraph.conf == debug = 5 debug_insert = 5 debug_showservice = 5 debug_showhost = 5 debug_showgraph = 5 logfile = /usr/local/nagiosgraph/log/nagiosgraph.log rrddir = /usr/local/nagiosgraph/rrd mapfile = /usr/local/nagiosgraph/map heartbeat = 600 perflog = /tmp/service-perfdata stylesheet = /usr/local/nagiosgraph/nagiosgraph.css Thanks Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) From: Aaron Segura [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 11:32 AM To: Novin Jaiswal; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Need Nagiosgraph tutorial/Help Link That seems like a question google would be able to answer for you pretty easily. From: Novin Jaiswal [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 9:18 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Need Nagiosgraph tutorial/Help Link Hi Friends, I am trying to integrate Nagiosgraph with nagios. Is there any helpful link or tutorial available for Nagiosgraph? I appreciate your help. Thanks Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Confused on how this is working with out nrpe...
On Nov 11, 2008, at 12:06 PM, Charlie Reddington wrote: Sure thing. I think I am missing something as it's not working how I remembered it working. define service{ use generic-service ; Name of service template to use host_name master,prodws01,prodws02 service_description Root Partition check_command check_local_disk!20%!10%!/ } define service{ use generic-service ; Name of service template to use host_name master,prodws01,prodws02 service_description Current Users check_command check_local_users!20!50 } define service{ use generic-service ; Name of service template to use host_name master,prodws01,prodws02 service_description Total Processes check_command check_local_procs!250!400!RSZDT } define service{ use generic-service ; Name of service template to use host_name master,prodws01,prodws02 service_description Current Load check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 } Now looking at this, I'm able to get successful checks, with out using nrpe on the host server. So my question comes back to, how is this working when I thought you had to define commands like this The results being reported are for the machine that nagios is running on only. The check_local_* commands almost certainly don't take a hostname parameter and always operate for localhost *. When checking host 'master', check_local_load shows the load for the nagios machine; when checking prodws01, check_local_load shows the load for the nagios machine, etc... As you suspect, you must use nrpe or some other remote connection methodology to run those plugins on the remote host to get the results you expect. * unless the command{} defintion uses check_nrpe or other remote connection methodology. -- Marc - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagiosgraph is not working
Don't forget that the directory you specify for the RRD files to go must be writable by the user you run Nagios as. Thanks, -Jake 239-949-4450 x6628 From: Novin Jaiswal [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 1:59 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagiosgraph is not working Hi guys, Thanks for all your help have set up Nagios graph the way they I is been instructed as per http://www.novell.com/coolsolutions/feature/19843.html also as per READMe.txt. Perf data is moving fine into the =/tmp/service-perfdata file. But the rrd file is not created(the rrd database with name nagios and datasource pegcount). It should be automatically created? Where It will create the .rrd file It should be in rrd folder as mentioned in nagiosgraph.conf Am I right. Or do I have create manually the dabase and data source using rrdtool -create? Do I need to add my service name to servdb.conf? Pls help me I m working on this from so many days? Pls let me know if any more information is required then. Nagios.conf == process_performance_data=1 service_perfdata_command=process-service-perfdata service_perfdata_file=/tmp/service-perfdata service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED ESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ service_perfdata_file_mode=a service_perfdata_file_processing_interval=5 service_perfdata_file_processing_command=process-service-perfdata command.conf == define command { command_name process-service-perfdata command_line /usr/local/nagiosgraph/insert.pl } stage8.ishisystems.com.conf == #novin for nagiosgraph generation page pointing define serviceextinfo{ host_name stage8.ishisystems.com service_description AllCOMPONENT PEGCOUNT notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$service=$SERVICEDESC$db=nagios,pe gcountgeom=500x100rrdopts=%2Dl%200%20%2Du %201000%20%2Dt%20PEGCOUNT } Now I have updated my nagiosgraph/map file and added Map entry == # perfdata:1226534492||stage8.ishisystems.com||AllCOMPONENT PEGCOUNT||138|| /perfdata:AllCOMPONENT PEGCOUNT\|\|([0-9]+)/ and push @s, [ nagios, [ pegcount, GAUGE, $1 ] ]; PerfData: 1226534492||stage8.ishisystems.com||AllCOMPONENT PEGCOUNT||138|| Nagiosgraph.conf == debug = 5 debug_insert = 5 debug_showservice = 5 debug_showhost = 5 debug_showgraph = 5 logfile = /usr/local/nagiosgraph/log/nagiosgraph.log rrddir = /usr/local/nagiosgraph/rrd mapfile = /usr/local/nagiosgraph/map heartbeat = 600 perflog = /tmp/service-perfdata stylesheet = /usr/local/nagiosgraph/nagiosgraph.css Thanks Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) From: Aaron Segura [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 11:32 AM To: Novin Jaiswal; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Need Nagiosgraph tutorial/Help Link That seems like a question google would be able to answer for you pretty easily. From: Novin Jaiswal [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 9:18 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Need Nagiosgraph tutorial/Help Link Hi Friends, I am trying to integrate Nagiosgraph with nagios. Is there any helpful link or tutorial available for Nagiosgraph? I appreciate your help. Thanks Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] disabling checks of all service and host no longer works
Seth Simmons wrote: Ever since I upgraded to 3.0.5 I noticed that if I select a host and choose 'disable checks on all services on this host' then select for host also, it doesn't do anything. If I disable the host check and service checks individually it works, but never all at once. I did notice, however, that if I select to disable checks of all services and don't check to disable for the host also, it will actually disable checks for all services - but not if I include the host. Anyone else notice that? There's a fix available at http://www.op5.org/src/nagios-3.0.5p1.tar.gz If that works for you, please make sure to report it here so Ethan knows it's safe to apply those patches to the official Nagios sources. Thanks. -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Confused on how this is working with out nrpe...
Sure thing. I think I am missing something as it's not working how I remembered it working. On my remote host, my config file. Alloweed_hosts=my.server.com # The following examples use hardcoded command arguments... command[check_smtp]=/usr/local/nagios/libexec/check_smtp -t20 -w 10 -c 20 command[check_ftp]=/usr/local/nagios/libexec/check_ftp -w 10 -c 20 command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/hda1 command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 200 -c 250 command[check_mysql]=/usr/local/nagios/libexec/check_mysql -u user -p password command[check_local_disk]=/usr/local/nagios/libexec/check_disk -w 20 - c 10 -u MB command[check_load]=/usr/local/nagios/libexec/check_load -w 5.0,4.0,3.0 -c 10.0,6.0,4.0 # The following examples allow user-supplied arguments and can # only be used if the NRPE daemon was compiled with support for # command arguments *AND* the dont_blame_nrpe directive in this # config file is set to '1'. This poses a potential security risk, so # make sure you read the SECURITY file before doing this. #command[check_users]=/usr/local/nagios/libexec/check_users -w $ARG1$ - c $ARG2$ #command[check_load]=/usr/local/nagios/libexec/check_load -w $ARG1$ -c $ARG2$ command[check_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ command[check_procs]=/usr/local/nagios/libexec/check_procs -w $ARG1$ - c $ARG2$ -s $ARG3$ And on my host system, I have some checks and definiations as such. # 'check_ftp' command definition define command{ command_namecheck_ftp command_line$USER1$/check_ftp -H $HOSTADDRESS$ $ARG1$ } # 'check_hpjd' command definition define command{ command_namecheck_hpjd command_line$USER1$/check_hpjd -H $HOSTADDRESS$ $ARG1$ } # 'check_snmp' command definition define command{ command_namecheck_snmp command_line$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ } # 'check_http' command definition define command{ command_namecheck_http command_line$USER1$/check_http -I $HOSTADDRESS$ $ARG1$ } --- define service{ use generic-service ; Name of service template to use host_name master service_description PING check_command check_ping!100.0,20%!500.0,60% } define service{ use generic-service ; Name of service template to use host_name master,prodws01,prodws02 service_description Root Partition check_command check_local_disk!20%!10%!/ } define service{ use generic-service ; Name of service template to use host_name master,prodws01,prodws02 service_description Current Users check_command check_local_users!20!50 } define service{ use generic-service ; Name of service template to use host_name master,prodws01,prodws02 service_description Total Processes check_command check_local_procs!250!400!RSZDT } define service{ use generic-service ; Name of service template to use host_name master,prodws01,prodws02 service_description Current Load check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 } Now looking at this, I'm able to get successful checks, with out using nrpe on the host server. So my question comes back to, how is this working when I thought you had to define commands like this define service{ use generic-service host_name master,prodws01,prodws02 service_description Current Load check_command check_nrpe!check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 } On Nov 11, 2008, at 11:58 AM, Aaron Segura wrote: This is not nearly enough information to offer any sort of help other than You're obviously misunderstanding or misstating something. Please include (at the very least) some relevant configs. -Original Message- From: Charlie Reddington [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 10:49 AM To: Nagios User list Subject: [Nagios-users] Confused on how this is working with out nrpe...
Re: [Nagios-users] Nagiosgraph is not working
Ya I have give chmod 777 nagios.nagios to all files and directories. When I run perl script from cmd prompt for my perfdata I am getting following error. I am missing rrds.pm from my configuration? Pls let me know wht is wrong? /usr/local/nagiosgraph/insert.pl 1226534492||stage8.ishisystems.com||AllCOMPONENT PEGCOUNT||138|| Can't locate RRDs.pm in @INC (@INC contains: /usr/local/nagiosgraph /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /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/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/local/nagiosgraph/ngshared.pm line 65. BEGIN failed--compilation aborted at /usr/local/nagiosgraph/ngshared.pm line 65. Compilation failed in require at /usr/local/nagiosgraph/insert.pl line 119. BEGIN failed--compilation aborted at /usr/local/nagiosgraph/insert.pl line 119. Thanks Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) From: Paulus, Jake [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 2:10 PM To: Novin Jaiswal; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Nagiosgraph is not working Don't forget that the directory you specify for the RRD files to go must be writable by the user you run Nagios as. Thanks, -Jake 239-949-4450 x6628 From: Novin Jaiswal [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 1:59 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagiosgraph is not working Hi guys, Thanks for all your help have set up Nagios graph the way they I is been instructed as per http://www.novell.com/coolsolutions/feature/19843.html also as per READMe.txt. Perf data is moving fine into the =/tmp/service-perfdata file. But the rrd file is not created(the rrd database with name nagios and datasource pegcount). It should be automatically created? Where It will create the .rrd file It should be in rrd folder as mentioned in nagiosgraph.conf Am I right. Or do I have create manually the dabase and data source using rrdtool -create? Do I need to add my service name to servdb.conf? Pls help me I m working on this from so many days? Pls let me know if any more information is required then. Nagios.conf == process_performance_data=1 service_perfdata_command=process-service-perfdata service_perfdata_file=/tmp/service-perfdata service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED ESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ service_perfdata_file_mode=a service_perfdata_file_processing_interval=5 service_perfdata_file_processing_command=process-service-perfdata command.conf == define command { command_name process-service-perfdata command_line /usr/local/nagiosgraph/insert.pl } stage8.ishisystems.com.conf == #novin for nagiosgraph generation page pointing define serviceextinfo{ host_name stage8.ishisystems.com service_description AllCOMPONENT PEGCOUNT notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$service=$SERVICEDESC$db=nagios,pe gcountgeom=500x100rrdopts=%2Dl%200%20%2Du %201000%20%2Dt%20PEGCOUNT } Now I have updated my nagiosgraph/map file and added Map entry == # perfdata:1226534492||stage8.ishisystems.com||AllCOMPONENT PEGCOUNT||138|| /perfdata:AllCOMPONENT PEGCOUNT\|\|([0-9]+)/ and push @s, [ nagios, [ pegcount, GAUGE, $1 ] ]; PerfData: 1226534492||stage8.ishisystems.com||AllCOMPONENT PEGCOUNT||138|| Nagiosgraph.conf == debug = 5 debug_insert = 5 debug_showservice = 5 debug_showhost = 5 debug_showgraph = 5 logfile = /usr/local/nagiosgraph/log/nagiosgraph.log rrddir = /usr/local/nagiosgraph/rrd mapfile = /usr/local/nagiosgraph/map heartbeat = 600 perflog = /tmp/service-perfdata
Re: [Nagios-users] Nagiosgraph is not working
On Tue, 11 Nov 2008, Novin Jaiswal wrote: Ya I have give chmod 777 nagios.nagios to all files and directories. When I run perl script from cmd prompt for my perfdata I am getting following error. I am missing rrds.pm from my configuration? Pls let me know wht is wrong? /usr/local/nagiosgraph/insert.pl 1226534492||stage8.ishisystems.com||AllCOMPONENT PEGCOUNT||138|| Can't locate RRDs.pm in @INC (@INC contains: /usr/local/nagiosgraph /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /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/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/local/nagiosgraph/ngshared.pm line 65. BEGIN failed--compilation aborted at /usr/local/nagiosgraph/ngshared.pm line 65. Compilation failed in require at /usr/local/nagiosgraph/insert.pl line 119. BEGIN failed--compilation aborted at /usr/local/nagiosgraph/insert.pl line 119. The first line of the error probably explains it better than I could. The script can't find RRDs.pm in your Perl include path. Do you have the RRD::Simple module installed? - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Need Nagiosgraph tutorial/Help Link
That seems like a question google would be able to answer for you pretty easily. From: Novin Jaiswal [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 9:18 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Need Nagiosgraph tutorial/Help Link Hi Friends, I am trying to integrate Nagiosgraph with nagios. Is there any helpful link or tutorial available for Nagiosgraph? I appreciate your help. Thanks Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagiosgraph is not working
From: Novin Jaiswal [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 2:22 PM To: Paulus, Jake; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagiosgraph is not working /usr/local/nagiosgraph/insert.pl 1226534492||stage8.ishisystems.com||AllCOMPONENT PEGCOUNT||138|| Can't locate RRDs.pm in @INC (@INC contains: /usr/local/nagiosgraph /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /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/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/local/nagiosgraph/ngshared.pm line 65. BEGIN failed--compilation aborted at /usr/local/nagiosgraph/ngshared.pm line 65. Compilation failed in require at /usr/local/nagiosgraph/insert.pl line 119. BEGIN failed--compilation aborted at /usr/local/nagiosgraph/insert.pl line 119. --- Not sure of your linux distro, but sounds like you need the package: librrds-perl (If you used source, you can modify @INC like this within within your perl script, adjust to version/path you have).. use lib '/usr/local/rrdtool-1.0.33/lib/perl/'; regards jamie - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagiosgraph is not working
Hi James, Thanks for your help. I have pasted into ngshared.pm use lib '/usr/local/lib/perl/5.8.5/i386-linux-thread-multi/'; Now there is no error when I execute that perl script from cmd prompt. But when I click from Nagios webinterface for nagiosgraph link of that service. It open a new browser with following error Nagiosgraph has detected an error in the configuration file: /usr/local/lib/perl/5.8.5/i386-linux-thread-multi//nagiosgraph.conf. /usr/local/lib/perl/5.8.5/i386-linux-thread-multi//nagiosgraph.conf not found Looks like it try to find nagiosgraph.conf inside the use lib One more thing to share with you When I go through documentation the required packages needed for nagiosgraph I don't have perl-CGI, and perl-rrdtool. How to know whether these 2 packages are installed or not? I have installed rrdtool as per the instruction of its site. Thanks Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -Original Message- From: James Pratt [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 2:33 PM To: Novin Jaiswal; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Nagiosgraph is not working From: Novin Jaiswal [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 2:22 PM To: Paulus, Jake; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagiosgraph is not working /usr/local/nagiosgraph/insert.pl 1226534492||stage8.ishisystems.com||AllCOMPONENT PEGCOUNT||138|| Can't locate RRDs.pm in @INC (@INC contains: /usr/local/nagiosgraph /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /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/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/local/nagiosgraph/ngshared.pm line 65. BEGIN failed--compilation aborted at /usr/local/nagiosgraph/ngshared.pm line 65. Compilation failed in require at /usr/local/nagiosgraph/insert.pl line 119. BEGIN failed--compilation aborted at /usr/local/nagiosgraph/insert.pl line 119. --- Not sure of your linux distro, but sounds like you need the package: librrds-perl (If you used source, you can modify @INC like this within within your perl script, adjust to version/path you have).. use lib '/usr/local/rrdtool-1.0.33/lib/perl/'; regards jamie - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Perfparse, PNP, NagiosGrapher, ...
short question as I'm currently in the progress of switchin from Nagios 2 to Nagios 3 and had my performance data within APAN I plan to switch to something more sophisticated. so my question... which one do you use? and why did you choose exactly this one? is there a list of pros and cons? thanks a lot, christian ___ Christian Masopust SIEMENS AG SIS PSE TMF Tel: +43 (0) 5 1707 26866 E-mail: [EMAIL PROTECTED] Addr: Austria, 1210 Vienna, Siemensstraße 90-92, B. 33, Rm. 243 Leader of the RUGA http://www.rational-ug.org/groups.php?groupid=119 Firma: Siemens Aktiengesellschaft Österreich, Rechtsform: Aktiengesellschaft, Sitz: Wien, Firmenbuchnummer: FN 60562 m, Firmenbuchgericht: Handelsgericht Wien, DVR 0001708 ___ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagiosgraph is not working
Hi Guys, Thanks a lot for all your help. I have added use lib '/usr/local/nagiosgraph/'; to ngshared.pm file now it show me the graph page. Now its reading the perfdata and that file is empty. Also created rrd files but not for the service AllCOMPONENT PEGCOUNT' which I have added. The issue is not showing any graphical data. Nagiosgraph.log entry for AllCOMPONENT PEGCOUNT service Thu Nov 13 03:58:58 2008 insert.pl debug - processdata(241) Thu Nov 13 03:58:58 2008 insert.pl debug - processdata data = [ '1226542383', 'stage8.ishisystems.com', 'AllCOMPONENT PEGCOUNT', '138', ' ' ]; Thu Nov 13 03:58:58 2008 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr:AllCOMPONENT PEGCOUNT output:138 perfdata: -Original Message- From: Novin Jaiswal [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 3:05 PM To: James Pratt; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagiosgraph is not working Hi James, Thanks for your help. I have pasted into ngshared.pm use lib '/usr/local/lib/perl/5.8.5/i386-linux-thread-multi/'; Now there is no error when I execute that perl script from cmd prompt. But when I click from Nagios webinterface for nagiosgraph link of that service. It open a new browser with following error Nagiosgraph has detected an error in the configuration file: /usr/local/lib/perl/5.8.5/i386-linux-thread-multi//nagiosgraph.conf. /usr/local/lib/perl/5.8.5/i386-linux-thread-multi//nagiosgraph.conf not found Looks like it try to find nagiosgraph.conf inside the use lib One more thing to share with you When I go through documentation the required packages needed for nagiosgraph I don't have perl-CGI, and perl-rrdtool. How to know whether these 2 packages are installed or not? I have installed rrdtool as per the instruction of its site. Thanks Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) -Original Message- From: James Pratt [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 2:33 PM To: Novin Jaiswal; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Nagiosgraph is not working From: Novin Jaiswal [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 2:22 PM To: Paulus, Jake; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagiosgraph is not working /usr/local/nagiosgraph/insert.pl 1226534492||stage8.ishisystems.com||AllCOMPONENT PEGCOUNT||138|| Can't locate RRDs.pm in @INC (@INC contains: /usr/local/nagiosgraph /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /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/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/local/nagiosgraph/ngshared.pm line 65. BEGIN failed--compilation aborted at /usr/local/nagiosgraph/ngshared.pm line 65. Compilation failed in require at /usr/local/nagiosgraph/insert.pl line 119. BEGIN failed--compilation aborted at /usr/local/nagiosgraph/insert.pl line 119. --- Not sure of your linux distro, but sounds like you need the package: librrds-perl (If you used source, you can modify @INC like this within within your perl script, adjust to version/path you have).. use lib '/usr/local/rrdtool-1.0.33/lib/perl/'; regards jamie - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios acknowledgement (with check_logfiles plugin)
We also configure check_logfiles as a volatile service, but that doesn't solve the problem at hand. I still don't understand how to get Nagios to send notifications until we acknowledge the problem, without ignoring future problems. Can anyone explain if this is possible? -- Jim On Mon, 10 Nov 2008 at 3:04pm, Kyle O'Donnell wrote: We configure check logfiles as a volatile service and choose not to use the sticky option. Some logs we configure check-logfiles to send a message via nsca for each pattern match, ensuring we don't miss any notifications. We also configure check-logfiles services not to send out recovery messages, and only schedule downtime or disable notifications during maintenance. On 11/10/08, Jim Winkle [EMAIL PROTECTED] wrote: We're deploying Nagios (currently using 3.0.2) for our Unix servers, and I have a question about acknowledgement. We're using the check_logfiles plugin to monitor syslogs (e.g. /var/adm/messages on Solaris). check_logfiles returns CRITICAL when it detects a problem, but then normally clears itself (returns OK) the next time it runs. Nagios notifies us only once under this scenerio, and since it's possible that pagers might miss just one page (paging services aren't 100% reliable), we'd rather get notified until we explicitly acknowledge the problem. The check_logfiles plugin does have the capability to continue to report the error (using its sticky option). This is good since then we're notified longer, but if we then use the Nagios Acknowledge link to acknowledge the problem, new problems (e.g. new errors in /var/adm/messages) reported by the check_logfiles plugin get ignored. My question: Is there a way with Nagios to acknowledge a problem reported by a plugin like check_logfiles without ignoring future problems? Or would this be new functionality needed in Nagios? I realize we can syslog an okpattern string and check_logfiles will then clear, but I'm looking for something using the Nagios web (and external command_file) interfaces. Using the Nagios Acknowledge link would be ideal, since that's what folks are going to be using for other problems. Nagios and the check_logfiles plugin are great tools... perhaps I'm simply missing something. Thanks in advance! -- Jim - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Limiting mail notification for clock drift
On Nov 11, 2008, at 2:08 AM, Kenneth Holter wrote: Hello. I'm using Nagios 3.0.3 to monitor things such as time (synchronized with NTP) on our servers, and are getting a lot of semi-duplicate notification mails: As long as there is an error/warning, I get a mail notification every time the clock drift increases or decreases. Is there an option I can set to limit the notification to _one_ mail whenever we enter or leave an error/warning state, and thus not for every time a new drift time is calculated? Sounds like you need to remove the is_volatile option in your service definitions. http://nagios.sourceforge.net/docs/2_0/volatileservices.html -- Marc - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Need Nagiosgraph tutorial/Help Link
Hi Friends, I am trying to integrate Nagiosgraph with nagios. Is there any helpful link or tutorial available for Nagiosgraph? I appreciate your help. Thanks Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] hosts.config
That's a perfectly good question. Let's say for example that the servers that manage our backup system run on Sun Solaris. I need to notify our Unix Administration group if something happens to the backup servers. However, the administrator of the backup system, is not in the Unix admin group. In this instance, I need to notify a group of people (Unix Admins) and an individual (backup software administrator). What I need help in figuring out is if I can add an individual contact into the contact_groups list, or should I just add a contacts list along with a contact_group listing. Thank you, Layne Meier AJC Information Technology Atlanta Journal-Constitution A Cox Newspaper On Nov 10, 2008, at 4:23 PM, Hugo van der Kooij wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Layne Meier wrote: Herein lies my problem. I've inherited supporting our Nagios system. It was pre-configured and set-up by a previous employee. I've gone over the web-based manual, but can't find specifics like this defined in the manual. I was tasked with updating all of the groups and contacts, but need to make sure that I get it set up correctly. Just curious. What is wrong with defining contacts to be individuals and contact groups for the specific areas people are responsible for? - From a logical point I find it a bit hard to see why you would need to add individuals besides groups to devices. Sometimes it pays of in the long run to be a bit stubborn about adding not to many exceptions. Exceptions have a tendency to take on a life of their own and triple your workload. Hugo. - -- [EMAIL PROTECTED] http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJGKZjBvzDRVjxmYERAtTIAJ46dveE8ZCHGcR0UjzfV42rk+4O6gCfeXn+ ekULLxAQ32NAoGy6thkV7cU= =3GH/ -END PGP SIGNATURE- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios graph is working now
Hi guys, Thanks for all your support and help finally Nagios graph is working. Just need to fix the x-axis and y-axis. Thanks once again. Thanks Regards Novin Jaiswal Ishi Systems Inc. 732-318-8156(cell) - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] why does a host appear under unhandled problems on the Tactical Overview when it depends on an acknowledge host that is down
Hello Nagios Users, I'm wondering why a host appears under unhandled problems if its parent is down, but acknowledged. Shouldn't the host that has a down parent that is acknowledged be handled? Thanks for your thoughts. CP -- Chris Paul Sentinare Messaging Solutions, Inc 309 Cedar Street #72, Santa Cruz, CA 95060 email: [EMAIL PROTECTED] web: http://www.sentinare.com phone, toll-free: +1 (877) 727-9786 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] hosts.config
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Layne Meier wrote: That's a perfectly good question. Let's say for example that the servers that manage our backup system run on Sun Solaris. I need to notify our Unix Administration group if something happens to the backup servers. However, the administrator of the backup system, is not in the Unix admin group. In this instance, I need to notify a group of people (Unix Admins) and an individual (backup software administrator). In my view this calls for a backup admin group. Today that group might be one person. But how about tomorrow? Or next week? Hugo. - -- [EMAIL PROTECTED] http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJGnThBvzDRVjxmYERAuh/AJ9uCrjfQvpA0wqZYRpw1nj3NxfYqgCguHQQ VdIng4imnb11RLtJZS0imis= =Duhc -END PGP SIGNATURE- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] GroundWork (Nagios) Service Checks/Host Checks
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sean O`Brien wrote: Re: Nagios 2.x It is my understanding that when all the service checks fail, Nagios performs host checks; the number of which we have specified to 3. At which point (after reporting that Host is in a Non-okay state) Nagios resumes service checks. It is at this point my question lies. When does Nagios perform another host check? Would it be after all the service checks are reported Okay or will Nagios perform a host check after the first service check reports okay. Once a service check fails the host check kicks in. This may result in not doing any other checks at that time. If the hosts checks faile beyon the limit set the host will reach a hard state of down and no further servic notifications will be done. This theory has been discussed rather intensively on this mailinglist and for full details I advise you to browse the archives where propably could have found the answer. Hugo. - -- [EMAIL PROTECTED] http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJGnb9BvzDRVjxmYERAsE6AKC0d5+jyIB7HNe2Ox6JtVLkGP2yRACdHCwV AA34TGy4H6ZnXYegI0I3umQ= =duo9 -END PGP SIGNATURE- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Perfparse, PNP, NagiosGrapher, ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Masopust, Christian wrote: short question as I'm currently in the progress of switchin from Nagios 2 to Nagios 3 and had my performance data within APAN I plan to switch to something more sophisticated. so my question... which one do you use? and why did you choose exactly this one? is there a list of pros and cons? Scratch anything that does not make sense to you as far as operations or documentation goes. Then see what is left. Pick and try the one that looks good to you and see if it does what you want it to do. If it works you will propably stick with it. Which is why there is little in regard to comparing them available. No one wants to waste time on that. Hugo. - -- [EMAIL PROTECTED] http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJGnjqBvzDRVjxmYERAtojAJ4tm/klZY/4tuPHDvlBFVEVyN6lVQCeI+NC sG9y6lqFr9SPQibsRwqk+Kc= =UOoS -END PGP SIGNATURE- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Perfparse, PNP, NagiosGrapher, ...
we tried nagiosgrapher, but that seemed to impact the performance of our nagios server quite a bit, we therefore tried pnp in bulk mode with npcd, and found it worked a lot better for us. another thing I liked about pnp, is that it will graph any check with performance data, any new checks added to hosts that have performance data, just start getting graphed - no configuration needed, which is nice. hope it helps. On Tue, 2008-11-11 at 21:31 +0100, Masopust, Christian wrote: short question as I'm currently in the progress of switchin from Nagios 2 to Nagios 3 and had my performance data within APAN I plan to switch to something more sophisticated. so my question... which one do you use? and why did you choose exactly this one? is there a list of pros and cons? thanks a lot, christian ___ Christian Masopust SIEMENS AG SIS PSE TMF Tel: +43 (0) 5 1707 26866 E-mail: [EMAIL PROTECTED] Addr: Austria, 1210 Vienna, Siemensstraße 90-92, B. 33, Rm. 243 Leader of the RUGA Firma: Siemens Aktiengesellschaft Österreich, Rechtsform: Aktiengesellschaft, Sitz: Wien, Firmenbuchnummer: FN 60562 m, Firmenbuchgericht: Handelsgericht Wien, DVR 0001708 ___ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null