- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: ICE for Linux 6.3 Nagios problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2011 09:49 AM
11-29-2011 09:49 AM
Re: ICE for Linux 6.3 Nagios problem
I consulted with Mark Schroeder and he suggested editing /opt/hptc/nagios/etc/contacts.cfg and adding "host_notifications_enabled" and "service_notifications_enabled" attributes, both set to 0, for the "nagios" contact definition as shown below. This should prevent the alerts from being mailed to the nagios user but they will still get forwarded to HP SIM. Let us know how it works out.
e.g. /opt/hptc/nagios/etc/contacts.cfg (excerpt)
# 'nagios' contact definition
define contact{
contact_name nagios
alias Nagios Admin
host_notifications_enabled 0
service_notifications_enabled 0
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,u,r
service_notification_commands notify-by-email,notify-by-epager
host_notification_commands host-notify-by-email,host-notify-by-epager
email nagios
pager nagios
}
Thanks,
Donna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2011 01:50 PM
11-29-2011 01:50 PM
Re: ICE for Linux 6.3 Nagios problem
Tried the modification - no change.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2011 01:53 PM
11-29-2011 01:53 PM
Re: ICE for Linux 6.3 Nagios problem
I forgot to mention that you need to restart nagios. Did you do that?
/etc/init.d/nagios stop
/etc/init.d/nagios start
Just curious, what kind of alerts are you seeing? Are they valid alerts?
Donna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2011 02:07 PM
11-29-2011 02:07 PM
Re: ICE for Linux 6.3 Nagios problem
Did a restart of nagios after the change.
The alerts right now all refer to a single system. They are complaining of a configuration problem, and telling me to edit /etc/snmp/snmp.conf. That file has been editted, and has valid settings, just like all of the others that are not complaining.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2011 03:14 PM
11-29-2011 03:14 PM
Re: ICE for Linux 6.3 Nagios problem
So you're still seeing alerts after restarting nagios, correct? Is the alert for the "configuration" service?
Can you run /opt/hptc/nagios/libexec/check_node_config and send me the output?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2011 03:36 PM
11-29-2011 03:36 PM
Re: ICE for Linux 6.3 Nagios problem
Argument "NRPE:" isn't numeric in division (/) at /opt/hptc/nagios/libexec/check_node_config line 128.
Argument "NRPE:" isn't numeric in division (/) at /opt/hptc/nagios/libexec/check_node_config line 128.
Argument "NRPE:" isn't numeric in division (/) at /opt/hptc/nagios/libexec/check_node_config line 128.
Argument "NRPE:" isn't numeric in division (/) at /opt/hptc/nagios/libexec/check_node_config line 128.
Argument "NRPE:" isn't numeric in division (/) at /opt/hptc/nagios/libexec/check_node_config line 128.
Argument "NRPE:" isn't numeric in division (/) at /opt/hptc/nagios/libexec/check_node_config line 128.
[1322609055] PROCESS_SERVICE_CHECK_RESULT:;in1;configuration;0;<B>icelx7: Proliant BL460c G7</B> Sockets/Cores(Unable/to) mem(0GB) Console(iLO) Unknown (edit /etc/snmp/snmp.conf)
[1322609055] PROCESS_SERVICE_CHECK_RESULT:;lg1;configuration;0;<B>icelx3: Proliant DL380 G7</B> Sockets/Cores(Unable/to) mem(0GB) Console(iLO) Unknown (edit /etc/snmp/snmp.conf)
[1322609055] PROCESS_SERVICE_CHECK_RESULT:;db1;configuration;0;<B>icelx5: Proliant BL460c G7</B> Sockets/Cores(Unable/to) mem(0GB) Console(iLO) Unknown (edit /etc/snmp/snmp.conf)
[1322609055] PROCESS_SERVICE_CHECK_RESULT:;ui1;configuration;0;<B>icelx2: Proliant BL460c G7</B> Sockets/Cores(Unable/to) mem(0GB) Console(iLO) Unknown (edit /etc/snmp/snmp.conf)
[1322609055] PROCESS_SERVICE_CHECK_RESULT:;cc1;configuration;0;<B>icelx4: Proliant DL380 G7</B> Sockets/Cores(2/8) mem(24GB) Console(iLO) Unknown (edit /etc/snmp/snmp.conf)
[1322609055] PROCESS_SERVICE_CHECK_RESULT:;au1;configuration;0;<B>icelx6: Proliant BL460c G7</B> Sockets/Cores(Unable/to) mem(0GB) Console(iLO) Unknown (edit /etc/snmp/snmp.conf)
[1322609055] PROCESS_SERVICE_CHECK_RESULT:;db2;configuration;0;<B>icelx8: Proliant BL460c G7</B> Sockets/Cores(Unable/to) mem(0GB) Console(iLO) Unknown (edit /etc/snmp/snmp.conf)
[1322609055] PROCESS_SERVICE_CHECK_RESULT:;nh;configuration;0;<B>icelx1: Proliant DL380 G7</B> Sockets/Cores(2/8) mem(24GB) Console(iLO) Factory
Total of 8 nodes, 8 enabled, 0 disabled 8 configured
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2011 08:05 PM
11-29-2011 08:05 PM
Re: ICE for Linux 6.3 Nagios problem
Can you run the following command and send me the output.
/opt/hptc/nagios/libexec/gather_all_data --verbose
It doesn't look like Nagios is configured properly on all your managed nodes. When you run Options -> IC-Linux -> "Configure Management Services" does the output show any errors (scroll to the end of Stdout to see)? The task will always show "Complete" even if there are errors.
e.g.
Checking to see if any errors occurred ...
Warning: Cannot distribute pdsh keys to ...
Warning: Cannot distribute pdsh keys to ...
Warning: Cannot distribute pdsh keys to ..
The above errors occurred. Please investigate.
Please view /var/log/mgmt.log for details.
Done
- « Previous
- Next »