On 1/12/10 8:12 AM Richard Gliebe wrote:
> Hi there,

Me onesmore,
> 
> at the moment I'm migrating from nagios Nagios-2.3 to Nagios-3.0.6 with 
> nearly the same config Files.
> 
> One parameter makes me headaches: "is_volatile".
> 
> In V2.3 it doesn't shows me this parameter in the webinterface and 
> notification (SMS and Email) messages. But in V3.0.6 does.
> 
> EXAMPLE from the Webinterface:
> V2.3
> Free Space C:\        OK
> 
> V3.0.6
> Free Space C: is_volatile 0   OK
> 
> In V3.0.6 it only shows me this output from services when I check the 
> DriveSizes from Windows-Server with check_nrpe.
> 
> Here is one Service Check from V3.0.6 and V2.6
> ....
> # Service definition
> define service{
>          use                             windows-service
> 
>          host_name                       <HOSTNAME>
>          service_description             Free Space C:\
>          is_volatile                     0
>          check_period                    24x7
>          max_check_attempts              3
>          normal_check_interval           3
>          retry_check_interval            1
>          contact_groups                  sys-admins
>          notification_interval           0
>          notification_period             24x7
>          notification_options            w,u,c,r
>          check_command 
> check_win_nrpe2!CheckDriveSize!ShowAll=long MinWarnFree=30% 
> MinCritFree=20% Drive=C:!
> ....
> 
> Memory Checks looks like this.
> ....
> # Service definition
> define service{
>          use                             windows-service
> 
>          host_name                       <HOSTNAME>
>          service_description             MEMORY
>          is_volatile                     0
>          check_period                    24x7
>          max_check_attempts              3
>          normal_check_interval           3
>          retry_check_interval            1
>          contact_groups                  nosms-admins
>          notification_interval           0
>          notification_period             24x7
>          notification_options            w,u,c,r
>          check_command 
> check_win_nrpe2!checkMem!ShowAll=long MaxWarn=96% MaxCrit=99% 
> type=physical type=page!
>          }
> ....
> 
> 
> My first idea was to delete the line "is_volatile 0"
> But a nagios -v nagios.cfg gives me this Warning.
> ....
> Warning: Service 'Free Space C:        check_period 
> 24x7' on host '<HOSTNAME>' has no check time period defined!
> ....
> 
> any hints are welcome to hide this 'is_volatile' output.

the problem was the leading backslash in the service_description

...
service_description             Free Space C:\
...

removing this backslash and it works as it should.

Regards
Richard

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to