Re: [Nagios-users] Error in Commit
Hi, This happens because of the permission and ownership issue of the nagios pipe file (/usr/local/Nagios/var/rw/nagios.cmd). Change the permissions and ownership to 766 and ownership to nagios.nagios. This should resolve your problem Thanks Ankit Arun Mehrotra Pandey, Sudhakar R srpan...@relianceglobalcom.com 12/16/2008 03:42 PM To 'nagios-users@lists.sourceforge.net' nagios-users@lists.sourceforge.net cc Subject [Nagios-users] Error in Commit Hi there, I am getting the following error while doing running the commit command on Nagios: Could not stat command file () Usr/local/Nagios/var/rw/Nagios.cmd Best Regards Sudhakar Pandey Reliance Globalcom Ltd E-Block , 2nd floor, Wing A, DAKC, Navi Mumbai, Direct: +9122-30384447 | Mobile: +91-9322886578 Email: srpan...@relianceglobalcom.com | URL: www.relianceglobalcom.com Disclaimer: Please note that Flag Telecom is now Reliance Globalcom. Accordingly, our Emails IDs have also changed from x...@flagtelecom.com to x...@relianceglobalcom.com -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ForwardSourceID:NT0002EF1A =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you image/gif oledata.mso Description: Binary data attachment: image001.gif-- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Only hard status on tactical display?
My tactical display gets posted on a large monitor in the office which is visible to all staff. Since the tactical display shows every soft warning or critical state, I often get questions about what's broken? when we've merely lost a single UDP packet while testing a DNS server, or something similarly innocuous. I'm considering modifying tac.cgi so that it only displays warning or critical HARD statuses, and not SOFT. I did a few searches on nagios exchange and didn't find anything already there... but thought I'd ask to avoid re- inventing the wheel: has anyone done this before that wants to share code? If I don't hear back from anyone I'll go ahead and try to do this myself. If successful I'll share the diff back to the list. Cheers, Matt PGP.sig Description: This is a digitally signed message part -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] check_http negative matching
I have a particular web page that I would like to monitor for the word ERROR. It should be a negative match, so that if the word is found an alert is sent. The normal behavior of his monitor is to alert if the search string is not found. How do I reverse this? -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_http negative matching
On Dec 16, 2008, at 9:57 AM, Sean Carolan wrote: I have a particular web page that I would like to monitor for the word ERROR. It should be a negative match, so that if the word is found an alert is sent. The normal behavior of his monitor is to alert if the search string is not found. How do I reverse this? With the negate plugin. $ ./negate --help negate v1859 (nagios-plugins 1.4.11) Copyright (c) 2002-2007 Nagios Plugin Development Team nagiosplug-de...@lists.sourceforge.net Negates the status of a plugin (returns OK for CRITICAL and vice-versa). Additional switches can be used to control which state becomes what. Usage:negate [-t timeout] [-owcu STATE] definition of wrapped plugin Options: [chopped] Examples: negate /usr/local/nagios/libexec/check_ping -H host Run check_ping and invert result. Must use full path to plugin negate -w OK -c UNKNOWN /usr/local/nagios/libexec/check_procs -a 'vi negate.c' This will return OK instead of WARNING and UNKNOWN instead of CRITICAL Notes: This plugin is a wrapper to take the output of another plugin and invert it. The full path of the plugin must be provided. If the wrapped plugin returns OK, the wrapper will return CRITICAL. If the wrapped plugin returns CRITICAL, the wrapper will return OK. Otherwise, the output state of the wrapped plugin is unchanged. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] best way to analyse traffic on a network-device
Hallo, what is the best way to analyse traffic on a network-device. I need graphs with average-values in Kb like mrtg is building. Using snmp and/ or new plugins is possible. -- i.A. Ralf Prengel Customer Care Manager Comline AG Hauert 8 D-44227 Dortmund/Germany Fon +49231 97575- 904 Fax +49231 97575- 905 EMail ralf.pren...@comline.de -- www.comline.de Vorstand Stephan Schilling, Erwin Leonhardi Aufsichtsrat Dr. Franz Schoser (Vorsitzender) HR Dortmund B 14570 USt.-ID-Nr. DE 124727422 -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] PROCESS_SERVICE_CHECK_RESULT : formating plugin_output
Hi List, When using PROCESS_SERVICE_CHECK_RESULT, is it possible to insert a [new line] character in the plugin_output ? I have different lines to put in Nagios and it is not very clear when they are aggregated. In Status Information instead of : quantite-date-min 60 --- /global/routing/share/data/ComServer/ftp/.*/.*/*.* --- 1 quantite-date-min 10 --- /global/routing/share/data/pcneopost/CND/.*/.*/.*/.*/EMIS/*.* --- 47 I would like to have : quantite-date-min 60 --- /global/routing/share/data/ComServer/ftp/.*/.*/*.* --- 1 quantite-date-min 10 --- /global/routing/share/data/pcneopost/CND/.*/.*/.*/.*/EMIS/*.* --- 47 I would also like to align column, for example with [tab] character (instead of my --- as column separators). Of course, I tried to use \n or \t or even br/ but it does not work. Thank you for your help. Regard, Nicolas COLIN. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_http negative matching
Marc Powell wrote: On Dec 16, 2008, at 9:57 AM, Sean Carolan wrote: I have a particular web page that I would like to monitor for the word ERROR. It should be a negative match, so that if the word is found an alert is sent. The normal behavior of his monitor is to alert if the search string is not found. How do I reverse this? With the negate plugin. check_http already includes this functionality via the --invert-regex flag: -r, --regex, --ereg=STRING Search page for regex STRING -R, --eregi=STRING Search page for case-insensitive regex STRING --invert-regex Return CRITICAL if found, OK if not -- Sean McAfee System Engineer Collaborative Fusion, Inc. smca...@collaborativefusion.com 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. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios Admin pages
Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios Admin pages
start here http://nagios.sourceforge.net/docs/3_0/notifications.html -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Tuesday, December 16, 2008 11:51 AM To: nagios-user Mailinglist Subject: [Nagios-users] Nagios Admin pages Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios and Festival
I have recently upgraded to Fedora10. It seems every release they decide to break something. Fedora9 was Video. I have Nagios working using my old configuration from Fedora9. But when a monitored service has a problem, I get no audio. Log shows this.. Dec 16 01:21:36 localhost nagios: HOST EVENT HANDLER: domino;(null);(null);(null);host-notify Dec 16 01:23:58 localhost nagios: SERVICE ALERT: zaphod;CheckLoad;OK;HARD;1;OK - load average: 0.03, 0.24, 1.65 Dec 16 01:23:58 localhost nagios: SERVICE NOTIFICATION: durwin;zaphod;CheckLoad;OK;service-festival;OK - load average: 0.03, 0.24, 1.65 Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module module-alsa-sink (argument: device_id=0 sink_name=alsa_output.pci_1274_1371_sound_card_0_alsa_playback_0 tsched=1): initialization failed. Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module module-alsa-source (argument: device_id=0 source_name=alsa_input.pci_1274_1371_sound_card_0_alsa_capture_0 tsched=1): initialization failed. If I su to nagios user and use festival directly, I get this.. I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. I: caps.c: Dropping root privileges. I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. Festival does work as root, and I can play music using xmms logged on as my normal user. During my searches, it was suggested to add nagios to certain pulseaudio groups which I did. This did nothing. Any one have any ideas? Thank you for any help. Durwin -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios and Festival
TheCajun wrote: I have recently upgraded to Fedora10. It seems every release they decide to break something. Fedora9 was Video. I have Nagios working using my old configuration from Fedora9. But when a monitored service has a problem, I get no audio. Log shows this.. Dec 16 01:21:36 localhost nagios: HOST EVENT HANDLER: domino;(null);(null);(null);host-notify Dec 16 01:23:58 localhost nagios: SERVICE ALERT: zaphod;CheckLoad;OK;HARD;1;OK - load average: 0.03, 0.24, 1.65 Dec 16 01:23:58 localhost nagios: SERVICE NOTIFICATION: durwin;zaphod;CheckLoad;OK;service-festival;OK - load average: 0.03, 0.24, 1.65 Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module module-alsa-sink (argument: device_id=0 sink_name=alsa_output.pci_1274_1371_sound_card_0_alsa_playback_0 tsched=1): initialization failed. Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module module-alsa-source (argument: device_id=0 source_name=alsa_input.pci_1274_1371_sound_card_0_alsa_capture_0 tsched=1): initialization failed. If I su to nagios user and use festival directly, I get this.. I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. I: caps.c: Dropping root privileges. I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. Festival does work as root, and I can play music using xmms logged on as my normal user. During my searches, it was suggested to add nagios to certain pulseaudio groups which I did. This did nothing. Any one have any ideas? Thank you for any help. Durwin -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Try seeing what the group perms are for /dev/audiodevice and update your nagios user/group accordingly. maybe they changed perms on you...lowlife bastards ;( Both /dev/dsp and /dev/audio are 660 and user and group are both root. Isn't that as it should be? Isn't Pulseaudio suppose to interface with the hardware and not the individual processes? -- reality.sys corrupted. universe halted. reboot (y/n)? TheCajun theca...@nmia.com -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Error in Commit
Hi there, I am getting the following error while doing running the commit command on Nagios: Could not stat command file () Usr/local/Nagios/var/rw/Nagios.cmd Best Regards OLE_LINK6OLE_LINK5Sudhakar Pandey Reliance Globalcom Ltd E-Block , 2nd floor, Wing A, DAKC, Navi Mumbai, Direct: +9122-30384447 | Mobile: +91-9322886578 Email: mailto:srpan...@relianceglobalcom.com srpan...@relianceglobalcom.com | URL: http://www.relianceglobalcom.com/ www.relianceglobalcom.com Disclaimer: Please note that Flag Telecom is now Reliance Globalcom. Accordingly, our Emails IDs have also changed from x...@flagtelecom.com to x...@relianceglobalcom.com attachment: image001.gif oledata.mso Description: Binary data -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios and Festival
TheCajun wrote: TheCajun wrote: I have recently upgraded to Fedora10. It seems every release they decide to break something. Fedora9 was Video. I have Nagios working using my old configuration from Fedora9. But when a monitored service has a problem, I get no audio. Log shows this.. Dec 16 01:21:36 localhost nagios: HOST EVENT HANDLER: domino;(null);(null);(null);host-notify Dec 16 01:23:58 localhost nagios: SERVICE ALERT: zaphod;CheckLoad;OK;HARD;1;OK - load average: 0.03, 0.24, 1.65 Dec 16 01:23:58 localhost nagios: SERVICE NOTIFICATION: durwin;zaphod;CheckLoad;OK;service-festival;OK - load average: 0.03, 0.24, 1.65 Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module module-alsa-sink (argument: device_id=0 sink_name=alsa_output.pci_1274_1371_sound_card_0_alsa_playback_0 tsched=1): initialization failed. Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module module-alsa-source (argument: device_id=0 source_name=alsa_input.pci_1274_1371_sound_card_0_alsa_capture_0 tsched=1): initialization failed. If I su to nagios user and use festival directly, I get this.. I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. I: caps.c: Dropping root privileges. I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. Festival does work as root, and I can play music using xmms logged on as my normal user. During my searches, it was suggested to add nagios to certain pulseaudio groups which I did. This did nothing. Any one have any ideas? Thank you for any help. Durwin -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Try seeing what the group perms are for /dev/audiodevice and update your nagios user/group accordingly. maybe they changed perms on you...lowlife bastards ;( Both /dev/dsp and /dev/audio are 660 and user and group are both root. Isn't that as it should be? Isn't Pulseaudio suppose to interface with the hardware and not the individual processes? i can't remember. try chgrp'ing the /dev/audiodevice to match your nagios/group user and see it that works... -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] best way to analyse traffic on a network-device
We use Cacti to analyze traffic information on a network device. Actually, we use it to monitor and analyze all network traffic on ports on our switches. I know in the past that Cacti and Nagios have gone hand in hand when it comes to monitoring with either tool. Here's a very short bit on cacti/nagios from the nagioswiki page. I don't know what other people do, but I have cacti running on the same server as nagios. http://nagioswiki.com/wiki/index.php/Cacti and cacti's website: http://cacti.net If you want to integrate cacti with nagios, there seems to be a-few plugins on nagiosexchange.org for cacti-nagios integration. This one looks promising: C2n - Cacti to Nagios c2n.cgi is a filter/wrapper for the frontend of Cacti to include it in Nagios. It includes the Cacti interface in the right frame of the Nagios web interface. It filters out any possiblity to switch from one host to another using cacti menus. Therefore the authentication system of Nagios will take place and the authentication system of Cacti is unused. http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2743.html;d=1 ~Jayson Jayson Broughton Linux Systems Administrator True Oil Companies jbrough...@truecos.com -Original Message- From: Ralf Prengel [mailto:ralf.pren...@comline.de] Sent: Tuesday, December 16, 2008 6:13 AM To: nagios-user Mailinglist Subject: [Nagios-users] best way to analyse traffic on a network-device Hallo, what is the best way to analyse traffic on a network-device. I need graphs with average-values in Kb like mrtg is building. Using snmp and/ or new plugins is possible. -- i.A. Ralf Prengel Customer Care Manager Comline AG Hauert 8 D-44227 Dortmund/Germany Fon +49231 97575- 904 Fax +49231 97575- 905 EMail ralf.pren...@comline.de -- www.comline.de Vorstand Stephan Schilling, Erwin Leonhardi Aufsichtsrat Dr. Franz Schoser (Vorsitzender) HR Dortmund B 14570 USt.-ID-Nr. DE 124727422 -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null The information in this electronic mail message and any attached files is confidential and may be legally privileged. If you are not the intended recipient, delete this message and contact the sender immediately. Access to this message by anyone other than its intended recipient is unauthorized. You must not use or disseminate this information as it is proprietary property of the True companies. Communications on or through the True companies' computer systems may be monitored or recorded to secure effective system operation and for other lawful purposes. Thank you. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] monitor cpu usage...
On Mon, 2008-12-15 at 19:25 -0500, Craig A wrote: Hi Jayson, Thanks for the suggestion but '-C' just limited it to the 4 processes that I'm interested in, but it still says OK.Reducing -w to 1 is the only way i can get a warning out even though top is still showing the offending process pinned around 100% and it's not yo-yo'ing. On Mon, Dec 15, 2008 at 5:45 PM, Jayson Broughton jbrough...@truecos.com wrote: How about the –C flag? ./check_proc –w 10 –c 20 –C ApplicationName–metric=CPU ~Jayson could you perhaps paste relevant pieces of check_proc using -vvv? just out of interest, how did you install nagios-plugins on this host? package or compiled? -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios Admin pages
Hi Seth, Thanks for the link. I've looked more closely at the definitions, and it looks like since I have the generic service that I'm using that comes stalk with Nagios, that's what I'm using. That's what I'm guessing anyway. This begets a question. If the other service definitions inherit from the generic definition, it seems that the generic service is the one that gets used, and has priority, not the inherited one. Is that correct? - Original Message From: Seth Simmons ssimm...@cymfony.com To: Grant Lowe gl...@sbcglobal.net; nagios-user Mailinglist nagios-users@lists.sourceforge.net Sent: Tuesday, December 16, 2008 9:08:21 AM Subject: RE: [Nagios-users] Nagios Admin pages start here http://nagios.sourceforge.net/docs/3_0/notifications.html -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Tuesday, December 16, 2008 11:51 AM To: nagios-user Mailinglist Subject: [Nagios-users] Nagios Admin pages Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios and Festival
TheCajun wrote: TheCajun wrote: I have recently upgraded to Fedora10. It seems every release they decide to break something. Fedora9 was Video. I have Nagios working using my old configuration from Fedora9. But when a monitored service has a problem, I get no audio. Log shows this.. Dec 16 01:21:36 localhost nagios: HOST EVENT HANDLER: domino;(null);(null);(null);host-notify Dec 16 01:23:58 localhost nagios: SERVICE ALERT: zaphod;CheckLoad;OK;HARD;1;OK - load average: 0.03, 0.24, 1.65 Dec 16 01:23:58 localhost nagios: SERVICE NOTIFICATION: durwin;zaphod;CheckLoad;OK;service-festival;OK - load average: 0.03, 0.24, 1.65 Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module module-alsa-sink (argument: device_id=0 sink_name=alsa_output.pci_1274_1371_sound_card_0_alsa_playback_0 tsched=1): initialization failed. Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module module-alsa-source (argument: device_id=0 source_name=alsa_input.pci_1274_1371_sound_card_0_alsa_capture_0 tsched=1): initialization failed. If I su to nagios user and use festival directly, I get this.. I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. I: caps.c: Dropping root privileges. I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. Festival does work as root, and I can play music using xmms logged on as my normal user. During my searches, it was suggested to add nagios to certain pulseaudio groups which I did. This did nothing. Any one have any ideas? Thank you for any help. Durwin -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Try seeing what the group perms are for /dev/audiodevice and update your nagios user/group accordingly. maybe they changed perms on you...lowlife bastards ;( Both /dev/dsp and /dev/audio are 660 and user and group are both root. Isn't that as it should be? Isn't Pulseaudio suppose to interface with the hardware and not the individual processes? i can't remember. try chgrp'ing the /dev/audiodevice to match your nagios/group user and see it that works... I tried setting attributes to 666 and setting user/group to nagios:nagios. Did not work. However, even after returning things back to what they were, I stopped getting the error when su'ed to nagios. But still do not get voice. The log shows this. Dec 16 11:56:13 localhost pulseaudio[3135]: main.c: High-priority scheduling enabled in configuration but not allowed by policy. Dec 16 11:56:13 localhost pulseaudio[3135]: core-util.c: setpriority(): Permission denied Dec 16 11:56:13 localhost pulseaudio[3137]: alsa-util.c: Error opening PCM device hw:0: Permission denied Dec 16 11:56:13 localhost pulseaudio[3137]: module.c: Failed to load module module-alsa-sink (argument: device_id=0 sink_name=alsa_output.pci_1274_1371_sound_card_0_alsa_playback_0 tsched=1): initialization failed. Dec 16 11:56:13 localhost pulseaudio[3137]: alsa-util.c: Error opening PCM device hw:0: Permission denied Dec 16 11:56:13 localhost pulseaudio[3137]: module.c: Failed to load module module-alsa-source (argument: device_id=0 source_name=alsa_input.pci_1274_1371_sound_card_0_alsa_capture_0 tsched=1): initialization failed. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios Admin pages
It's the other way around (assuming I'm understanding the question correctly). If you have a host defined and you tell it to use the generic-host template and define a different parameter for that specific host, that takes precedence. For example, here is your generic-host template and a defined host. define host{ namegeneric-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information1 notification_period 24x7 register0 } define host{ nameredhatserver use generic-host notifications_enabled 0 } With the above host, it has notifications disabled; if that wasn't defined for that host, it would use the value in the template. Same applies for services. -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Tuesday, December 16, 2008 1:32 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, Thanks for the link. I've looked more closely at the definitions, and it looks like since I have the generic service that I'm using that comes stalk with Nagios, that's what I'm using. That's what I'm guessing anyway. This begets a question. If the other service definitions inherit from the generic definition, it seems that the generic service is the one that gets used, and has priority, not the inherited one. Is that correct? - Original Message From: Seth Simmons ssimm...@cymfony.com To: Grant Lowe gl...@sbcglobal.net; nagios-user Mailinglist nagios-users@lists.sourceforge.net Sent: Tuesday, December 16, 2008 9:08:21 AM Subject: RE: [Nagios-users] Nagios Admin pages start here http://nagios.sourceforge.net/docs/3_0/notifications.html -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Tuesday, December 16, 2008 11:51 AM To: nagios-user Mailinglist Subject: [Nagios-users] Nagios Admin pages Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios and Festival
TheCajun wrote: I have recently upgraded to Fedora10. It seems every release they decide to break something. Fedora9 was Video. I have Nagios working using my old configuration from Fedora9. But when a monitored service has a problem, I get no audio. Log shows this.. Dec 16 01:21:36 localhost nagios: HOST EVENT HANDLER: domino;(null);(null);(null);host-notify Dec 16 01:23:58 localhost nagios: SERVICE ALERT: zaphod;CheckLoad;OK;HARD;1;OK - load average: 0.03, 0.24, 1.65 Dec 16 01:23:58 localhost nagios: SERVICE NOTIFICATION: durwin;zaphod;CheckLoad;OK;service-festival;OK - load average: 0.03, 0.24, 1.65 Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module module-alsa-sink (argument: device_id=0 sink_name=alsa_output.pci_1274_1371_sound_card_0_alsa_playback_0 tsched=1): initialization failed. Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module module-alsa-source (argument: device_id=0 source_name=alsa_input.pci_1274_1371_sound_card_0_alsa_capture_0 tsched=1): initialization failed. If I su to nagios user and use festival directly, I get this.. I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. I: caps.c: Dropping root privileges. I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. Festival does work as root, and I can play music using xmms logged on as my normal user. During my searches, it was suggested to add nagios to certain pulseaudio groups which I did. This did nothing. Any one have any ideas? Thank you for any help. Durwin -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Try seeing what the group perms are for /dev/audiodevice and update your nagios user/group accordingly. maybe they changed perms on you...lowlife bastards ;( -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] best way to analyse traffic on a network-device
-Ursprüngliche Nachricht- Von: Israel Brewster [mailto:isr...@frontierflying.com] Gesendet: Di 16.12.2008 17:59 An: Prengel, Ralf Cc: nagios-user Mailinglist Betreff: Re: [Nagios-users] best way to analyse traffic on a network-device Why not just use MRTG, if you need graphs like it makes? Or am I mis- understanding the question? If you want to monitor the values in nagios, there are plugins in the standard distribution that check MRTG log files for the current traffic values. mrtg is ok but I searching a direkt way without installing and configuring one more software. Ralf Prengel -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Error in Commit
Hi there, I am getting the following error while doing running the commit command on Nagios: Could not stat command file () Usr/local/Nagios/var/rw/Nagios.cmd It may also be related to the capitalisation given below. Does it really state Can't Stat Usr/local/Nagios/var/rw/Nagios.cmd or Can't Stat /Usr/local/Nagios/var/rw/Nagios.cmd It should say Can't Stat /usr/local/nagios/var/rw/nagios.cmd (note all lowercase) Unless you have a very strange setup. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] best way to analyse traffic on a network-device
On Tue, Dec 16, 2008 at 3:25 PM, ralf.pren...@comline.de wrote: mrtg is ok but I searching a direkt way without installing and configuring one more software. There are a number of tools that will create Cacti style (RRD) graphs from Nagios perfdata and there are a number of plugins that will retrieve this data. Retrieval using SNMP is a nice way to go. My personal favorite RRD graphing tool for Nagios is PNP http://www.pnp4nagios.org/pnp/start Much easier to build RRD templates (in my opinion) than with Cacti as you edit the templates directly in single files and can be made to scale well for larger installations using the modpnpsender.c NEB module and xinetd mode for the RRD creation/update script process_perfdata.pl .. and one poll gets you fault management and graphing. - Max -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios-plugins on Solaris 10 with Sun Studio 12
Hello Nagios Users, I have been attempting to compile Nagios plugins and NRPE with Sun Studio so I can deploy the binaries to a number of machines. I have read the documentation available but I cannot get a successful compile. This command I am using is: CC=cc CFLAGS='-DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4' ./configure --with-ps-command=/usr/bin/ps -eo 's uid pid ppid vsz rss pcpu etime comm args' --with-ps-format='%s %d %d %d %d %d %f %s %s %n' --with-ps-cols=10 --with-ps-varlist='procstat,;procuid,;procpid,;procppid,;procvsz,;procrss,;procpcpu,procetime,procprog,pos' The make output I get is: Making all in plugins make[2]: Entering directory `/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins' source='check_apt.c' object='check_apt.o' libtool=no \ DEPDIR=.deps depmode=none /bin/bash ../build-aux/depcomp \ cc -DLOCALEDIR=\/usr/local/nagios/share/locale\ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/pgsql -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4 -c check_apt.c check_apt.c, line 450: warning: dubious escape: \% /bin/bash ../libtool --tag=CC --mode=link cc -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4 -L. -o check_apt check_apt.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o -lnsl -lsocket -ldl cc -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4 -o check_apt check_apt.o utils.o runcmd.o -L/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lsocket -ldl Undefined first referenced symbol in file alloca ../gl/libgnu.a(regex.o) ld: fatal: Symbol referencing errors. No output written to check_apt make[2]: *** [check_apt] Error 1 make[2]: Leaving directory `/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/bmunger/downloads/nagios-plugins-1.4.13' make: *** [all] Error 2 Thank you for your help. Brandon CONFIDENTIALITY: This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you received this e-mail in error, please notify the sender and delete this e-mail from your system. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios and Festival
Terry L. Inzauro wrote: TheCajun wrote: TheCajun wrote: I have recently upgraded to Fedora10. It seems every release they decide to break something. Fedora9 was Video. I have Nagios working using my old configuration from Fedora9. But when a monitored service has a problem, I get no audio. Log shows this.. Dec 16 01:21:36 localhost nagios: HOST EVENT HANDLER: domino;(null);(null);(null);host-notify Dec 16 01:23:58 localhost nagios: SERVICE ALERT: zaphod;CheckLoad;OK;HARD;1;OK - load average: 0.03, 0.24, 1.65 Dec 16 01:23:58 localhost nagios: SERVICE NOTIFICATION: durwin;zaphod;CheckLoad;OK;service-festival;OK - load average: 0.03, 0.24, 1.65 Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module module-alsa-sink (argument: device_id=0 sink_name=alsa_output.pci_1274_1371_sound_card_0_alsa_playback_0 tsched=1): initialization failed. Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module module-alsa-source (argument: device_id=0 source_name=alsa_input.pci_1274_1371_sound_card_0_alsa_capture_0 tsched=1): initialization failed. If I su to nagios user and use festival directly, I get this.. I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. I: caps.c: Dropping root privileges. I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. Festival does work as root, and I can play music using xmms logged on as my normal user. During my searches, it was suggested to add nagios to certain pulseaudio groups which I did. This did nothing. Any one have any ideas? Thank you for any help. Durwin -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Try seeing what the group perms are for /dev/audiodevice and update your nagios user/group accordingly. maybe they changed perms on you...lowlife bastards ;( Both /dev/dsp and /dev/audio are 660 and user and group are both root. Isn't that as it should be? Isn't Pulseaudio suppose to interface with the hardware and not the individual processes? i can't remember. try chgrp'ing the /dev/audiodevice to match your nagios/group user and see it that works... -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null does alsaconf run properly? -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios and Festival
I have recently upgraded to Fedora10. It seems every release they decide to break something. Fedora9 was Video. Actually in FC10 they broke fonts, DRI on the i810, and ACPI. But that's okay, no one puts those chips in laptops. ~BAS -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Publishing service groups etc
I have a set of QA and PROD machines for which I need the following which are all under one page when I go to http://hostname/nagios and click on say service detail . I would like to have the following a) Have a service detail,Hostgroup link for QA and prod b) Have a publishable link without password so people can view it QA machines has hostgroups with following machines qa-app =ap1.com,ap2.com,ap3.com qa-web=web1.com,web2.com qa-db=db1.com,db2.com and similar for PROD . I would like something like http://hostname/nagios/QA which will show all these 3 different hostgroups http://hostname/nagios/PROD whch will show the other hostgroups for PROD Any suggestions ? thanks Martin -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null