Re: [Nagios-users] Monitor DHCP Server []
Hi! -- -- > [D. Wüthrich] > I use 'sudo' with the 'NOPASSWD' option for the dhcp-check - not the best > solution but it works ... # sudo /usr/local/nagios/libexec/check_dhcp my.dhcp.server Error: Could not bind to DHCP socket (port 68)! Check your privileges... -- -- > [C. Bensend] > You're not on a disk partition mounted nosuid, are you? Only one "/" partition # df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda2 3678728 2688596990132 74% / tmpfs 127316 0127316 0% /dev/shm -- -- > [SrvFaucon] > ls -lh > -rwxr-xr-x1 root root 108K Mar 8 11:19 check_dhcp > Mine is root.root and work for the binding. # chown root:root /usr/local/nagios/libexec/check_dhcp #/usr/local/nagios/libexec/check_dhcp -s 10.1.2.97 -v DHCP socket: 3 Error: Could not bind to DHCP socket (port 68)! Check your privileges... -- -- More info: NAGIOS: SuSE Linux 10 OSS (kernel 2.6.13-15.8-smp) && Nagios v2.1 DHCP: Win2003 + MS DHCP Server I does not work :-( Thanks for your help. --- 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=lnk&kid0709&bid&3057&dat1642 ___ 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] Windows 2003 server OID for uptime?
Hej Bill i tried this on our W2003 server (HP) the check plugin called check_snmp_cpquptime $USER1$/check_snmp -H $HOSTADDRESS$ -o compaq.19.2.2.2.0 -l 'System Uptime' $ARG1 -C public try with SNMP /usr/local/nagios/libexec/check_snmp -H -o compaq.19.2.2.2.0 -l 'System Uptime' -C public output System Uptime OK - "9 Day(s) 4 Hour(s) 42 Minute(s) 8 Second(s)" | CPQHOST-MIB::compaq.19.2.2.2.0="9 Day(s) 4 Hour(s) 42 Minute(s) 8 Second(s)" If you have another Hardware try to find the OID from http://www.oidview.com/mibs/detail.html Best regards Jörg Schulz SYSteam Kalmar AB Strömgatan 15 Box 99, 391 21 Kalmar Direkt 0480-456638 Mobil 0708-157806 E-Post [EMAIL PROTECTED] Webb www.systeam.se Bill Kimura <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 2006-04-20 22:17 To cc Subject [Nagios-users] Windows 2003 server OID for uptime? Does anyone know what the snmp OID is for reporting system uptime on a Windows 2003 server? I've looked at both hrSystemUptime.0 and sysUpTime.0, but neither agree with the output of "net statistics server" on the actual server. Any help would be greatly appreciated. Thanks, - Bill --- 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=lnk&kid=120709&bid=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
Re: [Nagios-users] Monitor DHCP Server []
Hi I use 'sudo' with the 'NOPASSWD' option for the dhcp-check - not the best solution but it works ... Daniel Melkiades wrote: Hi there NAGIOS FAQ F0074: "How do I monitor DHCP services on my network?" [..]Note that the plugin *must* best installed suid root in order to run, as it binds to a privileged port (UDP 67) in order to listen to DHCPOFFER packets. #ls -lpsa -rwxr-xr-x 1 nagios nagios 56028 Mar 29 09:23 check_dhcp #./check_dhcp my.dhcp.server Error: Could not bind to DHCP socket (port 68)! Check your privileges... #chown root:nagios check_dhcp #chmod 4710 check_dhcp #ls -lpsa -rws--x--- 1 root nagios 56028 Mar 29 09:23 check_dhcp #./check_dhcp my.dhcp.server Error: Could not bind to DHCP socket (port 68)! Check your privileges... Any help? Thanks! --- 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=k&kid0709&bid&3057&dat1642 ___ 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=lnk&kid=120709&bid=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
Re: [Nagios-users] That "No Output" Error
Well I'll be damned! That's it! I just needed to add the full path to perl in the command_line on the checkcommands.cfg file. Now it works like a charm. Now my entry in the checkcommands.cfg file looks like this: define command{ command_namecheck_win_mem command_line/usr/bin/perl /usr/lib/nagios/plugins/check_win_mem.pl $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ } Thanks a lot Bill! > Edward, > > Some quick check the power type questions: > Does it work as the user nagios? > Ive had to put the /path/to/perl in the check_command to get > some of the perl stuff to work back in the 1.3 age. Probably could > have fixed it with pathes but it was just clearer to put it in the > check command. > > Bill > > > On 4/20/06, ECJ <[EMAIL PROTECTED]> wrote: >> Hello all, >> >> I have been googling for the last week for this 'No Output' problem. >> Sadly >> I can't find any helpful solution so I am bringing this up to the list. >> I >> am running Nagios 1.2 to monitor routers and Unix/Linux servers for >> sometime now without any issue. But a few days ago, I added an entry to >> my >> config files to monitor a Windows server. The only correct thing I can >> see >> is that it sees that the server is up. Other than that, all I see are >> 'No >> output' critical errors. The other thing is that I see a valid output >> using command line. >> >> Here is my entry in the checkcommands.cfg file: >> define command{ >> command_namecheck_win_mem >> command_line/usr/lib/nagios/plugins/check_win_mem.pl >> $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ >> } >> >> And here is the entry in the hosts.cfg file: >> define service{ >> use check-windows-generic >> host_name my-server >> contact_groups windows_admin >> service_description MEM Usage >> check_command check_win_mem!public!50!90! >> } >> >> When I run >> /usr/lib/nagios/plugins/check_win_mem.pl, >> it gives me a useful output. But when it comes to the web interface, I >> only see 'No output.' I know this can be done but just don't know what >> else to do. I hope someone can help me out. >> >> Thanks a heap in advance!!! >> >> Cheers, >> >> Edward >> >> >> >> --- >> 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=lnk&kid=120709&bid=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=lnk&kid0709&bid&3057&dat1642 > ___ > 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 > Cheers, Edward --- 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=lnk&kid=120709&bid=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
Re: [Nagios-users] (no subject)
Edward, Some quick check the power type questions: Does it work as the user nagios? Ive had to put the /path/to/perl in the check_command to get some of the perl stuff to work back in the 1.3 age. Probably could have fixed it with pathes but it was just clearer to put it in the check command. Bill On 4/20/06, ECJ <[EMAIL PROTECTED]> wrote: > Hello all, > > I have been googling for the last week for this 'No Output' problem. Sadly > I can't find any helpful solution so I am bringing this up to the list. I > am running Nagios 1.2 to monitor routers and Unix/Linux servers for > sometime now without any issue. But a few days ago, I added an entry to my > config files to monitor a Windows server. The only correct thing I can see > is that it sees that the server is up. Other than that, all I see are 'No > output' critical errors. The other thing is that I see a valid output > using command line. > > Here is my entry in the checkcommands.cfg file: > define command{ > command_namecheck_win_mem > command_line/usr/lib/nagios/plugins/check_win_mem.pl > $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ > } > > And here is the entry in the hosts.cfg file: > define service{ > use check-windows-generic > host_name my-server > contact_groups windows_admin > service_description MEM Usage > check_command check_win_mem!public!50!90! > } > > When I run > /usr/lib/nagios/plugins/check_win_mem.pl, > it gives me a useful output. But when it comes to the web interface, I > only see 'No output.' I know this can be done but just don't know what > else to do. I hope someone can help me out. > > Thanks a heap in advance!!! > > Cheers, > > Edward > > > > --- > 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=lnk&kid=120709&bid=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=lnk&kid0709&bid&3057&dat1642 ___ 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] That "No Output" Error
Hello all, I have been googling for the last week for this 'No Output' problem. Sadly I can't find any helpful solution so I am bringing this up to the list. I am running Nagios 1.2 to monitor routers and Unix/Linux servers for sometime now without any issue. But a few days ago, I added an entry to my config files to monitor a Windows server. The only correct thing I can see is that it sees that the server is up. Other than that, all I see are 'No output' critical errors. The other thing is that I see a valid output using command line. Here is my entry in the checkcommands.cfg file: define command{ command_namecheck_win_mem command_line/usr/lib/nagios/plugins/check_win_mem.pl $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ } And here is the entry in the hosts.cfg file: define service{ use check-windows-generic host_name my-server contact_groups windows_admin service_description MEM Usage check_command check_win_mem!public!50!90! } When I run /usr/lib/nagios/plugins/check_win_mem.pl, it gives me a useful output. But when it comes to the web interface, I only see 'No output.' I know this can be done but just don't know what else to do. I hope someone can help me out. Thanks a heap in advance!!! Cheers, Edward --- 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=lnk&kid=120709&bid=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
Re: [Nagios-users] Exchange database monitoring size
Nagios Client with filesize check: http://nscplus.medin.name/index.php/CheckFileSize On 4/20/06, ThomasC. <[EMAIL PROTECTED]> wrote: > Hi, > > Is there's anyone monitoring the size of MS Exchange database ? > As far as i know, there is a perl script that checks filesize of one > file but not two... > Exchange database is made of two files i assume (priv1.stm & priv1.edb). > > Thanks. > > > --- > 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=lnk&kid=120709&bid=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=lnk&kid0709&bid&3057&dat1642 ___ 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] (no subject)
Hello all, I have been googling for the last week for this 'No Output' problem. Sadly I can't find any helpful solution so I am bringing this up to the list. I am running Nagios 1.2 to monitor routers and Unix/Linux servers for sometime now without any issue. But a few days ago, I added an entry to my config files to monitor a Windows server. The only correct thing I can see is that it sees that the server is up. Other than that, all I see are 'No output' critical errors. The other thing is that I see a valid output using command line. Here is my entry in the checkcommands.cfg file: define command{ command_namecheck_win_mem command_line/usr/lib/nagios/plugins/check_win_mem.pl $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ } And here is the entry in the hosts.cfg file: define service{ use check-windows-generic host_name my-server contact_groups windows_admin service_description MEM Usage check_command check_win_mem!public!50!90! } When I run /usr/lib/nagios/plugins/check_win_mem.pl, it gives me a useful output. But when it comes to the web interface, I only see 'No output.' I know this can be done but just don't know what else to do. I hope someone can help me out. Thanks a heap in advance!!! Cheers, Edward --- 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=lnk&kid=120709&bid=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
[Nagios-users] Exchange database monitoring size
Hi, Is there's anyone monitoring the size of MS Exchange database ? As far as i know, there is a perl script that checks filesize of one file but not two... Exchange database is made of two files i assume (priv1.stm & priv1.edb). Thanks. --- 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=lnk&kid=120709&bid=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
[Nagios-users] Rép. : [Nagios-users] Monitor DHCP Se rver []
ls -lh -rwxr-xr-x1 root root 108K Mar 8 11:19 check_dhcp Mine is root.root and work for the binding. --- Alexandre Racine - Gardien Virtuel - Sécurité Informatique www.gardienvirtuel.com Montréal, Québec, Canada >>> Melkiades <[EMAIL PROTECTED]> 2006-04-20 08:14:22 >>> Hi there NAGIOS FAQ F0074: "How do I monitor DHCP services on my network?" [..]Note that the plugin *must* best installed suid root in order to run, as it binds to a privileged port (UDP 67) in order to listen to DHCPOFFER packets. #ls -lpsa -rwxr-xr-x 1 nagios nagios 56028 Mar 29 09:23 check_dhcp #./check_dhcp my.dhcp.server Error: Could not bind to DHCP socket (port 68)! Check your privileges... #chown root:nagios check_dhcp #chmod 4710 check_dhcp #ls -lpsa -rws--x--- 1 root nagios 56028 Mar 29 09:23 check_dhcp #./check_dhcp my.dhcp.server Error: Could not bind to DHCP socket (port 68)! Check your privileges... Any help? Thanks! --- 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=lnk&kid0709&bid&3057&dat1642 ___ 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=lnk&kid0709&bid&3057&dat1642 ___ 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] dollar sign in check_command
IIRC, we ran into the same issue. I dont have access to my configs at this moment, but I am fairly sure we used two dollar signs. check_command check_nt_service!SQLAgent$SPSQL check_commandcheck_nt_service!SQLAgent$$SPSQL Ugly, isnt it. :) --- 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=lnk&kid=120709&bid=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
Re: [Nagios-users] disabling notifications for a host
Kimura, Bill (US SSA) wrote: Is there an easy way to disable notifications globally for a given host, or does it require modifying each of the individual services, etc.? I was hoping I could do something like set "notifications_enabled 0" in the hosts.cfg for the given host, but I'm still receiving notifications for all the services that this host is a member of. Notification control is seperate for hosts and services. You could use a service template to disable (service) notifications and inherit that into each relevant service definition. --- 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=lnk&kid=120709&bid=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
[Nagios-users] Windows 2003 server OID for uptime?
Does anyone know what the snmp OID is for reporting system uptime on a Windows 2003 server? I've looked at both hrSystemUptime.0 and sysUpTime.0, but neither agree with the output of "net statistics server" on the actual server. Any help would be greatly appreciated. Thanks, - Bill --- 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=lnk&kid=120709&bid=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
Re: [Nagios-users] Upgrading from 1.3 to 2.2
well it was not true i get replies and finally was able to import old nagios-1.3 files imported into fruity2006/4/19, Gapy <[EMAIL PROTECTED] >:Le mercredi 19 avril 2006 à 13:41 +0100, James Fidell a écrit :> Jim Perrin wrote: > > On 4/19/06, ThomasC. <[EMAIL PROTECTED]> wrote:> >> >>Hi Guys,> >>> >>What is the most easy and enjoyable way to upgrade from nagios 1.3 to> >>version 2.2 ?> >> >> > Enjoyable? Not overly sure about that one> > I stood up a second nagios system with notifications turned off and> > recreated everything. It gave me a chance to better template things. > > The config file formats have been redone, so if you just move them> > over, you'll be bitten by a bunch of little things.> >> > You might be able to import your configs into a tool like fruity, and > > then export them as 2.x, but that might be more work than reward.>> I'm in the middle of doing just this at the moment and fully concur.> It's a reasonably large configuration I'm working with (a total of > around 1500 checks over ~130 hosts), but I've found no useful short> cuts and had to slog through everything by hand.>> JamesIt is said in Fruity homepage, that it can take nagios-1.3 conf files, iinstalled it but so far i can't get it import properly the oldnagios.cfg and cgi.cfg files, it displays no errors but import 0 host, 0service, 0...besides the mailing list there doesnt look so active. -- Le bon sens est la chose du monde la mieux partagée.
Re: [Nagios-users] SNMP Check straight to Critical
> I want to be able to send an SMMP check straight to critical instead of > warning. I.e. a Wireless AP Interface has UP and Down. So instead of > sending that to a Warning status I would like it to go straight to > Critical. I have tried using the check_snmp string, however it requires > a -w and -c, so it will only see it as a warning. My check_snmp command from the 1.4.2 plugins allows me to just use a -c arg and I use it a lot so that any non-zero return triggers critical. # ls -l /usr/local/src/nagios-plugins-1.4.2/plugins/check_snmp -rwxr-xr-x 1 root root 509072 Mar 6 14:14 /usr/local/src/nagios-plugins-1.4.2/plugins/check_snmp # ls -l /usr/local/nagios/libexec/check_snmp -rwxr-xr-x 1 root root 509072 Mar 6 14:14 /usr/local/nagios/libexec/check_snmp # /usr/local/nagios/libexec/check_snmp -u "load average" -t 3 -P 3 -H some.loaded.host -L authPriv -U x -a MD5 -A x -X x -o laLoad.2 -c 0 SNMP CRITICAL - *1* load average | UCD-SNMP-MIB::laLoad.2=1 -- - Kyle - [EMAIL PROTECTED] http://www.panix.com/~kylet - --- 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=lnk&kid=120709&bid=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
Re: [Nagios-users] SNMP Check straight to Critical
Works like a champ. Thanks for the help. Andrew Cruse wrote: [EMAIL PROTECTED] wrote: I want to be able to send an SMMP check straight to critical instead of warning. I.e. a Wireless AP Interface has UP and Down. So instead of sending that to a Warning status I would like it to go straight to Critical. I have tried using the check_snmp string, however it requires a -w and -c, so it will only see it as a warning. Any ideas? check_snmp requires a -w, but there's nothing to say that the value you use for the warning range has to be something returned by your AP. Just set the warning range to be something the AP never returns and it will never go into warning status. Andrew --- 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=lnk&kid=120709&bid=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 -- Scott Smith Network Engineering Services Southern Illinois University Carbondale [EMAIL PROTECTED] --- 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=lnk&kid=120709&bid=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
RE: [Nagios-users] SNMP Check straight to Critical
[EMAIL PROTECTED] wrote: > I want to be able to send an SMMP check straight to critical > instead of warning. I.e. a Wireless AP Interface has UP and > Down. So instead of sending that to a Warning status I would > like it to go straight to Critical. I have tried using the > check_snmp string, however it requires a -w and -c, so it > will only see it as a warning. > > Any ideas? check_snmp requires a -w, but there's nothing to say that the value you use for the warning range has to be something returned by your AP. Just set the warning range to be something the AP never returns and it will never go into warning status. Andrew --- 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=lnk&kid=120709&bid=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
RE: [Nagios-users] SNMP Check straight to Critical
I don't know the specifics of how you're running the plugin, but a quick off-the-top-of-the-head example would be: #!/bin/sh /usr/lib/nagios/plugins/check-snmp blah blah blah $RESULT=$? if [ "$RESULT" eq "1" ]; then RESULT=2; fi Return $RESULT -Original Message- From: Scott Smith [mailto:[EMAIL PROTECTED] Subject: Re: [Nagios-users] SNMP Check straight to Critical Would you happen to have an example? or a URL that gives one? Morris, Patrick wrote: >Wrap it in a shell script that returns critical if the plugin returns >warning. > >-Original Message- >I want to be able to send an SMMP check straight to critical instead of >warning. I.e. a Wireless AP Interface has UP and Down. So instead of >sending that to a Warning status I would like it to go straight to >Critical. I have tried using the check_snmp string, however it >requires a -w and -c, so it will only see it as a warning. --- 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=lnk&kid0709&bid&3057&dat1642 ___ 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] SNMP Check straight to Critical
Would you happen to have an example? or a URL that gives one? Morris, Patrick wrote: Wrap it in a shell script that returns critical if the plugin returns warning. -Original Message- I want to be able to send an SMMP check straight to critical instead of warning. I.e. a Wireless AP Interface has UP and Down. So instead of sending that to a Warning status I would like it to go straight to Critical. I have tried using the check_snmp string, however it requires a -w and -c, so it will only see it as a warning. -- Scott Smith Network Engineering Services Southern Illinois University Carbondale [EMAIL PROTECTED] --- 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=lnk&kid=120709&bid=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
RE: [Nagios-users] SNMP Check straight to Critical
Wrap it in a shell script that returns critical if the plugin returns warning. -Original Message- I want to be able to send an SMMP check straight to critical instead of warning. I.e. a Wireless AP Interface has UP and Down. So instead of sending that to a Warning status I would like it to go straight to Critical. I have tried using the check_snmp string, however it requires a -w and -c, so it will only see it as a warning. --- 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=lnk&kid0709&bid&3057&dat1642 ___ 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] SNMP Check straight to Critical
I want to be able to send an SMMP check straight to critical instead of warning. I.e. a Wireless AP Interface has UP and Down. So instead of sending that to a Warning status I would like it to go straight to Critical. I have tried using the check_snmp string, however it requires a -w and -c, so it will only see it as a warning. Any ideas? -- Scott Smith Network Engineering Services Southern Illinois University Carbondale [EMAIL PROTECTED] --- 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=lnk&kid=120709&bid=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
[Nagios-users] snmp plugin for monitoring uptime (Windows)
Does anyone have a plugin that uses SNMP to monitor uptime on a Windows systems? I think I've identified the OID (hrsystemuptime.0), but wanted to see if someone else has already coded this prior to writing something myself. Thanks! - Bill --- 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=lnk&kid=120709&bid=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
Re: [Nagios-users] Monitor DHCP Server []
> #chown root:nagios check_dhcp > #chmod 4710 check_dhcp > > #ls -lpsa > -rws--x--- 1 root nagios 56028 Mar 29 09:23 check_dhcp > > #./check_dhcp my.dhcp.server > Error: Could not bind to DHCP socket (port 68)! Check your privileges... You're not on a disk partition mounted nosuid, are you? Benny -- "God help us all if cats had thumbs." -- Me, 2006 --- 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=lnk&kid=120709&bid=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
[Nagios-users] Monitor DHCP Server []
Hi there NAGIOS FAQ F0074: "How do I monitor DHCP services on my network?" [..]Note that the plugin *must* best installed suid root in order to run, as it binds to a privileged port (UDP 67) in order to listen to DHCPOFFER packets. #ls -lpsa -rwxr-xr-x 1 nagios nagios 56028 Mar 29 09:23 check_dhcp #./check_dhcp my.dhcp.server Error: Could not bind to DHCP socket (port 68)! Check your privileges... #chown root:nagios check_dhcp #chmod 4710 check_dhcp #ls -lpsa -rws--x--- 1 root nagios 56028 Mar 29 09:23 check_dhcp #./check_dhcp my.dhcp.server Error: Could not bind to DHCP socket (port 68)! Check your privileges... Any help? Thanks! --- 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=lnk&kid0709&bid&3057&dat1642 ___ 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] NSCA - server
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Gordon Stewart > Sent: Thursday, April 20, 2006 9:09 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] NSCA - server > > Dear List > > I have installed NSCA deamon on a server, It is running on the default > port of 5667. When I run telnet 127.0.0.1 5667 I get a telnet prompt and > several lines of strage character. Is this normal? Yes. > Clients servers are runing the clients. I assume they write to the > /var/log/nagios/rw/nagios.rw (which is a pipe). How do I get the central > nagios to read it and what check command do I put in to the service check > commands. Read http://nagios.sourceforge.net/docs/2_0/distributed.html. NSCA is a passive check method. Your client machines need to perform the check themselves, then send the results to your central nagios machine via send_nsca. A properly configured NSCA daemon on your central machine will write those results to the nagios external command pipe. As far as your central nagios service check commands, if these will be entirely passive checks and you are going to be using freshness checking then it needs to be some command that will return some appropriate output should the results go stale. The above link give an example. If you are not going to be performing freshness checking, then the command can be anything as it will never get executed. -- 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=lnk&kid0709&bid&3057&dat1642 ___ 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] Ping service
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Bill Kimura > Sent: Thursday, April 20, 2006 8:15 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Ping service > > Is it necessary to create PING service, or does the host definition > already take care of that? I currently have a PING service defined > for all my hosts, but the host definitions all include the check-host- > alive > command. I'm wondering if the PING service is redundant. If you have at least one other service defined for the host then it's redundant. As a general rule, every host needs to have at least one service definition to be checked. -- 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=lnk&kid0709&bid&3057&dat1642 ___ 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] NSCA - server
Dear List I have installed NSCA deamon on a server, It is running on the default port of 5667. When I run telnet 127.0.0.1 5667 I get a telnet prompt and several lines of strage character. Is this normal? Clients servers are runing the clients. I assume they write to the /var/log/nagios/rw/nagios.rw (which is a pipe). How do I get the central nagios to read it and what check command do I put in to the service check commands. Thanks Gordon --- 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=lnk&kid=120709&bid=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
[Nagios-users] Ping service
Is it necessary to create PING service, or does the host definition already take care of that? I currently have a PING service defined for all my hosts, but the host definitions all include the check-host-alive command. I'm wondering if the PING service is redundant. Thanks, - Bill --- 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=lnk&kid=120709&bid=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
Re: [Nagios-users] disabling notifications for a host
Kimura, Bill (US SSA) a écrit : Is there an easy way to disable notifications globally for a given host Yes from the web interface. --- 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=lnk&kid=120709&bid=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
RE: [Nagios-users] dollar sign in check_command
Thanks for the suggestion, I tried escaping the dollar sign with a backslash and didn't have any luck. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell Sent: Wednesday, April 19, 2006 4:41 PM To: nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] dollar sign in check_command > -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Brian Gibson > Sent: Wednesday, April 19, 2006 3:28 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] dollar sign in check_command > > I have a service defined (below) to use the NSClient tool to check if a > service is running on a Windows 2000 system. The service on the Win2k > box is an instance of SQL server for a particular application and the > service has a "$" in its name, that is just how SQL 2000 distinguishes > between NT services for different instances. Nagios is complaining about > the "$". I have tried enclosing the service name in double quotes and I > have tried escaping the dollar sign with a backtick and also with > another dollar sign but have had no luck. Also, I tried creating its own > entry in the checkcommands.cfg file so I wouldn't have to pass the NT > service name as an argument but that didn't help either. > > Any suggestions? check_command check_nt_service!SQLAgent\$SPSQL -- 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ÿk&kid0709&bid&3057&dat1642 ___ 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=lnk&kid0709&bid&3057&dat1642 ___ 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] disabling notifications for a host
Is there an easy way to disable notifications globally for a given host, or does it require modifying each of the individual services, etc.? I was hoping I could do something like set "notifications_enabled 0" in the hosts.cfg for the given host, but I'm still receiving notifications for all the services that this host is a member of. Thanks, Bill Kimura Senior Unix Administrator BAE Systems Advanced Information Technologies 6 New England Executive Park Burlington, MA 01803 Phone: 781-273-3388 x545 Cell: 781-389-2572 Email: [EMAIL PROTECTED] --- 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=lnk&kid0709&bid&3057&dat1642 ___ 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] Sun Management Center to Nagios
Title: Message Is there anybody who has tried to port the Sun Management Center to Nagios? I want to add all the things monitored by SMC in Nagios, to only have one screen to look at for our Management Center. Anybody a clue? ===De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is alleen bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. Hoewel Orange maatregelen heeft genomen om virussen in deze email of attachments te voorkomen, dient u ook zelf na te gaan of virussen aanwezig zijn aangezien Orange niet aansprakelijk is voor computervirussen die veroorzaakt zijn door deze email.The information contained in this message may be confidential and is intended to be only for the addressee. Should you receive this message unintentionally, please do not use the contents herein and notify the sender immediately by return e-mail. Although Orange has taken steps to ensure that this email and attachments are free from any virus, you do need to verify the possibility of their existence as Orange can take no responsibility for any computer virus which might be transferred by way of this email.===