- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Nagios Installation to HP-UX 11.11
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
Discussions
Forums
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
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
тАО04-06-2009 05:33 AM
тАО04-06-2009 05:33 AM
Nagios Installation to HP-UX 11.11
File: nagios-3.0.6.tar.gz
nagios-plugins-1.4.11.tar.gz
I've unzipped nagios .tar and gave the command:
./configure --with-command-group=nagcmd
COmmand is OK.
Then I've compiled source code with:
make all
The following error occurs after this command:
egtpres,sys,root # make all
cd ./base && make
cc -g -DHAVE_CONFIG_H -DNSCORE -c broker.c
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C product; ignored.
(Bundled) cc: "../include/objects.h", line 634: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../include/objects.h", line 638: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../include/objects.h", line 639: error 1000: Unexpected symbol: "*".
(Bundled) cc: "../include/objects.h", line 639: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../include/objects.h", line 639: error 1573: Type of "<<
(Bundled) cc: "../include/objects.h", line 640: error 1000: Unexpected symbol: "*".
(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
--------------------------------------
objects.h file errored-lines are as follows:
/********************* FUNCTIONS **********************/
/**** Top-level input functions ****/
int read_object_config_data(char *,int,int,int); /* reads all external configuration data of specific types */
/**** Object Creation Functions ****/
contact *add_contact(char *,char *,char *,char *,char **,char *,char *,int,int,int,int,int,int,int,int,int,int,int,int,int,int,int,int); /* adds a contact definition */
commandsmember *add_service_notification_command_to_contact(contact *,char *); /* adds a service notification command to a contact definition */
commandsmember *add_host_notification_command_to_contact(contact *,char *); /* adds a host notification command to a contact definition */
egtpres,sys,root #
-------------------------------
- Tags:
- nagios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 07:28 AM
тАО04-06-2009 07:28 AM
Re: Nagios Installation to HP-UX 11.11
You're using the bundled C compiler, which is
generally not useful for much.
You could buy a real C compiler from HP.
GCC is available at no cost.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2009 05:20 AM
тАО04-07-2009 05:20 AM
Re: Nagios Installation to HP-UX 11.11
egtpres,sys,root # swlist | grep -i c++
GNU_C_C+_64 4.3.1
But when i execute 'make all', it'is being compiled by bundled C again.
how can I compile source code with the new one?
- Tags:
- gcc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2009 05:35 AM
тАО04-07-2009 05:35 AM
Re: Nagios Installation to HP-UX 11.11
Try the following url, apart from gcc you would need some more packages.
http://mayoxide.com/naghpux/build_notes.txt
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2009 08:00 AM
тАО04-07-2009 08:00 AM
Re: Nagios Installation to HP-UX 11.11
Great. Can you run it? Is gcc on your PATH?
> But when i execute 'make all', it'is being
> compiled by bundled C again.
Did you re-run "./configure"?
What, exactly, did you do? (Or should my
psychic powers be great enough to tell me?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2009 09:23 AM
тАО04-07-2009 09:23 AM
Re: Nagios Installation to HP-UX 11.11
Nagios is part of HPUX Internet express bundle now. You can download it from here.
11.23:
------
http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123
11.31:
------
http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1131
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-10-2009 09:55 AM
тАО04-10-2009 09:55 AM
Re: Nagios Installation to HP-UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-10-2009 12:47 PM
тАО04-10-2009 12:47 PM
Re: Nagios Installation to HP-UX 11.11
Yes but not on the web. It came with your 11.11 media.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2009 01:16 PM
тАО05-04-2009 01:16 PM
Re: Nagios Installation to HP-UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2009 07:19 PM
тАО05-04-2009 07:19 PM
Re: Nagios Installation to HP-UX 11.11
I tried a preview swinstall for the 11.23 version and I didn't get any warnings about it.
I would hope that HP when it packaged it, included any dependencies.