Hi,
I'm having problem with Oreon stripping away the backslashes in the command-arguments.
I want to graph how many users are currently connected to my webserver, so I use the following command:
Check_command : check_graph_nt
Check_command_arguments : !COUNTER!"\\Active Server Pages\\Sessions Current"!1000!10000
When I save the servicecheck one of the two backslashes are stripped away before it's inserted into the database, so when I look in the database the arguments look like this:
!COUNTER!"\Active Server Pages\Sessions Current"!1000!10000
Now this this works fine, but at some point, when I restart Oreon, it seems to strip away those single backslash too. The only reasonable explaination I can think of is, if Oreon reads the config from the database, strips away the backslashes, and store the result in a variable (possibly used for display purposes). Then when I restart Oreon it uses the variable to create the new configs, instead of pulling it from the database.
Any thoughts, anyone?
Thanks
Freddie
I'm having problem with Oreon stripping away the backslashes in the command-arguments.
I want to graph how many users are currently connected to my webserver, so I use the following command:
Check_command : check_graph_nt
Check_command_arguments : !COUNTER!"\\Active Server Pages\\Sessions Current"!1000!10000
When I save the servicecheck one of the two backslashes are stripped away before it's inserted into the database, so when I look in the database the arguments look like this:
!COUNTER!"\Active Server Pages\Sessions Current"!1000!10000
Now this this works fine, but at some point, when I restart Oreon, it seems to strip away those single backslash too. The only reasonable explaination I can think of is, if Oreon reads the config from the database, strips away the backslashes, and store the result in a variable (possibly used for display purposes). Then when I restart Oreon it uses the variable to create the new configs, instead of pulling it from the database.
Any thoughts, anyone?
Thanks
Freddie
Comment