Thanks James, Appreciated and the probe is working fine.
Regards Manicka Raja Arumugam A R I C E N T -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Ashe, James P. Sent: Monday, April 21, 2008 6:11 PM To: InterMapper Discussion Subject: RE: [IM-Talk] Probe for Windows server 2000/2003 DHCP server Scope Here's one that I wrote. Each DHCP scope needs its own 'device.' You can fancy it up as you see fit. <header> "type" = "custom-snmp" "package" = "edu.etsu" "probe_name" = "snmp.dhcp" "human_name" = "Microsoft DHCP Scope Usage" "version" = "1.0" "address_type" = "IP, AT" "port_number" = "161" </header> <snmp-device-properties> pdutype = "get-request" </snmp-device-properties> <description> This probe monitors DHCP Scope Usage and alerts on user-defined thresholds. </description> <parameters> "ip_scope" = "0.0.0.0" "free_address_pct_threshold_crit" = "10" "free_address_pct_threshold_warn" = "15" </parameters> <snmp-device-variables> add_inuse, 1.3.6.1.4.1.311.1.3.2.1.1.2.${ip_scope}, Integer, "Current number of leased addresses" add_free, 1.3.6.1.4.1.311.1.3.2.1.1.3.${ip_scope}, Integer, "Current number of available addresses" add_total, ${add_inuse} + ${add_free}, Calculation, "Total number of addresses in scope" pct_free, round((${add_free} / ${add_total}) * 100), Calculation, "Percentage of available addresses" </snmp-device-variables> <snmp-device-thresholds> Down : $add_free = 0 "${ip_scope}: available DHCP addresses = 0 of ${add_total} available" Critical: $pct_free <= ${free_address_pct_threshold_crit} "${ip_scope}: available DHCP addresses <= ${free_address_pct_threshold_crit}% [Actual: ${add_free} of ${add_total} available]" Warning : $pct_free <= ${free_address_pct_threshold_warn} && $pct_free > ${free_address_pct_threshold_crit} "${ip_scope}: available DHCP addresses <= ${free_address_pct_threshold_warn}% [Actual: ${add_free} of ${add_total} available]" </snmp-device-thresholds> <snmp-device-display> __________________________ IP Scope : ${ip_scope} Number of Total Addresses : ${add_total} Number of Addresses Free : ${add_free} Percent of Free Addresses : ${pct_free}% __________________________ </snmp-device-display> James P. Ashe Systems Analyst 2 East Tennessee State University Office of Information Technology 4 2 3 * 4 3 9 * 4 6 4 8 -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Manickaraja.Arumugam Sent: Friday, April 18, 2008 12:45 AM To: InterMapper Discussion Cc: [EMAIL PROTECTED] Subject: [IM-Talk] Probe for Windows server 2000/2003 DHCP server Scope Hi All, Have any one already made a DHCP server scope monitoring probe. Otherwise am going to make a fresh one. Hi Dartware, Please let me know if you have already have one. Regards Manicka Raja A Assistant Manager - Corporate IT A R I C E N T ESPEE IT Park Plot-5, Jawaharlal Nehru Salai, Ekkattuthangal, Chennai - 600 097 India Main +9 144.442.2667 7 Fax +9 144.442.2610 0 Mobile +9 199.400.1130 8 Voip +6 666.520.6677 ____________________________________________________________________ List archives: http://www.mail-archive.com/intermapper-talk%40list.dartware.com/ To unsubscribe: send email to: [EMAIL PROTECTED] ____________________________________________________________________ List archives: http://www.mail-archive.com/intermapper-talk%40list.dartware.com/ To unsubscribe: send email to: [EMAIL PROTECTED] ____________________________________________________________________ List archives: http://www.mail-archive.com/intermapper-talk%40list.dartware.com/ To unsubscribe: send email to: [EMAIL PROTECTED]
