Re: [Nagios-users] Monitoring a process with its pid
Thanks Matt, It solved my problem. Thanks Jatin On 3/8/2010 9:01 PM, Matt Simmons wrote: > If you have snmp enabled on the hosts, you can pull that information out: > > ~$ snmpwalk -v 2c -c COMMUNITY myhost.mydomain.com > HOST-RESOURCES-MIB::hrSWRunName.3309 > HOST-RESOURCES-MIB::hrSWRunName.3309 = STRING: "crond" > > > > On Mon, Mar 8, 2010 at 8:10 AM, Jatin Davey wrote: > >> Let me re-phrase it a little , >> >> Basically what i want is to give the process id as the input and make >> sure on that target machine i have the process with the given id running >> , once it stops there might not be the process running with that id and >> hence i need to raise an email notification alert. >> >> Thanks >> Jatin >> >> On 3/8/2010 5:41 PM, Jatin Davey wrote: >> >>> Hi All >>> >>> Do we have a plugin that can monitor process id (pid) on a target >>> machine , the target machine could be anything such as windows , linux , >>> solaris etc and alert with an email notification when the process id >>> changes. >>> >>> Appreciate your responses. >>> >>> Thanks >>> Jatin >>> >>> -- >>> Download Intel® Parallel Studio Eval >>> Try the new software tools for yourself. Speed compiling, find bugs >>> proactively, and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> ___ >>> 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 >>> >>> >>> >> -- >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> ___ >> 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 >> >> > > > -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Host/Svc Deps
On 9 March 2010 02:47, Joseph L. Casale wrote: > Is it possible to make hosts dependant on single services from another host? > An example being a monitored vpn tunnel on a firewall, and the hosts it > provides. > The firewall may very well be up, but the tunnel status alone dictates the > availability of the hosts it provides. > > >From what I gather, there are only host or service deps, also making groups > such that all the services of a host depend on one service but the host check > would remain? I'm not sure. I would probably define the tunnel as a host in its own right. A 'host' doesn't always have to be a physical box. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 DST bug and upcoming DST-time switch in Europe
Nagios 3.2.0 - By the end of the month, Europe will switch to DST. Will I be affected by the Nagios DST-BUG which , which results in NAGIOS becoming dis-functional ? Which countermeasures can I take to prevent being struck by this problem ? M. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 DST bug and upcoming DST-time switch in Europe
On 9 Mar 2010, at 08:19, Mark Elsen wrote: > Nagios 3.2.0 > > > - By the end of the month, Europe will switch to DST. > Will I be affected by the Nagios DST-BUG which , which results in > NAGIOS becoming > dis-functional ? > > Which countermeasures can I take to prevent being struck by this > problem ? > The bug, which stops all Nagios monitoring for 24 hours, occurs when "time moves backwards". This does not happen when "time moves forward". However, any other timeperiods (such as 09:00-17:00) maybe incorrect by an hour, which is obviously not as serious. This is true for Nagios 3.2.0. Ton -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Streamline Alerts/Notifications for user group
On Tue, Mar 9, 2010 at 7:57 AM, Juki wrote: > Hi list, > > I'm running Nagios-3.2.0 with plugins-1.4.14 on an openSuSE 11.0 platform. > I have setup both e-mail and sms notifications for different groups of users > based on the instructions here; > > http://nagios.sourceforge.net/docs/3_0/quickstart-opensuse.html > > I would like to be able to send host DOWN *only* notifications/alerts to a > particular user group. In other words, I would like that user group to > receive alerts ONLY when a host goes DOWN > and no other alerts/notifications whatsoever. I have looked at on-call > rotations but that doesn't seem to suite my need. > > Has anyone got suggestions on how to implement this? If these users should never get anything else than DOWN notifications, use service_notification_options and host_notification_options in the contact definition. You could also do this with escalations, but it sounds like the above will work for you? -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] NSClient - ERROR: Failed to get PDH value.
Hi I am getting this error when i monitor my windows box using NSClient++ NSClient - ERROR: Failed to get PDH value. Please let me know what can be done. Thanks Jatin -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Restrict user only to enable/disable checks
Hi list, I'm looking for a way to allow users do pretty much everything of the host and service commands except enabling & disabling them. I believe these are cmd_typ=16 (for all services on the host) cmd_typ=4 (for the host check) cmd_typ=6 (for a service check) There are a couple of things which come to my mind such as mod_security, or some other apache level restricting stuff. Has anyone experience in setting up something like this? It would be helpfull if people see a helpfull message saying, you're not allowed to execute this command, so they don't think the application isn't working. What are your thoughts? -- Jelle Smet http://www.smetj.net -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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] NRPE install vs. SSL
Hi all, During my NRPE install on Solaris 10, I ran into the problem that the SSL libraries are not visible to the install process. The install process is looking for it in /usr but in effect there is a link in /usr/include/openssl that points to /usr/sfw/include/openssl. Some products allow you to specify parms when you install, can I do the same here to get past this hurdle? Regards Gezina -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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] Notification Interval set to 0 not working as per doc
On Mar 9, 2010, at 1:50 AM, Jatin Davey wrote: > Please let me know what needs to be done , i am kind of receving 1000 > notifications per day for the same hosts. >> 2. Given below is the output from one of the host as found in the >> object.cache file: >> >> define host { This has no relevance since you're asking about service notifications. Look for the service definition in question in objects.cache. Verify that retry_interval is what you expect it to be. If it is, you have multiple nagios daemons running, escalations defined or some problem with your MTA not removing messages from queue after delivery. -- Marc -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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_by_ssh from a different username
On Mar 9, 2010, at 12:46 AM, Morris, Patrick wrote: >> How can I use check_by_ssh to monitor remote servers, when the >> username on the remote box is different from the Nagios user name? > > Install the private keys of the remote users on the Nagios machine under > the nagios user. You've already determined they work, so now copy them > over. Actually, it's the opposite. He needs to add the nagios user's public key to the authorized_keys file for each user on the remote machines. Moving private keys around is a security no-no. -- Marc -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] NRPE install vs. SSL
Thank you. very much 2010/3/9 Richard Quintin > > ./configure -h will list the options which includes: > > --enable-ssl enables native SSL support > --with-ssl=DIR sets location of the SSL installation > --with-ssl-inc=DIR sets location of the SSL include files > --with-ssl-lib=DIR sets location of the SSL libraries > > > So you should be able to do something like > ./configure --enable-ssl --with-ssl-inc=/usr/sfw/include/openssl > --with-ssl-lib=/usr/sfw/lib/openssl > > On Tue, Mar 9, 2010 at 7:38 AM, Gezina Dekker wrote: > > Hi all, > > > > During my NRPE install on Solaris 10, I ran into the problem that the SSL > > libraries are not visible to the install process. The install process is > > looking for it in /usr but in effect there is a link in > /usr/include/openssl > > that points to /usr/sfw/include/openssl. > > > > Some products allow you to specify parms when you install, can I do the > same > > here to get past this hurdle? > > > > Regards > > > > Gezina > > > -- > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > ___ > > 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 > > > > > > -- > Richard Quintin, DBA > Database & Application Administration > Virginia Tech > > ~ > http://www.familieslikeme.org/ > -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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] NRPE install vs. SSL
./configure -h will list the options which includes: --enable-ssl enables native SSL support --with-ssl=DIR sets location of the SSL installation --with-ssl-inc=DIR sets location of the SSL include files --with-ssl-lib=DIR sets location of the SSL libraries So you should be able to do something like ./configure --enable-ssl --with-ssl-inc=/usr/sfw/include/openssl --with-ssl-lib=/usr/sfw/lib/openssl On Tue, Mar 9, 2010 at 7:38 AM, Gezina Dekker wrote: > Hi all, > > During my NRPE install on Solaris 10, I ran into the problem that the SSL > libraries are not visible to the install process. The install process is > looking for it in /usr but in effect there is a link in /usr/include/openssl > that points to /usr/sfw/include/openssl. > > Some products allow you to specify parms when you install, can I do the same > here to get past this hurdle? > > Regards > > Gezina > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > 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 > -- Richard Quintin, DBA Database & Application Administration Virginia Tech ~ http://www.familieslikeme.org/ -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] NRPE install vs. SSL
Hi Gezina, On 9 March 2010 15:38, Gezina Dekker wrote: > Hi all, > > During my NRPE install on Solaris 10, I ran into the problem that the SSL > libraries are not visible to the install process. The install process is > looking for it in /usr but in effect there is a link in /usr/include/openssl > that points to /usr/sfw/include/openssl. > > Some products allow you to specify parms when you install, can I do the > same here to get past this hurdle? > > Go to your NRPE install directory and run this; ./configure –with-ssl= –with-ssl-lib= I have also found this link to be quite helpful; http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/ Regards, Juki -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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] Restrict user only to enable/disable checks
On Mar 9, 2010, at 3:01 AM, Jelle Smet wrote: > Hi list, > > > I'm looking for a way to allow users do pretty much everything of the host > and service commands except enabling & disabling them. > > I believe these are > > cmd_typ=16 (for all services on the host) > cmd_typ=4 (for the host check) > cmd_typ=6 (for a service check) > > There are a couple of things which come to my mind such as mod_security, or > some other apache level restricting stuff. I expect that you could use htaccess to do this. Completely off the top of my head and untested but try something like this in the .htaccess file in the sbin directory -- RewriteEngine on RewriteCond %{QUERY_STRING} ^(cmd_type=16|cmd_type=4|cmd_type=6) [OR] RewriteRule ^(.*)$ /not_allowed.html [R,L] -- Marc -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] NSClient - ERROR: Failed to get PDH value.
On Mar 9, 2010, at 3:15 AM, Jatin Davey wrote: > Hi > > I am getting this error when i monitor my windows box using NSClient++ > > NSClient - ERROR: Failed to get PDH value. Google says it may be this -- http://www.techadre.com/content/error-nsclient-counter-errors -- Marc -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Streamline Alerts/Notifications for user group
On 9 March 2010 12:13, Martin Melin wrote: > If these users should never get anything else than DOWN notifications, > use service_notification_options and host_notification_options in the > contact definition. > > Thanks, Martin I have chosen to implement this method. I'll monitor it over the course of the day and return to the list with some results. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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] priority: host or service who's really on top?
> If the service check fails, I think Nagios would check the host > anyway. You might like to run a test to confirm this. testing yes, but your answer didn't cover any part of my question at all other then you suggest to test it.. anyone else actually knows the answer? i was thinking maybe not to specify timeperiod inside of service and let it take it from host definition? -- http://alexus.org/ -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] priority: host or service who's really on top?
alexus wrote: >> If the service check fails, I think Nagios would check the host >> anyway. You might like to run a test to confirm this. >> > > testing yes, but your answer didn't cover any part of my question at > all other then you suggest to test it.. > > anyone else actually knows the answer? i was thinking maybe not to > specify timeperiod inside of service and let it take it from host > definition? > Hosts and services are independent of each other; neither has precedence. If you specify a timeperiod on your service checks, it applies to your service checks. If you apply it to your host checks, it applies to your host checks. They are two different things. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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_openmanage: "Failed to load external entity" with OMSA v5.3.0 on 2003
Hey folks, I am working my way through some more Windows NSClient++ installs, and I've hit a 2003 server that is not happy with check_openmanage (please forgive the horrible formatting): C:\Program Files\NSClient++>check_openmanage -e -p -b bat_charge=ALL/ctrl_fw=ALL /ctrl_driver=ALL --omreport F:\dellopenmanage\oma\bin\omreport.exe I/O warning : failed to load external entity "E:/dellopenmanage/xslroot/oma/cli/ omclpr.xsl" error xsltParseStylesheetFile : cannot parse E:/dellopenmanage/xslroot/oma/cli/omclpr. xsl I/O warning : failed to load external entity "E:/dellopenmanage/xslroot/oma/cli/ omclpr.xsl" error xsltParseStylesheetFile : cannot parse E:/dellopenmanage/xslroot/oma/cli/omclpr. xsl I/O warning : failed to load external entity "E:/dellopenmanage/xslroot/oma/cli/ omclpr.xsl" error xsltParseStylesheetFile : cannot parse E:/dellopenmanage/xslroot/oma/cli/omclpr. xsl Couldn't close filehandle for command '"F:\dellopenmanage\oma\bin\omreport.exe" -? 2>&1': Problem running 'omreport storage controller': Error! XML Transformation failed Problem running 'omreport chassis memory': Error! XML Transformation failed Problem running 'omreport chassis fans': Error! XML Transformation failed Problem running 'omreport chassis pwrsupplies': Error! XML Transformation failed Problem running 'omreport chassis temps': Error! XML Transformation failed Problem running 'omreport chassis processors': Error! XML Transformation failed Problem running 'omreport chassis volts': Error! XML Transformation failed Problem running 'omreport chassis batteries': Error! XML Transformation failed Problem running 'omreport chassis pwrmonitoring': Error! XML Transformation fail ed Couldn't close filehandle for command '"F:\dellopenmanage\oma\bin\omreport.exe" chassis pwrmonitoring -fmt ssv': Problem running 'omreport chassis intrusion': Error! XML Transformation failed Couldn't close filehandle for command '"F:\dellopenmanage\oma\bin\omreport.exe" system esmlog -fmt ssv': -- SYSTEM: N/A, SN: N/A *** Note that I specified F: for the path to OMSA, and the output is complaining about an external entity in E:. That is not a typo. This is OMSA version 5.3.0 which I have dozens of, and this is the first time I've seen this. This host is a DC, so while I believe it's probably a case of "uninstall OMSA and re-install OMSA", I'm hoping someone has seen this before and I can avoid the reboot. Trond? Anyone? Thanks much! Benny -- "Show me on the doll where the marketing touched you." -- "Mally" on Fazed.net -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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_by_ssh from a different username
Yes. And you can simplify this by running ssh-copy-id as the Nagios user: -- nag...@monserv:~$ ssh-copy-id remu...@remhost remu...@remhost's password: Now try logging into the machine, with "ssh 'r...@webdb1.int.ia'", and check in: .ssh/authorized_keys to make sure we haven't added extra keys that you weren't expecting. -- Most Linux systems that I've seen provide this script. Other Unices may not have it. If it's there, it makes it much faster than manually copying and pasting public keys. --Matt On Tue, Mar 9, 2010 at 8:23 AM, Marc Powell wrote: > > On Mar 9, 2010, at 12:46 AM, Morris, Patrick wrote: > >>> How can I use check_by_ssh to monitor remote servers, when the >>> username on the remote box is different from the Nagios user name? >> >> Install the private keys of the remote users on the Nagios machine under >> the nagios user. You've already determined they work, so now copy them >> over. > > Actually, it's the opposite. He needs to add the nagios user's public key to > the authorized_keys file for each user on the remote machines. > > Moving private keys around is a security no-no. > > -- > Marc > > > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > 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 > -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC Sysadmin Conference! http://www.picconf.org -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] NSClient - ERROR: Failed to get PDH value.
On 9 March 2010 09:15, Jatin Davey wrote: > Hi > > I am getting this error when i monitor my windows box using NSClient++ > > NSClient - ERROR: Failed to get PDH value. > > Please let me know what can be done. > > Thanks > Jatin I think it simply means it can't get the performance counter. I would start by looking at the performance utility on the server itself and check you can see the relevant counter there. I believe I've seen this problem when performance counters are messed up one way or another, or one time when the performance counter had an unusual character in it. I expect you'll find more on the subject in the forum on the NSClient++ web site. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] event handler script not executing
Hi all: Got Nagios core 3.2.0 on CentOS5. Been trying to get an event handler to execute but it will not. My configs; define service{ use local_service host_namemy_host service_description NFS Check check_period 24x7 check_interval20 max_check_attempts 4 check_commandcheck_nrpe!check_nfs_mounts event_handler_enabled1 event_handler remount-nfs!$SERVICESTATE$!$SERVICESTATETYPE$!$SERVICEATTEMPT$ notification_period 24x7 notification_interval 120 contact_groups colorado } define command{ command_nameremount-nfs command_line $USER1$/eventhandlers/remount-nfs $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ } enable_event_handlers=1 in the nagios.cfg file The script itself is very simple. At CRITICAL/SOFT/3 and CRITCAL/HARD/4 the script will execute. Running at command line as UID=nagios it runs fine. sudo is configured and nagios can mount NFS. The entry in the nagios.log [1268099555] SERVICE_EVENT_HANDLER: my_host;NFS CHECK;CRITCAL;SOFT;3;remount-nfs!CRITCAL!SOFT!3 I have followed the process through and it will not execute the remount-nfs event handler command. All perms, dir & file, have been checked. Everything else is working as it should including the $SERVICE* macros. Just the script is not being executed. What is missing? Many thanks -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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_openmanage: "Failed to load external entity" with OMSA v5.3.0 on 2003
"C. Bensend" writes: >I am working my way through some more Windows NSClient++ > installs, and I've hit a 2003 server that is not happy with > check_openmanage (please forgive the horrible formatting): > > > C:\Program Files\NSClient++>check_openmanage -e -p -b > bat_charge=ALL/ctrl_fw=ALL > /ctrl_driver=ALL --omreport F:\dellopenmanage\oma\bin\omreport.exe > > I/O warning : failed to load external entity > "E:/dellopenmanage/xslroot/oma/cli/ > omclpr.xsl" > error > xsltParseStylesheetFile : cannot parse > E:/dellopenmanage/xslroot/oma/cli/omclpr. > xsl > I/O warning : failed to load external entity > "E:/dellopenmanage/xslroot/oma/cli/ > omclpr.xsl" > error > xsltParseStylesheetFile : cannot parse > E:/dellopenmanage/xslroot/oma/cli/omclpr. > xsl > I/O warning : failed to load external entity > "E:/dellopenmanage/xslroot/oma/cli/ > omclpr.xsl" > error > xsltParseStylesheetFile : cannot parse > E:/dellopenmanage/xslroot/oma/cli/omclpr. > xsl > Couldn't close filehandle for command > '"F:\dellopenmanage\oma\bin\omreport.exe" > -? 2>&1': > Problem running 'omreport storage controller': Error! XML Transformation > failed > Problem running 'omreport chassis memory': Error! XML Transformation failed > Problem running 'omreport chassis fans': Error! XML Transformation failed > Problem running 'omreport chassis pwrsupplies': Error! XML Transformation > failed > > Problem running 'omreport chassis temps': Error! XML Transformation failed > Problem running 'omreport chassis processors': Error! XML Transformation > failed > Problem running 'omreport chassis volts': Error! XML Transformation failed > Problem running 'omreport chassis batteries': Error! XML Transformation > failed > Problem running 'omreport chassis pwrmonitoring': Error! XML > Transformation fail > ed > Couldn't close filehandle for command > '"F:\dellopenmanage\oma\bin\omreport.exe" > chassis pwrmonitoring -fmt ssv': > Problem running 'omreport chassis intrusion': Error! XML Transformation > failed > Couldn't close filehandle for command > '"F:\dellopenmanage\oma\bin\omreport.exe" > system esmlog -fmt ssv': > -- SYSTEM: N/A, SN: N/A > > >*** Note that I specified F: for the path to OMSA, and the output > is complaining about an external entity in E:. That is not a typo. > >This is OMSA version 5.3.0 which I have dozens of, and this is > the first time I've seen this. > >This host is a DC, so while I believe it's probably a case of > "uninstall OMSA and re-install OMSA", I'm hoping someone has seen > this before and I can avoid the reboot. > >Trond? Anyone? I've seen XML errors from OpenManage when probing disks with broken firmware, but this seems to be something else. Do you get the same XML errors when you run the failing commands manually on the server? If so, I'm afraid there isn't much check_openmanage can do about it. A reinstall of OpenManage is probably the next logical step.. Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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_openmanage: "Failed to load external entity" with OMSA v5.3.0 on 2003
>> C:\Program Files\NSClient++>check_openmanage -e -p -b >> bat_charge=ALL/ctrl_fw=ALL >> /ctrl_driver=ALL --omreport F:\dellopenmanage\oma\bin\omreport.exe >> >> I/O warning : failed to load external entity >> "E:/dellopenmanage/xslroot/oma/cli/ >> omclpr.xsl" >> error >> xsltParseStylesheetFile : cannot parse >> E:/dellopenmanage/xslroot/oma/cli/omclpr. >> xsl >> I/O warning : failed to load external entity >> "E:/dellopenmanage/xslroot/oma/cli/ >> omclpr.xsl" >> error >> xsltParseStylesheetFile : cannot parse >> E:/dellopenmanage/xslroot/oma/cli/omclpr. >> xsl >> I/O warning : failed to load external entity >> "E:/dellopenmanage/xslroot/oma/cli/ >> omclpr.xsl" >> error >> xsltParseStylesheetFile : cannot parse >> E:/dellopenmanage/xslroot/oma/cli/omclpr. >> xsl >> Couldn't close filehandle for command >> '"F:\dellopenmanage\oma\bin\omreport.exe" >> -? 2>&1': >> Problem running 'omreport storage controller': Error! XML Transformation >> failed >> Problem running 'omreport chassis memory': Error! XML Transformation >> failed >> Problem running 'omreport chassis fans': Error! XML Transformation >> failed >> Problem running 'omreport chassis pwrsupplies': Error! XML >> Transformation >> failed >> >> Problem running 'omreport chassis temps': Error! XML Transformation >> failed >> Problem running 'omreport chassis processors': Error! XML Transformation >> failed >> Problem running 'omreport chassis volts': Error! XML Transformation >> failed >> Problem running 'omreport chassis batteries': Error! XML Transformation >> failed >> Problem running 'omreport chassis pwrmonitoring': Error! XML >> Transformation fail >> ed >> Couldn't close filehandle for command >> '"F:\dellopenmanage\oma\bin\omreport.exe" >> chassis pwrmonitoring -fmt ssv': >> Problem running 'omreport chassis intrusion': Error! XML Transformation >> failed >> Couldn't close filehandle for command >> '"F:\dellopenmanage\oma\bin\omreport.exe" >> system esmlog -fmt ssv': >> -- SYSTEM: N/A, SN: N/A >> >> >>*** Note that I specified F: for the path to OMSA, and the output >> is complaining about an external entity in E:. That is not a typo. >> >>This is OMSA version 5.3.0 which I have dozens of, and this is >> the first time I've seen this. >> >>This host is a DC, so while I believe it's probably a case of >> "uninstall OMSA and re-install OMSA", I'm hoping someone has seen >> this before and I can avoid the reboot. >> >>Trond? Anyone? > > I've seen XML errors from OpenManage when probing disks with broken > firmware, but this seems to be something else. Do you get the same XML > errors when you run the failing commands manually on the server? If so, > I'm afraid there isn't much check_openmanage can do about it. > > A reinstall of OpenManage is probably the next logical step.. Yes, the above output *is* on the server. :( This really smells like an issue with the OMSA install... I have since found out that this particular host is off lease next week, so it's really not an issue for me. However, it might be nice for people to have the information in the archives. Benny -- "Show me on the doll where the marketing touched you." -- "Mally" on Fazed.net -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Can we change the IP address of the Linux box after installing Nagios.
On Mon, Mar 8, 2010 at 2:56 PM, Stuart Browne < stuart.bro...@ausregistry.com.au> wrote: > > -Original Message- > > From: ravishankar.gundlap...@wipro.com > > > I have approached my security team and they have suggested me that they > > can change the IP address of this Linux box and move it to a different > > VLan for some time period where we have internet access, so that I can > > install the required packages and Nagios. > > > > After I am done with my work they said that they will move it back and > > change the IP. > > > > Can anyone please guide me whether I can follow the above procedure. > > Nagios its self doesn't care what the IP address of the box it's installed > on is. > Indeed. If it makes it easier for everyone and acceptable to your security team, you can even download all your required packages to some other machine already on the Internet (does your company have those?), copy them onto USB or other device, and then copy them to your Nagios box for installation. If it's this much hassle to get your Nagios box onto the Internet, then doing this "sneaker net" install will be a good practice run for how you'll eventually apply upgrades and install additional packages. -Mike -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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] Notification Interval set to 0 not working as per doc
Thanks Marc, I defined a new service definition and had set the notification interval for it to 0 and it worked as i wanted. I wrongly understood that putting this value to host definitions would yield me the required result but it was not so. Created a new service definition with notification interval set to 0 and then used the service definition into all the services that i needed. Appreciate your timely help in this regard. Thanks Jatin On 3/9/2010 6:57 PM, Marc Powell wrote: > On Mar 9, 2010, at 1:50 AM, Jatin Davey wrote: > > >> Please let me know what needs to be done , i am kind of receving 1000 >> notifications per day for the same hosts. >> > >>> 2. Given below is the output from one of the host as found in the >>> object.cache file: >>> >>> define host { >>> > This has no relevance since you're asking about service notifications. Look > for the service definition in question in objects.cache. Verify that > retry_interval is what you expect it to be. If it is, you have multiple > nagios daemons running, escalations defined or some problem with your MTA not > removing messages from queue after delivery. > > -- > Marc > > > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > 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 > > -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] If any one know how to send mail alerts from nagios to yahoomail please help me by sending configuration steps
Hi Everyone, I configured nagios on my linux server and nrpe on my linux clients all the thing is fine i can able to monitor all the clients from my server and locally in my network i can able to receive mail alerts when any service is down. But i need to get all the mail alerts to my yahoomail id but i can't able to configure it. If any one know how to send mail alerts to yahoomail please help me Regards, G.R.S.PAVAN KUMAR Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/-- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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