[Nagios-devel] hostgroup notifications

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] hostgroup notifications

Post by Guest »

--------------5BC8864302B8EC6A70CC41BA
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi Terry,
as a matter of fact, I have gotten hostgroup_name to work, with not only
one hostgroup_name but with comma seperated hostgroup names, such as
"test,production"

One peculiarity I did notice on my system when compiling and installing,
the "make install" command didnt actually move the files to the proper
location, I tested this by deleting the Nagios binary and running "make
install" though the binary was built, none of the actual copying of
files to correct subdirectories happened, for both the nagios binary and
the sbin cgis. This gave me a shock, when i ran nagios -v and scrolled
up to see the version number.

Im copying this email to the nagios-development list to see if anyone
else has experienced this issue.
you might want to check if you have the same problem I did, try
executing a existant switch for the nagios binary, like "nagios -v"
scroll up and you should see the version number. if its not the version
you just installed, you have run into my issue.

fix this by copying the binary directly from its make location to your
bin location, the make location is under the base directory. ie: "cp
-p /pkgs/nagios-1.0b3/base/nagios /usr/local/nagios/bin/ "

you might also want to copy the CGI's from thier make location to the
installed sbin directory too if you had my problem. This will ensure
that your version is in sync.

This issue started with b2, for me on a solaris 8 Sparc Ultra 10, and
continued with the b3 version, I have not tried a fresh install by
deleting the directories and starting fresh so I cant tell you if the
make install is an isse from that standpoint.

On a side note directed to the development list,
I've been dabling in creating Solaris packages, and wanted to know if
thier is any interest in pursuing a Nagios-solaris.pkg for sparc
stations, (sorry I dont have the I386 version of Solaris so i cant test
a package on it)
Im thinking of creating a package for using the flat file object based
install.
what you think?
Kenneth Ray
Unix Administrator.




>-----Ursprungliche Nachricht-----
>Von: Terry Simons [mailto:galimore@mac.com]
>Gesendet: Donnerstag, 13. Juni 2002 00:27
>An: nagios-users@lists.sourceforge.net
>Betreff: [Nagios-users] hostgroup in a service definition still doesn't

>work
>
>
>Ethan and crowd,
>
>I'm still unable to get hostgroup_name to work in a service
definition.
>
>I've tried using both 1.0b3, and the newest CVS drop, but I'm still
getting
>the following error:
>
>Error: Service description, host name, or check command is NULL
>
>Here's a short example:
>
>define service{
> name all_closets
> hostgroup_name 106
> register 0
> use default
>}
>
>define service{
> use all_closets
> service_description Ping
> check_command check_ping
> notification_period 24x7
>}
>
>Any ideas? It looks like there's still a bug in the code somewhere,
but it
>could just be me making mistakes. :)
>
>Has anyone actually been able to get hostgroup_name working in a
service
>definition?
>
>Thanks,
>
>- Terry
>
>
>_______________________________________________________________
>
>Sponsored by:
>ThinkGeek at http://www.ThinkGeek.com/
>_______________________________________________
>Nagios-users mailing list
>Nagios-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/lis ... gios-users
>
>_______________________________________________________________
>
>Don't miss the 2002 Sprint PCS Application Developer's Conference
>August 25-28 in Las Vegas -
http://devcon.sprintpcs.com/adp/index.c ... dntextlink
>
>_______________________________________________
>Nagios-users mailing list
>Nagios-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/lis ... gios-users
>

--
========================================================

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: kray1@travelersla.com
Locked