Page 1 of 1

Extended Servicegroup Information

Posted: Sun Dec 22, 2013 5:35 am
by dipit2007
Please let me know how to get Extended Servicegroup Information. Is it implemented or not?

I have seen code extinfo.c . but i think its not implemented.

nagios/cgi-bin/extinfo.cgi?type=8&servicegroup=dbservices not showing any information.

nagios/cgi-bin/status.cgi?servicegroup=all&style=overview out put is attached in image
nagout.png
nagout.png
please help me.

Re: Extended Servicegroup Information

Posted: Mon Dec 23, 2013 10:43 am
by slansing
Keep in mind you are using nagios 3.2.3 which was released 3 years ago, there have since been a great many updates to both security and features.


Here is a bit more info on extended info:
http://nagios.sourceforge.net/docs/3_0/ ... iceextinfo

http://nagios.sourceforge.net/docs/3_0/ ... xtinfo_cgi

Re: Extended Servicegroup Information

Posted: Tue Dec 24, 2013 12:45 am
by dipit2007
I have checked latest version 4.0.2 also. I didn't find any expected implementation in following function ...

extinfo.c line number 1678


show_servicegroup_info() {

/* top left panel */
printf("<TD ALIGN=CENTER VALIGN=TOP CLASS='stateInfoPanel'>\n");

/* right top panel */


For a specific service its showing details of service like status,performance data, flapping status, last check time etc.

But for service group its showing some links for service group.

I am expecting nagios to show details of each service when above said function is invoked.

Please let me know.

Thank you.

Re: Extended Servicegroup Information

Posted: Thu Dec 26, 2013 9:09 am
by scottwilkerson
extinfo.cgi gives details for a specific host or service, NOT for a hostgroup or servicegroup, for them ot just gives a list of commands that can be c=executed against the hostgroup/servicegroup.

Re: Extended Servicegroup Information

Posted: Thu Dec 26, 2013 12:56 pm
by dipit2007
Hi scottwilkerson ,

Thanks for your reply.

Yes, it gives a list of commands only nothing else.

I have added this in my Nagios installation by modifying source code little bit as per my requirement. And now Nagios is able to provide information what I was expecting.

Now my Nagios extinfo.cgi also gives details of specific service group in a single page. So, at a glance I am able to view details of all service for specific group.

Why its not included in nagios core? any idea please share.

Thanks a lot again.

Re: Extended Servicegroup Information

Posted: Thu Dec 26, 2013 1:24 pm
by slansing
Well, by nature it is included in Nagios Core, it is the extended info core CGI. Usually those who use it, use it for specific information and would otherwise not want to weight down their interface with certain statistics they do not normally need, and that their users do not normally need. "I believe" that was the design decision here.

Re: Extended Servicegroup Information

Posted: Thu Dec 26, 2013 1:25 pm
by scottwilkerson
You can feel free to post your patch to the Core Development forum and if it looks good it may get applied....

http://support.nagios.com/forum/viewforum.php?f=34