Hi,
Would anyone know how to get Oreon to automatically generate & export its Nagios configuration files, ie. make this scriptable rather than having to manually press the "Export" button ??
So far I've modified the formGenerateFiles.php file to default to the export/restart options we use here, but then can't see how to actually start the generation/export process itself. I was hoping to use wget/curl to simply hit a URL in Oreon, but unfortunately the link (/oreon/oreon.php?p=607) doesn't change in my browser when I press the "Export" button, so I'm at a dead end here as Apache's access_log gives no further information either. Knowing almost nothing about PHP coding, I also don't know how to run, or even what function to run, to do this directly.
I'm wanting to be able to script this generate/export from Oreon automatically as part of our Nagios failover solution, as the remote MySQL database is always kept up-to-date via replication.
We're currently running Oreon 1.3.3, with about 450 servers & 2300 services on Apache 2.0.59 on Solaris 10.
Thanks *heaps* for any help here!!
Would anyone know how to get Oreon to automatically generate & export its Nagios configuration files, ie. make this scriptable rather than having to manually press the "Export" button ??
So far I've modified the formGenerateFiles.php file to default to the export/restart options we use here, but then can't see how to actually start the generation/export process itself. I was hoping to use wget/curl to simply hit a URL in Oreon, but unfortunately the link (/oreon/oreon.php?p=607) doesn't change in my browser when I press the "Export" button, so I'm at a dead end here as Apache's access_log gives no further information either. Knowing almost nothing about PHP coding, I also don't know how to run, or even what function to run, to do this directly.
I'm wanting to be able to script this generate/export from Oreon automatically as part of our Nagios failover solution, as the remote MySQL database is always kept up-to-date via replication.
We're currently running Oreon 1.3.3, with about 450 servers & 2300 services on Apache 2.0.59 on Solaris 10.
Thanks *heaps* for any help here!!
Comment