[Nagios-users] Antwort: UTF8 Japanese characters in macros
[EMAIL PROTECTED] schrieb am 18.10.2006 04:26:19: /usr/bin/printf %b * Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\n$HOSTNOTES$\n\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n | /usr/bin/mail -s Host $HOSTSTATE$ alert for $HOSTNAME$! $CONTACTEMAIL$ [SNIP] Both printf and mail work fine with UTF8 japanese, and tests using only the $HOSTNOTES$ macro yeilds similar results (nothing output). The CGI's work fine, and display the japanese, so it seems the macro processing is not able to handle the characters. Has anyone had similar problems, and is there a solution? I can't try the japanese UTF, but are you sure that /usr/bin/printf supports UTF8? Typing printf at the shell is not the same as using /usr/bin/printf. The bash built-in printf function is very different from the external executable and has caused lots of headaches to me already. It might be the source of your problem too. Sascha PS: This problem is one of the reasons I strongly discourage the current standard of how default notifications are generated... -- Sascha Runschke Netzwerk Management IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:[EMAIL PROTECTED] http://www.abit.net http://www.abit-epos.net - Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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] checking a counter on a website
[EMAIL PROTECTED] wrote on 17/10/2006 20:01:28: This actually hits on what I consider to be one of Nagios' (few) weaknesses. A lot of time, when I do my checks, I'm not nearly as interested in the value of a check as in the change in the value since the last check. This is a good example. Another item I monitor is changes in the SNMP Interface error counters. For example, if I get more than 5 errors/second, I need to send out an alert. Finally, I have the same issue monitoring SNMP Interface statuses. But, Nagios has no feature to remember data between invocations of the checks. So, I end up storing this data in temporary files. If there was a facility to provide some information back to Nagios, and retrieve it on the next one, that would be wonderful. The responsibility of something like this entirely up to the plugin.. Nagios's task is to schedule and check hosts/services, and to notify a contact of status changes. The task of the plugin is to perform an operation to check if a service is working (or not) and provide a uniform status message back to Nagios.. If you would like something checked in a particular way, and there is no way currently to do it, then build your own plugin and put it up on NagiosExchange for everyone to use :-) rob/mossko This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ** BNP Paribas Private Bank London Branch is authorised by CECEI AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ 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] Antwort: UTF8 Japanese characters in macros
[EMAIL PROTECTED] wrote on 18/10/2006 09:12:05: [EMAIL PROTECTED] schrieb am 18.10.2006 04:26:19: /usr/bin/printf %b * Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\n$HOSTNOTES$\n\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n | /usr/bin/mail -s Host $HOSTSTATE$ alert for $HOSTNAME$! $CONTACTEMAIL$ [SNIP] Both printf and mail work fine with UTF8 japanese, and tests using only the $HOSTNOTES$ macro yeilds similar results (nothing output). The CGI's work fine, and display the japanese, so it seems the macro processing is not able to handle the characters. Has anyone had similar problems, and is there a solution? I can't try the japanese UTF, but are you sure that /usr/bin/printf supports UTF8? Typing printf at the shell is not the same as using /usr/bin/printf. The bash built-in printf function is very different from the external executable and has caused lots of headaches to me already. It might be the source of your problem too. Sascha PS: This problem is one of the reasons I strongly discourage the current standard of how default notifications are generated... I am also totally against how the default mail action works, which is why I wrote a perl script to do the emailing a little more elegantly http://www.nagiosexchange.org/Utilities.16.0.html?tx_netnagext_pi1[p_view]=698 Cheers rob/mossko This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ** BNP Paribas Private Bank London Branch is authorised by CECEI AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ 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] monitoring linux traffic without snmp
Behold the power of the Internet ;) It's not perfect but good enough -- http://babelfish.altavista.com/ -- Marc -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Nelson Serafica Sent: Tuesday, October 17, 2006 8:02 PM To: Robin Ericsson; [EMAIL PROTECTED] Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] monitoring linux traffic without snmp This is a nice site. However, do you have an ENGLISH version of this. I can't understand the words. I only understand english. Please include any english site you know. Thanks and regards, - Original Message From: Robin Ericsson [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Cc: nagios-users@lists.sourceforge.net Sent: Tuesday, October 17, 2006 7:02:33 PM Subject: Re: [Nagios-users] monitoring linux traffic without snmp On 10/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi , Hi, Try the check_traffic_andreas.pl from the http://www.nagios-wiki.de Nice script, however, I asked for one that didn't use snmp :) - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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 router and switch cisco
Hi! are there a plugin that check temperture of router and switch cisco? thanks for the help!!! _ Add a Yahoo! contact to Windows Live Messenger for a chance to win a free trip! http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-ushmtagline - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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 router and switch cisco
On Wed, 18 Oct 2006, wrote: are there a plugin that check temperture of router and switch cisco? Check_snmp. Getting the right OID might be a wee bit harder. Hugo. -- [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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] External Commands segfault
Hi list I'm seeking any suggestions, no matter how far-fetched. The cmd.cgi occasionally dies/hangs. It often generates a segfault. This only happens occasionally but when it does, things get very ugly as all subsequent commands fail. I have seen no common thread but can reproduce the problem quite regularly (but not every time) by using the Schedule Downtime external command. This has happened since the beginning of time and continues through version 2.5. I used to believe that it was restriceted to the SLES platform but have moved to RH and the problem persists. The hardware doesn't matter either as we've had the problem on x386 boxes, i64 and even z/Os VMs. Can someone please help with this? Your help would be most appreciated. Thanks. - David Schlecht (dschl) --- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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 router and switch cisco
Sorry but i am newbie in that , but what is a OID? From: Hugo van der Kooij [EMAIL PROTECTED] Reply-To: Nagios Users mailinglist nagios-users@lists.sourceforge.net To: Nagios Users mailinglist nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check router and switch cisco Date: Wed, 18 Oct 2006 16:56:50 +0200 (CEST) On Wed, 18 Oct 2006, wrote: are there a plugin that check temperture of router and switch cisco? Check_snmp. Getting the right OID might be a wee bit harder. Hugo. -- [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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 _ Use your PC to make calls at very low rates https://voiceoam.pcs.v2s.live.com/partnerredirect.aspx - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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 router and switch cisco
On Wed, 18 Oct 2006, wrote: Sorry but i am newbie in that , but what is a OID? Object IDentifier. Please check your favority search engine and put in the question. It usually helps. You are advised to learn a thing or two about SNMP (Simple Network Management Protocol) as it is the usual way to question your switches and routers about such intimate details. Hugo. -- [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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 router and switch cisco
The wolfgang barth book Nagios Systems and Network Monitoring has a pretty good intro to SNMP. However for a more in depth study on SNMP I would suggest the Essential SNMP book from Oreilly. }}-Original Message- }}From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Hugo van der Kooij }}Sent: Wednesday, October 18, 2006 1:14 PM }}To: Nagios Users mailinglist }}Subject: Re: [Nagios-users] check router and switch cisco }} }}On Wed, 18 Oct 2006, wrote: }} }} Sorry but i am newbie in that , but what is a OID? }} }}Object IDentifier. Please check your favority search engine and put in the }}question. It usually helps. }} }}You are advised to learn a thing or two about SNMP (Simple Network }}Management Protocol) as it is the usual way to question your switches and }}routers about such intimate details. }} }}Hugo. }} }}-- }} [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ }} This message is using 100% recycled electrons. }} }}-- --- }}Using Tomcat but need to do more? Need to support web services, security? }}Get stuff done quickly with pre-integrated technology to make your job }}easier }}Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo }}http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=1216 42 }}___ }}Nagios-users mailing list [EMAIL PROTECTED] }}https://lists.sourceforge.net/lists/listinfo/nagios-users }}::: Please include Nagios version, plugin version (-v) and OS when }}reporting any issue. }}::: Messages without supporting info will risk being sent to /dev/null - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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] checking a counter on a website
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, October 18, 2006 3:31 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] checking a counter on a website [EMAIL PROTECTED] wrote on 17/10/2006 20:01:28: This actually hits on what I consider to be one of Nagios' (few) weaknesses. A lot of time, when I do my checks, I'm not nearly as interested in the value of a check as in the change in the value since the last check. This is a good example. Another item I monitor is changes in the SNMP Interface error counters. For example, if I get more than 5 errors/second, I need to send out an alert. Finally, I have the same issue monitoring SNMP Interface statuses. But, Nagios has no feature to remember data between invocations of the checks. So, I end up storing this data in temporary files. If there was a facility to provide some information back to Nagios, and retrieve it on the next one, that would be wonderful. The responsibility of something like this entirely up to the plugin.. Nagios's task is to schedule and check hosts/services, and to notify a contact of status changes. The task of the plugin is to perform an operation to check if a service is working (or not) and provide a uniform status message back to Nagios.. I can see value to having a $SERVICEPREVOUTPUT$ macro that could be passed to a check plugin. That would be an easy way to allow for this commonly requested functionality. -- Flow -- (Service check execution time) $SERVICEPREVOUTPUT$ = $SERVICEOUTPUT$ $SERVICEOUTPUT$=NULL (Execute Plugin) $SERVICEOUTPUT$ = Plugin output -- Marc - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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] Monitoring VMWare
Has anyone had any success in monitoring VMWare virtual servers. I can monitor the ESX but how do we get details of the virtual servers that are hosted on ESX so that data bears some resemblance to reality. If we monitor from the virtual servers then obviously things like CPU readings are useless. Any ideas? -- Ron Wilson - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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] checking a counter on a website
Most Linux distros, I am aware anyway, support share memory segments. the How about a mechanism, supported by Nagios of course, where we could save some variables to a shared memory segment. Saving and retrieving should be pretty quick. Doug Veldhuisen Running Nagios 2.5 on Debian and Fedora. At 01:29 PM 10/18/2006, Marc Powell wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users - [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, October 18, 2006 3:31 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] checking a counter on a website [EMAIL PROTECTED] wrote on 17/10/2006 20:01:28: This actually hits on what I consider to be one of Nagios' (few) weaknesses. A lot of time, when I do my checks, I'm not nearly as interested in the value of a check as in the change in the value since the last check. This is a good example. Another item I monitor is changes in the SNMP Interface error counters. For example, if I get more than 5 errors/second, I need to send out an alert. Finally, I have the same issue monitoring SNMP Interface statuses. But, Nagios has no feature to remember data between invocations of the checks. So, I end up storing this data in temporary files. If there was a facility to provide some information back to Nagios, and retrieve it on the next one, that would be wonderful. The responsibility of something like this entirely up to the plugin.. Nagios's task is to schedule and check hosts/services, and to notify a contact of status changes. The task of the plugin is to perform an operation to check if a service is working (or not) and provide a uniform status message back to Nagios.. I can see value to having a $SERVICEPREVOUTPUT$ macro that could be passed to a check plugin. That would be an easy way to allow for this commonly requested functionality. -- Flow -- (Service check execution time) $SERVICEPREVOUTPUT$ = $SERVICEOUTPUT$ $SERVICEOUTPUT$=NULL (Execute Plugin) $SERVICEOUTPUT$ = Plugin output -- Marc - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ 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] EPN/DB plugin question
Dear Sir, I am writing to thank you for your letter and your patience in waiting for a reply (it is partly 'Warnock applies' in respect of no one having anything helpful to say I think) On 28/09/06, Tal Cohen [EMAIL PROTECTED] wrote: I am creating plugins that interface with a mysql database. I know that in mod_perl there is a way to maintain and share database connections (thereby avoiding the connect/disconnect overhead). Is there a similar method using epn? Apart from the same precautions that apply to coding mod_perl and ePN client code (ie use strict, be careful with globals since they will be captured by closures and live forever, initialise everything where it makes sense ... see the Stas Bekman recommendations or the notes in the Nag docco), mod_perl and ePN have very little in common, apart from the intent. However, to attempt an answer, why not simply avoid shutting down the connection and check if the DB and statement handles are instantiated before constructing them ? (ie write a nasty looking thing that is intended for use in a persistent environment). An example that is similar (but not unfortch like your case) is only constructing objects the first time the plugin is run. unless ( $sock ) { # Conditional object construction # to try and reduce memory use # in embedded Perl applications. $sock = IO::Socket::INET-new( LocalAddr = inet_ntoa(INADDR_ANY), LocalPort = 68, Proto = 'udp', Type = SOCK_DGRAM, Broadcast = 1, ) or do { print Cannot create socket or bind to priviledged port: $!\n ; exit $ERRORS{UNKNOWN} } } $hispaddr = sockaddr_in(67, inet_aton($subnet_bcast) || INADDR_BROADCAST) ; This is part of a private DHCP check (yep, every one has to write their own DHCP check at least once) that only creates the DHCP object if it doesn't already have a value that is retained from the last time the plugin runs. This has been working for me (Perl 5.8.0/RH EL3/Nag 2.5) for some months without problem. Oops ! It works because the object _is_ constructed each time since this is a suid plugin that is called from a C wrapper and therefore doesn't bother ePN at all. However, I think it would or could be made to work with ePN. Unlike mod_perl which could well systematically cache such things, there is no support in ePN for caching application data structures. OTOH, you may be able to get away with a hack like that above. You could also consider porting the mod_perl stuff to ePN. I would consider it but looking at the mod_perl code makes my head hurt. Yours sincerely. Thanks, Tal - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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] Antwort: UTF8 Japanese characters in macros
Sascha, Thanks for the reply. Yes, /usr/bin/printf works with the UTF8 strings I am trying to use. I have tried /bin/echo as well (which also has no problems from the command line) with the same results, so I think it is a problem with way the strings are stored in the macro. Martin [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] schrieb am 18.10.2006 04:26:19: /usr/bin/printf %b * Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\n$HOSTNOTES$\n\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n | /usr/bin/mail -s Host $HOSTSTATE$ alert for $HOSTNAME$! $CONTACTEMAIL$ [SNIP] Both printf and mail work fine with UTF8 japanese, and tests using only the $HOSTNOTES$ macro yeilds similar results (nothing output). The CGI's work fine, and display the japanese, so it seems the macro processing is not able to handle the characters. Has anyone had similar problems, and is there a solution? I can't try the japanese UTF, but are you sure that /usr/bin/printf supports UTF8? Typing printf at the shell is not the same as using /usr/bin/printf. The bash built-in printf function is very different from the external executable and has caused lots of headaches to me already. It might be the source of your problem too. Sascha PS: This problem is one of the reasons I strongly discourage the current standard of how default notifications are generated... -- Sascha Runschke Netzwerk Management IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:[EMAIL PROTECTED] http://www.abit.net http://www.abit-epos.net - Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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] Monitoring VMWare
The data coming from a VM machine isn't useless as you described it, it's still relevant in the context of the virtual machine. Develop some tailored checks and thresholds for a VM Hostgroup. Matthew Joyce 02 9382 0051 | 0412 309745 | IT Manager | Children's Cancer Institute Australia for Medical Research -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Wilson Sent: Thursday, 19 October 2006 6:17 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Monitoring VMWare Has anyone had any success in monitoring VMWare virtual servers. I can monitor the ESX but how do we get details of the virtual servers that are hosted on ESX so that data bears some resemblance to reality. If we monitor from the virtual servers then obviously things like CPU readings are useless. Any ideas? -- Ron Wilson -- --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057; dat=121642 ___ 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 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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] Antwort: UTF8 Japanese characters in macros
Rob, I tried your perl script, but unfortunately it suffers from the same problem. Any other help would be appreciated! Thanks, Martin [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote on 18/10/2006 09:12:05: [EMAIL PROTECTED] schrieb am 18.10.2006 04:26:19: /usr/bin/printf %b * Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\n$HOSTNOTES$\n\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n | /usr/bin/mail -s Host $HOSTSTATE$ alert for $HOSTNAME$! $CONTACTEMAIL$ [SNIP] Both printf and mail work fine with UTF8 japanese, and tests using only the $HOSTNOTES$ macro yeilds similar results (nothing output). The CGI's work fine, and display the japanese, so it seems the macro processing is not able to handle the characters. Has anyone had similar problems, and is there a solution? I can't try the japanese UTF, but are you sure that /usr/bin/printf supports UTF8? Typing printf at the shell is not the same as using /usr/bin/printf. The bash built-in printf function is very different from the external executable and has caused lots of headaches to me already. It might be the source of your problem too. Sascha PS: This problem is one of the reasons I strongly discourage the current standard of how default notifications are generated... I am also totally against how the default mail action works, which is why I wrote a perl script to do the emailing a little more elegantly http://www.nagiosexchange.org/Utilities.16.0.html?tx_netnagext_pi1[p_view]=698 Cheers rob/mossko This message and any attachments (the message) is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ** BNP Paribas Private Bank London Branch is authorised by CECEI AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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 router and switch cisco
SNMP4Nagios contains such a plugin. See http://snmp4nagios.sourceforge.net or more specifically the docs at http://snmp4nagios.sourceforge.net/chapter07.html#sec_7_11 HTH Peter -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Carlos Sánchez Gesendet: Mittwoch, 18. Oktober 2006 16:51 An: nagios-users@lists.sourceforge.net Betreff: [Nagios-users] check router and switch cisco Hi! are there a plugin that check temperture of router and switch cisco? thanks for the help!!! _ Add a Yahoo! contact to Windows Live Messenger for a chance to win a free trip! http://www.imagine-windowslive.com/minisites/yahoo/default.asp x?locale=en-ushmtagline -- --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057; dat=121642 ___ 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 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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