Re: [Nagios-users] having different view in nagios interface

2009-02-12 Thread Eric Doutreleau
Marc Powell a écrit :
 On Feb 11, 2009, at 6:48 AM, Paul Weaver wrote:

   
 For our dev system, we use the following link
 /nagios/cgi-bin/status.cgi? 
 host=allservicestatustypes=28hoststatustype
 s=3serviceprops=42sorttype=1sortoption=6

 Which only displays services that aren't acknowleged or in downtime,
 with the most recent at the top.
 

 This is a good suggestion and we use this as our normal workflow to  
 identify new issues. Another option is to create different contacts.  
 Using Authentication, nagios will only show the hosts and services  
 associated with that contact.

 --
 Marc

 --
 Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
 software. With Adobe AIR, Ajax developers can use existing skills and code to
 build responsive, highly engaging applications that combine the power of local
 resources and data with the reach of the web. Download the Adobe AIR SDK and
 Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
 ___
 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
   
well thanks for all your answer.
I will try to manage my problem with your answer.

thank u very much
Does someone have a piece of software that use Nagios::Statuslog to share?

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
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


Re: [Nagios-users] having different view in nagios interface

2009-02-12 Thread Paul Weaver
 thank u very much
 Does someone have a piece of software that use 
 Nagios::Statuslog to share?

perl -e '
use Nagios::StatusLog;
my $host = hostname;
my $description = service description;
my $dataFile = /usr/local/nagios/var/status.dat;

my $log = Nagios::StatusLog-new( Filename = $dataFile, Version =
2.0);
my $obj = $log-service( $host, $description );

print Service $description on $host is in state
.$obj-{last_hard_state}.\n;
print * This has been acknowleged\n if
$obj-{problem_has_been_acknowledged};
'

--
___
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


[Nagios-users] having different view in nagios interface

2009-02-11 Thread Eric Doutreleau
Hi there
I m using nagios 3.0.6 on a linux server and i m checking numerous 
services.
I would like to know if it s possible to have different views of the 
stateof service.

for example i would like to be able to mask the state of some less 
important services.
a good example is the need of update of server.
They are pllaneed each week then i would like to keep them on nagios to 
have a full view of what need to be done when it s time to do

but it s useless in daily basis. There s far more too much red in the 
console that won't be fixed immediately.
and the real real-time problems are lost in all this red in the 
console.

is there an elegant way to do that.
i would prefer not create multiple instance of nagios.

thanks in advance for any help

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
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


Re: [Nagios-users] having different view in nagios interface

2009-02-11 Thread Paul Weaver
 for example i would like to be able to mask the state of some 
 less important services.
 a good example is the need of update of server.
 They are pllaneed each week then i would like to keep them on 
 nagios to have a full view of what need to be done when it s 
 time to do

We have two systems we're still playing with (after 18 months)

One is a separate perl webpage we wrote, which prints the services in a
heigerchial way, and goes red/yellow/green at various points. A Bit like
a check_cluster style plugin. Really critical issues filter to the top,
other issues are dealt with when people have some free time (at least in
theory). It uses a perl Nagios::Statuslog to get the status, which is a
right pig (it takes 4.5 seconds to import the log), but as it sits there
on a plasma automatically refreshing, it doesn't matter too much how
long it takes to display.

For our dev system, we use the following link
/nagios/cgi-bin/status.cgi?host=allservicestatustypes=28hoststatustype
s=3serviceprops=42sorttype=1sortoption=6

Which only displays services that aren't acknowleged or in downtime,
with the most recent at the top.

We have too many users, and they change too often, to have indiviudual
contacts. We use an ntlm module to do IE passthrough authentication with
active directory, and default everyone to the same user, who has
visibility of every host and service.


--
Paul Weaver 
Systems Development Engineer
News Production Facilities, BBC News


 


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
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


Re: [Nagios-users] having different view in nagios interface

2009-02-11 Thread Marc Powell

On Feb 11, 2009, at 6:48 AM, Paul Weaver wrote:

 For our dev system, we use the following link
 /nagios/cgi-bin/status.cgi? 
 host=allservicestatustypes=28hoststatustype
 s=3serviceprops=42sorttype=1sortoption=6

 Which only displays services that aren't acknowleged or in downtime,
 with the most recent at the top.

This is a good suggestion and we use this as our normal workflow to  
identify new issues. Another option is to create different contacts.  
Using Authentication, nagios will only show the hosts and services  
associated with that contact.

--
Marc

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
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