NagMIN/Nagiosv1.2: Extended Information, and nagios_check_command problems

Ray Ward ray.ward at mapfusion.com
Tue Feb 10 19:21:37 CET 2004


Hi,

first a bit about my system, I'm running Nagios v1.2 on a Solaris 8 (sparc)
box with database (MySQL) support for everything but extended information.
And I'm using NagMIN v2.0.6. I'm having two problems right now:

1 - The extended information generated from NagMIN (or by hand), doesn't
seem to be working.
    -cgi.cfg contains this line:
     xedtemplate_config_file=/export/home/nagios/etc/HostExtInfo.cfg
    -HostExtInfo.cfg contains proper (I believe) definitions, I'll give you
one of them:
     define hostextinfo {
        host_name       CCOSWITCH
        2d_coords
        notes_url       http://www.mapfusion.com
        con_image       cisco.png
        vrml_image      cisco.png
        statusmap_image cisco.png
     }
    -CCOSWITCH is defined in Host.cfg here:
     define host {
	  use    generic-host
	  host_name    CCOSWITCH
	  alias    Cisco 2948G Switch
	  address    192.168.1.2
	  parents    SS3FIREWALL
	  check_command    check-host-alive
	  max_check_attempts    10
	  notification_interval    60
	  notification_period    workhours
	  notification_options    d,u,r
     }
    -The cisco.png file is in images/logos and is world readable
     (I can load it from the web browser)

2 - The check_nagios_command isn't working I'm using check_nagios_db.pl
    -cgi.cfg line:
     nagios_check_command=/export/home/nagios/libexec/check_nagios_db.pl
    -This command runs fine from the command line:
     # logoff>pwd
     /export/home/nagios/libexec
     # logoff>./check_nagios_db.pl
     Nagios OK: located 1 processes, program status updated 3 seconds ago
    -But in nagios I just get:
     "Warning: Monitoring process may not be running!"
     Process Status:   UNKNOWN
     Check Command Output:  Nagios check command did not return any output

So after all that does any have any ideas about either of these probelms?, I
thought maybe the xedtemplate_config_file may not be used in Nagios v1.2?
(that seems unlikely). For the check command I've tried several commands
that all work from the command line but none work from within nagios?...Any
help would be appreciated. Thanks


Ray,

_______________________________
Ray Ward
IT Technician
MapFusion Technologies Inc.
http://www.mapfusion.com
_______________________________
NOTICE:
This message is intended only for the use of the individual or entity to
which it is addressed; and it, including any attachments, may contain
information that is privileged, confidential and exempt from disclosure
under applicable law. If the reader of this message is not the intended
recipient, or the employee or agent responsible for delivering the message
to the intended recipient, you are hereby notified that any disclosure,
dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this communication in error, please delete
it from your system without copying or forwarding it and notify us by
telephone (905-709-1925) or by return e-mail immediately. MapFusion Corp.
and its affiliated companies do not accept responsibility or liability for
any loss or damage arising in any way from your receipt or use or for any
errors or omissions in the contents of this communication.



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list