Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Fri Mar 29, 2024 6:43 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 
Author Message
PostPosted: Tue Oct 07, 2008 8:26 pm 
Offline
Newbie

Joined: Mon Jan 07, 2008 7:58 pm
Posts: 10
Location: Frankfurt, Germany
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

_________________
OS : XP, NT, Windows 2k, Windows 2K3, Ubuntu
Auditing: 1020 machines
LDAP: Active Directory


Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 09, 2008 7:08 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
Have you tried the URL with the SystemName ?
It _should_ work (well, I'm sure it used too)....

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 09, 2008 10:08 pm 
Offline
Newbie

Joined: Mon Jan 07, 2008 7:58 pm
Posts: 10
Location: Frankfurt, Germany
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

_________________
OS : XP, NT, Windows 2k, Windows 2K3, Ubuntu
Auditing: 1020 machines
LDAP: Active Directory


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 10, 2008 9:54 pm 
Offline
Moderator
User avatar

Joined: Tue Jan 25, 2005 3:09 am
Posts: 2140
Location: Scotland
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

_________________
Andrew

[size=85]OA Server: Windows XP/ XAMPP, Mandriva/Apache, Ubuntu
Auditing: 300+ Wstns, 20+ Srvrs, Thin clients, Linux boxes, Routers, etc
OS's: Windows XP , W2K Srvr, W2K3 Srvr, W2K8, Vista, Windows 7, Linuxes (and a Mac at home)
LDAP: Active Directory[/size]


Top
 Profile  
Reply with quote  
PostPosted: Wed Oct 22, 2008 1:32 am 
Offline
Helper

Joined: Fri Nov 16, 2007 1:32 am
Posts: 73
Location: Dallas,Texas
let me know how this goes gobo, im very interested!

_________________
1400 Servers Audited (1 hour interval) Applied via a local scheduler, deployed via GPO.
Running OA on IIS6 Web Server
90% Windows 2k3 Server (std,ent)
5% Windows XP
5% Windows 2000


Top
 Profile  
Reply with quote  
PostPosted: Sat Nov 01, 2008 11:07 pm 
Offline
Helper

Joined: Fri Nov 16, 2007 1:32 am
Posts: 73
Location: Dallas,Texas
Don't be shy gobo... We want to know :)

_________________
1400 Servers Audited (1 hour interval) Applied via a local scheduler, deployed via GPO.
Running OA on IIS6 Web Server
90% Windows 2k3 Server (std,ent)
5% Windows XP
5% Windows 2000


Top
 Profile  
Reply with quote  
PostPosted: Thu Nov 06, 2008 9:21 pm 
Offline
Newbie

Joined: Mon Jan 07, 2008 7:58 pm
Posts: 10
Location: Frankfurt, Germany
Sorry, didn't test it. I've just returned from Vacation. With my knowlegde on PHP, the test could take a while.

_________________
OS : XP, NT, Windows 2k, Windows 2K3, Ubuntu
Auditing: 1020 machines
LDAP: Active Directory


Top
 Profile  
Reply with quote  
PostPosted: Fri Nov 07, 2008 2:39 am 
Offline
Moderator
User avatar

Joined: Tue Jan 25, 2005 3:09 am
Posts: 2140
Location: Scotland
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)

_________________
Andrew

[size=85]OA Server: Windows XP/ XAMPP, Mandriva/Apache, Ubuntu
Auditing: 300+ Wstns, 20+ Srvrs, Thin clients, Linux boxes, Routers, etc
OS's: Windows XP , W2K Srvr, W2K3 Srvr, W2K8, Vista, Windows 7, Linuxes (and a Mac at home)
LDAP: Active Directory[/size]


Top
 Profile  
Reply with quote  
PostPosted: Tue Nov 11, 2008 5:38 pm 
Offline
Newbie

Joined: Mon Jan 07, 2008 7:58 pm
Posts: 10
Location: Frankfurt, Germany
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

_________________
OS : XP, NT, Windows 2k, Windows 2K3, Ubuntu
Auditing: 1020 machines
LDAP: Active Directory


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group