Extended Servicegroup Information

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
dipit2007
Posts: 6
Joined: Sun Dec 22, 2013 5:19 am

Extended Servicegroup Information

Post 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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Extended Servicegroup Information

Post 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
dipit2007
Posts: 6
Joined: Sun Dec 22, 2013 5:19 am

Re: Extended Servicegroup Information

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Extended Servicegroup Information

Post 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.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
dipit2007
Posts: 6
Joined: Sun Dec 22, 2013 5:19 am

Re: Extended Servicegroup Information

Post 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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Extended Servicegroup Information

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Extended Servicegroup Information

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked