Re: [Nagios-users] Integrating nagvis

2007-11-26 Thread Chris Moody
Also be sure to verify that your dbprefix is set correctly in the 
etc/config.php.ini file for nagvis.

This is easily overlooked.

Cheers,
-Chris

Alex Dehaini wrote:
> Let me try the suggestions and get back to you guys.
> 
> On Nov 26, 2007 11:20 AM, Giles Coochey <[EMAIL PROTECTED] 
> > wrote:
> 
> If you post in plain text, it's much easier for me not to top post.
> 
>  
> 
> This is likely something to do with your socket file.
> 
>  
> 
> Check the socket file in ndo2db configuration file, mine is in:
> 
>  
> 
> /opt/nagios/var/ndo.sock
> 
>  
> 
> It is referenced in ndo2db.cfg with this line:
> 
>  
> 
> socket_name=/opt/nagios/var/ndo.sock
> 
>  
> 
> if socket exists, it may have been created with insufficient
> permissions, or the directory mask was bad, remove the file, check
> permissions and restart ndo.
> 
>  
> 
> Thanks
> 
>  
> 
> Giles
> 
>  
> 
> 
> 
> *From:* [EMAIL PROTECTED]
> 
> [mailto:[EMAIL PROTECTED]
> ] *On Behalf Of
> *Alex Dehaini
> *Sent:* 26 November 2007 12:10
> 
> *To:* nagios-users@lists.sourceforge.net
> 
> *Subject:* Re: [Nagios-users] Integrating nagvis
> 
>  
> 
> Here is the error I get from my logs
> 
> *Nov 26 11:00:01 development nagios: ndomod: Still unable to connect
> to data sink.  0 items lost, 1655 queued items to flush.
> 
> *When I browse to the nagvis home page, I get this error.
> 
> *Warning*: mysql_fetch_array(): supplied argument is not a valid
> MySQL result resource in
> 
> */usr/local/nagios/share/nagvis/nagvis/includes/classes/class.GlobalBackend-ndomy.php*
> on line *58
> 
> nagiosNotRunning: NDOMy: Nagios not running (Backend ndomy_1)
> 
> NDO reports that Nagios is not running
> 
> *Any clue what is wrong?
> 
> On Nov 26, 2007 11:01 AM, Giles Coochey <[EMAIL PROTECTED]
> > wrote:
> 
> 
> 
> >  -Original Message-
> >  From: [EMAIL PROTECTED]
> 
> [mailto:nagios-users- 
> >  [EMAIL PROTECTED]
> ] On Behalf Of Giorgio Zarrelli
> >  Sent: 26 November 2007 11:58
> >  To: nagios-users@lists.sourceforge.net
> 
> >  Subject: Re: [Nagios-users] Integrating nagvis
> >
> >  Hi,
> >
> >  I used:
> >
> >  nagios-3.0b6
> >  nagvis-1.2b2
> >
> >  What's the problem with the backend? Which operating system?
> >
> 
> I'm using Nagios 2.9, NdoUtils 1.4.7b7 and NagVis 1.1.2
> 
> Not any problems, I just followed the README's and posted minor issues
> with descriptions as to the particular problems on the list to resolve
> all my problems.
> 
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> 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
> 
> 
> 
> 
> -- 
> Alex Dehaini
> Developer
> Site - www.alexdehaini.com 
> Email - [EMAIL PROTECTED] 
> 
> 
> 
> 
> -- 
> Alex Dehaini
> Developer
> Site - www.alexdehaini.com 
> Email - [EMAIL PROTECTED] 
> 
> 
> 
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> 
> 
> 
> 
> ___
> 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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/

Re: [Nagios-users] Default Startup Page for Nagios

2007-12-27 Thread Chris Moody
Easy.

Edit the index.html on this line:
=


to aim at the cgi that you want.

I personally have the main page set to the tactical overview.
===


Cheers,
-Chris


Michael Egan wrote:
> Greetings,
> Instead of Nagios starting at the HOME page, is there a way to change 
> the startup page to the HOSTGROUP GRID?
>  
> Thanks,
> Mike
>  
> 
> Mike Egan
> Enterprise Network Engineer 
> Capital Safety 
> 3833 Sala Way
> Red Wing, MN 55066
> 651-385-6254 Office
> 651-247-5719 Cell
> [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]>
> 
> Home of DBI-Sala and Protecta Brands.  Visit us on the web at 
> www.capitalsafety.com http://www.capitalsafety.com/> 
> 
>  
> 
> 
> 
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> 
> 
> 
> 
> ___
> 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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Running Nagios on Linux

2008-01-02 Thread Chris Moody
First, I would start by installing the Nagios suite on Solaris.
[ http://www.nagios.org/docs/ ]

Then, once you have the software installed, copy over your configuration 
  file(s) and start the daemon.

Cheers,
-Chris

Vuppala wrote:
> Hi
> 
>I have nagios running on Linux box since one year and i want to move 
> it to solaris, how do i approach for this.
> 
>  
> 
> Thanks
> 
> rup
> 
> 
> 
> Never miss a thing. Make Yahoo your homepage. 
> 
> 
> 
> 
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> 
> 
> 
> 
> ___
> 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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Read-only access to Nagios

2006-09-06 Thread Chris Moody
If all you want is view only... set the following value:

cgi.cfg:
use_authentication=0

This will cause the maps/dashboard to be visible...but nobody can modify 
anything.

Cheers,
-Chris

Jim Perrin wrote:
> On 9/6/06, Peter Blajev <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> our department decided to give some kind of publicity for Nagios in the
>> company. I'm doing a research to find out what can be done and any help or
>> suggestions are highly appreciated.
>>
>> An ideal situation will be if we can give users a single URL that will allow
>> read-only, no login/password access to Nagios graphs. By read-only I mean
>> they won't be able to acknowledge problems, restart services and so on.
>>
>> If this can't be done then can we create accounts with restricted permissions
>> and have them login to the main Nagios site?
>>
>> Anyone "been there, done that"? :-)
> 
> You can do this with a patch from Ton Voon and Altinity. It allows you
> to set certain users who are allowed to issue commands, and others who
> cannot.  See http://altinity.blogs.com/dotorg/2006/02/index.html for
> details. It defaults to allowing users to make changes for
> compatibility, but it's easy to reverse if you want to lock everyone
> out and explicitly allow them.
> 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] Nagios Strategies

2006-12-21 Thread Chris Moody
This would be AWESOME(!!!) if it were easily implementable.

Cheers,
-Chris

Todd Mcneill wrote:

> It might also be interesting to see if there is a way to visually
> represent these service dependencies on the Status Map.  I have people
> that are interested in viewing the status of the entire multi-tier
> application stack by application, but this is difficult the way it is
> represented now.  I can create Host Groups for each application, and
> that should translate to a drawing layer on the Status Map, but from
> what I understand, it won't necessarily show me the status of the
> application if, for example, an instance of an httpd daemon that the
> application depends on goes down.
> 
>  
> 
> Has anybody tried anything like this?
> 
>  
> 
> Thanks,
> 
> Todd
> 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] TWO instances of Nagios on one server - possible?

2007-01-24 Thread Chris Moody
Check out my vhost script on nagios-exchange.

This is completely possible and works GREAT.  I currently have 10+ 
"vhosts" running on a server.

I have some 0.1rev code on the nagios-exchange site...and will be adding 
code for the 2.x train of Nagios very soon. (I have it working, but want 
to tidy it a bit more).

My build script can setup everything but the "instance specific" details 
of the host files.

Cheers,
-Chris

Arno Lehmann wrote:
> Hi,
> 
> On 1/24/2007 10:29 PM, Semir H. wrote:
>> Hi everyone,
>>
>> Would it be possible to run two instances on Nagios on one machine?
> 
> Yes
> 
>> The server would be Debian (with Apache).
>> I want one Nagios instance to monitor one lot of hosts and the other to 
>> monitor a different lot of computers and they should be independent of 
>> each other.
>> How would I go about doing this?
>> Simply installing Nagios in two different locations and making Apache 
>> server each?
> 
> One location for Nagios is sufficient, but configuration and state files 
> must be separate.
> 
> You'll probably need two different sets of CGIs, compiled with their 
> respective paths. IIRC, there is an environment vraiable you can set to 
> point the CGIs at their state file, but setting this in an apache CGI 
> environment is not something I know how to do :-)
> 
> Also, one apache is enough, just set up two locations for Naegios.
> 
> Of course the machine you run all this on should offer enough 
> performance - Nagios can use lots of power.
> 
> Arno
> 
>> Thanks
>> Semir
>>
>>
>> 
>>
>> -
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>
>>
>> 
>>
>> ___
>> 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
> 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] Several map views of Nagios

2007-01-24 Thread Chris Moody
The statusmap.cgi does not re-draw the map in regards to screen 
coordinates when hiding groups.  Your maps will remain "cluttered" even 
though you can filter what's even displayed.  This is a known limitation 
of the statusmap.cgi map.

I've had (very minor) success is setting the scale larger.
##
fittipaldi cgi # diff statusmap.c statusmap.c-ORIG
72,73c72,73
< #define DEFAULT_NODE_VSPACING   45
< #define DEFAULT_NODE_HSPACING   85
---
 > #define DEFAULT_NODE_VSPACING   15
 > #define DEFAULT_NODE_HSPACING   45
84c84
< #define CIRCULAR_DRAWING_RADIUS 200
---
 > #define CIRCULAR_DRAWING_RADIUS 100
1745c1745
<   /*else if(host_services_ratio>=1.5)
---
 >   else if(host_services_ratio>=1.5)
1750c1750
< 
outer_radius=DEFAULT_NODE_WIDTH*0.4;*/
---
 > 
outer_radius=DEFAULT_NODE_WIDTH*0.4;
1752,1754c1752
< 
/*outer_radius=DEFAULT_NODE_WIDTH*0.2;*/
<   /* MODIFIED BY CMOODY - 11.29.05 */
<   outer_radius=DEFAULT_NODE_WIDTH;
---
 > 
outer_radius=DEFAULT_NODE_WIDTH*0.2;
2690c2688
<   int parent_drawing_width=1;
---
 >   int parent_drawing_width=0;
