Re: [Nagios-users] snmp Konica Minolta
On 2/16/11 7:50 PM Albrecht Dreß wrote: Hi Richard: Hi Albrecht (german?) Staple Unit root@mybox:~# /opt/nagios/libexec/extra/check_snmp_printer np-kmc250 public CONSUM Black Toner Cartridge Black Toner Cartridge is OK /snip It looks as if the Konica doesn't give much details (just good or bad); the same script on a HP says e.g. snip root@mybox:~# /opt/nagios/libexec/extra/check_snmp_printer np-hpclj4650 public CONSUM Black Print Cartridge HP C9720A OK,Black Print Cartridge HP C9720A is at 79%|Black Print Cartridge HP C9720A=79;;9000; /snip our Konica Minolta printers wouldn't like this script as well. # ./check_snmp_printer.sh printer public CONSUM TEST Consumables you may Monitor: Cyan Toner Cartridge Magenta Toner Cartridge Yellow Toner Cartridge Black Toner Cartridge Cyan Imaging Unit Magenta Imaging Unit Yellow Imaging Unit Black Imaging Unit Waste Toner Box Fuser Unit Transfer Unit Staple Unit Saddle Staple Cartridge 1 Saddle Staple Cartridge 2 Punch Dust Box # ./check_snmp_printer.sh printer public CONSUM Cyan Toner Cartridge Error OID not found,maybe your Printer does not support checking this device, call me with Option CONSUM TEST or see help On HP printers, it works. # ./check_snmp_printer.sh printer public CONSUM TEST Consumables you may Monitor: Patrone Schwarz HP CE505A # ./check_snmp_printer.sh printer public CONSUM Patrone Schwarz HP CE505A 5 CRITICAL,Patrone Schwarz HP CE505A is at 5%|Patrone Schwarz HP CE505A=5;;940; I had a phone with a Konica Minolta reseller. Customers are not allowed to check the Cartridges/Toner by themself. They have to by a Hardware module for this feature . Lets fight for these OIDs ;-) Regards Richard -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ 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 Konica Minolta
Hi all, I have to check the Toner Cartridges from our Konica Minolta BizHub Printers/Scanners, but I can't find the right MIBs. Searching http://mibdepot.com was not successfully. many thank Richard -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ 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 Konica Minolta
On 2/16/11 10:36 AM Andre Kruger wrote: Hi Andre, You can do an SNMP-Walk on your printer. It usually, I know with my Kyocera machines it didn't, doesn't give you all of the OID's but you will get most of them. Who know, on your machines you might get all of them. You can run this command from your Nagios machine: snmpwalk -v1 -c public x.x.x.x or just type snmpwalk and hit enter and it will give you all of the options. I've already run a snmpwalk and found the OIDs for the Cartridges # snmpget -v1 -cpublic printer 1.3.6.1.2.1.43.11.1.1.6.1.1 SNMPv2-SMI::mib-2.43.11.1.1.6.1.1 = STRING: Cyan Toner Cartridge # snmpget -v1 -cpublic printer 1.3.6.1.2.1.43.11.1.1.6.1.2 SNMPv2-SMI::mib-2.43.11.1.1.6.1.2 = STRING: Magenta Toner Cartridge # snmpget -v1 -cpublic printer 1.3.6.1.2.1.43.11.1.1.6.1.3 SNMPv2-SMI::mib-2.43.11.1.1.6.1.3 = STRING: Yellow Toner Cartridge # snmpget -v1 -cpublic printer 1.3.6.1.2.1.43.11.1.1.6.1.4 SNMPv2-SMI::mib-2.43.11.1.1.6.1.4 = STRING: Black Toner Cartridge But I can't find the right OIDs for the Toner. Normally the OIDs are. MAX=1.3.6.1.2.1.43.11.1.1.8.1.1 LEVEL=1.3.6.1.2.1.43.11.1.1.9.1.1 but these OIDs are not the right one for these $§#! Konica Minolta Printers. I need these Minolta OIDs for my check_toner script. many thanks Richard -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ 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 Konica Minolta
On 2/16/11 2:55 PM Dimitri Yioulos wrote: I have a KM service tech coming in (today or tomorrow, I hope) to do a PM on one of my KM copiers. He's a good egg, and might be able to access that info from the manufacturer. I'll keep you informed. torturing him until he tell us the solution ;-) -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ 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_snmp Cisco 7304
Hi all, I'm running some scripts, which are checking our Cisco Routers (PowerSupplies/Temperature/Fans) The standard Cisco Mibs for the 6500er Cisco series works fine, but not for the 7300 cisco series. What I need, are the mibs for temperature, Chassis Fans, and the mibs for the Powersupplies and the powersupply fans. I found the powersupply mibs with snmpwalk, but not the mibs for the powersupply state (ok/Fault), also the mibs for the chassis fan(s). # snmpget -v1 -ccommunity cisco 7304 Router .1.3.6.1.2.1.47.1.1.1.1.7.35 SNMPv2-SMI::mib-2.47.1.1.1.1.7.35 = STRING: Cisco 7304 AC Power Supply 1 # snmpget -v1 -ccommunity cisco 7304 Router .1.3.6.1.2.1.47.1.1.1.1.7.57 SNMPv2-SMI::mib-2.47.1.1.1.1.7.57 = STRING: Cisco 7304 AC Power Supply 2 Searching www.mibdepot.com, www.cisco.com and google was without luck. Here is an output from one of our Cisco 6500 Routers: PowerSupply-1Fan OK 06-23-2010 08:41:22 967d 20h 5m 0s 1/3 Fan Power Supply 2 Fan: OK PowerSupply-1State OK 06-23-2010 08:41:59 769d 7h 43m 9s 1/3 PowerSupply Power Supply 1, WS-CAC-3000W: OK PowerSupply-2Fan OK 06-23-2010 08:42:34 967d 19h 21m 19s1/3 Fan Chassis Fan Tray 1: OK PowerSupply-2State OK 06-23-2010 08:43:10 967d 19h 21m 10s1/3 PowerSupply Power Supply 2, WS-CAC-3000W: OK TemperatureState OK 06-23-2010 08:43:46 61d 11h 53m 2s 1/3 Temperature (degrees Celsius) OK - 34 Any hints are welcome ;-) many thanks Richard -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ 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_snmp Cisco 7304
On 6/23/10 9:48 AM Ortner, Gerald wrote: Hi, Have a look at https://support.ipmonitor.com/mibs/CISCO-ENVMON-MIB/tree.aspx For Cisco 3701 temperature: SNMPv2-SMI::enterprises.9.9.13.1.3.1.2.1 = STRING: Thermal Sensor 1 SNMPv2-SMI::enterprises.9.9.13.1.3.1.2.2 = STRING: Thermal Sensor 2 SNMPv2-SMI::enterprises.9.9.13.1.3.1.3.1 = Gauge32: 20 SNMPv2-SMI::enterprises.9.9.13.1.3.1.3.2 = Gauge32: 23 Gerald this mibs doesn't match with cisco 7304 temperature: # snmpget -v1 -ccommunity cisco 7304 Router 1.3.6.1.4.1.9.9.13.1.3.1.6 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: SNMPv2-SMI::enterprises.9.9.13.1.3.1.6 ... also our mibs thats my problem greets from vlbg ;-) thanks Richard -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ 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 Client
Hi all, I'm looking for the nsca_client package for 'SunOS 5.9 Generic_112233-07 sun4u sparc SUNW,UltraAX-i2' which I can install with pkgadd. thanks in advance Richard -- Download Intel#174; 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] NSCA Client - SOLUTION
On 3/22/10 10:55 AM Richard Gliebe wrote: Hi all, found it on http://www.monitoringexchange.org Richard -- Download Intel#174; 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 Avaya
On 3/12/10 9:54 AM Brandino Andreas wrote: Hi all, did anyone find any scripts that can poll Avaya equipment?! whats about check_snmp? -- Download Intel#174; 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] active checks vs. passive checks
Hi everyone, at the moment I'm playing around with passive checks. maybe I'm to stupid, but will I be on the right way? I've set up a new Server group called passive-servers' with only one test server called muninbsd this server will be monitored like a active server. I've only changed the parameter active_checks_enabled to 0 and the parameter passive_checks_enabled to 1. check_freshness is set to 1 and check_freshness is 4800. some services like check_load, check_disk, check_mysql will be done by check_nrpe, started by the nagios main server. Is this the right way to works with passive checks? I've attached my config file global.cfg for my passive server. From my side everythinks looks fine, but ... Maybe someone can take a look on it, if it is as it should be ;-) many many thanks Richard P.S.: sorry for my poor english ;-) # HOST DEFINITIONS # Generic host definition template define host{ namepassive-host; The name of this host template - referenced in other host definitions, used for template recursion/resolution notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information1 ; Retain non-status information across program restarts register0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } # 'muninbsd.uclv.net' host definition define host{ use passive-host; Name of host template to use host_name muninbsd.uclv.net alias muninbsd.uclv.net address 10.10.41.6 check_command check-host-alive max_check_attempts 3 notification_interval 0 notification_period 24x7 notification_optionsd,u,r contact_groups nosms-admins } # HOST GROUP DEFINITIONS # 'Passive-Server' host group definition define hostgroup{ hostgroup_name Passive-Server alias Passive-Server members muninbsd.uclv.net } # SERVICE DEFINITIONS # Generic service definition template define service{ namepassive-service ; The 'name' of this service template, referenced in other service definitions active_checks_enabled 0 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 1 ; Default is to NOT check service 'freshness' freshness_threshold 4800; notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information1 ; Retain non-status information across program restarts register0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } # Service definition define service{ use passive-service ; Name of service template to use service_description PING hostgroup_name Passive-Server is_volatile 1 check_period24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval1 contact_groups nosms-admins notification_interval 0
Re: [Nagios-users] active checks vs. passive checks
On 3/11/10 11:07 AM Mark Elsen wrote: how do I have to check the services on the servers which are outside of our network? Do I have to install a hole nagios environment (like a second Nagios server?) or only the nagios-plugins, or something else? If there isn't a permanent connection with the NAGIOS server, the issue becomes tricky as even standard passive setups imply that a result can be submitted to NAGIOS at any time. If that is not possible the program which submits the result will fail, when no communication with the NAGIOS server can be established. Hence provisions must be taken, to setup a system which can queue results , and send, information to the NAGIOS server when possible. But this has consequences ,for the NAGIOS operator, which must be aware of the fact that any service status in that case, may be 'time-dilatation-affected' , and may not represent the actual status of the service in current time. This does not mean that such setups will be meaningless, but it depens on SLA levels, w.r.t to the remote service being monitored. Ok, lets talk about, there is a permanent connection available between the application server and the nagios server. You told me, that the passive service- and hostchecks will be done by the applicationserver and NOT by the nagios server. ... I don't know how to set up this ... All configurations for all hosts and services are locally stored on the nagios Server. How are the checks started on the application Server? This is my great question. The results will be send via NSCA from the app.server to the nagios server. OK. this will be another story ;-) Oh my god, send me a flashlight ... thanks Richard. -- Download Intel#174; 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] active checks vs. passive checks
On 3/11/10 2:27 PM Rick Mangus wrote: Hi Rick, The checks are started by your server, nagios is not involved. See above comment re: cron. Your scripts will need to know the service name that they are updating on the nagios server, and almost nothing else about your nagios config. The messages sent by NSCA have the format $HOSTNAME\t$SERVICENAME\t$SERVICESTATEID\t$SERVICEOUTPUT|$PERFDATA This gives the nagios server enough information to identify which service on which host is being updated. OK, this means for me: on my app.server I don't need any nagios binaries like nagios-plugins, nagios.cmd, and so on. EXAMPLE: outside of our nagios server, there is a little linux box and some color printers attached on there network ;-) Now I want to check the color cartridges with snmp from the linux box in the outback. In Nagios there is already the host_check for the printer(s) and service_checks for the color cartridges defined with passive_check_enabled. Now I have to create as bash script to check the cartridges on the linux box, which will be run by hand, cron, at, ... and the result will be sent by NSCA to the nagios Server. My, maybe, last big question: which output do I have generate from my script for nagios? ... or ... do you have a simple example for me? This will be great and you will be welcome, if you plan a turn to austria ;-) The results will be send via NSCA from the app.server to the nagios server. OK. this will be another story ;-) You have the right idea, here. Oh my god, send me a flashlight ... It is pitch black. You are likely to be eaten by a grue. thats my cruel fate ;-) thanks in advance Richard -- Download Intel#174; 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] active checks vs. passive checks
On 3/11/10 4:19 PM Rick Mangus wrote: Hi Rick, This will be great and you will be welcome, if you plan a turn to austria ;-) Careful! I love to travel and I honestly don't know what country I'll be in tomorrow evening. :) My bag is packed for somewhere tropical, but I have standby tickets to anywhere. ;) The results will be send via NSCA from the app.server to the nagios server. OK. this will be another story ;-) Glad to help, or try, anyways. :) many thanks for your hints and examples. Now it works as it should, also the NSCA transport to our nagios main server ;-) Hope to see you in austria (_NOT_ australia ;-)) have a nice day Richard -- Download Intel#174; 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] Cisco Aironet 1200 AccessPoints - SOLUTION
On 1/7/10 3:04 PM Marc Powell wrote: Hi all, Yes. You'll want to be cognizant of counter re-sets, counter roll-overs and the fact that the OID index for that specific interface may change on reboot so that you don't get strange results. You'll need to read current value compare with saved previous value/timestamp, save current value/timestamp, repeat at next run. You could also look for an existing plugin that suits your needs instead. You're not the first to want to do this. look for OK, I wrote my own scripts the check the In- and Output traffics from the CISCO interfaces rad0 and fa0 and User connections to the Cisco Aironet 1200 APs. Traffic crosschecks and graphs will be done by MRTG ;-) If someone needs the scripts, just send an email to me. Thanks for your hints. Richard -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] is_volatile - SOLUTION
On 1/12/10 8:12 AM Richard Gliebe wrote: Hi there, Me onesmore, at the moment I'm migrating from nagios Nagios-2.3 to Nagios-3.0.6 with nearly the same config Files. One parameter makes me headaches: is_volatile. In V2.3 it doesn't shows me this parameter in the webinterface and notification (SMS and Email) messages. But in V3.0.6 does. EXAMPLE from the Webinterface: V2.3 Free Space C:\OK V3.0.6 Free Space C: is_volatile 0 OK In V3.0.6 it only shows me this output from services when I check the DriveSizes from Windows-Server with check_nrpe. Here is one Service Check from V3.0.6 and V2.6 # Service definition define service{ use windows-service host_name HOSTNAME service_description Free Space C:\ is_volatile 0 check_period24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval1 contact_groups sys-admins notification_interval 0 notification_period 24x7 notification_optionsw,u,c,r check_command check_win_nrpe2!CheckDriveSize!ShowAll=long MinWarnFree=30% MinCritFree=20% Drive=C:! Memory Checks looks like this. # Service definition define service{ use windows-service host_name HOSTNAME service_description MEMORY is_volatile 0 check_period24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval1 contact_groups nosms-admins notification_interval 0 notification_period 24x7 notification_optionsw,u,c,r check_command check_win_nrpe2!checkMem!ShowAll=long MaxWarn=96% MaxCrit=99% type=physical type=page! } My first idea was to delete the line is_volatile 0 But a nagios -v nagios.cfg gives me this Warning. Warning: Service 'Free Space C:check_period 24x7' on host 'HOSTNAME' has no check time period defined! any hints are welcome to hide this 'is_volatile' output. the problem was the leading backslash in the service_description ... service_description Free Space C:\ ... removing this backslash and it works as it should. Regards Richard -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ 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] is_volatile
Hi there, at the moment I'm migrating from nagios Nagios-2.3 to Nagios-3.0.6 with nearly the same config Files. One parameter makes me headaches: is_volatile. In V2.3 it doesn't shows me this parameter in the webinterface and notification (SMS and Email) messages. But in V3.0.6 does. EXAMPLE from the Webinterface: V2.3 Free Space C:\ OK V3.0.6 Free Space C: is_volatile 0 OK In V3.0.6 it only shows me this output from services when I check the DriveSizes from Windows-Server with check_nrpe. Here is one Service Check from V3.0.6 and V2.6 # Service definition define service{ use windows-service host_name HOSTNAME service_description Free Space C:\ is_volatile 0 check_period24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval1 contact_groups sys-admins notification_interval 0 notification_period 24x7 notification_optionsw,u,c,r check_command check_win_nrpe2!CheckDriveSize!ShowAll=long MinWarnFree=30% MinCritFree=20% Drive=C:! Memory Checks looks like this. # Service definition define service{ use windows-service host_name HOSTNAME service_description MEMORY is_volatile 0 check_period24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval1 contact_groups nosms-admins notification_interval 0 notification_period 24x7 notification_optionsw,u,c,r check_command check_win_nrpe2!checkMem!ShowAll=long MaxWarn=96% MaxCrit=99% type=physical type=page! } My first idea was to delete the line is_volatile 0 But a nagios -v nagios.cfg gives me this Warning. Warning: Service 'Free Space C:check_period 24x7' on host 'HOSTNAME' has no check time period defined! any hints are welcome to hide this 'is_volatile' output. thanks in advance Richard -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ 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] Cisco Aironet 1200 AccessPoints
On 12/31/09 5:02 PM shadih rahman wrote: Richard, Hi, you can look at this page and see which mib contains the information you are looking for. Thanks ftp://ftp-sj.cisco.com/pub/mibs/supportlists/c1200/c1200-non-ios-supportlist.html thanks for the mib link. EXAMPLE: OID .1.3.6.1.2.1.2.2.1.16.1 shows me the ifOutOctets from Interface Dot11Radio0 in summary since the last reboot or other resets (hope I'm right and you know what I mean ;-)) . IF-MIB::ifOutOctets.1 = Counter32: 1384984421 . this output is always growing and not a real time statistic. I want to monitor maybe the 5 minute input and output rates from the Dot11Radio0 interface like the 'show interface Dot11Radio0' output. . 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 1236000 bits/sec, 124 packets/sec . Or something similar like mrtg outputs (input an output rates in realtime). I can't find the right OID, so does anyone know these OIDs? Or do I have to calculate it by myself? thanks in advance. Richard -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ 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] Cisco Aironet 1200 AccessPoints
Hi all, I want to monitor our Cisco Aironet 1200 AccessPoints with snmp. particularly how many users are connected to each AP and the traffic which is passing the radio interface. Has someone done this or are there some templates available? Thanks in advance Richard Uah, we are running nagios 3.0.6 on a FreeBSD 7.2-STABLE box. nagios-3.0.6_3 Extremely powerful network monitoring system nagios-plugins-1.4.13,1 Plugins for Nagios nagios-radauth-plugin-1.00_1 Nagios plugin for checking radius server -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ 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_nt MEMUSE
On 11/19/09 2:37 PM Thomas Guyot-Sionnest wrote: Hi there, the Client Logfile shows me: [...] 2009-11-19 07:43:04: error:D:\source\NSCP-stable\include\Socket.h:699: Error: Could not complete SSL handshake : [-1] 1, attempting to resume... [...] Whats going on? ;-) This seems to be because your NRPE don't have ssl enabled. Look at the - --help output of check_nrpe, you should see: SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required check_nrpe --help isn't show me something like SSL/TLS. We are using NRPE Plugin for Nagios Copyright (c) 1999-2003 Ethan Galstad (nag...@nagios.org) Version: 1.9 Last Modified: 07-22-2003 License: GPL ;# USE SSL SOCKET ; This option controls if SSL should be used on the socket. use_ssl=1 Atlernatively turn this to 0 and use the -n switch in check_nrpe (so if you upgrade you won't break your checks by enabling SSL) OK, I've set use_ssl to 0 now I'm getting following message: # ./check_nrpe -H WindowsClient -p 5666 -c alias_up CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? allowed_hosts entries are 'blank' (only for testing) the logfile from the Windows Client shows me: 2009-11-21 05:11:39: error:modules\NRPEListener\NRPEListener.cpp:358: We got more then we wanted 1036, we only got: 1040 ;# BIND TO ADDRESS ; Allows you to bind server to a specific local address. This has to be a dotted ip adress not a hostname. ; Leaving this blank will bind to all avalible IP adresses. ; bind_to_address= ; ;# ALLOWED HOST ADDRESSES ; This is a comma-delimited list of IP address of hosts that are allowed to talk to NRPE deamon. ; If you leave this blank the global version will be used instead. allowed_hosts=removed Make sure tis parameter list the IP/network from your monitoring server (be extra careful if your monitoring server has multiple VLANs / servers) for testing, all allowed_hosts entries in nsc.ini are now blank. This version of check_nrpe is running on our nagios servers: NRPE Plugin for Nagios Copyright (c) 1999-2003 Ethan Galstad (nag...@nagios.org) Version: 1.9 Last Modified: 07-22-2003 License: GPL (I know, its an old version, but at the moment we can't upgrade to the newest version) and NSClient++ 0.3.7.493 2009-10-12 on our Windows Clients (32 and 64 bit). thanks in advance Richard -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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_nt MEMUSE
On 11/18/09 12:11 PM Thomas Guyot-Sionnest wrote: I'm not sure about using check_nt; I beliebe the recommended bethog for NSClient++ is using check_nrpe (you will have to make sure the NEPE listener module is enabled and properly configured) Here are example of memory checks you can do with check_nrpe: Physical memory: CheckMem ShowAll=long MaxWarn=$ARG1$ MaxCrit=$ARG2$ type=physical Page file: CheckMem ShowAll=long MaxWarn=$ARG1$ MaxCrit=$ARG2$ type=virtual All memort (RAM+SWAP): CheckMem ShowAll=long MaxWarn=$ARG1$ MaxCrit=$ARG2$ type=paged You can set them as aliases ($ARGx$ are nrpe arguments) or even call CheckMem as the NRPE command and the rest of the line are the nrpe arguments (-a). OK, I've tried to use check_nrpe, but I can't connect to the Windows Client # ./check_nrpe -H WindowsClient -p 5666 -c alias_up CHECK_NRPE: Error receiving data from host. When I return to check_nt, I can connect to the Windows Client. # ./check_nt -H WindowsClient -p 5666 -v MEMUSE Memory usage: total:2469.98 Mb - used: 201.26 Mb (8%) - free: 2268.72 Mb (92%) | 'Memory usage'=201.26Mb;0.00;0.00;0.00;2469.98 the Client Logfile shows me: [...] 2009-11-19 07:43:04: error:D:\source\NSCP-stable\include\Socket.h:699: Error: Could not complete SSL handshake : [-1] 1, attempting to resume... [...] Whats going on? ;-) Here is my nsc.ini [...] [modules] ;# NSCLIENT++ MODULES ;# A list with DLLs to load at startup. ; You will need to enable some of these for NSClient++ to work. ; ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ; * * ; * N O T I C E ! ! ! - Y O U H A V E T O E D I T T H I S * ; * * ; ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! FileLogger.dll CheckSystem.dll CheckDisk.dll ;NSClientListener.dll NRPEListener.dll SysTray.dll CheckEventLog.dll CheckHelpers.dll CheckWMI.dll ; ; Script to check external scripts and/or internal aliases. ;CheckExternalScripts.dll ; ; NSCA Agent if you enable this NSClient++ will talk to NSCA hosts repeatedly (so dont enable unless you want to use NSCA) ;NSCAAgent.dll ; ; LUA script module used to write your own check deamon. ;LUAScript.dll ; ; RemoteConfiguration IS AN EXTREM EARLY IDEA SO DONT USE FOR PRODUCTION ENVIROMNEMTS! ;RemoteConfiguration.dll ; Check other hosts through NRPE extreme beta and probably a bit dangerous! :) ;NRPEClient.dll ; Extreamly early beta of a task-schedule checker ;CheckTaskSched.dll [Settings] ;# OBFUSCATED PASSWORD ; This is the same as the password option but here you can store the password in an obfuscated manner. ; *NOTICE* obfuscation is *NOT* the same as encryption, someone with access to this file can still figure out the ; password. Its just a bit harder to do it at first glance. ;obfuscated_password=Jw0KAUUdXlAAUwASDAAB ; ;# PASSWORD ; This is the password (-s) that is required to access NSClient remotely. If you leave this blank everyone will be able to access the daemon remotly. ;password=secret-password ; ;# ALLOWED HOST ADDRESSES ; This is a comma-delimited list of IP address of hosts that are allowed to talk to the all daemons. ; If leave this blank anyone can access the deamon remotly (NSClient still requires a valid password). ; The syntax is host or ip/mask so 192.168.0.0/24 will allow anyone on that subnet access allowed_hosts=10.10.41.68,10.10.8.50 ; ;# USE THIS FILE ; Use the INI file as opposed to the registry if this is 0 and the use_reg in the registry is set to 1 ; the registry will be used instead. use_file=1 ; ; # USE SHARED MEMORY CHANNELS ; This is the new way for using the system tray based on an IPC framework on top shared memmory channels and events. ; It is brand new and (probably has bugs) so dont enable this unless for testing! ; If set to 1 shared channels will be created and system tray icons created and such and such... shared_session=1 [log] ;# LOG DEBUG ; Set to 1 if you want debug message printed in the log file (debug messages are always printed to stdout when run with -test) debug=1 ; ;# LOG FILE ; The file to print log statements to file=nsclient_glr.log ; ;# LOG DATE MASK ; The format to for the date/time part of the log entry written to file. date_mask=%Y-%m-%d %H:%M:%S ; ;# LOG ROOT FOLDER ; The root folder to use for logging. ; exe = the folder where the executable is located ; local-app-data = local application data (probably a better choice then the old default) root_folder=exe [NSClient] ;# ALLOWED HOST ADDRESSES ; This is a comma-delimited list of IP address of hosts that are allowed to talk to NSClient deamon. ; If you leave this blank the global version will be used instead. allowed_hosts=10.10.41.68,10.10.8.50 ; ;# NSCLIENT PORT NUMBER ; This is the port the NSClientListener.dll will listen to. port=5666 ; ;# BIND TO ADDRESS ; Allows you to bind server
[Nagios-users] check_nt MEMUSE
Hi all, check_nt -v MEMUSE shows me the complete memory (physical memory + page.sys) from the 64bit Windows Clients, which are using NSClient++ 0.3.7.493 2009-10-12. [...] # /usr/local/libexec/nagios/check_nt -p 5666 -v MEMUSE \ -w 80 -c 90 -H 64bitClient Memory usage: total:7939.16 Mb - used: 4101.70 Mb (52%) - free: 3837.46 Mb (48%) | 'Memory usage'=4101.70Mb;6351.33;7145.25;0.00;7939.16 [...] 32bit Windows clients shows me _only_ the real memory (same NSClient Version). Is it possible to configure check_nt to show me also only the real memory from the 64bit Windows clients? We are using nagios-3.0.6_3 and check_nt v1991 (nagios-plugins 1.4.13) on a FreeBSD 7.2-STABLE Box. thanks in advance Richard -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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] send short SMS Notifications
Hi all, is there a way to cut an SMS Notification Text from: NNTP OK - 0.144 second response time on port 119 [201 localnews.DOMAIN.TLD InterNetNews NNRP server INN 2.3.4 (20020620 prerelease) ready (no posting).] to NNTP OK - 0.144 second response time on port 119 We ware running nagios-2.3 on a FreeBSD 6.1-RC Box I know this installation is really old ;-) My next step is the Upgrade to FreeBSD 7.2-STABLE with nagios-3.0.6 from ports. thanks Richard -- Richard Gliebe Information Services Fachhochschule Vorarlberg GmbH / University for Applied Science Hochschulstrasse 1 A-6850 Dornbirn T: +43 5572 792 2207 M: richard.gli...@fhv.at W: www.fhv.at FN 165415 h, LG Feldkirch -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Monitoring a 3Com Baseline SPF switch
On 9/30/09 9:59 AM shacky wrote: first of all, you have to get familiar with snmp/Mibs/etc. It gives me: SNMPv2-MIB::sysDescr.0 = STRING: 3Com Baseline Switch 2916-SFP Plus SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.43.1.8.60 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (73551110) 8 days, 12:18:31.10 SNMPv2-MIB::sysContact.0 = STRING: SNMPv2-MIB::sysName.0 = STRING: SNMPv2-MIB::sysLocation.0 = STRING: SNMPv2-MIB::sysServices.0 = INTEGER: 2 SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00 SNMPv2-MIB::sysORID.1 = OID: SNMPv2-SMI::enterprises.89.73 SNMPv2-MIB::sysORDescr.1 = STRING: RS capabilities SNMPv2-MIB::sysORUpTime.1 = Timeticks: (0) 0:00:00.00 OK, snmp connect looks fine. Therefor, you have to find the right MIBs for your Hardware. I searched for them, but I didn't found them, and 3Com refuse to give me them.. Do you have any idea? Are MIBs standard? no, MIBs are hardware dependend. take a look on http://www.mibdepot.com See you Richard -- Richard Gliebe Information Services Fachhochschule Vorarlberg GmbH / University for Applied Science Hochschulstrasse 1 A-6850 Dornbirn T: +43 5572 792 2207 M: richard.gli...@fhv.at W: www.fhv.at FN 165415 h, LG Feldkirch -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ 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 update from V2.3 to V3.0.6
Hi all, I need to update our Nagios Installation from Version 2.3 to Version 3.0.6 on a FreeBSD 6.2 STABLE Box My first step is to do a source upgrade on the FreeBSD Box to the last STABLE Version (7.2) including all Ports and all Docs. The Nagios Update should be done by Ports and NOT with the Source Code like './configure make make install'. Is there a HOWTO available? I want to keep the existing Nagios Configuration. Thanks in advance Richard -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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 update from V2.3 to V3.0.6
On 9/1/09 3:01 PM Ryan Bowlby wrote: --- On Tue, 9/1/09, Richard Gliebe richard.gli...@fhv.at wrote: From: Richard Gliebe richard.gli...@fhv.at Subject: [Nagios-users] Nagios update from V2.3 to V3.0.6 To: nagios-users nagios-users@lists.sourceforge.net Date: Tuesday, September 1, 2009, 2:14 AM Hi all, I need to update our Nagios Installation from Version 2.3 to Version 3.0.6 on a FreeBSD 6.2 STABLE Box My first step is to do a source upgrade on the FreeBSD Box to the last STABLE Version (7.2) including all Ports and all Docs. The Nagios Update should be done by Ports and NOT with the Source Code like './configure make make install'. Is there a HOWTO available? I want to keep the existing Nagios Configuration. Thanks in advance Richard Hi Richard, Do you have a FreeBSD test environment? If yes, just install Nagios3 in the test env and copy over your configs and verify the configs. nagios -v ./nagios.cfg Post any problems that you can't work out. Major version upgrades in FreeBSD really aren't that bad. Don't forget backups. ;) http://www.freebsd.org/doc/en/books/handbook/updating-freebsdupdate.html -Ryan Hi Ryan, thanks for your replay, Yes, we have a test environment with Nagios V3.0.b3 on a FreeBSD 7.2 StABLE Box, which is our Failover Installation. nagios-failover# pkg_info | grep -i nagio nagios-3.0.b3 Extremely powerful network monitoring system nagios-plugins-1.4.9_1,1 Plugins for Nagios nagios-radauth-plugin-1.00_1 Nagios plugin for checking radius server nrpe-1.9_2 Nagios Remote Plugin Executor Tomorrow (CEST), I'll do a Nagios re-install from the ports to Version 3.0.6 We will see what happens ;-) Backup: original austrian (NOT Australia) admins DON'T need backups ;-)) Thanks Richard -- Richard Gliebe Information Services Fachhochschule Vorarlberg GmbH / University for Applied Science Hochschulstrasse 1 A-6850 Dornbirn T: +43 5572 792 2207 M: richard.gli...@fhv.at W: www.fhv.at FN 165415 h, LG Feldkirch -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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] Scheduled Host Downtime via commandline
Hi all, is it possible to schedule a Host Downtime via command line, and delete this scheduled downtime also via command line ? thanks in advance Richard --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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] mibs HP LaserJet
On Thu, 2006-02-23 at 20:46 -0500, Subhendu Ghosh wrote: I want to monitor the Toner capacity (% of Life Remaining) from our HP LaserJet 4100 Series, like the Webinterface show me. Is there a mib available. I can't any on mibdepot.com / hp.com standard mib - PRINT-MIB Hi, I can't fine the right Mib on http://www.oidview.com/mibs/0/Printer-MIB.html Does someone know the right mib to monitor the Toner capacity (% of Life Remaining) thanks in advance Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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] mibs HP LaserJet
On Fri, 2006-02-24 at 13:33 +0100, Richard Gliebe wrote: Me again, I can't fine the right Mib on http://www.oidview.com/mibs/0/Printer-MIB.html Does someone know the right mib to monitor the Toner capacity (% of Life Remaining) I found the solution ;-) you have to write a plugin and calculate the: $prtMarkerSuppliesLevel/$prtMarkerSuppliesMaxCapacity*100 so you get the % of Life Remaining -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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] Plotter and Printer
On Thu, 2006-02-23 at 14:44 +0100, Elpida Georgiadou wrote: Hello, Hi, where can i find Plugins to monitor Plotter and Printers? I'm using check_snmp. Regards Richard --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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] mibs HP LaserJet
Hi, I want to monitor the Toner capacity (% of Life Remaining) from our HP LaserJet 4100 Series, like the Webinterface show me. Is there a mib available. I can't any on mibdepot.com / hp.com thanks Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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 temperature - snmp
Hi, sorry for maybe OT, but I'm fighting with snmp /Mibs. I have to monitor the temperature of our UPS via a snmp card (NetManPlus - http://www.ups-technet.com/netmanplus.htm ). An snmpget show me an integer '0' (OID is from www.mibdepot.com/ which is the same as the one from the Mibs from CD) [...] snmpget -v1 -c community our.upc .1.3.6.1.2.1.33.1.2.7.0 SNMPv2-SMI::mib-2.33.1.2.7.0 = INTEGER: 0 [...] The Webinterface shows me the right temperature (°C) [...] http://our.ups.com/NominalData.htm? TEMPERATURE 23 °C [...] Monitor the BatteryCapacity or/and the In-OutputVoltage, ... works fine. With our old snmp Card (Netman 101-102 - http://www.ups-technet.com/NetMan.htm ) everything works fine (Temperature/Voltage/SecondsOnBattery) Does anyone as the same snmp control card and could make it work, or is there the right OID available ? Thanks in advance Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ 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] performance data - RRDTool
Hi all, I want to store the service_perfdata into RRD-tool to read it with MRTG. Is there a RTFM available ? We are using _nagios-2.0.r1 _nagios-plugins-1.4.2_2,1 _rrdtool-1.2.12 _mrtg-2.12.2,1 on FreeBSD 5.4-STABLE thanks in advance Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=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 history
On Thu, 2006-02-02 at 08:13 +0100, Hugo van der Kooij wrote: Hi, Now I want to implement a graphical history like MRTG, but my problem is, I can't find the snmp history-data in our nagios configuration. The key word is performance. Look for that in you config file(s). But I guess you did not activate them. So there is no historical data. I've found this one in my nagios.cfg: [...] # PROCESS PERFORMANCE DATA OPTION # This determines whether or not Nagios will process performance # data returned from service and host checks. If this option is # enabled, host performance data will be processed using the # host_perfdata_command (defined below) and service performance # data will be processed using the service_perfdata_command (also # defined below). Read the HTML docs for more information on # performance data. # Values: 1 = process performance data, 0 = do not process performance data process_performance_data=0 [...] and this in my misccommands.cfg: [...] # 'process-host-perfdata' command definition define command{ command_nameprocess-host-perfdata command_line/usr/bin/printf %b $LASTHOSTCHECK$\t$HOSTNAME $\t$HOSTSTATE$\t$HOSTATTEMPT$\t$HOSTSTATETYPE$\t$HO STEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$\n /var/spool/nagios/host-perfdata.out } # 'process-service-perfdata' command definition define command{ command_nameprocess-service-perfdata command_line/usr/bin/printf %b $LASTSERVICECHECK$\t $HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMP T$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t $SERVICEOUTPUT$\t$SERVICEPERFDATA$\n /var/spool/nagio s/service-perfdata.out } [...] are these my start points ? thanks Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=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] email notification problem
: $NOTIFICATIONTYPE$nnService: $SERVIC EDESC$nHost: $HOSTALIAS$nAddress: $HOSTADDRESS$nState: $SERVICESTATE$nnDate/Time: $DATETIME$nnAdditional Info:n n$OUTPUT$ | -s ** $NOTIFICATIONTYPE$ alert - $HOSTALIAS $/$SERVICEDESC$ is $SERVICESTATE$ ** $CONTACTEMAIL$ } I changed it to : # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /bin/mail %b * Nagios *nnNotification Type: $NOTIFICATIONTYPE$nnService: $SERVIC EDESC$nHost: $HOSTALIAS$nAddress: $HOSTADDRESS$nState: $SERVICESTATE$nnDate/Time: $DATETIME$nnAddi tional Info:n n$OUTPUT$ | -s ** $NOTIFICATIONTYPE$ alert - $HOSTALIAS $/$SERVICEDESC$ is $SERVICESTATE$ ** $CONTACTEMAIL$ } Basically I replaced /usr/bin/printf with /bin/mail. And you don't have a valid command line left: after the pipe, there should be a program to read the output from mail. And your invocation of mail looks a little... non-standard to me. In the /var/log/messages log I see the following error: Warning: Attempting to execute the command /bin/mail %b * Nagios *nnNotification Type: RECOVERYnHost: Server-1nState: UPnAddress: 10.100.1.79nInfo: PING OK - Packet loss = 0%, RTA = 0.76 msnnDate/Time: Thu Jan 26 17:48:21 EST 2006n | -s Host UP alert for Server-OTM! [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] resulted in a return code of 127. Make sure the scri//pt or binary you are trying to execute actually exists... It's all there: the output from mail is piped to '-s' which, most probably, is not installed on your system as an executable program in the path. Any kind help is highly appreciated!! Why don't you try the original notification script and simply insert your mail command between pipe and '-s'? The reason why it's missing, by the way, is probably that configure couldn't identify your mailer. Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Monitoring MS Exchange Mailq
On Tue, 2006-01-17 at 13:07 +0100, Esben Bach wrote: Michael Schwartzkopff wrote: Am Dienstag, 17. Januar 2006 09:15 schrieb Sand Philipp: Hello List, I'm looking for a Plugin (or the WMI query) to monitor the Mailq of an MS Exchange Server. How do you monitor your MS Exchange Server? I read about the check_mailq Plugin, but I think this one is only for some linux mailservers like postfix or sendmail... Thanks, Philipp Hi, do it with SNMP! Get the MIB of Exchange, find the OID you need and watch it with nagios using check_snmp. It really works great! Greetings, How does one go about finding the MIB and OID needed, in this case for the exchange... Is the simplest solution just to do an snmpwalk and starting browsing through all the info? Hi, take a look on http://www.mibdepot.com/ to search for the needed MIB's. Richard --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=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] Servicedependencies
Hi, I'm monitoring several Windows servers via check_nt plugin (Diskspace/MEMUSE/CPULoad/SERVICESTATE/PROCSTATE) like: [...] # 'check_nt_disk' command definition command_namecheck_nt_disk command_line$USER1$/check_nt -H $HOSTADDRESS$ -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ # 'check_nt_cpuload' command definition command_namecheck_nt_cpuload command_line$USER1$/check_nt -H $HOSTADDRESS$ -v CPULOAD -l $ARG1$ # 'check_nt_memuse' command definition command_namecheck_nt_memuse command_line$USER1$/check_nt -H $HOSTADDRESS$ -v MEMUSE -w $ARG1$ -c $ARG2$ # 'check_nt_servicestate' command definition command_namecheck_nt_procstate command_line$USER1$/check_nt -H $HOSTADDRESS$ -v PROCSTATE -d SHOWALL -l $ARG1$ # 'check_nt_servicestate' command definition command_namecheck_nt_servicestate command_line$USER1$/check_nt -H $HOSTADDRESS$ -v SERVICESTATE -d SHOWALL -l $ARG1$ [...] Also I check, if the Windows Nagios Service is running: [...] # 'check_nsclient' command definition command_namecheck_nsclient command_line$USER1$/check_nt -H $HOSTADDRESS$ -v PROCSTATE -d SHOWALL -l 'pNSClient.exe' [...] I don't want to get any Notifications from the other 'check_nt_*' checks. Now I want to define a global Servicedependency for all Windows Servers, like this: [...] ## Servicedependency definition define servicedependency{ hostgroup_name Windows-Server service_description check_nsclient dependent_host_name * dependent_service_description check_nt* execution_failure_criteria w,u,c notification_failure_criteria w,u,c } [...] is this possible or is there an other way ? thanks Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services Hochschulstraße 1, A-6850 Dornbirn Telefon +43 / (0)5572 / 792-2207 E-Mail: [EMAIL PROTECTED] --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ 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 DNS on a windows server
On Mon, 2006-01-16 at 10:41 +, Miguel Faria wrote: Hi guys, Does anyone know the best plugin to monitor a windows DNS server? check_dns ? Cheers The migster Regards Richard --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ 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] publish scheduled host downtimes
Hi, I want to publish the scheduled host downtimes on our official homepage. My idea is, to convert the entries from the downtime.dat to a xml file and transfer it via rss channel to our official homepage. Is there a documentation or script/plugin available ? thanks Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services Hochschulstraße 1, A-6850 Dornbirn Telefon +43 / (0)5572 / 792-2207 E-Mail: [EMAIL PROTECTED] --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] check_http
I'm checking some local websites with the check_http plugin. [...] # 'check_http_alias' command definition command_namecheck_http_alias command_line$USER1$/check_http -H $ARG1$ -w $ARG2$ -c $ARG3$ .. .. where $ARG1$ is www.xyz.com ! $ARG2$ is 2 ! $ARG2$ is 5 [...] Works fine ;-) But now I want to manipulate the output from: [...] HTTP OK HTTP/1.1 200 OK - 42488 bytes in 0.013 seconds to www.xyz.com OK HTTP/1.1 200 OK - 42488 bytes in 0.013 seconds [...] any thinks ? thanks in advance Richard --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ 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] alternative text behind links
Hi, maybe a cracy question. I want to insert/define an alternative text (MouseOver) behind a link in the WebGUI like this: [...] Service Status Details For Host 'x.y.z' . OutputSource OK 12-15-2005 08:35:21 0d 0h 21m 33s 1/3 Output Source OK - 3 . [...] the Column OutputSource is a link to the Service State Information Now I want to define an explanation (MouseOver Popup) behind this link, what the snmpget output 3 meens for this service, like: INTEGERS: other (1), none(2), normal (3), bypass (4), battery (5), booster (6), reducer (7) Thanks in advance Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ 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] Multiple Interfaces
Hi there, I want to define the hostdependency ;-) Our idea is, when switch A goes down, nagios shouldn't send any alerts from Server B,C,D which are connected on switch A. OK, that shouldn't be a problem. BUT, all of our switches have more than one Network interface, which we are monitoring. We have created one host definition for each interface, like this: [...] 1st interface: # 'sw-a--if-1' host definition define host{ use generic-host; Name of host template to use host_name sw-a--if-1 alias sw-a--if-1 address 1.2.3.4 check_command check-host-alive max_check_attempts 3 notification_interval 0 notification_period 24x7 notification_optionsd,u,r contact_groups sys-admins } 2nd interface: # 'sw-a--if-2' host definition define host{ use generic-host; Name of host template to use host_name sw-a--if-2 alias sw-a--if-2 address 5.6.7.8 check_command check-host-alive max_check_attempts 3 notification_interval 0 notification_period 24x7 notification_optionsd,u,r contact_groups sys-admins } [...] We also created a global host definition for all switches which have more than one interface. [...] # 'sw-a' host definition define host{ use generic-host; Name of host template to use host_name sw-a alias sw-a address 1.2.3.4 check_command check-host-alive max_check_attempts 3 notification_interval 0 notification_period 24x7 notification_optionsn contact_groups sys-admins } [...] Our final idea is, to create a host_group for each switch witch more than one interface like: host_group sw-a members sw-a--if-1,sw-a--if-2 and final, the host_group sw-a is the 'host_name' in the Hostdependency definition. My question is now, is this possible, if yes, is there any dokumention available. Thanks in advance. Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ 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_snmp - UPS
On Tue, 2005-11-22 at 19:26 -0500, Subhendu Ghosh wrote: Hi there, # ./negate /usr/local/libexec/nagios/check_snmp -H ups.company.com \ -C Community -o OID -w 0:60 -c 0:80 SNMP CRITICAL - *100* What I want is, when the return value is below 100 (warning: 80 / critical: 60) I want to get an alert. I think I got it ;-) # /usr/local/libexec/nagios/check_snmp -H ups.company.com \ -C Community -o OID -w 99:80 -c 99:60 -l Battery Status (%) Battery Status (%) OK - 100 Is this the right syntacs ? Depends. The above will only give you a critical between 99% and 60%, an ok below 60% max:min - non-ok within range min:max - ok within range. I hope this will be OK now: # /usr/local/libexec/nagios/check_snmp -H ups.company.com \ C Community -o OID -w 99:80 -c 79:0 -l Battery Status (%) Battery Status (%) OK - 100 Thanks for some positive replies ;-) Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ 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_snmp - UPS
Hi, I have to monitor our Master-UPS via 'check_snmp'. I want to get an alert, when the capacity goes under 80 % like this. [...] # ./check_snmp -H ups.company.com -C uclvNOC-ro -o .OID \ -l BATTERY (%) -w 80 -c 60 [...] But when the retournvalue is 100 (%), I've get an critital alert. ## BATTERY (%) CRITICAL - *100* service alert.## Is it possible define reverse values in check_snmp ? thanks in advance. Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ 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_snmp - UPS
On Mon, 2005-11-21 at 09:43 -0500, Subhendu Ghosh wrote: Hi, negate is a plugin that will change the return code of a plugin. with check_snmp - try -w 0:60 -c 0:80 you will get a warning above 60 and critical above 80 Sorry, but it returns also an critical alert: # ./negate /usr/local/libexec/nagios/check_snmp -H ups.company.com \ -C Community -o OID -w 0:60 -c 0:80 SNMP CRITICAL - *100* What I want is, when the return value is below 100 (warning: 80 / critical: 60) I want to get an alert. thanks Richard On Mon, 21 Nov 2005, Richard Gliebe wrote: Hi, I have to monitor our Master-UPS via 'check_snmp'. I want to get an alert, when the capacity goes under 80 % like this. [...] # ./check_snmp -H ups.company.com -C uclvNOC-ro -o .OID \ -l BATTERY (%) -w 80 -c 60 [...] But when the retournvalue is 100 (%), I've get an critital alert. ## BATTERY (%) CRITICAL - *100* service alert.## Is it possible define reverse values in check_snmp ? thanks in advance. Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ 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_snmp - UPS
On Tue, 2005-11-22 at 07:06 +0100, Richard Gliebe wrote: On Mon, 2005-11-21 at 09:43 -0500, Subhendu Ghosh wrote: Hi, negate is a plugin that will change the return code of a plugin. with check_snmp - try -w 0:60 -c 0:80 you will get a warning above 60 and critical above 80 Sorry, but it returns also an critical alert: # ./negate /usr/local/libexec/nagios/check_snmp -H ups.company.com \ -C Community -o OID -w 0:60 -c 0:80 SNMP CRITICAL - *100* What I want is, when the return value is below 100 (warning: 80 / critical: 60) I want to get an alert. I think I got it ;-) # /usr/local/libexec/nagios/check_snmp -H ups.company.com \ -C Community -o OID -w 99:80 -c 99:60 -l Battery Status (%) Battery Status (%) OK - 100 Is this the right syntacs ? thanks Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ 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