Open-AudIT
https://www.open-audit.org/phpBB3/

Link from Nagios to open-audit summary
https://www.open-audit.org/phpBB3/viewtopic.php?f=5&t=2982
Page 1 of 1

Author:  Gobo [ Tue Oct 07, 2008 8:26 pm ]
Post subject:  Link from Nagios to open-audit summary

Hi,

after using OA for over 6 months now i would like to add a link from our Checks in Nagios to the Hardware Summary from Open-Audit.

As Wildcards i can add the Systemname or ID Address but not the UUID which is needed by the Audit URL (system.php?pc=**UUID**&view=summary)

Is there any Chance to built that Url with the IP Adress or the Hostname to open it in a Browser?

The secound thought was to built a URL to the search Page and get the Server as Result, but as i'm not really into php scripting i'm lost here too?

Any advice would be great.

Thanks
Greg

Author:  Mark [ Thu Oct 09, 2008 7:08 pm ]
Post subject:  Re: Link from Nagios to open-audit summary

Have you tried the URL with the SystemName ?
It _should_ work (well, I'm sure it used too)....

Author:  Gobo [ Thu Oct 09, 2008 10:08 pm ]
Post subject:  Re: Link from Nagios to open-audit summary

Yes i've tried both, the System Name and the IP-Address of the Host.

As for example the tests where:

Name
system.php?pc=p008dkasc&view=summary

IP
system.php?pc=72.13.10.64&view=summary

Author:  A_Hull [ Fri Oct 10, 2008 9:54 pm ]
Post subject:  Re: Link from Nagios to open-audit summary

SFAIK all of the system viewdefs use the UUID, so you would need to code a viewdef to allow the use of the system name or IP instead.

I can see this would be quite useful as it would allow linking from almost any other source using the IP or FQDN for the machine.

Coding is Probably not that difficult, just another switch or two as alternatives to links like ../openaudit/system.php?pc=4C4C4544-0047-5710-8057-B1C04F33314A&view=summary&

Something like ../openaudit/system.php?fqdn=globbits.mydomain.local&view=summary&
or ../openaudit/system.php?ip=192.168.99.1&view=summary&

This should only require modifying the system page, as the code on this page would look up the UUID from the fqdn or IP and pass this to the viewdef

Author:  jhurd8025 [ Wed Oct 22, 2008 1:32 am ]
Post subject:  Re: Link from Nagios to open-audit summary

let me know how this goes gobo, im very interested!

Author:  jhurd8025 [ Sat Nov 01, 2008 11:07 pm ]
Post subject:  Re: Link from Nagios to open-audit summary

Don't be shy gobo... We want to know :)

Author:  Gobo [ Thu Nov 06, 2008 9:21 pm ]
Post subject:  Re: Link from Nagios to open-audit summary

Sorry, didn't test it. I've just returned from Vacation. With my knowlegde on PHP, the test could take a while.

Author:  A_Hull [ Fri Nov 07, 2008 2:39 am ]
Post subject:  Re: Link from Nagios to open-audit summary

I've been looking at Nagios here, and have just installed a test bed. I don't have the time to code your view just now (partly because I am involved with setting up Nagios :? ), but I can see some other interesting possibilities here. We could theoretically generate service entries in the Nagios config file from the discovered services in OA.

(See http://nagios.sourceforge.net/docs/3_0/ ... ndows.html for the information Nagios expects per service in its config file, looks quite simple really)

Author:  Gobo [ Tue Nov 11, 2008 5:38 pm ]
Post subject:  Re: Link from Nagios to open-audit summary

Oh man, you guys rock. Let me know if you need help with nagios or if you need someone to test anything related to OA/Nagios

Page 1 of 1 All times are UTC + 10 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/