[Nagios-users] Monitor Netscreen VPNs
I'm trying to monitor a ton of Juniper Netscreen VPNs through any way possible. I have the check_netscreen_vpn.pl plugin to check for this but I'm getting bad results. I can list the VPNs on the device but not input the name for monitoring the tunnel: [EMAIL PROTECTED] libexec]# ./check_netscreen_vpn.pl -H 66.243.128.251 -C rk0nmssp -v 2 -n TO_WSMC -l Found interface: To GCS Supply Found interface: To_Resurrection Found interface: VPN for 10.50.190.0/24 Found interface: VPN for 172.26.1.0/24 Found interface: To_WSMC Found interface: To_Willow_Glenn [EMAIL PROTECTED] libexec]# ./check_netscreen_vpn.pl -H 66.243.128.251 -C rk0nmssp -v 2 -n TO_WSMC **ERROR: Tunnel name not [EMAIL PROTECTED] libexec]# Anyone have insight as to the monitoring of Juniper Netscreen devices? All comments wanted, thanks! [EMAIL PROTECTED] [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ 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] New Hostgroup added and no email alerts for those hosts, old HG work fine
I have a Nagios box running and alerting great. I just added a new Hostgroup and the host/service I just added shows down in Nagios (the service IS really down), but I dont get email alerts like I do for the rest of the hosts that are in different hostgroups. I can't figure out why this is not throwing email alerts like all the others. The device is a Cisco ASA forewall, but I'm starting with only simple pings, so the device should not matter. [EMAIL PROTECTED] Configs below: define service{ namewindows-service ; The 'name' of this service template active_checks_enabled 1 ; 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 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction 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 is_volatile 0 ; The service is not volatile register0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! check_period24x7; The service can be checked at any time of the day max_check_attempts 4 ; Re-check the service up to 4 times in order to determine its final (hard) state normal_check_interval 5 ; Check the service every 5 minutes under normal conditions retry_check_interval1 ; Re-check the service every minute until a hard state can be determined contact_groups admins ; Notifications get sent out to everyone in the 'admins' group notification_optionsw,u,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 120 ; Re-notify about service problems every hour notification_period 24x7; Notifications can be sent out at any time } HOSTGROUP.CFG define hostgroup{ hostgroup_name XXX alias XXX Enterprises Network members XXX_Chicago_ASA } XXX_Chicago_ASA--- define host{ use windows-servers; Name of host template to use host_name XXX_Chicago_ASA alias XXX_Chicago_ASA address ???.217.120.10 } define service{ use windows-service ; Name of service template to use host_name XXX_Chicago_ASA service_description PING check_command check_ping!100.0,20%!300.0,60% } - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ 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] How to get reboot messages
I have a bunch of devices which alert me fine up/down, but I'm looking to find how to get messages when they reboot. Solarwinds does this for me now, but I'm trying to move off this solution, but my boss want reboot messages as well as up/downs for the devices... Any ideas? Chris Serafin [EMAIL PROTECTED] - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___ 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] How to get reboot messages
Thanks for all the replies, these would be Windows servers, Cisco/Juniper devices and Checkpoint boxes running mainly on SPLAT (linux) I prefer to do this with SNMP, as that's how I have done it on Solarwinds. I will be trying the SNMP_uptime command and report my results. [EMAIL PROTECTED] On Nov 29, 2007 12:03 PM, Edwin Zoeller [EMAIL PROTECTED] wrote: You could create a script in /etc/rc2.d or rc3.d that will page/email upon shutdown/startup. -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *chris serafin *Sent:* Thursday, November 29, 2007 12:00 PM *To:* Nagios-users@lists.sourceforge.net *Subject:* [Nagios-users] How to get reboot messages I have a bunch of devices which alert me fine up/down, but I'm looking to find how to get messages when they reboot. Solarwinds does this for me now, but I'm trying to move off this solution, but my boss want reboot messages as well as up/downs for the devices... Any ideas? Chris Serafin [EMAIL PROTECTED] - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___ 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] How to get reboot messages
So SNMP won't work with Windows? Damn, clients hate extra software. :( Would you be willing to post your commands/services configs? I bet if I see your configs I may be able to replicate it to SNMP/windows. Thanks [EMAIL PROTECTED] On Nov 29, 2007 2:57 PM, Steve Shipway [EMAIL PROTECTED] wrote: Here, we do this by checking the uptime of the host/device.For switches etc, this is in the SNMP counter. For windows hosts, it is via check_nt and the UPTIME object. For unix, you just create an appropriate script to run via nrpe. We then do a critical if uptime 10min. Since hosts are checked every 5min at most then even if the hosts reboots quickly, this will alert. A scheduled outage is OK because the scheduled downtime extends 10min after the reboot. Steve -- I have a bunch of devices which alert me fine up/down, but I'm looking to find how to get messages when they reboot. Solarwinds does this for me now, but I'm trying to move off this solution, but my boss want reboot messages as well as up/downs for the devices... - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___ 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 as Solarwinds replacement
So I'm in the process of swapping out our Solarwinds monitoring solution for Nagios. The one thing I have yet to figure out is how I can do reporting on bandwidth and CPU utilization like Solarwinds (Monthly reports) I inherited this Nagios environment from a previouly employee, and I know he installed Cacti for this? My question is, what do your guys use for this type of reporting? Recommendations? Chris Serafin Security Engineer [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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_storage fails on 2003 box, works manually
AA, after over 6+ hours of editing CLI code, my eyes failed me. I changed these simple flags and it works great. Sorry for the newb false alarm. Chris Serafin Security Engineer [EMAIL PROTECTED] On Nov 12, 2007 12:58 AM, Hugo van der Kooij [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 chris serafin wrote: I'm having an issue with getting some SNMP commands to work. When issuing the check_snmp_storage.pl manually, I get perfect results, but once I put it in Nagios 3.0b5, I get critical alerts: (Return code of 127 is out of bounds - plugin may be missing) This is the manual command I enter and the result: $ sudo ./check_snmp_storage.pl -H 192.168.1.200 -C pUBLIC -m C -w 80 -c 95 Great for root. But what about the account that Nagios is running as? Did you test it too? And where did you put check_snmp_storage.pl exactly? ./ is a rather relative distinction. But I think it does not matter This is how I defined the command and service: define command{ command_namecheck_snmp_storage_windrive command_line$USER1$/check_snmp_storage -H $HOSTADDRESS$ -C $ARG1$ -m $ARG2$ -w $ARG3$ -c $ARG4$ Hold on. Why are you afraid to come out and tell nagios it is a perl script? $USER1$/check_snmp_storage !!= ./check_snmp_storage.pl For those unaware of pseudo code: !!= stands for 'is most definitly NOT'. Pretty much as !~= stands for 'almost but not quite unlike`;-) Hugo. - -- [EMAIL PROTECTED] http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHN/mgBvzDRVjxmYERAmt3AKCD35Rz1k7aT3POzEvQPYUNEQXo4ACfUa0H Mg/Qj9Pt1/o0/6T4xxwwxZg= =GD0Z -END PGP SIGNATURE- - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ 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 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ 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_storage fails on 2003 box, works manually
I'm having an issue with getting some SNMP commands to work. When issuing the check_snmp_storage.pl manually, I get perfect results, but once I put it in Nagios 3.0b5, I get critical alerts: (Return code of 127 is out of bounds - plugin may be missing) This is the manual command I enter and the result: $ sudo ./check_snmp_storage.pl -H 192.168.1.200 -C pUBLIC -m C -w 80 -c 95 C:\ Label: Serial Number d0d8a583: 66%used(9055MB/13774MB) (80%) : OK This is how I defined the command and service: define command{ command_namecheck_snmp_storage_windrive command_line$USER1$/check_snmp_storage -H $HOSTADDRESS$ -C $ARG1$ -m $ARG2$ -w $ARG3$ -c $ARG4$ } define service{ use generic-service host_name Bunker01_Win2003-01 service_description Check Drive C Memory check_command check_snmp_storage_windrive!pUBLIC!^C!90!100! } The host is running Ubuntu 7.x and Nagios 3.0b5 Chris Serafin Security Engineer [EMAIL PROTECTED] - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ 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