##

I have yet to find a perfect solution.  I'm in a situation where I have 
several thousand "nodes" to watch.

My interim solution has been to create multiple nagios instances with 
apache vhosts.  This way I can group systems logically and represent 
them in a cleaner fashion.  I have 0.1-rev code available via 
nagios-exchange to build the different vhosts. (I'm hoping to have a 
newer build available soon (with support for 2.x train of Nagios).)

Were my C skillz better, I'd try to take on a building a more adaptive 
drawing algo...

Cheers,
-Chris

naim abu darwish wrote:
> Well, i have similar problem,
> I have 530 hosts, so having all those on one map would be meaningless.
> I just need the routers and the wireless machines on there. If i chose
> what to exclude from the status map, it will still keep links pointing
> to hidden devices and thus the map will still be cluttered. I found a
> patch on  the Pkg-nagios-devel debian mailing list, a post dating back
> to Tue, 28 Jun 2005. so i guess that patch was made to work with maybe
> nagios-1.x ?? anyway, link to original post ::
> 
> http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/2005-June/000804.html
> 
> this is supposed to make the map only show certain selective
> hostgroups on the statusmap. i tried the patch on statusmap.c , I am
> using nagios 2.5. the patch failed. Im not very good at reading C
> code, could someone help out here ? maybe fix the patch for the
> current nagios version, also seems a good idea to include in future
> nagios versions
> 
> Help appreciated
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> 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
> 
> 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] check SIP server

2007-05-22 Thread Chris Moody
I do.  What error(s) are you seeing?

-Chris

Nelson Serafica wrote:
> Hi to all,
> 
> Does anyone here have a SIP server monitored in their Nagios? I'm having 
> a hard time monitoring it. I download already the plugins check_sip in 
> nagiosexchange but still not working. I just want a comparison in my 
> config if there's something wrong.
> 
> 
> Be a better Heartthrob. Get better relationship answers 
> from
>  
> someone who knows.
> Yahoo! Answers - Check it out.
> 
> 
> 
> 
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> 
> 
> 
> 
> ___
> 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

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] Limiting Views of Hosts - over 3k hosts

2005-12-05 Thread Chris Moody

On a similar note(but starting a new thread), does anyone have
experience (with a modified cgi or whatnot) of removing the non-visible
hosts from view and re-drawing the statumap to only display the visible
hosts...but at the appropriate scale.

(perhaps I should explain in more detail)

I'm stuck in a situation where I need to display over 3000 hosts, but
broken up into 4 groups.  The trouble is that with that many systems,
even if I "pad" the statusmap with parents to expand the diameter of the
map, there are too many systems and they overlap.  Even when I split
them into groups and only have group views, the main map doesn't exclude
the non-visable hosts when it draws...so the systems still overlap, but
with blank space in between the clusters.

I have modified the CGI to increase the default diameter of the map, but
it's still a bit crowded.  I'm open to whatever creative means (groups
or not) to get the map to scale appropriately.  I need the hosts
displayed for visual dependency tracking.

I can provide screenshots if necessary.

Anyone have any ideas.

Cheers,
-Chris


Todd Barbera wrote:


Yes. Set them up as a contact and only include them on the hosts you 
want them to see. Here's an example of one of my host configuration files:
 
# 'acsdb' host definition

define host{
use sunservers
host_name   acsdb
alias   acsdb
address 192.168.40.40
contact_groups  sys-admins,localonline
}
 
'sys-admins' is setup for everything. 'localonline' only gets a subset 
of hosts that those folks are concerned with.
 
Todd
 


- Original Message -
*From:* Joseph Hardeman 
*To:* nagios-users@lists.sourceforge.net

*Sent:* Thursday, December 01, 2005 7:18 PM
*Subject:* [Nagios-users] Limiting Views of Hosts

Hi Everyone,

I am wondering if there is a way to allow people who login to only
view a specific set of hosts.  This way I can have one Nagios system
checking multiple clients but the clients can only see thier hosts
and thier host results.  I am running the newest version 2.0b6.

Thanks in advance.

Joseph



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
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] Re: Multi User NagiOS

2005-12-14 Thread Chris Moody
Since it sounds like you are also looking for a way to prevent a user 
from adding/deleting hosts/services/etc from another user's 
listings...you can check out my nagios Vhost script on nagiosexchange.


I have a situation where I run seperate nagios processes for each group. 
 This allows the users in the group to modify their instance of nagios 
to their heart's content...without even touching the other processes 
and/or configs.


It is quite trivial to chroot users to the nagios directory of their 
group when they login to the server to modify their setup.


If you -need- this kind of functionality as well, I'd recommend the 
Vhost setup.  If you only need to separate the _views_...then the nagios 
auth configs are the perfect solution and don't require any extra processes.


Cheers,
-Chris

Krish Paul wrote:

Hi Sebastian



 Thanks a lot for the answer. Going to configure it in guided way.





- Krish Paul (bidhata)



---

This thread is located in the archive at this URL:

http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi
1[showUid]=13672




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&opÌk
___
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






---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
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